Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller_private.h

Issue 2256993002: [Mac] Reworked FullscreenToolbarController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for erikchen Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698