| 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/fullscreen/fullscreen_toolbar_controller.h" | 10 #import "chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // System Fullscreen API. | 86 // System Fullscreen API. |
| 87 - (void)registerForContentViewResizeNotifications; | 87 - (void)registerForContentViewResizeNotifications; |
| 88 - (void)deregisterForContentViewResizeNotifications; | 88 - (void)deregisterForContentViewResizeNotifications; |
| 89 | 89 |
| 90 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. | 90 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. |
| 91 - (CGFloat)toolbarDividerOpacity; | 91 - (CGFloat)toolbarDividerOpacity; |
| 92 | 92 |
| 93 // Update visibility of the infobar tip, depending on the state of the window. | 93 // Update visibility of the infobar tip, depending on the state of the window. |
| 94 - (void)updateInfoBarTipVisibility; | 94 - (void)updateInfoBarTipVisibility; |
| 95 | 95 |
| 96 // The min Y of the bubble point in the coordinate space of the toolbar. | 96 // The distance from the toolbar bottom to the anchor point for InfoBars. |
| 97 - (NSInteger)pageInfoBubblePointY; | 97 - (NSInteger)infoBarAnchorPointY; |
| 98 | 98 |
| 99 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical | 99 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical |
| 100 // Fullscreen. | 100 // Fullscreen. |
| 101 - (void)enterAppKitFullscreen; | 101 - (void)enterAppKitFullscreen; |
| 102 - (void)exitAppKitFullscreen; | 102 - (void)exitAppKitFullscreen; |
| 103 | 103 |
| 104 // Returns where the fullscreen button should be positioned in the window. | 104 // Returns where the fullscreen button should be positioned in the window. |
| 105 // Returns NSZeroRect if there is no fullscreen button (if currently in | 105 // Returns NSZeroRect if there is no fullscreen button (if currently in |
| 106 // fullscreen, or if running 10.6 or 10.10+). | 106 // fullscreen, or if running 10.6 or 10.10+). |
| 107 - (NSRect)fullscreenButtonFrame; | 107 - (NSRect)fullscreenButtonFrame; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 - (void)adjustUIForEnteringFullscreen; | 160 - (void)adjustUIForEnteringFullscreen; |
| 161 | 161 |
| 162 // Accessor for the controller managing the fullscreen toolbar visibility | 162 // Accessor for the controller managing the fullscreen toolbar visibility |
| 163 // locks. | 163 // locks. |
| 164 - (FullscreenToolbarVisibilityLockController*) | 164 - (FullscreenToolbarVisibilityLockController*) |
| 165 fullscreenToolbarVisibilityLockController; | 165 fullscreenToolbarVisibilityLockController; |
| 166 | 166 |
| 167 @end // @interface BrowserWindowController(Private) | 167 @end // @interface BrowserWindowController(Private) |
| 168 | 168 |
| 169 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 169 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| OLD | NEW |