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

Unified Diff: ui/keyboard/keyboard_ui_handler.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/window_tree_host_x11.cc ('k') | ui/keyboard/keyboard_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_ui_handler.cc
diff --git a/ui/keyboard/keyboard_ui_handler.cc b/ui/keyboard/keyboard_ui_handler.cc
index c2398cacd714edcb6ce8528b8373691bf304e899..c0873b809211f805fd810f4a81cf2620b551247c 100644
--- a/ui/keyboard/keyboard_ui_handler.cc
+++ b/ui/keyboard/keyboard_ui_handler.cc
@@ -115,8 +115,8 @@ void KeyboardUIHandler::HandleSendKeyEventMessage(
return;
}
- aura::WindowEventDispatcher* dispatcher =
- web_ui()->GetWebContents()->GetView()->GetNativeView()->GetDispatcher();
+ aura::WindowEventDispatcher* dispatcher = web_ui()->GetWebContents()->
+ GetView()->GetNativeView()->GetHost()->dispatcher();
if (!dispatcher) {
LOG(ERROR) << "sendKeyEvent failed: no dispatcher";
return;
« no previous file with comments | « ui/aura/window_tree_host_x11.cc ('k') | ui/keyboard/keyboard_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698