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

Unified Diff: ash/shelf/shelf_window_watcher.h

Issue 2041423003: Converts ShellObserver from aura::Window to ash::WmWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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_layout_manager.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 c1d0a7cdf4008d3ff96c8f4478e35d3489b6117a..53cbdbf0be0ce6320f8804aeea468df6a617ed2d 100644
--- a/ash/shelf/shelf_window_watcher.h
+++ b/ash/shelf/shelf_window_watcher.h
@@ -29,6 +29,7 @@ namespace ash {
class ShelfModel;
class ShelfItemDelegateManager;
+class WmWindow;
// ShelfWindowWatcher creates and handles a ShelfItem for windows that have
// a ShelfItemDetails property in the default container.
@@ -81,8 +82,9 @@ class ShelfWindowWatcher : public aura::client::ActivationChangeObserver,
// 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);
+ // Adds observer to default container and ActivationClient of
+ // |root_window_wm|.
+ void OnRootWindowAdded(WmWindow* root_window_wm);
// Removes observer from ActivationClient of |root_window|.
void OnRootWindowRemoved(aura::Window* root_window);
« no previous file with comments | « ash/shelf/shelf_layout_manager.cc ('k') | ash/shelf/shelf_window_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698