OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 // Adjust the UI when entering or leaving fullscreen mode. | 107 // Adjust the UI when entering or leaving fullscreen mode. |
108 - (void)adjustUIForFullscreen:(BOOL)fullscreen; | 108 - (void)adjustUIForFullscreen:(BOOL)fullscreen; |
109 | 109 |
110 // Allows/prevents bar visibility locks and releases from updating the visual | 110 // Allows/prevents bar visibility locks and releases from updating the visual |
111 // state. Enabling makes changes instantaneously; disabling cancels any | 111 // state. Enabling makes changes instantaneously; disabling cancels any |
112 // timers/animation. | 112 // timers/animation. |
113 - (void)enableBarVisibilityUpdates; | 113 - (void)enableBarVisibilityUpdates; |
114 - (void)disableBarVisibilityUpdates; | 114 - (void)disableBarVisibilityUpdates; |
115 | 115 |
| 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 |
| 118 // the fullscreen implementation to the new API, revisit how much of this |
| 119 // hacky code is necessary. |
| 120 - (void)setUpOSFullScreenButton; |
| 121 |
116 @end // @interface BrowserWindowController(Private) | 122 @end // @interface BrowserWindowController(Private) |
117 | 123 |
118 | 124 |
119 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 125 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
OLD | NEW |