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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h

Issue 71653003: ash: Rename LauncherModel to ShelfModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome changes Created 7 years, 1 month 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: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 98da6a6422889264d696fb829a82572775e509d2..b9ee4093a9b7a805f351d3d1035b2a1aa89ea1aa 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -48,7 +48,7 @@ class TabContents;
namespace ash {
class LauncherItemDelegateManager;
-class LauncherModel;
+class ShelfModel;
}
namespace aura {
@@ -130,7 +130,7 @@ class ChromeLauncherController : public ash::LauncherDelegate,
virtual void SetCurrentUser(Profile* profile) = 0;
};
- ChromeLauncherController(Profile* profile, ash::LauncherModel* model);
+ ChromeLauncherController(Profile* profile, ash::ShelfModel* model);
virtual ~ChromeLauncherController();
// Initializes this ChromeLauncherController.
@@ -138,7 +138,7 @@ class ChromeLauncherController : public ash::LauncherDelegate,
// Creates an instance.
static ChromeLauncherController* CreateInstance(Profile* profile,
- ash::LauncherModel* model);
+ ash::ShelfModel* model);
// Returns the single ChromeLauncherController instance.
static ChromeLauncherController* instance() { return instance_; }
@@ -244,7 +244,7 @@ class ChromeLauncherController : public ash::LauncherDelegate,
// id of the app.
void PersistPinnedState();
- ash::LauncherModel* model();
+ ash::ShelfModel* model();
// Accessor to the currently loaded profile. Note that in multi profile use
// cases this might change over time.
@@ -465,7 +465,7 @@ class ChromeLauncherController : public ash::LauncherDelegate,
// Creates an app launcher to insert at |index|. Note that |index| may be
// adjusted by the model to meet ordering constraints.
- // The |launcher_item_type| will be set into the LauncherModel.
+ // The |launcher_item_type| will be set into the ShelfModel.
ash::LauncherID InsertAppLauncherItem(
LauncherItemController* controller,
const std::string& app_id,
@@ -535,7 +535,7 @@ class ChromeLauncherController : public ash::LauncherDelegate,
static ChromeLauncherController* instance_;
- ash::LauncherModel* model_;
+ ash::ShelfModel* model_;
ash::LauncherItemDelegateManager* item_delegate_manager_;

Powered by Google App Engine
This is Rietveld 408576698