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

Unified Diff: trunk/src/ash/shell/window_watcher.cc

Issue 59153004: Revert 233787 "Eliminate Shell::RootWindowList in favor of aura:..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | « trunk/src/ash/shell.cc ('k') | trunk/src/ash/shell_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/shell/window_watcher.cc
===================================================================
--- trunk/src/ash/shell/window_watcher.cc (revision 233812)
+++ trunk/src/ash/shell/window_watcher.cc (working copy)
@@ -70,18 +70,18 @@
WindowWatcher::WindowWatcher() {
workspace_window_watcher_.reset(new WorkspaceWindowWatcher(this));
- aura::Window::Windows root_windows = Shell::GetAllRootWindows();
- for (aura::Window::Windows::iterator iter = root_windows.begin();
+ Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
+ for (Shell::RootWindowList::iterator iter = root_windows.begin();
iter != root_windows.end(); ++ iter) {
workspace_window_watcher_->RootWindowAdded(*iter);
}
}
WindowWatcher::~WindowWatcher() {
- aura::Window::Windows root_windows = Shell::GetAllRootWindows();
- for (aura::Window::Windows::iterator iter = root_windows.begin();
+ Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
+ for (Shell::RootWindowList::iterator iter = root_windows.begin();
iter != root_windows.end(); ++ iter) {
- workspace_window_watcher_->RootWindowRemoved((*iter)->GetDispatcher());
+ workspace_window_watcher_->RootWindowRemoved(*iter);
}
}
« no previous file with comments | « trunk/src/ash/shell.cc ('k') | trunk/src/ash/shell_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698