| 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 3a44e37f0ece9239278d04e482b222325ba628da..8b073041ef6db0c6b0790df38e8a4a7af727a9eb 100644
|
| --- a/ui/base/ime/input_method_base.h
|
| +++ b/ui/base/ime/input_method_base.h
|
| @@ -57,6 +57,8 @@ class UI_BASE_IME_EXPORT InputMethodBase
|
| void AddObserver(InputMethodObserver* observer) override;
|
| void RemoveObserver(InputMethodObserver* observer) override;
|
|
|
| + std::vector<ui::KeyEvent*> GetKeyEventsForTest() override;
|
| +
|
| protected:
|
| virtual void OnWillChangeFocusedClient(TextInputClient* focused_before,
|
| TextInputClient* focused) {}
|
| @@ -70,6 +72,7 @@ class UI_BASE_IME_EXPORT InputMethodBase
|
| bool visible) override;
|
| void DeleteSurroundingText(int32_t offset, uint32_t length) override;
|
| void SendKeyEvent(KeyEvent* event) override;
|
| + InputMethod* GetInputMethod() override;
|
|
|
| // Sends a fake key event for IME composing without physical key events.
|
| // Returns true if the faked key event is stopped propagation.
|
| @@ -115,6 +118,8 @@ class UI_BASE_IME_EXPORT InputMethodBase
|
|
|
| base::ObserverList<InputMethodObserver> observer_list_;
|
|
|
| + std::vector<ui::KeyEvent*> key_events_for_test;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
|
| };
|
|
|
|
|