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

Unified Diff: trunk/src/ash/wm/overview/window_overview.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/wm/mru_window_tracker.cc ('k') | trunk/src/ash/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/wm/overview/window_overview.cc
===================================================================
--- trunk/src/ash/wm/overview/window_overview.cc (revision 233812)
+++ trunk/src/ash/wm/overview/window_overview.cc (working copy)
@@ -314,8 +314,8 @@
}
void WindowOverview::HideAndTrackNonOverviewWindows() {
- aura::Window::Windows root_windows = Shell::GetAllRootWindows();
- for (aura::Window::Windows::const_iterator root_iter = root_windows.begin();
+ Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
+ for (Shell::RootWindowList::const_iterator root_iter = root_windows.begin();
root_iter != root_windows.end(); ++root_iter) {
for (size_t i = 0; i < kSwitchableWindowContainerIdsLength; ++i) {
aura::Window* container = Shell::GetContainer(*root_iter,
@@ -349,7 +349,7 @@
}
PositionWindowsOnRoot(single_root_window_, windows);
} else {
- aura::Window::Windows root_window_list = Shell::GetAllRootWindows();
+ Shell::RootWindowList root_window_list = Shell::GetAllRootWindows();
for (size_t i = 0; i < root_window_list.size(); ++i)
PositionWindowsFromRoot(root_window_list[i]);
}
« no previous file with comments | « trunk/src/ash/wm/mru_window_tracker.cc ('k') | trunk/src/ash/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698