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

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

Issue 1209913002: InputMethod should stop TextInputClient::InsertChar/InsertText calls when the event is stopped prop… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed test failures. 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
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 b642955992fd9f9d9c8d82ad4d577a4b35d808ac..5f883de10f3d624db4db3189e96b74f16f616789 100644
--- a/ui/base/ime/input_method_chromeos.h
+++ b/ui/base/ime/input_method_chromeos.h
@@ -71,8 +71,10 @@ class UI_BASE_IME_EXPORT InputMethodChromeOS
void UpdateContextFocusState();
// Processes a key event that was already filtered by the input method.
- // A VKEY_PROCESSKEY may be dispatched to the focused View.
- void ProcessFilteredKeyPressEvent(const ui::KeyEvent& event);
+ // A VKEY_PROCESSKEY may be dispatched to the EventTargets.
+ // It returns the result of whether the event has been stopped propagation
+ // when dispatching post IME.
+ bool ProcessFilteredKeyPressEvent(const ui::KeyEvent& event);
// Processes a key event that was not filtered by the input method.
void ProcessUnfilteredKeyPressEvent(const ui::KeyEvent& event);

Powered by Google App Engine
This is Rietveld 408576698