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

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

Issue 298893003: Supports fake key events for setComposition/commitText by on-screen keyboards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ... Created 6 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
« no previous file with comments | « no previous file | ui/base/ime/input_method_chromeos.cc » ('j') | ui/wm/core/input_method_event_filter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_chromeos.h
diff --git a/ui/base/ime/input_method_chromeos.h b/ui/base/ime/input_method_chromeos.h
index 3c4794be11ef2622491d0b999feb08af2565b399..367507562543576edc48357c73f2d4dadcff6e01 100644
--- a/ui/base/ime/input_method_chromeos.h
+++ b/ui/base/ime/input_method_chromeos.h
@@ -88,6 +88,10 @@ class UI_BASE_EXPORT InputMethodChromeOS
// Checks if there is pending input method result.
bool HasInputMethodResult() const;
+ // Sends a fake key event with VKEY_PROCESSKEY key code and dispatches it to
Yuki 2014/05/28 06:04:19 Could you update this comment?
Shu Chen 2014/05/28 06:59:50 Done.
+ // the focused View.
+ void SendFakeProcessKeyEvent(bool pressed) const;
+
// Abandons all pending key events. It usually happends when we lose keyboard
// focus, the text input type is changed or we are destroyed.
void AbandonAllPendingKeyEvents();
« no previous file with comments | « no previous file | ui/base/ime/input_method_chromeos.cc » ('j') | ui/wm/core/input_method_event_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698