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> |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 std::map<std::string, std::string> xkb_layout_to_indicator_; | 196 std::map<std::string, std::string> xkb_layout_to_indicator_; |
197 | 197 |
198 typedef base::hash_map<std::string, int> HashType; | 198 typedef base::hash_map<std::string, int> HashType; |
199 HashType english_to_resource_id_; | 199 HashType english_to_resource_id_; |
200 | 200 |
201 InputMethodDelegate* delegate_; | 201 InputMethodDelegate* delegate_; |
202 | 202 |
203 base::ThreadChecker thread_checker_; | 203 base::ThreadChecker thread_checker_; |
204 std::vector<std::string> hardware_layouts_; | 204 std::vector<std::string> hardware_layouts_; |
205 std::vector<std::string> hardware_login_layouts_; | 205 std::vector<std::string> hardware_login_layouts_; |
| 206 std::vector<std::string> cached_hardware_layouts_; |
206 | 207 |
207 DISALLOW_COPY_AND_ASSIGN(InputMethodUtil); | 208 DISALLOW_COPY_AND_ASSIGN(InputMethodUtil); |
208 }; | 209 }; |
209 | 210 |
210 } // namespace input_method | 211 } // namespace input_method |
211 } // namespace chromeos | 212 } // namespace chromeos |
212 | 213 |
213 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_ | 214 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_UTIL_H_ |
OLD | NEW |