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

Unified Diff: ash/dip_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/ash.gyp ('k') | ash/display/display_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/dip_unittest.cc
diff --git a/ash/dip_unittest.cc b/ash/dip_unittest.cc
index a501ad251389297877353db81c585cf5e2c6aa03..92f78bcde31695e3b063648fa81fc6244121fb4f 100644
--- a/ash/dip_unittest.cc
+++ b/ash/dip_unittest.cc
@@ -7,7 +7,7 @@
#include "ash/ash_switches.h"
#include "ash/display/display_manager.h"
-#include "ash/launcher/launcher.h"
+#include "ash/shelf/shelf.h"
#include "ash/shelf/shelf_widget.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
@@ -62,11 +62,11 @@ TEST_F(DIPTest, WorkArea) {
EXPECT_EQ("0,0,47,0", display_2x.bounds().InsetsFrom(work_area).ToString());
// Sanity check if the workarea's inset hight is same as
- // the launcher's height.
- Launcher* launcher = Launcher::ForPrimaryDisplay();
+ // the shelf's height.
+ Shelf* shelf = Shelf::ForPrimaryDisplay();
EXPECT_EQ(
display_2x.bounds().InsetsFrom(work_area).height(),
- launcher->shelf_widget()->GetNativeView()->layer()->bounds().height());
+ shelf->shelf_widget()->GetNativeView()->layer()->bounds().height());
}
TEST_F(DIPTest, WorkAreaForLegacyShelfLayout) {
@@ -101,11 +101,11 @@ TEST_F(DIPTest, WorkAreaForLegacyShelfLayout) {
EXPECT_EQ("0,0,48,0", display_2x.bounds().InsetsFrom(work_area).ToString());
// Sanity check if the workarea's inset hight is same as
- // the launcher's height.
- Launcher* launcher = Launcher::ForPrimaryDisplay();
+ // the shelf's height.
+ Shelf* shelf = Shelf::ForPrimaryDisplay();
EXPECT_EQ(
display_2x.bounds().InsetsFrom(work_area).height(),
- launcher->shelf_widget()->GetNativeView()->layer()->bounds().height());
+ shelf->shelf_widget()->GetNativeView()->layer()->bounds().height());
}
} // namespace ash
« no previous file with comments | « ash/ash.gyp ('k') | ash/display/display_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698