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

Unified Diff: ash/wm/immersive_fullscreen_controller.cc

Issue 2248913005: Revert of Use MD-ash's auto hide behavior for arc++ windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: ash/wm/immersive_fullscreen_controller.cc
diff --git a/ash/wm/immersive_fullscreen_controller.cc b/ash/wm/immersive_fullscreen_controller.cc
index 991b747bb455e5be88b2b543a7a68c6c5461556c..13ce2d36ba06a27108a86b71205329a6dcb5def7 100644
--- a/ash/wm/immersive_fullscreen_controller.cc
+++ b/ash/wm/immersive_fullscreen_controller.cc
@@ -271,9 +271,7 @@
ash::wm::WindowState* window_state = wm::GetWindowState(native_window_);
// Auto hide the shelf in immersive fullscreen instead of hiding it.
- window_state->set_shelf_mode_in_fullscreen(
- enabled ? ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE
- : ash::wm::WindowState::SHELF_HIDDEN);
+ window_state->set_hide_shelf_when_fullscreen(!enabled);
// Update the window's immersive mode state for the window manager.
window_state->set_in_immersive_fullscreen(enabled);
« no previous file with comments | « ash/system/web_notification/web_notification_tray_unittest.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698