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

Unified Diff: trunk/src/ash/high_contrast/high_contrast_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/ash/high_contrast/high_contrast_controller.cc
===================================================================
--- trunk/src/ash/high_contrast/high_contrast_controller.cc (revision 233812)
+++ trunk/src/ash/high_contrast/high_contrast_controller.cc (working copy)
@@ -18,8 +18,8 @@
enabled_ = enabled;
// Update all active displays.
- aura::Window::Windows root_window_list = Shell::GetAllRootWindows();
- for (aura::Window::Windows::iterator it = root_window_list.begin();
+ Shell::RootWindowList root_window_list = Shell::GetAllRootWindows();
+ for (Shell::RootWindowList::iterator it = root_window_list.begin();
it != root_window_list.end(); it++) {
UpdateDisplay(*it);
}
@@ -29,7 +29,7 @@
UpdateDisplay(root_window);
}
-void HighContrastController::UpdateDisplay(aura::Window* root_window) {
+void HighContrastController::UpdateDisplay(aura::RootWindow* root_window) {
root_window->layer()->SetLayerInverted(enabled_);
}
« no previous file with comments | « trunk/src/ash/high_contrast/high_contrast_controller.h ('k') | trunk/src/ash/magnifier/partial_magnification_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698