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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 months 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_controller_unittest.cc » ('j') | no next file with comments »
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 cae18ff1610cd0be419b554cd5bc8f4ed56cdf13..e7b4251acccd499da8a43fb5702e2d23b914492f 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -560,7 +560,7 @@ bool HandleToggleFullscreen(ui::KeyboardCode key_code) {
}
bool HandleToggleRootWindowFullScreen() {
- Shell::GetPrimaryRootWindow()->GetDispatcher()->host()->ToggleFullScreen();
+ Shell::GetPrimaryRootWindow()->GetHost()->ToggleFullScreen();
return true;
}
@@ -703,7 +703,7 @@ bool HandlePrintLayerHierarchy() {
for (size_t i = 0; i < root_windows.size(); ++i) {
ui::PrintLayerHierarchy(
root_windows[i]->layer(),
- root_windows[i]->GetDispatcher()->GetLastMouseLocationInRoot());
+ root_windows[i]->GetHost()->dispatcher()->GetLastMouseLocationInRoot());
}
return true;
}
« no previous file with comments | « no previous file | ash/accelerators/accelerator_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698