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

Unified Diff: ash/system/toast/toast_manager_unittest.cc

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 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
« no previous file with comments | « ash/system/status_area_widget_delegate.cc ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/toast/toast_manager_unittest.cc
diff --git a/ash/system/toast/toast_manager_unittest.cc b/ash/system/toast/toast_manager_unittest.cc
index a5b2e832698c87b69a88a86c9ea562c09a897323..ff9689b84e4f9a0e3a3b0c7f3ac66f0f6805eeca 100644
--- a/ash/system/toast/toast_manager_unittest.cc
+++ b/ash/system/toast/toast_manager_unittest.cc
@@ -64,7 +64,7 @@ class ToastManagerTest : public test::AshTestBase {
overlay->ClickDismissButtonForTesting(DummyEvent());
}
- void SetShelfAlignment(wm::ShelfAlignment alignment) {
+ void SetShelfAlignment(ShelfAlignment alignment) {
Shelf::ForPrimaryDisplay()->SetAlignment(alignment);
}
@@ -153,7 +153,7 @@ TEST_F(ToastManagerTest, PositionWithVisibleBottomShelf) {
ShelfLayoutManager* shelf =
Shelf::ForPrimaryDisplay()->shelf_layout_manager();
SetShelfState(ash::SHELF_VISIBLE);
- SetShelfAlignment(wm::SHELF_ALIGNMENT_BOTTOM);
+ SetShelfAlignment(SHELF_ALIGNMENT_BOTTOM);
ShowToast("DUMMY", kLongLongDuration /* prevent timeout */);
EXPECT_EQ(1, GetToastSerial());
@@ -182,7 +182,7 @@ TEST_F(ToastManagerTest, PositionWithAutoHiddenBottomShelf) {
ShelfLayoutManager* shelf =
Shelf::ForPrimaryDisplay()->shelf_layout_manager();
- SetShelfAlignment(wm::SHELF_ALIGNMENT_BOTTOM);
+ SetShelfAlignment(SHELF_ALIGNMENT_BOTTOM);
SetShelfAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
shelf->LayoutShelf();
EXPECT_EQ(SHELF_AUTO_HIDE_HIDDEN, shelf->auto_hide_state());
@@ -204,7 +204,7 @@ TEST_F(ToastManagerTest, PositionWithHiddenBottomShelf) {
ShelfLayoutManager* shelf =
Shelf::ForPrimaryDisplay()->shelf_layout_manager();
SetShelfAutoHideBehavior(SHELF_AUTO_HIDE_ALWAYS_HIDDEN);
- SetShelfAlignment(wm::SHELF_ALIGNMENT_BOTTOM);
+ SetShelfAlignment(SHELF_ALIGNMENT_BOTTOM);
SetShelfState(ash::SHELF_HIDDEN);
ShowToast("DUMMY", kLongLongDuration /* prevent timeout */);
@@ -223,7 +223,7 @@ TEST_F(ToastManagerTest, PositionWithVisibleLeftShelf) {
ShelfLayoutManager* shelf =
Shelf::ForPrimaryDisplay()->shelf_layout_manager();
SetShelfState(ash::SHELF_VISIBLE);
- SetShelfAlignment(wm::SHELF_ALIGNMENT_LEFT);
+ SetShelfAlignment(SHELF_ALIGNMENT_LEFT);
ShowToast("DUMMY", kLongLongDuration /* prevent timeout */);
EXPECT_EQ(1, GetToastSerial());
@@ -257,7 +257,7 @@ TEST_F(ToastManagerTest, PositionWithUnifiedDesktop) {
ShelfLayoutManager* shelf =
Shelf::ForPrimaryDisplay()->shelf_layout_manager();
SetShelfState(ash::SHELF_VISIBLE);
- SetShelfAlignment(wm::SHELF_ALIGNMENT_BOTTOM);
+ SetShelfAlignment(SHELF_ALIGNMENT_BOTTOM);
ShowToast("DUMMY", kLongLongDuration /* prevent timeout */);
EXPECT_EQ(1, GetToastSerial());
« no previous file with comments | « ash/system/status_area_widget_delegate.cc ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698