OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
9 | 9 |
10 | 10 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 // Adjust the UI when entering or leaving presentation mode. This method is | 137 // Adjust the UI when entering or leaving presentation mode. This method is |
138 // safe to call on all OS versions. | 138 // safe to call on all OS versions. |
139 - (void)adjustUIForPresentationMode:(BOOL)fullscreen; | 139 - (void)adjustUIForPresentationMode:(BOOL)fullscreen; |
140 | 140 |
141 // Allows/prevents bar visibility locks and releases from updating the visual | 141 // Allows/prevents bar visibility locks and releases from updating the visual |
142 // state. Enabling makes changes instantaneously; disabling cancels any | 142 // state. Enabling makes changes instantaneously; disabling cancels any |
143 // timers/animation. | 143 // timers/animation. |
144 - (void)enableBarVisibilityUpdates; | 144 - (void)enableBarVisibilityUpdates; |
145 - (void)disableBarVisibilityUpdates; | 145 - (void)disableBarVisibilityUpdates; |
146 | 146 |
| 147 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. |
| 148 - (CGFloat)toolbarDividerOpacity; |
| 149 |
| 150 // Returns YES if instant results are being shown under the omnibox. |
| 151 - (BOOL)isShowingInstantResults; |
| 152 |
| 153 // Updates the content offets of the tab strip controller and the previewable |
| 154 // contents controller. This is used to adjust the overlap between those views |
| 155 // and the bookmark bar. |
| 156 - (void)updateContentOffsets; |
| 157 |
| 158 // Ensures the z-order of subviews is correct. |
| 159 - (void)updateSubviewZOrder; |
| 160 |
147 @end // @interface BrowserWindowController(Private) | 161 @end // @interface BrowserWindowController(Private) |
148 | 162 |
149 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 163 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
OLD | NEW |