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

Unified Diff: ash/shell_unittest.cc

Issue 11316323: Cleanup enums for shelf (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 8 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
« no previous file with comments | « ash/shell/context_menu.cc ('k') | ash/system/status_area_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_unittest.cc
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index 8885320cd5c267e9c4f0210782580abe2a67289a..5e17b950eec6c5783a54a500c7825eef295ad54e 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -318,19 +318,19 @@ TEST_F(ShellTest, FullscreenWindowHidesShelf) {
// Shelf defaults to visible.
EXPECT_EQ(
- internal::ShelfLayoutManager::VISIBLE,
+ SHELF_VISIBLE,
Shell::GetPrimaryRootWindowController()->shelf()->visibility_state());
// Fullscreen window hides it.
widget->SetFullscreen(true);
EXPECT_EQ(
- internal::ShelfLayoutManager::HIDDEN,
+ SHELF_HIDDEN,
Shell::GetPrimaryRootWindowController()->shelf()->visibility_state());
// Restoring the window restores it.
widget->Restore();
EXPECT_EQ(
- internal::ShelfLayoutManager::VISIBLE,
+ SHELF_VISIBLE,
Shell::GetPrimaryRootWindowController()->shelf()->visibility_state());
// Clean up.
« no previous file with comments | « ash/shell/context_menu.cc ('k') | ash/system/status_area_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698