blob: cbbb3407eea30ff19728403911f12b327d8e0355 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/feature_list.h"
#include "components/flags_ui/feature_entry.h"
namespace fullscreen {
namespace features {
// Feature used by finch config to enable smooth scrolling when the default
// viewport adjustment experiment is selected via command line switches.
extern const base::Feature kSmoothScrollingDefault;
// Convenience method for determining when to adjust the viewport by resizing
// WKWebView or using smooth scrolling.
bool ShouldUseSmoothScrolling();
} // namespace features
} // namespace fullscreen