OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
10 | 10 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // For versions of Mac OS that provide an "enter fullscreen" button, make one | 116 // For versions of Mac OS that provide an "enter fullscreen" button, make one |
117 // appear (in a rather hacky manner). http://crbug.com/74065 : When switching | 117 // appear (in a rather hacky manner). http://crbug.com/74065 : When switching |
118 // the fullscreen implementation to the new API, revisit how much of this | 118 // the fullscreen implementation to the new API, revisit how much of this |
119 // hacky code is necessary. | 119 // hacky code is necessary. |
120 - (void)setUpOSFullScreenButton; | 120 - (void)setUpOSFullScreenButton; |
121 | 121 |
122 // On Lion, Apple introduced a new gesture for navigating pages using two-finger | 122 // On Lion, Apple introduced a new gesture for navigating pages using two-finger |
123 // gestures. Returns YES if two-finger gestures should be recognized. | 123 // gestures. Returns YES if two-finger gestures should be recognized. |
124 - (BOOL)recognizeTwoFingerGestures; | 124 - (BOOL)recognizeTwoFingerGestures; |
125 | 125 |
| 126 // On Lion, returns YES if the scroll direction is "natural"/inverted. All other |
| 127 // OSes will return NO. |
| 128 - (BOOL)isScrollDirectionInverted; |
| 129 |
126 @end // @interface BrowserWindowController(Private) | 130 @end // @interface BrowserWindowController(Private) |
127 | 131 |
128 | 132 |
129 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 133 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
OLD | NEW |