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

Unified Diff: ash/system/web_notification/web_notification_tray_unittest.cc

Issue 149493008: Use active window if on current workspace for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update fullscreen state tracking in workspace and only consider switchable containers for active no… Created 6 years, 10 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 34fe4a50a7c9513d2f123e92b43a009a7184400e..b08713ace7dbc6f730da4cd17743d36e4436b659 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -444,6 +444,7 @@ TEST_F(WebNotificationTrayTest, MAYBE_PopupAndFullscreen) {
// hidden.
wm::GetWindowState(window.get())->set_hide_shelf_when_fullscreen(false);
window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN);
+ wm::GetWindowState(window.get())->Activate();
RunAllPendingInMessageLoop();
// The work area for auto-hidden status of fullscreen is a bit larger

Powered by Google App Engine
This is Rietveld 408576698