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

Unified Diff: ash/shelf/shelf_view.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_model_observer.h ('k') | ash/shelf/shelf_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view.h
diff --git a/ash/shelf/shelf_view.h b/ash/shelf/shelf_view.h
index 22e0152f73966706d8796c0eb4cc9b3a5f6cffa0..06194fc294aca5100b3d9bc9e9c796f2e23ff359 100644
--- a/ash/shelf/shelf_view.h
+++ b/ash/shelf/shelf_view.h
@@ -8,8 +8,8 @@
#include <utility>
#include <vector>
-#include "ash/launcher/launcher_model_observer.h"
#include "ash/shelf/shelf_button_host.h"
+#include "ash/shelf/shelf_model_observer.h"
#include "ash/wm/gestures/shelf_gesture_handler.h"
#include "base/observer_list.h"
#include "ui/app_list/views/app_list_drag_and_drop_host.h"
@@ -48,7 +48,7 @@ class ShelfLayoutManager;
class ShelfTooltipManager;
class ASH_EXPORT ShelfView : public views::View,
- public LauncherModelObserver,
+ public ShelfModelObserver,
public views::ButtonListener,
public ShelfButtonHost,
public views::ContextMenuController,
@@ -237,13 +237,13 @@ class ASH_EXPORT ShelfView : public views::View,
// Overridden from ui::EventHandler:
virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
- // Overridden from LauncherModelObserver:
- virtual void LauncherItemAdded(int model_index) OVERRIDE;
- virtual void LauncherItemRemoved(int model_index, LauncherID id) OVERRIDE;
- virtual void LauncherItemChanged(int model_index,
- const ash::LauncherItem& old_item) OVERRIDE;
- virtual void LauncherItemMoved(int start_index, int target_index) OVERRIDE;
- virtual void LauncherStatusChanged() OVERRIDE;
+ // Overridden from ShelfModelObserver:
+ virtual void ShelfItemAdded(int model_index) OVERRIDE;
+ virtual void ShelfItemRemoved(int model_index, LauncherID id) OVERRIDE;
+ virtual void ShelfItemChanged(int model_index,
+ const LauncherItem& old_item) OVERRIDE;
+ virtual void ShelfItemMoved(int start_index, int target_index) OVERRIDE;
+ virtual void ShelfStatusChanged() OVERRIDE;
// Overridden from ShelfButtonHost:
virtual void PointerPressedOnButton(views::View* view,
« no previous file with comments | « ash/shelf/shelf_model_observer.h ('k') | ash/shelf/shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698