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

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

Issue 199283002: Remove ash::switches::UseImmersiveFullscreenForAllWindows() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_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 10fa058804272ffeea3cd14f546421a293512336..3346bd0c14d651bc87b7883cc05a3b076ee4b2b6 100644
--- a/chrome/browser/ui/views/frame/browser_frame_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_ash.cc
@@ -70,15 +70,6 @@ BrowserFrameAsh::BrowserFrameAsh(BrowserFrame* browser_frame,
if (!browser->bounds_overridden() && !browser->is_session_restore())
SetWindowAutoManaged();
#if defined(OS_CHROMEOS)
- if (browser->is_type_tabbed()) {
- // 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 switches::UseImmersiveFullscreenForAllWindows() returns
- // true.
- window_state->set_animate_to_fullscreen(false);
- }
-
// For legacy reasons v1 apps (like Secure Shell) are allowed to consume keys
// like brightness, volume, etc. Otherwise these keys are handled by the
// Ash window manager.
« no previous file with comments | « chrome/browser/ui/views/apps/chrome_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