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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller_private.h

Issue 7461080: [Mac] Respect natural/inverted scroll direction on Lion when gesturing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
Index: chrome/browser/ui/cocoa/browser_window_controller_private.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.h b/chrome/browser/ui/cocoa/browser_window_controller_private.h
index 5e9606be8d3f716b367436f017fcf24eb591db65..8f5cb4dd43025fba4000f7097b49cf2ed81e1698 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.h
@@ -123,6 +123,10 @@
// gestures. Returns YES if two-finger gestures should be recognized.
- (BOOL)recognizeTwoFingerGestures;
+// On Lion, returns YES if the scroll direction is "natural"/inverted. All other
+// OSes will return NO.
+- (BOOL)isScrollDirectionInverted;
+
@end // @interface BrowserWindowController(Private)

Powered by Google App Engine
This is Rietveld 408576698