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

Unified Diff: ui/base/ime/input_method_chromeos.cc

Issue 1209663002: Use EventHandler for IME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « ash/wm/window_manager_unittest.cc ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_chromeos.cc
diff --git a/ui/base/ime/input_method_chromeos.cc b/ui/base/ime/input_method_chromeos.cc
index 6763262ecc3174e35f1ff7ef042dc88c1a0f3133..72b0c8e23ff19b7d4d22901b85be6bf4b59cb549 100644
--- a/ui/base/ime/input_method_chromeos.cc
+++ b/ui/base/ime/input_method_chromeos.cc
@@ -94,6 +94,7 @@ void InputMethodChromeOS::ProcessKeyEventDone(const ui::KeyEvent* event,
bool InputMethodChromeOS::DispatchKeyEvent(const ui::KeyEvent& event) {
DCHECK(event.IsKeyEvent());
+ DCHECK(!(event.flags() & ui::EF_IS_SYNTHESIZED));
DCHECK(system_toplevel_window_focused());
// For linux_chromeos, the ime keyboard cannot track the caps lock state by
« no previous file with comments | « ash/wm/window_manager_unittest.cc ('k') | ui/keyboard/keyboard_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698