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

Unified Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 198413003: Enable immersive fullscreen on Windows Ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix issues from previous review comment. Created 6 years, 9 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/views/frame/browser_view.h
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
index 6778b8834d360d4585f218254c7b9b27c4773368..bc4406125def567b073f9edc7fc384d7d3719869 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -123,6 +123,7 @@ class BrowserView : public BrowserWindow,
// Returns a Browser instance of this view.
Browser* browser() { return browser_.get(); }
+ const Browser* browser() const { return browser_.get(); }
// Initializes (or re-initializes) the status bubble. We try to only create
// the bubble once and re-use it for the life of the browser, but certain
@@ -478,9 +479,9 @@ class BrowserView : public BrowserWindow,
FRIEND_TEST_ALL_PREFIXES(BrowserViewsAccessibilityTest,
TestAboutChromeViewAccObj);
- enum FullscreenType {
- FOR_DESKTOP,
- FOR_METRO
+ enum FullscreenMode {
+ NORMAL_FULLSCREEN,
+ METRO_SNAP_FULLSCREEN
};
// Appends to |toolbars| a pointer to each AccessiblePaneView that
@@ -545,7 +546,7 @@ class BrowserView : public BrowserWindow,
// |bubble_type| determines what should be shown in the fullscreen exit
// bubble.
void ProcessFullscreen(bool fullscreen,
- FullscreenType fullscreen_type,
+ FullscreenMode mode,
const GURL& url,
FullscreenExitBubbleType bubble_type);

Powered by Google App Engine
This is Rietveld 408576698