| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_BASE_IME_DUMMY_INPUT_METHOD_H_ | 5 #ifndef UI_BASE_IME_DUMMY_INPUT_METHOD_H_ |
| 6 #define UI_BASE_IME_DUMMY_INPUT_METHOD_H_ | 6 #define UI_BASE_IME_DUMMY_INPUT_METHOD_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/base/ime/input_method.h" | 9 #include "ui/base/ime/input_method.h" |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 TextInputType GetTextInputType() const override; | 35 TextInputType GetTextInputType() const override; |
| 36 TextInputMode GetTextInputMode() const override; | 36 TextInputMode GetTextInputMode() const override; |
| 37 int GetTextInputFlags() const override; | 37 int GetTextInputFlags() const override; |
| 38 bool CanComposeInline() const override; | 38 bool CanComposeInline() const override; |
| 39 bool IsCandidatePopupOpen() const override; | 39 bool IsCandidatePopupOpen() const override; |
| 40 void ShowImeIfNeeded() override; | 40 void ShowImeIfNeeded() override; |
| 41 | 41 |
| 42 void AddObserver(InputMethodObserver* observer) override; | 42 void AddObserver(InputMethodObserver* observer) override; |
| 43 void RemoveObserver(InputMethodObserver* observer) override; | 43 void RemoveObserver(InputMethodObserver* observer) override; |
| 44 | 44 |
| 45 const std::vector<std::unique_ptr<KeyEvent>>& GetKeyEventsForTesting() |
| 46 override; |
| 47 |
| 45 private: | 48 private: |
| 49 std::vector<std::unique_ptr<KeyEvent>> key_events_for_testing_; |
| 46 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod); | 50 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod); |
| 47 }; | 51 }; |
| 48 | 52 |
| 49 } // namespace ui | 53 } // namespace ui |
| 50 | 54 |
| 51 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_ | 55 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_ |
| OLD | NEW |