forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate the generated date from xkeyboard.cc for ease of udpate.
Currently we need to be careful not to delete the start and the end marker lines so that gen_keyboard_overlay_data.py work properly. This change move the generated part of xkeyboard.cc to a different file in order to make it easy to update the data and xkeyboard.cc. BUG=None TEST=unit_tests --gtest_filter="XKeyboardTest.*" passes Review URL: http://codereview.chromium.org/9289044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119293 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
mazda@chromium.org
committed
Jan 26, 2012
1 parent
1e685c0
commit 417d78c
Showing
4 changed files
with
112 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
// Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// This file was generated by 'gen_keyboard_overlay_data.py --altgr' | ||
|
||
#ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_DATA_H_ | ||
#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_DATA_H_ | ||
|
||
namespace chromeos { | ||
namespace input_method { | ||
|
||
// These are the input method IDs that shouldn't remap the right alt key. | ||
const char* kKeepRightAltInputMethods[] = { | ||
"mozc-hangul", | ||
"xkb:be::fra", | ||
"xkb:be::ger", | ||
"xkb:be::nld", | ||
"xkb:bg::bul", | ||
"xkb:bg:phonetic:bul", | ||
"xkb:br::por", | ||
"xkb:ca::fra", | ||
"xkb:ca:eng:eng", | ||
"xkb:ch::ger", | ||
"xkb:ch:fr:fra", | ||
"xkb:cz::cze", | ||
"xkb:de::ger", | ||
"xkb:de:neo:ger", | ||
"xkb:dk::dan", | ||
"xkb:ee::est", | ||
"xkb:es::spa", | ||
"xkb:es:cat:cat", | ||
"xkb:fi::fin", | ||
"xkb:fr::fra", | ||
"xkb:gb:dvorak:eng", | ||
"xkb:gb:extd:eng", | ||
"xkb:gr::gre", | ||
"xkb:hr::scr", | ||
"xkb:il::heb", | ||
"xkb:it::ita", | ||
"xkb:kr:kr104:kor", | ||
"xkb:latam::spa", | ||
"xkb:lt::lit", | ||
"xkb:no::nob", | ||
"xkb:pl::pol", | ||
"xkb:pt::por", | ||
"xkb:ro::rum", | ||
"xkb:se::swe", | ||
"xkb:si::slv", | ||
"xkb:sk::slo", | ||
"xkb:tr::tur", | ||
"xkb:ua::ukr", | ||
"xkb:us:altgr-intl:eng", | ||
"xkb:us:intl:eng", | ||
}; | ||
|
||
// These are the overlay names with caps lock remapped | ||
const char* kCapsLockRemapped[] = { | ||
"xkb:de:neo:ger", | ||
"xkb:us:colemak:eng", | ||
}; | ||
|
||
} // input_method | ||
} // chromeos | ||
|
||
#endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_XKEYBOARD_DATA_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters