Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: ui/events/event_utils.h

Issue 221363002: Revert of Don't handle NaturalScroll in Chrome but pass it to CMT instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/ash/tab_scrubber.cc ('k') | ui/events/x/device_data_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_utils.h
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
index 9c40ab5fa943386e9b5d550f59b3a2fc1628a052..e0775225f8245d6e810c4fb0283920fc9abed3bc 100644
--- a/ui/events/event_utils.h
+++ b/ui/events/event_utils.h
@@ -123,6 +123,12 @@
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();
« no previous file with comments | « chrome/browser/ui/views/ash/tab_scrubber.cc ('k') | ui/events/x/device_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698