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

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

Issue 1737413002: Modified the behavior of "Hide Toolbar in Full Screen" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feb -> March Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 13bf692647c3732b57040a3296d9c92b4fbc48f0..e305c5eb16c81fddb0955094780cdb3262d594cc 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -161,8 +161,8 @@ class Command;
// return nil.
BOOL isUsingCustomAnimation_;
- // True if the toolbar needs to be hidden in fullscreen.
- BOOL shouldHideFullscreenToolbar_;
+ // True if the toolbar needs to be shown in fullscreen.
+ BOOL shouldShowFullscreenToolbar_;
// The size of the original (non-fullscreen) window. This is saved just
// before entering fullscreen mode and is only valid when |-isFullscreen|
@@ -534,10 +534,8 @@ class Command;
// |bubbleType|.
- (void)updateFullscreenExitBubble;
-// Toggles and updates the toolbar's visibility in fullscreen mode. This
-// function toggles between the sliding styles: OMNIBOX_TABS_PRESENT and
-// OMNIBOX_TABS_HIDDEN.
-- (void)setFullscreenToolbarHidden:(BOOL)isHidden;
+// Set the toolbar's visibility in fullscreen mode.
+- (void)setFullscreenToolbarVisible:(BOOL)visible;
// Returns YES if the browser window is in or entering any fullscreen mode.
- (BOOL)isInAnyFullscreenMode;
@@ -563,8 +561,8 @@ class Command;
// Mode.
- (BOOL)inPresentationMode;
-// Whether if the toolbar should be hidden in fullscreen.
-- (BOOL)shouldHideFullscreenToolbar;
+// Whether the toolbar should be shown in fullscreen.
+- (BOOL)shouldShowFullscreenToolbar;
// Resizes the fullscreen window to fit the screen it's currently on. Called by
// the PresentationModeController when there is a change in monitor placement or
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_command_handler.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698