Skip to content

Commit

Permalink
Sort input method IDs in xkeyboard.cc.
Browse files Browse the repository at this point in the history
Also remove a redundant empty line in the script.

BUG=none
TEST=Checked the list generated by script equals to the manually sorted list.


Review URL: http://codereview.chromium.org/7489037

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93850 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
mazda@chromium.org committed Jul 25, 2011
1 parent 3976e5d commit efe368a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 29 deletions.
56 changes: 28 additions & 28 deletions chrome/browser/chromeos/input_method/xkeyboard.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,44 +44,44 @@ ModifierKey kCustomizableKeys[] = {
// These arrays are generated by 'gen_keyboard_overlay_data.py --altgr'
// These are the input method IDs that shouldn't remap the right alt key.
const char* kKeepRightAltInputMethods[] = {
"xkb:de:neo:ger",
"mozc-hangul",
"xkb:il::heb",
"xkb:gb:extd:eng",
"xkb:fr::fra",
"xkb:be::fra",
"xkb:be::ger",
"xkb:be::nld",
"xkb:no::nob",
"xkb:fi::fin",
"xkb:sk::slo",
"xkb:bg::bul",
"xkb:bg:phonetic:bul",
"xkb:br::por",
"xkb:ca::fra",
"xkb:ca:eng:eng",
"xkb:es::spa",
"xkb:it::ita",
"xkb:ua::ukr",
"xkb:ch::ger",
"xkb:ch:fr:fra",
"xkb:bg::bul",
"xkb:cz::cze",
"xkb:de::ger",
"xkb:be::ger",
"xkb:latam::spa",
"xkb:pl::pol",
"xkb:bg:phonetic:bul",
"xkb:de:neo:ger",
"xkb:dk::dan",
"xkb:ee::est",
"xkb:gr::gre",
"xkb:tr::tur",
"xkb:br::por",
"xkb:es::spa",
"xkb:es:cat:cat",
"xkb:pt::por",
"xkb:be::fra",
"xkb:si::slv",
"xkb:ch::ger",
"xkb:se::swe",
"xkb:fi::fin",
"xkb:fr::fra",
"xkb:gb:dvorak:eng",
"xkb:gb:extd:eng",
"xkb:gr::gre",
"xkb:hr::scr",
"xkb:ca::fra",
"xkb:lt::lit",
"xkb:il::heb",
"xkb:it::ita",
"xkb:kr:kr104:kor",
"xkb:gb:dvorak:eng",
"xkb:latam::spa",
"xkb:lt::lit",
"xkb:no::nob",
"xkb:pl::pol",
"xkb:pt::por",
"xkb:se::swe",
"xkb:si::slv",
"xkb:sk::slo",
"xkb:tr::tur",
"xkb:ua::ukr",
"xkb:us:altgr-intl:eng",
"xkb:cz::cze",
"xkb:dk::dan",
"xkb:us:intl:eng",
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@
%s
};
""")

def SplitBehavior(behavior):
Expand Down

0 comments on commit efe368a

Please sign in to comment.