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

Unified Diff: ash/shelf/shelf_delegate.h

Issue 115113006: Rename Launcher to Shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 7 years 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_alignment_menu.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_delegate.h
diff --git a/ash/shelf/shelf_delegate.h b/ash/shelf/shelf_delegate.h
index e168c47027707d2a66b57bf58cae755f6d452c4e..03c2bebc25a2c7445fdef32de07a20b499666e87 100644
--- a/ash/shelf/shelf_delegate.h
+++ b/ash/shelf/shelf_delegate.h
@@ -9,34 +9,34 @@
#include "ash/launcher/launcher_types.h"
namespace ash {
-class Launcher;
+class Shelf;
-// Delegate for the Launcher.
+// Delegate for the Shelf.
class ASH_EXPORT ShelfDelegate {
public:
- // Launcher owns the delegate.
+ // Shelf owns the delegate.
virtual ~ShelfDelegate() {}
// Callback used to allow delegate to perform initialization actions that
- // depend on the Launcher being in a known state.
- virtual void OnLauncherCreated(Launcher* launcher) = 0;
+ // depend on the Shelf being in a known state.
+ virtual void OnShelfCreated(Shelf* shelf) = 0;
- // Callback used to inform the delegate that a specific launcher no longer
+ // Callback used to inform the delegate that a specific shelf no longer
// exists.
- virtual void OnLauncherDestroyed(Launcher* launcher) = 0;
+ virtual void OnShelfDestroyed(Shelf* shelf) = 0;
- // Get the launcher ID from an application ID.
+ // Get the shelf ID from an application ID.
virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) = 0;
// Get the application ID for a given launcher ID.
virtual const std::string& GetAppIDForLauncherID(LauncherID id) = 0;
- // Pins an app with |app_id| to launcher. A running instance will get pinned.
- // In case there is no running instance a new launcher item is created and
+ // Pins an app with |app_id| to shelf. A running instance will get pinned.
+ // In case there is no running instance a new shelf item is created and
// pinned.
virtual void PinAppWithID(const std::string& app_id) = 0;
- // Check if the app with |app_id_| is pinned to the launcher.
+ // Check if the app with |app_id_| is pinned to the shelf.
virtual bool IsAppPinned(const std::string& app_id) = 0;
// Checks whether the user is allowed to pin/unpin apps. Pinning may be
« no previous file with comments | « ash/shelf/shelf_alignment_menu.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698