summaryrefslogtreecommitdiffstats
path: root/ui/base/ui_base_switches.cc
diff options
context:
space:
mode:
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-20 02:38:35 +0000
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-20 02:38:35 +0000
commite2713728a6f7b9c5275e1b390f17309f72e7804a (patch)
treec2e43349b1c69a419c350122a4d712c8f9c16471 /ui/base/ui_base_switches.cc
parent002414c002a132b67937869d52aeb85a0547b639 (diff)
downloadchromium_src-e2713728a6f7b9c5275e1b390f17309f72e7804a.zip
chromium_src-e2713728a6f7b9c5275e1b390f17309f72e7804a.tar.gz
chromium_src-e2713728a6f7b9c5275e1b390f17309f72e7804a.tar.bz2
Add scroll prediction as a configurable gesture parameter.
BUG=143242 TEST=Enable scroll prediction flag and set scroll prediction value in chrome://gesture, log out and log back in. Scroll with finger and verify that scroll is keeping up better with finger movements. TEST=GestureRecognizerTest.GestureEventScrollPrediction Review URL: https://chromiumcodereview.appspot.com/15995037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ui_base_switches.cc')
-rw-r--r--ui/base/ui_base_switches.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index de90251..ed4ffd2 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -27,6 +27,9 @@ const char kDisableViewsTextfield[] = "disable-views-textfield";
// Enables the new visual style for application dialogs and controls.
const char kEnableNewDialogStyle[] = "enable-new-dialog-style";
+// Enable scroll prediction for scroll update events.
+const char kEnableScrollPrediction[] = "enable-scroll-prediction";
+
// Enables touch event based drag and drop.
const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";