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 // Private methods for the |BrowserWindowController|. This category should | 10 // Private methods for the |BrowserWindowController|. This category should |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 147 |
148 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. | 148 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. |
149 - (CGFloat)toolbarDividerOpacity; | 149 - (CGFloat)toolbarDividerOpacity; |
150 | 150 |
151 // Ensures the z-order of subviews is correct. | 151 // Ensures the z-order of subviews is correct. |
152 - (void)updateSubviewZOrder:(BOOL)inPresentationMode; | 152 - (void)updateSubviewZOrder:(BOOL)inPresentationMode; |
153 | 153 |
154 // Update visibility of the infobar tip, depending on the state of the window. | 154 // Update visibility of the infobar tip, depending on the state of the window. |
155 - (void)updateInfoBarTipVisibility; | 155 - (void)updateInfoBarTipVisibility; |
156 | 156 |
| 157 // Returns the max top arrow height for infobar. |
| 158 - (NSInteger)infoBarMaxTopArrowHeight; |
| 159 |
157 @end // @interface BrowserWindowController(Private) | 160 @end // @interface BrowserWindowController(Private) |
158 | 161 |
159 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 162 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
OLD | NEW |