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

Unified Diff: ash/shell/window_watcher.h

Issue 2860503002: mash: Replace int ShelfIDs with AppLaunchID strings. (Closed)
Patch Set: Fix struct traits typo. 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
« no previous file with comments | « ash/shelf/shelf_window_watcher_unittest.cc ('k') | ash/shell/window_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/window_watcher.h
diff --git a/ash/shell/window_watcher.h b/ash/shell/window_watcher.h
index 472e245afda848c40e8227ed9c45c95c59873bf0..895035fe205f371ccd0fd7cc06d6e1c13748f265 100644
--- a/ash/shell/window_watcher.h
+++ b/ash/shell/window_watcher.h
@@ -34,7 +34,7 @@ class WindowWatcher : public aura::WindowObserver,
WindowWatcher();
~WindowWatcher() override;
- aura::Window* GetWindowByID(ash::ShelfID id);
+ aura::Window* GetWindowByID(const ShelfID& id);
// aura::WindowObserver overrides:
void OnWindowAdded(aura::Window* new_window) override;
@@ -49,7 +49,7 @@ class WindowWatcher : public aura::WindowObserver,
private:
class WorkspaceWindowWatcher;
- typedef std::map<ash::ShelfID, aura::Window*> IDToWindow;
+ typedef std::map<ShelfID, aura::Window*> IDToWindow;
// Maps from window to the id we gave it.
IDToWindow id_to_window_;
« no previous file with comments | « ash/shelf/shelf_window_watcher_unittest.cc ('k') | ash/shell/window_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698