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

Unified Diff: ui/aura/test/ui_controls_factory_aurawin.cc

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (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 | « ui/aura/root_window_host_x11_unittest.cc ('k') | ui/aura/test/ui_controls_factory_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/ui_controls_factory_aurawin.cc
diff --git a/ui/aura/test/ui_controls_factory_aurawin.cc b/ui/aura/test/ui_controls_factory_aurawin.cc
index 86f2d10349af73df69f240a722df3a288f02d62b..a9a2a8bdc5aed3139f65c916a3f1427385b7b082 100644
--- a/ui/aura/test/ui_controls_factory_aurawin.cc
+++ b/ui/aura/test/ui_controls_factory_aurawin.cc
@@ -37,7 +37,8 @@ class UIControlsWin : public UIControlsAura {
bool alt,
bool command) {
DCHECK(!command); // No command key on Aura
- HWND window = native_window->GetDispatcher()->GetAcceleratedWidget();
+ HWND window =
+ native_window->GetDispatcher()->host()->GetAcceleratedWidget();
return SendKeyPressImpl(
window, key, control, shift, alt, base::Closure());
}
@@ -49,7 +50,8 @@ class UIControlsWin : public UIControlsAura {
bool command,
const base::Closure& task) {
DCHECK(!command); // No command key on Aura
- HWND window = native_window->GetDispatcher()->GetAcceleratedWidget();
+ HWND window =
+ native_window->GetDispatcher()->host()->GetAcceleratedWidget();
return SendKeyPressImpl(window, key, control, shift, alt, task);
}
virtual bool SendMouseMove(long x, long y) {
« no previous file with comments | « ui/aura/root_window_host_x11_unittest.cc ('k') | ui/aura/test/ui_controls_factory_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698