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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 int focus_in_call_count_; | 101 int focus_in_call_count_; |
102 int focus_out_call_count_; | 102 int focus_out_call_count_; |
103 int set_surrounding_text_call_count_; | 103 int set_surrounding_text_call_count_; |
104 int process_key_event_call_count_; | 104 int process_key_event_call_count_; |
105 int reset_call_count_; | 105 int reset_call_count_; |
106 InputContext last_text_input_context_; | 106 InputContext last_text_input_context_; |
107 std::string last_activated_property_; | 107 std::string last_activated_property_; |
108 std::string last_set_surrounding_text_; | 108 std::string last_set_surrounding_text_; |
109 uint32_t last_set_surrounding_cursor_pos_; | 109 uint32_t last_set_surrounding_cursor_pos_; |
110 uint32_t last_set_surrounding_anchor_pos_; | 110 uint32_t last_set_surrounding_anchor_pos_; |
111 scoped_ptr<ui::KeyEvent> last_processed_key_event_; | 111 std::unique_ptr<ui::KeyEvent> last_processed_key_event_; |
112 KeyEventDoneCallback last_passed_callback_; | 112 KeyEventDoneCallback last_passed_callback_; |
113 std::string active_component_id_; | 113 std::string active_component_id_; |
114 }; | 114 }; |
115 | 115 |
116 } // namespace chromeos | 116 } // namespace chromeos |
117 | 117 |
118 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ | 118 #endif // UI_BASE_IME_CHROMEOS_MOCK_IME_ENGINE_HANDLER_H_ |
OLD | NEW |