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

Side by Side Diff: chrome/browser/chromeos/status/input_method_menu.cc

Issue 7138001: Rename an engine name of the handwriting IME to 'zinnia-japanese'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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/status/input_method_menu_unittest.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/status/input_method_menu.h" 5 #include "chrome/browser/chromeos/status/input_method_menu.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string_split.h" 10 #include "base/string_split.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 { "xkb:us:colemak:eng", "CO" }, 88 { "xkb:us:colemak:eng", "CO" },
89 { "xkb:de:neo:ger", "NEO" }, 89 { "xkb:de:neo:ger", "NEO" },
90 // To distinguish from "xkb:es::spa" 90 // To distinguish from "xkb:es::spa"
91 { "xkb:es:cat:cat", "CAS" }, 91 { "xkb:es:cat:cat", "CAS" },
92 // To distinguish from "xkb:gb::eng" 92 // To distinguish from "xkb:gb::eng"
93 { "xkb:gb:dvorak:eng", "DV" }, 93 { "xkb:gb:dvorak:eng", "DV" },
94 // To distinguish from "xkb:jp::jpn" 94 // To distinguish from "xkb:jp::jpn"
95 { "mozc", "\xe3\x81\x82" }, // U+3042, Japanese Hiragana letter A in UTF-8. 95 { "mozc", "\xe3\x81\x82" }, // U+3042, Japanese Hiragana letter A in UTF-8.
96 { "mozc-dv", "\xe3\x81\x82" }, 96 { "mozc-dv", "\xe3\x81\x82" },
97 { "mozc-jp", "\xe3\x81\x82" }, 97 { "mozc-jp", "\xe3\x81\x82" },
98 { "ibus-zinnia-japanese", "\xe6\x89\x8b" }, // U+624B, "hand" 98 { "zinnia-japanese", "\xe6\x89\x8b" }, // U+624B, "hand"
99 // For simplified Chinese input methods 99 // For simplified Chinese input methods
100 { "pinyin", "\xe6\x8b\xbc" }, // U+62FC 100 { "pinyin", "\xe6\x8b\xbc" }, // U+62FC
101 // For traditional Chinese input methods 101 // For traditional Chinese input methods
102 { "mozc-chewing", "\xe9\x85\xb7" }, // U+9177 102 { "mozc-chewing", "\xe9\x85\xb7" }, // U+9177
103 { "m17n:zh:cangjie", "\xe5\x80\x89" }, // U+5009 103 { "m17n:zh:cangjie", "\xe5\x80\x89" }, // U+5009
104 { "m17n:zh:quick", "\xe9\x80\x9f" }, // U+901F 104 { "m17n:zh:quick", "\xe9\x80\x9f" }, // U+901F
105 // For Hangul input method. 105 // For Hangul input method.
106 { "hangul", "\xed\x95\x9c" }, // U+D55C 106 { "hangul", "\xed\x95\x9c" }, // U+D55C
107 }; 107 };
108 const size_t kMappingFromIdToIndicatorTextLen = 108 const size_t kMappingFromIdToIndicatorTextLen =
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 CrosLibrary::Get()->GetInputMethodLibrary()->RemoveObserver(this); 663 CrosLibrary::Get()->GetInputMethodLibrary()->RemoveObserver(this);
664 } 664 }
665 } 665 }
666 666
667 void InputMethodMenu::SetMinimumWidth(int width) { 667 void InputMethodMenu::SetMinimumWidth(int width) {
668 // On the OOBE network selection screen, fixed width menu would be preferable. 668 // On the OOBE network selection screen, fixed width menu would be preferable.
669 minimum_input_method_menu_width_ = width; 669 minimum_input_method_menu_width_ = width;
670 } 670 }
671 671
672 } // namespace chromeos 672 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/status/input_method_menu_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698