OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/chromeos/input_method/mock_input_method_engine.h" | 5 #include "chrome/browser/chromeos/input_method/mock_input_method_engine.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "chromeos/ime/candidate_window.h" | |
15 #include "chromeos/ime/component_extension_ime_manager.h" | 14 #include "chromeos/ime/component_extension_ime_manager.h" |
16 #include "chromeos/ime/extension_ime_util.h" | 15 #include "chromeos/ime/extension_ime_util.h" |
17 #include "chromeos/ime/ibus_keymap.h" | 16 #include "chromeos/ime/ibus_keymap.h" |
18 #include "chromeos/ime/ibus_text.h" | 17 #include "chromeos/ime/ibus_text.h" |
19 #include "chromeos/ime/input_method_manager.h" | 18 #include "chromeos/ime/input_method_manager.h" |
| 19 #include "ui/base/ime/candidate_window.h" |
20 #include "ui/events/event.h" | 20 #include "ui/events/event.h" |
21 #include "ui/events/keycodes/dom4/keycode_converter.h" | 21 #include "ui/events/keycodes/dom4/keycode_converter.h" |
22 #include "ui/events/keycodes/keyboard_code_conversion_x.h" | 22 #include "ui/events/keycodes/keyboard_code_conversion_x.h" |
23 #include "ui/keyboard/keyboard_controller.h" | 23 #include "ui/keyboard/keyboard_controller.h" |
24 | 24 |
25 namespace chromeos { | 25 namespace chromeos { |
26 | 26 |
27 MockInputMethodEngine::MockInputMethodEngine( | 27 MockInputMethodEngine::MockInputMethodEngine( |
28 const input_method::InputMethodDescriptor& descriptor) | 28 const input_method::InputMethodDescriptor& descriptor) |
29 : descriptor_(descriptor) {} | 29 : descriptor_(descriptor) {} |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 void MockInputMethodEngine::CandidateClicked(uint32 index) { | 147 void MockInputMethodEngine::CandidateClicked(uint32 index) { |
148 } | 148 } |
149 | 149 |
150 void MockInputMethodEngine::SetSurroundingText(const std::string& text, | 150 void MockInputMethodEngine::SetSurroundingText(const std::string& text, |
151 uint32 cursor_pos, | 151 uint32 cursor_pos, |
152 uint32 anchor_pos) { | 152 uint32 anchor_pos) { |
153 } | 153 } |
154 | 154 |
155 } // namespace chromeos | 155 } // namespace chromeos |
OLD | NEW |