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

Unified Diff: chrome/browser/chromeos/login/lock/screen_locker.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: chrome/browser/chromeos/login/lock/screen_locker.cc
diff --git a/chrome/browser/chromeos/login/lock/screen_locker.cc b/chrome/browser/chromeos/login/lock/screen_locker.cc
index b3e7bc38f20e5837c6b352c91ef9a8c38787aceb..bffe739b0a78a3888c2b5780634e16f315b77887 100644
--- a/chrome/browser/chromeos/login/lock/screen_locker.cc
+++ b/chrome/browser/chromeos/login/lock/screen_locker.cc
@@ -423,10 +423,9 @@
// visible while in fullscreen because the shelf makes it harder for a web
// page or app to mimick the lock screen.
ash::wm::WindowState* active_window_state = ash::wm::GetActiveWindowState();
-
- if (active_window_state && active_window_state->IsFullscreen() &&
- active_window_state->shelf_mode_in_fullscreen() !=
- ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE) {
+ if (active_window_state &&
+ active_window_state->IsFullscreen() &&
+ active_window_state->hide_shelf_when_fullscreen()) {
const ash::wm::WMEvent event(ash::wm::WM_EVENT_TOGGLE_FULLSCREEN);
active_window_state->OnWMEvent(&event);
}
« no previous file with comments | « ash/wm/immersive_fullscreen_controller.cc ('k') | chrome/browser/chromeos/login/lock/screen_locker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698