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

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

Issue 2491343003: [Mac] Fix for fullscreen toolbar layout issues (Closed)
Patch Set: Fix for avi Created 4 years, 1 month 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_FULLSCREEN_TOOLBAR_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_FULLSCREEN_TOOLBAR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_TOOLBAR_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_TOOLBAR_CONTROLLER_H_
7 7
8 #include <Carbon/Carbon.h> 8 #include <Carbon/Carbon.h>
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 - (BOOL)mustShowFullscreenToolbar; 101 - (BOOL)mustShowFullscreenToolbar;
102 102
103 // Called by the BrowserWindowController to update toolbar frame. 103 // Called by the BrowserWindowController to update toolbar frame.
104 - (void)updateToolbarFrame:(NSRect)frame; 104 - (void)updateToolbarFrame:(NSRect)frame;
105 105
106 // Returns YES if the browser in in fullscreen. 106 // Returns YES if the browser in in fullscreen.
107 - (BOOL)isInFullscreen; 107 - (BOOL)isInFullscreen;
108 108
109 // Updates the toolbar style. If the style has changed, then the toolbar will 109 // Updates the toolbar style. If the style has changed, then the toolbar will
110 // relayout. 110 // relayout.
111 - (void)updateToolbarStyle; 111 - (void)updateToolbarStyleExitingTabFullscreen:(BOOL)isExitingTabFullscreen;
112 112
113 // Updates the toolbar by updating the layout, menubar and dock. 113 // Updates the toolbar by updating the layout, menubar and dock.
114 - (void)updateToolbar; 114 - (void)updateToolbar;
115 115
116 // Returns |browserController_|. 116 // Returns |browserController_|.
117 - (BrowserWindowController*)browserWindowController; 117 - (BrowserWindowController*)browserWindowController;
118 118
119 // Returns the object in |visibilityLockController_|; 119 // Returns the object in |visibilityLockController_|;
120 - (FullscreenToolbarVisibilityLockController*)visibilityLockController; 120 - (FullscreenToolbarVisibilityLockController*)visibilityLockController;
121 121
122 @end 122 @end
123 123
124 // Private methods exposed for testing. 124 // Private methods exposed for testing.
125 @interface FullscreenToolbarController (ExposedForTesting) 125 @interface FullscreenToolbarController (ExposedForTesting)
126 // Adjusts the AppKit Fullscreen options of the application. 126 // Adjusts the AppKit Fullscreen options of the application.
127 - (void)setSystemFullscreenModeTo:(base::mac::FullScreenMode)mode; 127 - (void)setSystemFullscreenModeTo:(base::mac::FullScreenMode)mode;
128 128
129 // Callback for menu bar animations. 129 // Callback for menu bar animations.
130 - (void)setMenuBarRevealProgress:(CGFloat)progress; 130 - (void)setMenuBarRevealProgress:(CGFloat)progress;
131 131
132 @end 132 @end
133 133
134 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_TOOLBAR_CONTROLLER_H_ 134 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_TOOLBAR_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_layout.mm ('k') | chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698