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

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

Issue 100903002: Ignore fullscreen windows which are behind other windows for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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 5ae2e49deaf8612d3fcb5540ba6eb1a62b1d8b66..ea87c4976c26d9f2f4d18a267a56b19ad5ef8a47 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -434,6 +434,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