Chromium Code Reviews| 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_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ | 5 #ifndef UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ |
| 6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ | 6 #define UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "ui/base/ime/chromeos/ime_bridge.h" | 8 #include "ui/base/ime/chromeos/ime_bridge.h" |
| 9 #include "ui/base/ui_base_export.h" | 9 #include "ui/base/ime/ui_base_ime_export.h" |
| 10 #include "ui/events/event.h" | 10 #include "ui/events/event.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 | 13 |
| 14 class UI_BASE_EXPORT MockIMEEngineHandler : public IMEEngineHandlerInterface { | 14 class UI_BASE_IME_EXPORT MockIMEEngineHandler : public IMEEngineHandlerInterface { |
|
Nico
2015/02/04 20:29:36
nit: > 80 cols (run `git cl format` on your branch
spang
2015/02/04 21:14:26
Done.
| |
| 15 public: | 15 public: |
| 16 MockIMEEngineHandler(); | 16 MockIMEEngineHandler(); |
| 17 ~MockIMEEngineHandler() override; | 17 ~MockIMEEngineHandler() override; |
| 18 | 18 |
| 19 void FocusIn(const InputContext& input_context) override; | 19 void FocusIn(const InputContext& input_context) override; |
| 20 void FocusOut() override; | 20 void FocusOut() override; |
| 21 void Enable(const std::string& component_id) override; | 21 void Enable(const std::string& component_id) override; |
| 22 void Disable() override; | 22 void Disable() override; |
| 23 void PropertyActivate(const std::string& property_name) override; | 23 void PropertyActivate(const std::string& property_name) override; |
| 24 void Reset() override; | 24 void Reset() override; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 79 std::string last_set_surrounding_text_; | 79 std::string last_set_surrounding_text_; |
| 80 uint32 last_set_surrounding_cursor_pos_; | 80 uint32 last_set_surrounding_cursor_pos_; |
| 81 uint32 last_set_surrounding_anchor_pos_; | 81 uint32 last_set_surrounding_anchor_pos_; |
| 82 scoped_ptr<ui::KeyEvent> last_processed_key_event_; | 82 scoped_ptr<ui::KeyEvent> last_processed_key_event_; |
| 83 KeyEventDoneCallback last_passed_callback_; | 83 KeyEventDoneCallback last_passed_callback_; |
| 84 }; | 84 }; |
| 85 | 85 |
| 86 } // namespace chromeos | 86 } // namespace chromeos |
| 87 | 87 |
| 88 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ | 88 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ |
| OLD | NEW |