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

Unified Diff: ash/shelf/shelf_model_observer.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/launcher/launcher_model_unittest.cc ('k') | ash/shelf/shelf_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_model_observer.h
diff --git a/ash/launcher/launcher_model_observer.h b/ash/shelf/shelf_model_observer.h
similarity index 53%
rename from ash/launcher/launcher_model_observer.h
rename to ash/shelf/shelf_model_observer.h
index 16067c02efddeb04bea7827386a220537ad1170d..8fb49aecde731116db575184ddb2861ee66ff378 100644
--- a/ash/launcher/launcher_model_observer.h
+++ b/ash/shelf/shelf_model_observer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_
-#define ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_
+#ifndef ASH_SHELF_SHELF_MODEL_OBSERVER_H_
+#define ASH_SHELF_SHELF_MODEL_OBSERVER_H_
#include "ash/ash_export.h"
#include "ash/launcher/launcher_types.h"
@@ -12,30 +12,30 @@ namespace ash {
struct LauncherItem;
-class ASH_EXPORT LauncherModelObserver {
+class ASH_EXPORT ShelfModelObserver {
public:
// Invoked after an item has been added to the model.
- virtual void LauncherItemAdded(int index) = 0;
+ virtual void ShelfItemAdded(int index) = 0;
// Invoked after an item has been removed. |index| is the index the item was
// at.
- virtual void LauncherItemRemoved(int index, LauncherID id) = 0;
+ virtual void ShelfItemRemoved(int index, LauncherID id) = 0;
// Invoked after an item has been moved. See LauncherModel::Move() for details
// of the arguments.
- virtual void LauncherItemMoved(int start_index, int target_index) = 0;
+ virtual void ShelfItemMoved(int start_index, int target_index) = 0;
// Invoked when the state of an item changes. |old_item| is the item
// before the change.
- virtual void LauncherItemChanged(int index, const LauncherItem& old_item) = 0;
+ virtual void ShelfItemChanged(int index, const LauncherItem& old_item) = 0;
- // Invoked when launcher status is changed.
- virtual void LauncherStatusChanged() = 0;
+ // Invoked when shelf status is changed.
+ virtual void ShelfStatusChanged() = 0;
protected:
- virtual ~LauncherModelObserver() {}
+ virtual ~ShelfModelObserver() {}
};
} // namespace ash
-#endif // ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_
+#endif // ASH_SHELF_SHELF_MODEL_OBSERVER_H_
« no previous file with comments | « ash/launcher/launcher_model_unittest.cc ('k') | ash/shelf/shelf_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698