summaryrefslogtreecommitdiffstats
path: root/ui/events/event_utils.h
diff options
context:
space:
mode:
authordenniskempin@chromium.org <denniskempin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 18:15:59 +0000
committerdenniskempin@chromium.org <denniskempin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 18:15:59 +0000
commit15877542c33babc237586513096f3077c313449c (patch)
treee326acd6fb32a98de59c87b4346fbf9837466e01 /ui/events/event_utils.h
parent336a09422a499c354d966f9519c7da7b933cba7b (diff)
downloadchromium_src-15877542c33babc237586513096f3077c313449c.zip
chromium_src-15877542c33babc237586513096f3077c313449c.tar.gz
chromium_src-15877542c33babc237586513096f3077c313449c.tar.bz2
Don't handle NaturalScroll in Chrome but pass it to CMT instead
In order to support mice via CMT (Project Cobra) we will have to do the natural scroll handling in the CMT driver instead of Chrome. BUG=chromium:285663 TEST=test with touchpads and traditional mice. Everything should work as before, touchpad should have natural scroll applied, scroll wheels should not. Test changing the natural scroll property and see if it's applied correctly. Also test if touch mice have natural scroll applied. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260926 Review URL: https://codereview.chromium.org/212603005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/events/event_utils.h')
-rw-r--r--ui/events/event_utils.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
index e077522..9c40ab5 100644
--- a/ui/events/event_utils.h
+++ b/ui/events/event_utils.h
@@ -123,12 +123,6 @@ EVENTS_EXPORT bool GetGestureTimes(const base::NativeEvent& native_event,
double* start_time,
double* end_time);
-// Enable/disable natural scrolling for touchpads.
-EVENTS_EXPORT void SetNaturalScroll(bool enabled);
-
-// In natural scrolling enabled for touchpads?
-EVENTS_EXPORT bool IsNaturalScrollEnabled();
-
// Returns whether natural scrolling should be used for touchpad.
EVENTS_EXPORT bool ShouldDefaultToNaturalScroll();