| Index: ui/base/ime/input_method_base.h
|
| diff --git a/ui/base/ime/input_method_base.h b/ui/base/ime/input_method_base.h
|
| index 1aebb9756de7c5226a8d0411fbce27b023714e55..4c601333805d1392a0702acc290e109b5a7b1a99 100644
|
| --- a/ui/base/ime/input_method_base.h
|
| +++ b/ui/base/ime/input_method_base.h
|
| @@ -72,15 +72,11 @@ class UI_EXPORT InputMethodBase : NON_EXPORTED_BASE(public InputMethod) {
|
| // input type is not TEXT_INPUT_TYPE_NONE.
|
| void OnInputMethodChanged() const;
|
|
|
| - // Convenience method to call delegate_->DispatchKeyEventPostIME().
|
| - // Returns true if the event was processed
|
| - bool DispatchKeyEventPostIME(const base::NativeEvent& native_event) const;
|
| -
|
| - // Convenience method to call delegate_->DispatchFabricatedKeyEventPostIME().
|
| - // Returns true if the event was processed
|
| - bool DispatchFabricatedKeyEventPostIME(EventType type,
|
| - KeyboardCode key_code,
|
| - int flags) const;
|
| + // Convenience method to call delegate_->DispatchKeyEventPostIME()
|
| + // or delegate_->DispatchFabricatedKeyEventPostIME() considering if
|
| + // |event| contains the native event or not. Returns true if the
|
| + // event was processed.
|
| + bool DispatchKeyEventPostIME(const ui::KeyEvent& event) const;
|
|
|
| // Convenience method to notify all observers of TextInputClient changes.
|
| void NotifyTextInputStateChanged(const TextInputClient* client);
|
|
|