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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 1414033009: Implement a Menu Item to Hide the Toolbar in Fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and merge code Created 5 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/browser_close_manager.h" 9 #include "chrome/browser/lifetime/browser_close_manager.h"
10 #include "chrome/browser/signin/chrome_signin_helper.h" 10 #include "chrome/browser/signin/chrome_signin_helper.h"
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 virtual bool ShouldHideUIForFullscreen() const = 0; 148 virtual bool ShouldHideUIForFullscreen() const = 0;
149 149
150 // Returns true if the fullscreen bubble is visible. 150 // Returns true if the fullscreen bubble is visible.
151 virtual bool IsFullscreenBubbleVisible() const = 0; 151 virtual bool IsFullscreenBubbleVisible() const = 0;
152 152
153 // Show or hide the tab strip, toolbar and bookmark bar when in browser 153 // Show or hide the tab strip, toolbar and bookmark bar when in browser
154 // fullscreen. 154 // fullscreen.
155 // Currently only supported on Mac. 155 // Currently only supported on Mac.
156 virtual bool SupportsFullscreenWithToolbar() const = 0; 156 virtual bool SupportsFullscreenWithToolbar() const = 0;
157 virtual void UpdateFullscreenWithToolbar(bool with_toolbar) = 0; 157 virtual void UpdateFullscreenWithToolbar(bool with_toolbar) = 0;
158 virtual void ToggleFullscreenToolbar() = 0;
158 virtual bool IsFullscreenWithToolbar() const = 0; 159 virtual bool IsFullscreenWithToolbar() const = 0;
160 virtual bool ShouldHideFullscreenToolbar() const = 0;
159 161
160 #if defined(OS_WIN) 162 #if defined(OS_WIN)
161 // Sets state for entering or exiting Win8 Metro snap mode. 163 // Sets state for entering or exiting Win8 Metro snap mode.
162 virtual void SetMetroSnapMode(bool enable) = 0; 164 virtual void SetMetroSnapMode(bool enable) = 0;
163 165
164 // Returns whether the window is currently in Win8 Metro snap mode. 166 // Returns whether the window is currently in Win8 Metro snap mode.
165 virtual bool IsInMetroSnapMode() const = 0; 167 virtual bool IsInMetroSnapMode() const = 0;
166 #endif 168 #endif
167 169
168 // Returns the location bar. 170 // Returns the location bar.
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // Returns object implementing ExclusiveAccessContext interface. 404 // Returns object implementing ExclusiveAccessContext interface.
403 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; 405 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
404 406
405 protected: 407 protected:
406 friend class BrowserCloseManager; 408 friend class BrowserCloseManager;
407 friend class BrowserView; 409 friend class BrowserView;
408 virtual void DestroyBrowser() = 0; 410 virtual void DestroyBrowser() = 0;
409 }; 411 };
410 412
411 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 413 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_commands_mac.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698