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

Unified Diff: trunk/src/chrome/browser/ui/ash/launcher/chrome_launcher_controller.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/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
===================================================================
--- trunk/src/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (revision 233812)
+++ trunk/src/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (working copy)
@@ -1658,9 +1658,9 @@
}
void ChromeLauncherController::SetShelfAutoHideBehaviorFromPrefs() {
- aura::Window::Windows root_windows = ash::Shell::GetAllRootWindows();
+ ash::Shell::RootWindowList root_windows = ash::Shell::GetAllRootWindows();
- for (aura::Window::Windows::const_iterator iter = root_windows.begin();
+ for (ash::Shell::RootWindowList::const_iterator iter = root_windows.begin();
iter != root_windows.end(); ++iter) {
ash::Shell::GetInstance()->SetShelfAutoHideBehavior(
GetShelfAutoHideBehavior(*iter), *iter);
@@ -1671,9 +1671,9 @@
if (!ash::ShelfWidget::ShelfAlignmentAllowed())
return;
- aura::Window::Windows root_windows = ash::Shell::GetAllRootWindows();
+ ash::Shell::RootWindowList root_windows = ash::Shell::GetAllRootWindows();
- for (aura::Window::Windows::const_iterator iter = root_windows.begin();
+ for (ash::Shell::RootWindowList::const_iterator iter = root_windows.begin();
iter != root_windows.end(); ++iter) {
// See comment in |kShelfAlignment| as to why we consider two prefs.
const std::string alignment_value(

Powered by Google App Engine
This is Rietveld 408576698