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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/browser/ui/input_method/input_method_engine_base.h" | 15 #include "chrome/browser/ui/input_method/input_method_engine_base.h" |
16 #include "ui/base/ime/chromeos/input_method_descriptor.h" | 16 #include "ui/base/ime/chromeos/input_method_descriptor.h" |
17 #include "ui/base/ime/chromeos/input_method_manager.h" | 17 #include "ui/base/ime/chromeos/input_method_manager.h" |
18 #include "ui/base/ime/ime_engine_handler_interface.h" | 18 #include "ui/base/ime/ime_engine_handler_interface.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 class Profile; | |
22 | |
23 namespace ui { | 21 namespace ui { |
24 class CandidateWindow; | 22 class CandidateWindow; |
25 struct CompositionText; | 23 struct CompositionText; |
26 class IMEEngineHandlerInterface; | 24 class IMEEngineHandlerInterface; |
27 class KeyEvent; | 25 class KeyEvent; |
28 | 26 |
29 namespace ime { | 27 namespace ime { |
30 struct InputMethodMenuItem; | 28 struct InputMethodMenuItem; |
31 } // namespace ime | 29 } // namespace ime |
32 } // namespace ui | 30 } // namespace ui |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // Mapping of candidate index to candidate id. | 150 // Mapping of candidate index to candidate id. |
153 std::vector<int> candidate_ids_; | 151 std::vector<int> candidate_ids_; |
154 | 152 |
155 // Mapping of candidate id to index. | 153 // Mapping of candidate id to index. |
156 std::map<int, int> candidate_indexes_; | 154 std::map<int, int> candidate_indexes_; |
157 }; | 155 }; |
158 | 156 |
159 } // namespace chromeos | 157 } // namespace chromeos |
160 | 158 |
161 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | 159 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
OLD | NEW |