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

Unified Diff: ash/system/web_notification/web_notification_tray_unittest.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: Add AUTO_HIDE_INVISIBLE mode for arc++. 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/system/web_notification/web_notification_tray_unittest.cc
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc
index 59f4a32352388e4dc6f3e67f4c752e7606627ca4..f45218a49f84cbd6a5f8911d17466641d174b5b6 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -420,7 +420,8 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupAndFullscreen) {
WmLookup::Get()
->GetWindowForWidget(widget.get())
->GetWindowState()
- ->set_hide_shelf_when_fullscreen(false);
+ ->set_shelf_mode_in_fullscreen(
+ ash::wm::WindowState::SHELF_AUTO_HIDE_VISIBLE);
widget->SetFullscreen(true);
RunAllPendingInMessageLoop();

Powered by Google App Engine
This is Rietveld 408576698