Index: ui/base/ime/input_method_auralinux.h |
diff --git a/ui/base/ime/input_method_auralinux.h b/ui/base/ime/input_method_auralinux.h |
index fec733b531ff488d2269df987549d0c7286a8700..05a80d7798bc445e0a37eda7286a723e055e5b9f 100644 |
--- a/ui/base/ime/input_method_auralinux.h |
+++ b/ui/base/ime/input_method_auralinux.h |
@@ -27,7 +27,7 @@ class UI_BASE_IME_EXPORT InputMethodAuraLinux |
// Overriden from InputMethod. |
bool OnUntranslatedIMEMessage(const base::NativeEvent& event, |
NativeEventResult* result) override; |
- bool DispatchKeyEvent(const ui::KeyEvent& event) override; |
+ void DispatchKeyEvent(ui::KeyEvent* event) override; |
void OnTextInputTypeChanged(const TextInputClient* client) override; |
void OnCaretBoundsChanged(const TextInputClient* client) override; |
void CancelComposition(const TextInputClient* client) override; |
@@ -53,7 +53,7 @@ class UI_BASE_IME_EXPORT InputMethodAuraLinux |
private: |
bool HasInputMethodResult(); |
bool NeedInsertChar() const; |
- bool SendFakeProcessKeyEvent(int flags) const; |
+ ui::EventDispatchDetails SendFakeProcessKeyEvent(ui::KeyEvent* event) const; |
void ConfirmCompositionText(); |
void UpdateContextFocusState(); |
void ResetContext(); |
@@ -80,12 +80,6 @@ class UI_BASE_IME_EXPORT InputMethodAuraLinux |
// event will be discarded. |
bool suppress_next_result_; |
- // The pointer to a boolean value which indicates whether this InputMethod |
- // instance is destroyed. This is used in DispatchKeyEvent to detect whether |
- // DispatchKeyEventPostIME will cause destruction of this InputMethod |
- // instance. See crbug.com/513917. |
- bool* destroyed_ptr_; |
- |
DISALLOW_COPY_AND_ASSIGN(InputMethodAuraLinux); |
}; |