| 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 a0ac432c63f6d567d3c5492fdc59959519f0f76f..3a44e37f0ece9239278d04e482b222325ba628da 100644
|
| --- a/ui/base/ime/input_method_base.h
|
| +++ b/ui/base/ime/input_method_base.h
|
| @@ -69,6 +69,7 @@ class UI_BASE_IME_EXPORT InputMethodBase
|
| uint32_t cursor_pos,
|
| bool visible) override;
|
| void DeleteSurroundingText(int32_t offset, uint32_t length) override;
|
| + void SendKeyEvent(KeyEvent* event) override;
|
|
|
| // Sends a fake key event for IME composing without physical key events.
|
| // Returns true if the faked key event is stopped propagation.
|
| @@ -102,6 +103,10 @@ class UI_BASE_IME_EXPORT InputMethodBase
|
| // Gets the bounds of the composition text or cursor in |client|.
|
| std::vector<gfx::Rect> GetCompositionBounds(const TextInputClient* client);
|
|
|
| + // Indicates whether the IME extension is currently sending a fake key event.
|
| + // This is used in SendKeyEvent.
|
| + bool sending_key_event_;
|
| +
|
| private:
|
| void SetFocusedTextInputClientInternal(TextInputClient* client);
|
|
|
|
|