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

Unified Diff: ash/shell.cc

Issue 53513003: ash: Rename GetLauncherItemIndexForType to GetShelfItemIndexForType(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 02a84db06e854bb4fd01bcdb6861e761e3958be8..c22f4bfbcbabc0b78910bd90b525df31c5f74c46 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -33,7 +33,6 @@
#include "ash/launcher/launcher_item_delegate.h"
#include "ash/launcher/launcher_item_delegate_manager.h"
#include "ash/launcher/launcher_model.h"
-#include "ash/launcher/launcher_model_util.h"
#include "ash/magnifier/magnification_controller.h"
#include "ash/magnifier/partial_magnification_controller.h"
#include "ash/new_window_delegate.h"
@@ -42,6 +41,7 @@
#include "ash/session_state_delegate.h"
#include "ash/shelf/app_list_shelf_item_delegate.h"
#include "ash/shelf/shelf_layout_manager.h"
+#include "ash/shelf/shelf_model_util.h"
#include "ash/shelf/shelf_widget.h"
#include "ash/shell_delegate.h"
#include "ash/shell_factory.h"
@@ -498,7 +498,7 @@ LauncherDelegate* Shell::GetLauncherDelegate() {
// Finding the launcher model's location of the app list and setting its
// LauncherItemDelegate.
int app_list_index =
- ash::GetLauncherItemIndexForType(ash::TYPE_APP_LIST, *launcher_model_);
+ GetShelfItemIndexForType(ash::TYPE_APP_LIST, *launcher_model_);
DCHECK_GE(app_list_index, 0);
ash::LauncherID app_list_id = launcher_model_->items()[app_list_index].id;
DCHECK(app_list_id);
« no previous file with comments | « ash/shelf/shelf_model_util.cc ('k') | chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698