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

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

Issue 1113683003: (Reland) Add programmer dvorak keyboard layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update other broken tests Created 5 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
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 #include "chrome/browser/chromeos/input_method/input_method_util.h" 5 #include "chrome/browser/chromeos/input_method/input_method_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 { "xkb:sk::slo", IDS_STATUSBAR_LAYOUT_SLOVAKIA }, 170 { "xkb:sk::slo", IDS_STATUSBAR_LAYOUT_SLOVAKIA },
171 { "xkb:tr::tur", IDS_STATUSBAR_LAYOUT_TURKEY }, 171 { "xkb:tr::tur", IDS_STATUSBAR_LAYOUT_TURKEY },
172 { "xkb:ua::ukr", IDS_STATUSBAR_LAYOUT_UKRAINE }, 172 { "xkb:ua::ukr", IDS_STATUSBAR_LAYOUT_UKRAINE },
173 { "xkb:us::eng", IDS_STATUSBAR_LAYOUT_USA }, 173 { "xkb:us::eng", IDS_STATUSBAR_LAYOUT_USA },
174 { "xkb:us::fil", IDS_STATUSBAR_LAYOUT_USA }, 174 { "xkb:us::fil", IDS_STATUSBAR_LAYOUT_USA },
175 { "xkb:us::ind", IDS_STATUSBAR_LAYOUT_USA }, 175 { "xkb:us::ind", IDS_STATUSBAR_LAYOUT_USA },
176 { "xkb:us::msa", IDS_STATUSBAR_LAYOUT_USA }, 176 { "xkb:us::msa", IDS_STATUSBAR_LAYOUT_USA },
177 { "xkb:us:altgr-intl:eng", IDS_STATUSBAR_LAYOUT_USA_EXTENDED }, 177 { "xkb:us:altgr-intl:eng", IDS_STATUSBAR_LAYOUT_USA_EXTENDED },
178 { "xkb:us:colemak:eng", IDS_STATUSBAR_LAYOUT_USA_COLEMAK }, 178 { "xkb:us:colemak:eng", IDS_STATUSBAR_LAYOUT_USA_COLEMAK },
179 { "xkb:us:dvorak:eng", IDS_STATUSBAR_LAYOUT_USA_DVORAK }, 179 { "xkb:us:dvorak:eng", IDS_STATUSBAR_LAYOUT_USA_DVORAK },
180 { "xkb:us:dvp:eng", IDS_STATUSBAR_LAYOUT_USA_DVP },
180 { "xkb:us:intl:eng", IDS_STATUSBAR_LAYOUT_USA_INTERNATIONAL }, 181 { "xkb:us:intl:eng", IDS_STATUSBAR_LAYOUT_USA_INTERNATIONAL },
181 { "xkb:us:intl:nld", IDS_STATUSBAR_LAYOUT_USA_INTERNATIONAL }, 182 { "xkb:us:intl:nld", IDS_STATUSBAR_LAYOUT_USA_INTERNATIONAL },
182 { "xkb:us:intl:por", IDS_STATUSBAR_LAYOUT_USA_INTERNATIONAL }, 183 { "xkb:us:intl:por", IDS_STATUSBAR_LAYOUT_USA_INTERNATIONAL },
183 }; 184 };
184 const size_t kEnglishToResourceIdArraySize = 185 const size_t kEnglishToResourceIdArraySize =
185 arraysize(kEnglishToResourceIdArray); 186 arraysize(kEnglishToResourceIdArray);
186 187
187 } // namespace 188 } // namespace
188 189
189 namespace chromeos { 190 namespace chromeos {
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 "US", 603 "US",
603 layouts, 604 layouts,
604 languages, 605 languages,
605 true, // login keyboard. 606 true, // login keyboard.
606 GURL(), // options page, not available. 607 GURL(), // options page, not available.
607 GURL()); // input view page, not available. 608 GURL()); // input view page, not available.
608 } 609 }
609 610
610 } // namespace input_method 611 } // namespace input_method
611 } // namespace chromeos 612 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698