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

Unified Diff: ash/shell_unittest.cc

Issue 115113006: Rename Launcher to Shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 7 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/window_watcher_unittest.cc ('k') | ash/system/chromeos/audio/tray_audio.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 e48460dabd440afbd87965159665a3de45abaa4e..7674dfbb8b4cfb0a99fccfe07fc9e99f0361f98b 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -11,9 +11,9 @@
#include "ash/desktop_background/desktop_background_widget_controller.h"
#include "ash/display/mouse_cursor_event_filter.h"
#include "ash/drag_drop/drag_drop_controller.h"
-#include "ash/launcher/launcher.h"
#include "ash/root_window_controller.h"
#include "ash/session_state_delegate.h"
+#include "ash/shelf/shelf.h"
#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shelf/shelf_widget.h"
#include "ash/shell_delegate.h"
@@ -394,13 +394,13 @@ TEST_F(ShellTest, ManagedWindowModeBasics) {
// We start with the usual window containers.
ExpectAllContainers();
// Shelf is visible.
- ShelfWidget* launcher_widget = Launcher::ForPrimaryDisplay()->shelf_widget();
- EXPECT_TRUE(launcher_widget->IsVisible());
+ ShelfWidget* shelf_widget = Shelf::ForPrimaryDisplay()->shelf_widget();
+ EXPECT_TRUE(shelf_widget->IsVisible());
// Shelf is at bottom-left of screen.
- EXPECT_EQ(0, launcher_widget->GetWindowBoundsInScreen().x());
+ EXPECT_EQ(0, shelf_widget->GetWindowBoundsInScreen().x());
EXPECT_EQ(Shell::GetPrimaryRootWindow()->GetDispatcher()->host()->
GetBounds().height(),
- launcher_widget->GetWindowBoundsInScreen().bottom());
+ shelf_widget->GetWindowBoundsInScreen().bottom());
// We have a desktop background but not a bare layer.
// TODO (antrim): enable once we find out why it fails component build.
// internal::DesktopBackgroundWidgetController* background =
« no previous file with comments | « ash/shell/window_watcher_unittest.cc ('k') | ash/system/chromeos/audio/tray_audio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698