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

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

Issue 2368343002: Revert auto-hide-invisible mode for ARC++ (Closed)
Patch Set: Revert "Use MD-ash's auto hide behavior for arc++ windows." Created 4 years, 3 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/immersive_mode_controller_ash.cc
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
index 0a4c801d0c4b88eab8d75f84d4ed30f3f6faaff1..06f10585ffddfafcbe83e2abea13737717f83e40 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc
@@ -358,9 +358,7 @@ void ImmersiveModeControllerAsh::Observe(
bool in_tab_fullscreen = content::Source<FullscreenController>(source)->
IsWindowFullscreenForTabOrPending();
ash::wm::GetWindowState(native_window_)
- ->set_shelf_mode_in_fullscreen(
- in_tab_fullscreen ? ash::wm::WindowState::SHELF_HIDDEN
- : ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE);
+ ->set_hide_shelf_when_fullscreen(in_tab_fullscreen);
ash::Shell::GetInstance()->UpdateShelfVisibility();
if (tab_indicator_visibility_changed)
« no previous file with comments | « chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698