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: ash/accelerators/accelerator_controller.cc

Issue 64933002: Eliminate Shell::RootWindowList in favor of aura::Window::Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « no previous file | ash/accelerators/accelerator_filter.cc » ('j') | ash/display/output_configurator_animation.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index efb90987495d809c06d510f562298ca9539f1fa6..b4acff9187012dc3fe59c6faa328beceacb9b2d2 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -329,10 +329,11 @@ bool HandleMediaPrevTrack() {
}
bool HandlePrintLayerHierarchy() {
- Shell::RootWindowList root_windows = Shell::GetAllRootWindows();
+ aura::Window::Windows root_windows = Shell::GetAllRootWindows();
for (size_t i = 0; i < root_windows.size(); ++i) {
- ui::PrintLayerHierarchy(root_windows[i]->layer(),
- root_windows[i]->GetLastMouseLocationInRoot());
+ ui::PrintLayerHierarchy(
+ root_windows[i]->layer(),
+ root_windows[i]->GetDispatcher()->GetLastMouseLocationInRoot());
}
return true;
}
« no previous file with comments | « no previous file | ash/accelerators/accelerator_filter.cc » ('j') | ash/display/output_configurator_animation.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698