| Index: ui/base/ime/mock_input_method.h
|
| diff --git a/ui/base/ime/mock_input_method.h b/ui/base/ime/mock_input_method.h
|
| index eb0c06bf6014f703150e186b8ea571b3cc685281..fc1eeb55b1c718b92379681839aaf10adf0b9da6 100644
|
| --- a/ui/base/ime/mock_input_method.h
|
| +++ b/ui/base/ime/mock_input_method.h
|
| @@ -15,8 +15,7 @@ namespace ui {
|
|
|
| class TextInputClient;
|
|
|
| -// A mock InputMethod implementation for testing classes that use the
|
| -// ui::InputMethod interface such as aura::DesktopHost.
|
| +// A mock ui::InputMethod implementation for minimum input support.
|
| class UI_EXPORT MockInputMethod : public InputMethod {
|
| public:
|
| explicit MockInputMethod(internal::InputMethodDelegate* delegate);
|
| @@ -38,17 +37,9 @@ class UI_EXPORT MockInputMethod : public InputMethod {
|
| virtual bool IsActive() OVERRIDE;
|
| virtual ui::TextInputType GetTextInputType() const OVERRIDE;
|
|
|
| - // If called, the next key press will not generate a Char event. Instead, it
|
| - // will generate the VKEY_PROCESSKEY RawKeyDown event.
|
| - void ConsumeNextKey();
|
| -
|
| - // Sends VKEY_PROCESSKEY.
|
| - void SendFakeProcessKeyEvent(bool pressed, int flags) const;
|
| -
|
| private:
|
| internal::InputMethodDelegate* delegate_;
|
| TextInputClient* text_input_client_;
|
| - bool consume_next_key_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MockInputMethod);
|
| };
|
|
|