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

Unified Diff: ash/shelf/shelf_window_watcher.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/shelf/shelf_view_unittest.cc ('k') | ash/shelf/shelf_window_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_window_watcher.h
diff --git a/ash/shelf/shelf_window_watcher.h b/ash/shelf/shelf_window_watcher.h
index e69138fb7ed9908be3ce534fe1ec7d189931ad72..57b4ed254ba648428e21cda0e7d0fcc2c4e6e7b2 100644
--- a/ash/shelf/shelf_window_watcher.h
+++ b/ash/shelf/shelf_window_watcher.h
@@ -30,7 +30,7 @@ class ShelfModel;
class ShelfItemDelegateManager;
namespace internal {
-// ShelfWindowWatcher creates and handles a LauncherItem for windows that have
+// ShelfWindowWatcher creates and handles a ShelfItem for windows that have
// a ShelfItemDetails property in the default container.
class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
public aura::WindowObserver,
@@ -75,11 +75,11 @@ class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
DISALLOW_COPY_AND_ASSIGN(RemovedWindowObserver);
};
- // Creates a LauncherItem for |window| that has ShelfItemDetails.
- void AddLauncherItem(aura::Window* window);
+ // Creates a ShelfItem for |window| that has ShelfItemDetails.
+ void AddShelfItem(aura::Window* window);
- // Removes a LauncherItem for |window|.
- void RemoveLauncherItem(aura::Window* window);
+ // Removes a ShelfItem for |window|.
+ void RemoveShelfItem(aura::Window* window);
// Adds observer to default container and ActivationClient of |root_window|.
void OnRootWindowAdded(aura::Window* root_window);
@@ -90,8 +90,8 @@ class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
// Updates the status of ShelfItem for |window|.
void UpdateShelfItemStatus(aura::Window* window, bool is_active);
- // Returns the index of LauncherItem associated with |window|.
- int GetLauncherItemIndexForWindow(aura::Window* window) const;
+ // Returns the index of ShelfItem associated with |window|.
+ int GetShelfItemIndexForWindow(aura::Window* window) const;
// Used when a window is removed. During the dragging a window may be removed
// and when the drag completes added back. When this happens we don't want to
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/shelf/shelf_window_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698