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

Unified Diff: chrome/browser/ui/cocoa/browser_window_layout.h

Issue 2467833003: [Mac] Move the fullscreen toolbar style to FullscreenToolbarController (Closed)
Patch Set: fix for rsesek 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/browser_window_layout.h
diff --git a/chrome/browser/ui/cocoa/browser_window_layout.h b/chrome/browser/ui/cocoa/browser_window_layout.h
index 584ae80d365e746cc146e869ca0be02c6599fcc8..d9b9396d20657bf8f060a8346e1a2f4ec6abd6e6 100644
--- a/chrome/browser/ui/cocoa/browser_window_layout.h
+++ b/chrome/browser/ui/cocoa/browser_window_layout.h
@@ -29,13 +29,13 @@ struct LayoutParameters {
// Whether the controller is in any fullscreen mode. This parameter should be
// NO if the controller is in the process of entering fullscreen.
BOOL inAnyFullscreen;
- // The fullscreen sliding style. See fullscreen_toolbar_controller.h for more
+ // The fullscreen toolbar style. See fullscreen_toolbar_controller.h for more
// details.
- FullscreenSlidingStyle slidingStyle;
+ FullscreenToolbarStyle toolbarStyle;
// The minY of the AppKit Menu Bar, relative to the top of the screen. Ranges
// from 0 to -22. Only relevant in fullscreen mode.
CGFloat menubarOffset;
- // The fraction of the sliding toolbar that is visible in fullscreenm mode.
+ // The fraction of the toolbar that is visible in fullscreen mode.
// Ranges from 0 to 1. Only relevant in fullscreen mode.
CGFloat toolbarFraction;
@@ -151,7 +151,7 @@ struct LayoutOutput {
// Whether the controller is in any fullscreen mode. |inAnyFullscreen| should
// be NO if the controller is in the process of entering fullscreen.
- (void)setInAnyFullscreen:(BOOL)inAnyFullscreen;
-- (void)setSlidingStyle:(FullscreenSlidingStyle)slidingStyle;
+- (void)setFullscreenToolbarStyle:(FullscreenToolbarStyle)toolbarStyle;
- (void)setFullscreenMenubarOffset:(CGFloat)menubarOffset;
- (void)setFullscreenToolbarFraction:(CGFloat)toolbarFraction;
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_private.mm ('k') | chrome/browser/ui/cocoa/browser_window_layout.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698