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

Unified Diff: ui/views/event_utils_aura.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/views/corewm/tooltip_aura.cc ('k') | ui/views/test/ui_controls_factory_desktop_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/event_utils_aura.cc
diff --git a/ui/views/event_utils_aura.cc b/ui/views/event_utils_aura.cc
index 4ac21d106b6041a83285214583a604d47c20e6d5..6bdc2ea37ef6cc049a0e2b3bc67ef273bf05b5ea 100644
--- a/ui/views/event_utils_aura.cc
+++ b/ui/views/event_utils_aura.cc
@@ -31,7 +31,7 @@ bool RepostLocatedEvent(gfx::NativeWindow window,
} else {
if (ViewsDelegate::views_delegate &&
!ViewsDelegate::views_delegate->IsWindowInMetro(window))
- target_window = window->GetDispatcher()->host()->GetAcceleratedWidget();
+ target_window = window->GetHost()->GetAcceleratedWidget();
}
return RepostLocatedEventWin(target_window, event);
#endif
@@ -63,7 +63,7 @@ bool RepostLocatedEvent(gfx::NativeWindow window,
relocated->set_location(root_loc);
relocated->set_root_location(root_loc);
- root_window->GetDispatcher()->RepostEvent(*relocated);
+ root_window->GetHost()->dispatcher()->RepostEvent(*relocated);
return true;
}
« no previous file with comments | « ui/views/corewm/tooltip_aura.cc ('k') | ui/views/test/ui_controls_factory_desktop_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698