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 #import "chrome/browser/ui/cocoa/browser_window_layout.h" | 9 #import "chrome/browser/ui/cocoa/browser_window_layout.h" |
10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" | 10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 willPositionSheet:(NSWindow*)sheet | 37 willPositionSheet:(NSWindow*)sheet |
38 usingRect:(NSRect)defaultSheetRect; | 38 usingRect:(NSRect)defaultSheetRect; |
39 | 39 |
40 // Repositions the window's subviews. From the top down: toolbar, normal | 40 // Repositions the window's subviews. From the top down: toolbar, normal |
41 // bookmark bar (if shown), infobar, NTP detached bookmark bar (if shown), | 41 // bookmark bar (if shown), infobar, NTP detached bookmark bar (if shown), |
42 // content area, download shelf (if any). | 42 // content area, download shelf (if any). |
43 - (void)layoutSubviews; | 43 - (void)layoutSubviews; |
44 | 44 |
45 // Shows the informational "how to exit fullscreen" bubble. | 45 // Shows the informational "how to exit fullscreen" bubble. |
46 - (void)showFullscreenExitBubbleIfNecessary; | 46 - (void)showFullscreenExitBubbleIfNecessary; |
47 - (void)destroyFullscreenExitBubbleIfNecessary; | |
48 | 47 |
49 // Lays out the tab strip and avatar button. | 48 // Lays out the tab strip and avatar button. |
50 - (void)applyTabStripLayout:(const chrome::TabStripLayout&)layout; | 49 - (void)applyTabStripLayout:(const chrome::TabStripLayout&)layout; |
51 | 50 |
52 // Returns YES if the bookmark bar should be placed below the infobar, NO | 51 // Returns YES if the bookmark bar should be placed below the infobar, NO |
53 // otherwise. | 52 // otherwise. |
54 - (BOOL)placeBookmarkBarBelowInfoBar; | 53 - (BOOL)placeBookmarkBarBelowInfoBar; |
55 | 54 |
56 | 55 |
57 // Lays out the tab content area in the given frame. If the height changes, | 56 // Lays out the tab content area in the given frame. If the height changes, |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 - (void)adjustUIForEnteringFullscreen; | 191 - (void)adjustUIForEnteringFullscreen; |
193 | 192 |
194 // Returns YES if the fullscreen is for tab content. | 193 // Returns YES if the fullscreen is for tab content. |
195 - (BOOL)isFullscreenForTabContent; | 194 - (BOOL)isFullscreenForTabContent; |
196 | 195 |
197 #endif | 196 #endif |
198 | 197 |
199 @end // @interface BrowserWindowController(Private) | 198 @end // @interface BrowserWindowController(Private) |
200 | 199 |
201 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 200 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
OLD | NEW |