Commit 31dfc580 authored by Sarthak Shah's avatar Sarthak Shah Committed by Commit Bot

Move experimental fling animation flag to ui

Currently, this feature flag exists in content. In master CL
https://chromium-review.googlesource.com/c/chromium/src/+/1773872, this
feature flag is utilized in CreateFromDefaultPlatformCurve to decide
whether to use experimental fling curve or existing fling curve, which
lives in ui.

This CL moves the experimental fling animation flag from content to ui.

Bug: 647137
Change-Id: Ia8051ec250ed6c8c8170d41eb3e52b2e32e9ffab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1884515Reviewed-by: default avatarScott Violet <sky@chromium.org>
Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: default avatarDaniel Libby <dlibby@microsoft.com>
Commit-Queue: Sarthak Shah <sarsha@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#713230}
parent f9fe5c47
......@@ -786,13 +786,6 @@ const base::Feature kWebUIPolymer2Exceptions{"WebUIPolymer2Exceptions",
base::FEATURE_ENABLED_BY_DEFAULT};
#endif // defined(OS_CHROMEOS)
#if defined(OS_WIN)
// Enables the use of a touch fling curve that is based on the behavior of
// native apps on Windows.
const base::Feature kExperimentalFlingAnimation{
"ExperimentalFlingAnimation", base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_WIN)
#if defined(OS_MACOSX)
// Enables caching of media devices for the purpose of enumerating them.
const base::Feature kDeviceMonitorMac{"DeviceMonitorMac",
......
......@@ -170,10 +170,6 @@ CONTENT_EXPORT extern const base::Feature kWebNfc;
CONTENT_EXPORT extern const base::Feature kWebUIPolymer2Exceptions;
#endif
#if defined(OS_WIN)
CONTENT_EXPORT extern const base::Feature kExperimentalFlingAnimation;
#endif // defined(OS_WIN)
#if defined(OS_MACOSX)
CONTENT_EXPORT extern const base::Feature kDeviceMonitorMac;
CONTENT_EXPORT extern const base::Feature kIOSurfaceCapturer;
......
......@@ -82,6 +82,11 @@ const base::Feature kCompositorThreadedScrollbarScrolling = {
"CompositorThreadedScrollbarScrolling", base::FEATURE_DISABLED_BY_DEFAULT};
#if defined(OS_WIN)
// Enables the use of a touch fling curve that is based on the behavior of
// native apps on Windows.
const base::Feature kExperimentalFlingAnimation{
"ExperimentalFlingAnimation", base::FEATURE_DISABLED_BY_DEFAULT};
// Enables InputPane API for controlling on screen keyboard.
const base::Feature kInputPaneOnScreenKeyboard = {
"InputPaneOnScreenKeyboard", base::FEATURE_ENABLED_BY_DEFAULT};
......
......@@ -43,6 +43,8 @@ COMPONENT_EXPORT(UI_BASE_FEATURES) bool IsUiGpuRasterizationEnabled();
COMPONENT_EXPORT(UI_BASE_FEATURES)
extern const base::Feature kCalculateNativeWinOcclusion;
COMPONENT_EXPORT(UI_BASE_FEATURES)
extern const base::Feature kExperimentalFlingAnimation;
COMPONENT_EXPORT(UI_BASE_FEATURES)
extern const base::Feature kInputPaneOnScreenKeyboard;
COMPONENT_EXPORT(UI_BASE_FEATURES)
extern const base::Feature kPointerEventsForTouch;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment