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

Unified Diff: ash/wm/panels/panel_window_resizer_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_window_resizer_unittest.cc
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc
index 0478525c73de7cf88855ed186f127a41d5c6ff11..23a79627eaef9230a2d36e1399ade1e8384ac3ca 100644
--- a/ash/wm/panels/panel_window_resizer_unittest.cc
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc
@@ -64,6 +64,7 @@ class PanelWindowResizerTest : public test::AshTestBase {
static int id = 0;
std::string shelf_id(ash::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