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

Unified Diff: ash/test/test_shelf_delegate.h

Issue 152223002: Renames LauncherID, LauncherItem and LauncherItems... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OWNERS Created 6 years, 11 months 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/shell_delegate.h ('k') | ash/test/test_shelf_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shelf_delegate.h
diff --git a/ash/test/test_shelf_delegate.h b/ash/test/test_shelf_delegate.h
index 0500156c5519af06da5ebc0303fb265cf71c314c..78fe5e539dad4becd9c63ab3922f9294809d5506 100644
--- a/ash/test/test_shelf_delegate.h
+++ b/ash/test/test_shelf_delegate.h
@@ -19,15 +19,15 @@ class ShelfModel;
namespace test {
// Test implementation of ShelfDelegate.
-// Tests may create icons for windows by calling AddLauncherItem
+// Tests may create icons for windows by calling AddShelfItem().
class TestShelfDelegate : public ShelfDelegate, public aura::WindowObserver {
public:
explicit TestShelfDelegate(ShelfModel* model);
virtual ~TestShelfDelegate();
- void AddLauncherItem(aura::Window* window);
- void AddLauncherItem(aura::Window* window, ShelfItemStatus status);
- void RemoveLauncherItemForWindow(aura::Window* window);
+ void AddShelfItem(aura::Window* window);
+ void AddShelfItem(aura::Window* window, ShelfItemStatus status);
+ void RemoveShelfItemForWindow(aura::Window* window);
static TestShelfDelegate* instance() { return instance_; }
@@ -39,8 +39,8 @@ class TestShelfDelegate : public ShelfDelegate, public aura::WindowObserver {
// ShelfDelegate implementation.
virtual void OnShelfCreated(Shelf* shelf) OVERRIDE;
virtual void OnShelfDestroyed(Shelf* shelf) OVERRIDE;
- virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE;
- virtual const std::string& GetAppIDForLauncherID(LauncherID id) OVERRIDE;
+ virtual ShelfID GetShelfIDForAppID(const std::string& app_id) OVERRIDE;
+ virtual const std::string& GetAppIDForShelfID(ShelfID id) OVERRIDE;
virtual void PinAppWithID(const std::string& app_id) OVERRIDE;
virtual bool CanPin() const OVERRIDE;
virtual bool IsAppPinned(const std::string& app_id) OVERRIDE;
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/test/test_shelf_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698