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

Unified Diff: ui/base/ime/input_method_mac.mm

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/base/ime/input_method_mac.h ('k') | ui/base/ime/input_method_minimal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_mac.mm
diff --git a/ui/base/ime/input_method_mac.mm b/ui/base/ime/input_method_mac.mm
index 0e9cac557e9f734226f8d7f52f4439810c4fa167..ff6118fa165dea974b03288be3ff0a48d5600a91 100644
--- a/ui/base/ime/input_method_mac.mm
+++ b/ui/base/ime/input_method_mac.mm
@@ -18,9 +18,9 @@ bool InputMethodMac::OnUntranslatedIMEMessage(const base::NativeEvent& event,
return false;
}
-bool InputMethodMac::DispatchKeyEvent(const ui::KeyEvent& event) {
+void InputMethodMac::DispatchKeyEvent(ui::KeyEvent* event) {
// This is used on Mac only to dispatch events post-IME.
- return DispatchKeyEventPostIME(event);
+ ignore_result(DispatchKeyEventPostIME(event));
}
void InputMethodMac::OnCaretBoundsChanged(const TextInputClient* client) {
« no previous file with comments | « ui/base/ime/input_method_mac.h ('k') | ui/base/ime/input_method_minimal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698