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

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

Issue 198413003: Enable immersive fullscreen on Windows Ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some linux compile errors, and check USE_ASH instead of OS define. 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.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 140fc59fc475da954a5fa6eb1270ebd459b7c287..552b08cd2e5861dfa4a6f3286da35d10a2316001 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2244,6 +2244,9 @@ bool BrowserView::ShouldUseImmersiveFullscreenForUrl(const GURL& url) const {
// Kiosk mode needs the whole screen.
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kKioskMode))
return false;
+#endif
+
+#if defined(USE_ASH)
pkotwicz 2014/03/13 18:34:32 What was the result of your investigation into whe
zturner 2014/03/13 19:28:10 Didn't get to it yet, but doing so after I upload
bool is_browser_fullscreen = url.is_empty();
if (ash::switches::UseImmersiveFullscreenForAllWindows())
return is_browser_fullscreen;

Powered by Google App Engine
This is Rietveld 408576698