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

Unified Diff: ui/aura/test/ui_controls_factory_aurawin.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 | « ui/aura/test/event_generator.cc ('k') | ui/aura/window.h » ('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 8cbf92741fa1bd51c915d97566ca19c2063fd57b..a505fbba831230dff3d5e9035f34188f2aa745d2 100644
--- a/ui/aura/test/ui_controls_factory_aurawin.cc
+++ b/ui/aura/test/ui_controls_factory_aurawin.cc
@@ -38,7 +38,7 @@ class UIControlsWin : public UIControlsAura {
bool command) {
DCHECK(!command); // No command key on Aura
HWND window =
- native_window->GetDispatcher()->host()->GetAcceleratedWidget();
+ native_window->GetHost()->GetAcceleratedWidget();
return SendKeyPressImpl(
window, key, control, shift, alt, base::Closure());
}
@@ -51,7 +51,7 @@ class UIControlsWin : public UIControlsAura {
const base::Closure& task) {
DCHECK(!command); // No command key on Aura
HWND window =
- native_window->GetDispatcher()->host()->GetAcceleratedWidget();
+ native_window->GetHost()->GetAcceleratedWidget();
return SendKeyPressImpl(window, key, control, shift, alt, task);
}
virtual bool SendMouseMove(long screen_x, long screen_y) {
« no previous file with comments | « ui/aura/test/event_generator.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698