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

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

Issue 135053006: Enable immersive fullscreen for non-browser windows by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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_frame_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_ash.cc b/chrome/browser/ui/views/frame/browser_frame_ash.cc
index de6c14029f13a0f5e02e38bf422b74b89464f83c..b0d431d68097c1b1e22ae6b7839ca43ec132ac9e 100644
--- a/chrome/browser/ui/views/frame/browser_frame_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_ash.cc
@@ -73,8 +73,8 @@ BrowserFrameAsh::BrowserFrameAsh(BrowserFrame* browser_frame,
// Animating to immersive fullscreen does not look good. Immersive
// fullscreen is the default fullscreen type on ChromeOS for tabbed browser
// windows. The WindowState constructor disables animating to fullscreen
- // completely when the kAshEnableImmersiveFullscreenForAllWindows command
- // line flag is set.
+ // completely when switches::UseImmersiveFullscreenForAllWindows() returns
+ // true.
window_state->set_animate_to_fullscreen(false);
}
« no previous file with comments | « chrome/browser/ui/views/apps/native_app_window_views.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698