| 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_toolbar_controller.h" | 10 #import "chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 - (void)registerForContentViewResizeNotifications; | 87 - (void)registerForContentViewResizeNotifications; |
| 88 - (void)deregisterForContentViewResizeNotifications; | 88 - (void)deregisterForContentViewResizeNotifications; |
| 89 | 89 |
| 90 // Allows/prevents bar visibility locks and releases from updating the visual | 90 // Allows/prevents bar visibility locks and releases from updating the visual |
| 91 // state. Enabling makes changes instantaneously; disabling cancels any | 91 // state. Enabling makes changes instantaneously; disabling cancels any |
| 92 // timers/animation. | 92 // timers/animation. |
| 93 - (void)enableBarVisibilityUpdates; | 93 - (void)enableBarVisibilityUpdates; |
| 94 - (void)disableBarVisibilityUpdates; | 94 - (void)disableBarVisibilityUpdates; |
| 95 | 95 |
| 96 // If there are no visibility locks and bar visibity updates are enabled, hides | 96 // If there are no visibility locks and bar visibity updates are enabled, hides |
| 97 // the bar with |animation| and |delay|. Otherwise, does nothing. | 97 // the bar with |animation|. Otherwise, does nothing. |
| 98 - (void)hideOverlayIfPossibleWithAnimation:(BOOL)animation delay:(BOOL)delay; | 98 - (void)hideOverlayIfPossibleWithAnimation:(BOOL)animation; |
| 99 | 99 |
| 100 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. | 100 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. |
| 101 - (CGFloat)toolbarDividerOpacity; | 101 - (CGFloat)toolbarDividerOpacity; |
| 102 | 102 |
| 103 // Update visibility of the infobar tip, depending on the state of the window. | 103 // Update visibility of the infobar tip, depending on the state of the window. |
| 104 - (void)updateInfoBarTipVisibility; | 104 - (void)updateInfoBarTipVisibility; |
| 105 | 105 |
| 106 // The min Y of the bubble point in the coordinate space of the toolbar. | 106 // The min Y of the bubble point in the coordinate space of the toolbar. |
| 107 - (NSInteger)pageInfoBubblePointY; | 107 - (NSInteger)pageInfoBubblePointY; |
| 108 | 108 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // Determines the appropriate sliding fullscreen style and adjusts the UI to | 186 // Determines the appropriate sliding fullscreen style and adjusts the UI to |
| 187 // it when we are entering fullscreen. | 187 // it when we are entering fullscreen. |
| 188 - (void)adjustUIForEnteringFullscreen; | 188 - (void)adjustUIForEnteringFullscreen; |
| 189 | 189 |
| 190 // Returns YES if the fullscreen is for tab content or an extension. | 190 // Returns YES if the fullscreen is for tab content or an extension. |
| 191 - (BOOL)isFullscreenForTabContentOrExtension; | 191 - (BOOL)isFullscreenForTabContentOrExtension; |
| 192 | 192 |
| 193 @end // @interface BrowserWindowController(Private) | 193 @end // @interface BrowserWindowController(Private) |
| 194 | 194 |
| 195 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 195 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| OLD | NEW |