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

Unified Diff: ui/aura/remote_window_tree_host_win.cc

Issue 1155013005: Refactoring the ownership of ui::InputMethod. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pls be green! Created 5 years, 7 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
Index: ui/aura/remote_window_tree_host_win.cc
diff --git a/ui/aura/remote_window_tree_host_win.cc b/ui/aura/remote_window_tree_host_win.cc
index c44234ce86e6215e5de4b035e618683e36270641..7894c3615db17897bbafbd23d35a3626447b6087 100644
--- a/ui/aura/remote_window_tree_host_win.cc
+++ b/ui/aura/remote_window_tree_host_win.cc
@@ -271,10 +271,6 @@ void RemoteWindowTreeHostWin::OnCursorVisibilityChangedNative(bool show) {
NOTIMPLEMENTED();
}
-ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() {
- return dispatcher();
-}
-
void RemoteWindowTreeHostWin::CancelComposition() {
if (!host_)
return;
@@ -433,8 +429,7 @@ void RemoteWindowTreeHostWin::OnSetCursorPosAck() {
ui::RemoteInputMethodPrivateWin*
RemoteWindowTreeHostWin::GetRemoteInputMethodPrivate() {
- ui::InputMethod* input_method = GetAshWindow()->GetProperty(
- aura::client::kRootWindowInputMethodKey);
+ ui::InputMethod* input_method = GetAshWindow()->GetHost()->GetInputMethod();
return ui::RemoteInputMethodPrivateWin::Get(input_method);
}

Powered by Google App Engine
This is Rietveld 408576698