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

Unified Diff: ash/common/system/tray/system_tray_unittest.cc

Issue 2752903002: Make ui::test::EventGenerator work with PointerEvents in mash (Closed)
Patch Set: review comments Created 3 years, 9 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
« no previous file with comments | « no previous file | ash/mus/window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_unittest.cc
diff --git a/ash/common/system/tray/system_tray_unittest.cc b/ash/common/system/tray/system_tray_unittest.cc
index 90b6832400ca29ffa5373b05eeb60c39e45d38f0..ee7977b173cea225567ee6e9a25c9e109a61fdac 100644
--- a/ash/common/system/tray/system_tray_unittest.cc
+++ b/ash/common/system/tray/system_tray_unittest.cc
@@ -427,10 +427,6 @@ TEST_F(SystemTrayTest, TrayBoundsInWidget) {
}
TEST_F(SystemTrayTest, PersistentBubble) {
- // TODO: investigate why this fails in mash. http://crbug.com/695559.
- if (WmShell::Get()->IsRunningInMash())
- return;
-
SystemTray* tray = GetPrimarySystemTray();
ASSERT_TRUE(tray->GetWidget());
@@ -448,6 +444,7 @@ TEST_F(SystemTrayTest, PersistentBubble) {
base::RunLoop().RunUntilIdle();
ASSERT_FALSE(tray->HasSystemBubble());
+ // Clicking outside the bubble should close it.
tray->ShowDefaultView(BUBBLE_CREATE_NEW);
ASSERT_TRUE(tray->HasSystemBubble());
{
« no previous file with comments | « no previous file | ash/mus/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698