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

Unified Diff: chrome/browser/notifications/fullscreen_notification_blocker.cc

Issue 2248773002: 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/notifications/fullscreen_notification_blocker.cc
diff --git a/chrome/browser/notifications/fullscreen_notification_blocker.cc b/chrome/browser/notifications/fullscreen_notification_blocker.cc
index afa369cf6645113a3a0c134455e590540f1e847c..2971c287b40516d2f767d19bb4fe7d0182c65b79 100644
--- a/chrome/browser/notifications/fullscreen_notification_blocker.cc
+++ b/chrome/browser/notifications/fullscreen_notification_blocker.cc
@@ -37,8 +37,9 @@ bool DoesFullscreenModeBlockNotifications() {
controller->GetWindowForFullscreenMode();
if (!fullscreen_window)
return false;
- return ash::wm::GetWindowState(fullscreen_window)->
- hide_shelf_when_fullscreen();
+ return ash::wm::GetWindowState(fullscreen_window)
+ ->shelf_mode_in_fullscreen() ==
+ ash::wm::WindowState::SHELF_HIDDEN;
}
#endif

Powered by Google App Engine
This is Rietveld 408576698