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

Unified Diff: ash/wm/panels/panel_layout_manager_unittest.cc

Issue 2927693002: mash: Limit ShelfWindowWatcher to panels and dialogs. (Closed)
Patch Set: Disable WindowSelectorTest.MultipleDisplays in mash. Created 3 years, 6 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/wm/panels/panel_layout_manager_unittest.cc
diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc
index 6b81b1cef67ffc08e74ad62aa5021cfc40df3589..5bb9bcb84f226995ba7441d0208f39f5ca37eb72 100644
--- a/ash/wm/panels/panel_layout_manager_unittest.cc
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc
@@ -90,6 +90,7 @@ class PanelLayoutManagerTest : public test::AshTestBase {
static int id = 0;
std::string shelf_id(ShelfID(base::IntToString(id++)).Serialize());
window->SetProperty(kShelfIDKey, new std::string(shelf_id));
+ window->SetProperty<int>(kShelfItemTypeKey, TYPE_APP_PANEL);
shelf_view_test()->RunMessageLoopUntilAnimationsDone();
return window;
}

Powered by Google App Engine
This is Rietveld 408576698