| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_ |
| 7 | 7 |
| 8 #include <cstddef> | 8 #include <cstddef> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/hash_tables.h" | 13 #include "base/hash_tables.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/string16.h" | 15 #include "base/string16.h" |
| 16 #include "chrome/browser/chromeos/input_method/input_method_descriptor.h" | 16 #include "chromeos/ime/input_method_descriptor.h" |
| 17 | 17 |
| 18 namespace chromeos { | 18 namespace chromeos { |
| 19 namespace input_method { | 19 namespace input_method { |
| 20 | 20 |
| 21 class InputMethodDelegate; | 21 class InputMethodDelegate; |
| 22 | 22 |
| 23 // The list of language that do not have associated input methods in IBus. | 23 // The list of language that do not have associated input methods in IBus. |
| 24 // For these languages, we associate input methods here. | 24 // For these languages, we associate input methods here. |
| 25 struct ExtraLanguage { | 25 struct ExtraLanguage { |
| 26 const char* language_code; | 26 const char* language_code; |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 203 |
| 204 InputMethodDelegate* delegate_; | 204 InputMethodDelegate* delegate_; |
| 205 | 205 |
| 206 DISALLOW_COPY_AND_ASSIGN(InputMethodUtil); | 206 DISALLOW_COPY_AND_ASSIGN(InputMethodUtil); |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 } // namespace input_method | 209 } // namespace input_method |
| 210 } // namespace chromeos | 210 } // namespace chromeos |
| 211 | 211 |
| 212 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_ | 212 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_ |
| OLD | NEW |