Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_util.h

Issue 218623015: [IME] InputMethodUtil should cache the hardware layouts from VPD, instead of the filtered hardware … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test failures. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698