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

Unified Diff: ui/aura/window_tree_host.cc

Issue 1257603006: Refactoring for the InputMethod & InputMethodDelegate interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Sadrul's comment. Created 5 years, 4 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.h ('k') | ui/base/ime/dummy_input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.cc
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
index c65c9271f4bc3bbdf7a0f6ffc03ec1d7ea6d6297..5fdadb9ebbb210ea2c3fdf3d5d2d45fc020f4f02 100644
--- a/ui/aura/window_tree_host.cc
+++ b/ui/aura/window_tree_host.cc
@@ -193,11 +193,9 @@ void WindowTreeHost::SetSharedInputMethod(ui::InputMethod* input_method) {
owned_input_method_ = false;
}
-bool WindowTreeHost::DispatchKeyEventPostIME(const ui::KeyEvent& event) {
- ui::KeyEvent copied_event(event);
- ui::EventDispatchDetails details = SendEventToProcessor(&copied_event);
- DCHECK(!details.dispatcher_destroyed);
- return copied_event.stopped_propagation();
+ui::EventDispatchDetails WindowTreeHost::DispatchKeyEventPostIME(
+ ui::KeyEvent* event) {
+ return SendEventToProcessor(event);
}
void WindowTreeHost::Show() {
« no previous file with comments | « ui/aura/window_tree_host.h ('k') | ui/base/ime/dummy_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698