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

Side by Side Diff: ui/base/ime/chromeos/extension_ime_util.h

Issue 2898873002: Merges google_input_tools extension into google_xkb extension. The google input tools extension rel… (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « chrome/browser/resources/chromeos/input_method/google_xkb_manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 UI_BASE_IME_CHROMEOS_EXTENSION_IME_UTIL_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_EXTENSION_IME_UTIL_H_
6 #define UI_BASE_IME_CHROMEOS_EXTENSION_IME_UTIL_H_ 6 #define UI_BASE_IME_CHROMEOS_EXTENSION_IME_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
11 #include "ui/base/ime/ui_base_ime_export.h" 11 #include "ui/base/ime/ui_base_ime_export.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 // Extension IME related utilities. 15 // Extension IME related utilities.
16 namespace extension_ime_util { 16 namespace extension_ime_util {
17 17
18 #if defined(GOOGLE_CHROME_BUILD) 18 #if defined(GOOGLE_CHROME_BUILD)
19 const char kXkbExtensionId[] = "jkghodnilhceideoidjikpgommlajknk"; 19 const char kXkbExtensionId[] = "jkghodnilhceideoidjikpgommlajknk";
20 const char kM17nExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop"; 20 const char kM17nExtensionId[] = "jkghodnilhceideoidjikpgommlajknk";
21 const char kHangulExtensionId[] = "bdgdidmhaijohebebipajioienkglgfo"; 21 const char kHangulExtensionId[] = "bdgdidmhaijohebebipajioienkglgfo";
22 const char kMozcExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop"; 22 const char kMozcExtensionId[] = "jkghodnilhceideoidjikpgommlajknk";
23 const char kT13nExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop"; 23 const char kT13nExtensionId[] = "jkghodnilhceideoidjikpgommlajknk";
24 const char kChinesePinyinExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop"; 24 const char kChinesePinyinExtensionId[] = "jkghodnilhceideoidjikpgommlajknk";
25 const char kChineseZhuyinExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop"; 25 const char kChineseZhuyinExtensionId[] = "jkghodnilhceideoidjikpgommlajknk";
26 const char kChineseCangjieExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop"; 26 const char kChineseCangjieExtensionId[] = "jkghodnilhceideoidjikpgommlajknk";
27 #else 27 #else
28 const char kXkbExtensionId[] = "fgoepimhcoialccpbmpnnblemnepkkao"; 28 const char kXkbExtensionId[] = "fgoepimhcoialccpbmpnnblemnepkkao";
29 const char kM17nExtensionId[] = "jhffeifommiaekmbkkjlpmilogcfdohp"; 29 const char kM17nExtensionId[] = "jhffeifommiaekmbkkjlpmilogcfdohp";
30 const char kHangulExtensionId[] = "bdgdidmhaijohebebipajioienkglgfo"; 30 const char kHangulExtensionId[] = "bdgdidmhaijohebebipajioienkglgfo";
31 const char kMozcExtensionId[] = "bbaiamgfapehflhememkfglaehiobjnk"; 31 const char kMozcExtensionId[] = "bbaiamgfapehflhememkfglaehiobjnk";
32 const char kT13nExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop"; 32 const char kT13nExtensionId[] = "gjaehgfemfahhmlgpdfknkhdnemmolop";
33 const char kChinesePinyinExtensionId[] = "cpgalbafkoofkjmaeonnfijgpfennjjn"; 33 const char kChinesePinyinExtensionId[] = "cpgalbafkoofkjmaeonnfijgpfennjjn";
34 const char kChineseZhuyinExtensionId[] = "ekbifjdfhkmdeeajnolmgdlmkllopefi"; 34 const char kChineseZhuyinExtensionId[] = "ekbifjdfhkmdeeajnolmgdlmkllopefi";
35 const char kChineseCangjieExtensionId[] = "aeebooiibjahgpgmhkeocbeekccfknbj"; 35 const char kChineseCangjieExtensionId[] = "aeebooiibjahgpgmhkeocbeekccfknbj";
36 #endif 36 #endif
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // (e.g. _comp_ime_...xkb:us::eng). If the given id is not prefixed with 91 // (e.g. _comp_ime_...xkb:us::eng). If the given id is not prefixed with
92 // 'xkb:', just return the same as the given id. 92 // 'xkb:', just return the same as the given id.
93 std::string UI_BASE_IME_EXPORT 93 std::string UI_BASE_IME_EXPORT
94 MaybeGetLegacyXkbId(const std::string& input_method_id); 94 MaybeGetLegacyXkbId(const std::string& input_method_id);
95 95
96 } // namespace extension_ime_util 96 } // namespace extension_ime_util
97 97
98 } // namespace chromeos 98 } // namespace chromeos
99 99
100 #endif // UI_BASE_IME_CHROMEOS_EXTENSION_IME_UTIL_H_ 100 #endif // UI_BASE_IME_CHROMEOS_EXTENSION_IME_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/input_method/google_xkb_manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698