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

Side by Side Diff: chrome/browser/chromeos/cros/input_method_library.cc

Issue 7044044: Add pinyin-dv support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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
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/cros/input_method_library.h" 5 #include "chrome/browser/chromeos/cros/input_method_library.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include <glib.h> 9 #include <glib.h>
10 10
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 "xkb:us:dvorak:eng", 1016 "xkb:us:dvorak:eng",
1017 "USA - Dvorak", "us(dvorak)", "us(dvorak)", "eng")); 1017 "USA - Dvorak", "us(dvorak)", "us(dvorak)", "eng"));
1018 descriptions->push_back(InputMethodDescriptor( 1018 descriptions->push_back(InputMethodDescriptor(
1019 "xkb:us:colemak:eng", 1019 "xkb:us:colemak:eng",
1020 "USA - Colemak", "us(colemak)", "us(colemak)", "eng")); 1020 "USA - Colemak", "us(colemak)", "us(colemak)", "eng"));
1021 descriptions->push_back(InputMethodDescriptor( 1021 descriptions->push_back(InputMethodDescriptor(
1022 "hangul", "Korean", "kr(kr104)", "kr(kr104)", "ko")); 1022 "hangul", "Korean", "kr(kr104)", "kr(kr104)", "ko"));
1023 descriptions->push_back(InputMethodDescriptor( 1023 descriptions->push_back(InputMethodDescriptor(
1024 "pinyin", "Pinyin", "us", "us", "zh")); 1024 "pinyin", "Pinyin", "us", "us", "zh"));
1025 descriptions->push_back(InputMethodDescriptor( 1025 descriptions->push_back(InputMethodDescriptor(
1026 "pinyin-dv", "Pinyin (for US Dvorak keyboard)",
1027 "us(dvorak)", "us(dvorak)", "zh"));
1028 descriptions->push_back(InputMethodDescriptor(
1026 "m17n:ar:kbd", "kbd (m17n)", "us", "us", "ar")); 1029 "m17n:ar:kbd", "kbd (m17n)", "us", "us", "ar"));
1027 descriptions->push_back(InputMethodDescriptor( 1030 descriptions->push_back(InputMethodDescriptor(
1028 "m17n:hi:itrans", "itrans (m17n)", "us", "us", "hi")); 1031 "m17n:hi:itrans", "itrans (m17n)", "us", "us", "hi"));
1029 descriptions->push_back(InputMethodDescriptor( 1032 descriptions->push_back(InputMethodDescriptor(
1030 "m17n:fa:isiri", "isiri (m17n)", "us", "us", "fa")); 1033 "m17n:fa:isiri", "isiri (m17n)", "us", "us", "fa"));
1031 descriptions->push_back(InputMethodDescriptor( 1034 descriptions->push_back(InputMethodDescriptor(
1032 "xkb:br::por", "Brazil", "br", "br", "por")); 1035 "xkb:br::por", "Brazil", "br", "br", "por"));
1033 descriptions->push_back(InputMethodDescriptor( 1036 descriptions->push_back(InputMethodDescriptor(
1034 "xkb:bg::bul", "Bulgaria", "bg", "bg", "bul")); 1037 "xkb:bg::bul", "Bulgaria", "bg", "bg", "bul"));
1035 descriptions->push_back(InputMethodDescriptor( 1038 descriptions->push_back(InputMethodDescriptor(
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 } 1197 }
1195 return impl; 1198 return impl;
1196 } 1199 }
1197 } 1200 }
1198 1201
1199 } // namespace chromeos 1202 } // namespace chromeos
1200 1203
1201 // Allows InvokeLater without adding refcounting. This class is a Singleton and 1204 // Allows InvokeLater without adding refcounting. This class is a Singleton and
1202 // won't be deleted until it's last InvokeLater is run. 1205 // won't be deleted until it's last InvokeLater is run.
1203 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::InputMethodLibraryImpl); 1206 DISABLE_RUNNABLE_METHOD_REFCOUNT(chromeos::InputMethodLibraryImpl);
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/input_method/input_method_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698