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

Unified Diff: ash/shelf/shelf_window_watcher.h

Issue 2918223002: mash: Make ShelfWindowWatcher items for unknown windows. (Closed)
Patch Set: Nix viz check (broke panels); use TYPE_DIALOG to avoid Chrome meddling; add tests. Created 3 years, 7 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
Index: ash/shelf/shelf_window_watcher.h
diff --git a/ash/shelf/shelf_window_watcher.h b/ash/shelf/shelf_window_watcher.h
index 701b3e9795d8af2ffa1a7761d903aa26e5192b49..bacf30398e271bf4eee2d4a952e5720194131098 100644
--- a/ash/shelf/shelf_window_watcher.h
+++ b/ash/shelf/shelf_window_watcher.h
@@ -73,9 +73,6 @@ class ShelfWindowWatcher : public ::wm::ActivationChangeObserver,
// Removes a ShelfItem for |window|.
void RemoveShelfItem(aura::Window* window);
- // Returns the index of ShelfItem associated with |window|, or -1 if none.
- int GetShelfItemIndexForWindow(aura::Window* window) const;
-
// Cleans up observers on |container|.
void OnContainerWindowDestroying(aura::Window* container);

Powered by Google App Engine
This is Rietveld 408576698