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

Unified Diff: ash/shelf/shelf_navigator_unittest.cc

Issue 152223002: Renames LauncherID, LauncherItem and LauncherItems... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OWNERS Created 6 years, 11 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/shelf/shelf_navigator.cc ('k') | ash/shelf/shelf_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_navigator_unittest.cc
diff --git a/ash/shelf/shelf_navigator_unittest.cc b/ash/shelf/shelf_navigator_unittest.cc
index cf9e5d372514ca614d1902183f8bea55bc8bbf45..7807eccbdbcd5d5a923cc370df898fcdbb1ecd7a 100644
--- a/ash/shelf/shelf_navigator_unittest.cc
+++ b/ash/shelf/shelf_navigator_unittest.cc
@@ -25,7 +25,7 @@ class ShelfNavigatorTest : public testing::Test {
model_.reset(new ShelfModel);
// Add APP_LIST for test.
- LauncherItem app_list;
+ ShelfItem app_list;
app_list.type = TYPE_APP_LIST;
model_->Add(app_list);
@@ -35,7 +35,7 @@ class ShelfNavigatorTest : public testing::Test {
EXPECT_TRUE(model_->items()[0].type == TYPE_APP_LIST);
// Add BROWSER_SHORTCUT for test.
- LauncherItem browser_shortcut;
+ ShelfItem browser_shortcut;
browser_shortcut.type = TYPE_BROWSER_SHORTCUT;
model_->Add(browser_shortcut);
}
@@ -44,7 +44,7 @@ class ShelfNavigatorTest : public testing::Test {
int types_length,
int focused_index) {
for (int i = 0; i < types_length; ++i) {
- LauncherItem new_item;
+ ShelfItem new_item;
new_item.type = types[i];
new_item.status =
(types[i] == TYPE_PLATFORM_APP) ? STATUS_RUNNING : STATUS_CLOSED;
@@ -53,7 +53,7 @@ class ShelfNavigatorTest : public testing::Test {
// Set the focused item.
if (focused_index >= 0) {
- LauncherItem focused_item =model_->items()[focused_index];
+ ShelfItem focused_item =model_->items()[focused_index];
if (focused_item.type == TYPE_PLATFORM_APP) {
focused_item.status = STATUS_ACTIVE;
model_->Set(focused_index, focused_item);
« no previous file with comments | « ash/shelf/shelf_navigator.cc ('k') | ash/shelf/shelf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698