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

Unified Diff: trunk/src/ash/wm/workspace/workspace_window_resizer.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
Index: trunk/src/ash/wm/workspace/workspace_window_resizer.cc
===================================================================
--- trunk/src/ash/wm/workspace/workspace_window_resizer.cc (revision 233812)
+++ trunk/src/ash/wm/workspace/workspace_window_resizer.cc (working copy)
@@ -743,10 +743,10 @@
if (!window_state()->CanResize() || !window_state()->tracked_by_workspace())
return false;
- 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) {
- const aura::Window* root_window = *iter;
+ const aura::RootWindow* root_window = *iter;
// Test all children from the desktop in each root window.
const aura::Window::Windows& children = Shell::GetContainer(
root_window, kShellWindowId_DefaultContainer)->children();

Powered by Google App Engine
This is Rietveld 408576698