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

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

Issue 68243002: ash: Rename LauncherModelObserver to ShelfModelObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e9ded56232dffb7083e93386bdc3c78ff998398d..96ca66e68b6d0299e82b958e5850f6879bba5f6e 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -14,9 +14,9 @@
#include "ash/display/display_controller.h"
#include "ash/launcher/launcher_delegate.h"
#include "ash/launcher/launcher_item_delegate.h"
-#include "ash/launcher/launcher_model_observer.h"
#include "ash/launcher/launcher_types.h"
#include "ash/shelf/shelf_layout_manager_observer.h"
+#include "ash/shelf/shelf_model_observer.h"
#include "ash/shelf/shelf_types.h"
#include "ash/shell_observer.h"
#include "base/basictypes.h"
@@ -87,7 +87,7 @@ class ChromeLauncherControllerUserSwitchObserver {
// ShellWindowLauncherController.
// * Shortcuts have no LauncherItemController.
class ChromeLauncherController : public ash::LauncherDelegate,
- public ash::LauncherModelObserver,
+ public ash::ShelfModelObserver,
public ash::ShellObserver,
public ash::DisplayController::Observer,
public content::NotificationObserver,
@@ -294,13 +294,13 @@ class ChromeLauncherController : public ash::LauncherDelegate,
virtual bool CanPin() const OVERRIDE;
virtual void UnpinAppWithID(const std::string& app_id) OVERRIDE;
- // ash::LauncherModelObserver overrides:
- virtual void LauncherItemAdded(int index) OVERRIDE;
- virtual void LauncherItemRemoved(int index, ash::LauncherID id) OVERRIDE;
- virtual void LauncherItemMoved(int start_index, int target_index) OVERRIDE;
- virtual void LauncherItemChanged(int index,
- const ash::LauncherItem& old_item) OVERRIDE;
- virtual void LauncherStatusChanged() OVERRIDE;
+ // ash::ShelfModelObserver overrides:
+ virtual void ShelfItemAdded(int index) OVERRIDE;
+ virtual void ShelfItemRemoved(int index, ash::LauncherID id) OVERRIDE;
+ virtual void ShelfItemMoved(int start_index, int target_index) OVERRIDE;
+ virtual void ShelfItemChanged(int index,
+ const ash::LauncherItem& old_item) OVERRIDE;
+ virtual void ShelfStatusChanged() OVERRIDE;
// content::NotificationObserver overrides:
virtual void Observe(int type,
« no previous file with comments | « ash/shelf/shelf_view.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698