| OLD | NEW |
| 1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. | 1 // Copyright 2016 The ChromeOS IME Authors. All Rights Reserved. |
| 2 // limitations under the License. | 2 // limitations under the License. |
| 3 // See the License for the specific language governing permissions and | 3 // See the License for the specific language governing permissions and |
| 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 5 // distributed under the License is distributed on an "AS-IS" BASIS, | 5 // distributed under the License is distributed on an "AS-IS" BASIS, |
| 6 // Unless required by applicable law or agreed to in writing, software | 6 // Unless required by applicable law or agreed to in writing, software |
| 7 // | 7 // |
| 8 // http://www.apache.org/licenses/LICENSE-2.0 | 8 // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 // | 9 // |
| 10 // You may obtain a copy of the License at | 10 // You may obtain a copy of the License at |
| 11 // you may not use this file except in compliance with the License. | 11 // you may not use this file except in compliance with the License. |
| 12 // Licensed under the Apache License, Version 2.0 (the "License"); | 12 // Licensed under the Apache License, Version 2.0 (the "License"); |
| 13 // | 13 // |
| 14 goog.provide('i18n.input.chrome.inputview.events.KeyCodes'); | 14 goog.provide('i18n.input.chrome.events.KeyCodes'); |
| 15 | 15 |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * W3C Document Object Model (DOM) Level 3 Keyboard Events key codes | 18 * W3C Document Object Model (DOM) Level 3 Keyboard Events key codes |
| 19 * Specification. | 19 * Specification. |
| 20 * @see http://www.w3.org/TR/DOM-Level-3-Events/#key-value-tables | 20 * @see http://www.w3.org/TR/DOM-Level-3-Events/#key-value-tables |
| 21 * | 21 * |
| 22 * @enum {string} | 22 * @enum {string} |
| 23 */ | 23 */ |
| 24 i18n.input.chrome.inputview.events.KeyCodes = { | 24 i18n.input.chrome.events.KeyCodes = { |
| 25 // Special Key Values | 25 // Special Key Values |
| 26 UNIDENTIFIED: 'Unidentified', | 26 UNIDENTIFIED: 'Unidentified', |
| 27 | 27 |
| 28 // Letter Key | 28 // Letter Key |
| 29 BACK_QUOTE: 'Backquote', | 29 BACK_QUOTE: 'Backquote', |
| 30 KEY_A: 'KeyA', | 30 KEY_A: 'KeyA', |
| 31 KEY_B: 'KeyB', | 31 KEY_B: 'KeyB', |
| 32 KEY_C: 'KeyC', | 32 KEY_C: 'KeyC', |
| 33 KEY_D: 'KeyD', | 33 KEY_D: 'KeyD', |
| 34 KEY_E: 'KeyE', | 34 KEY_E: 'KeyE', |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 MODE_CHANGE: 'ModeChange', | 160 MODE_CHANGE: 'ModeChange', |
| 161 NEXT_CANDIDATE: 'NextCandidate', | 161 NEXT_CANDIDATE: 'NextCandidate', |
| 162 NON_CONVERT: 'NonConvert', | 162 NON_CONVERT: 'NonConvert', |
| 163 PREVIOUS_CANDIDATE: 'PreviousCandidate', | 163 PREVIOUS_CANDIDATE: 'PreviousCandidate', |
| 164 PROCESS: 'Process', | 164 PROCESS: 'Process', |
| 165 SINGLE_CANDIDATE: 'SingleCandidate', | 165 SINGLE_CANDIDATE: 'SingleCandidate', |
| 166 | 166 |
| 167 // Keys specific to korean keyboards | 167 // Keys specific to korean keyboards |
| 168 ROMAN_CHARACTERS: 'RomanCharacters', | 168 ROMAN_CHARACTERS: 'RomanCharacters', |
| 169 HANGUL_MODE: 'HangulMode', | 169 HANGUL_MODE: 'HangulMode', |
| 170 HANJA_MODE: 'HanjaMode', | 170 HANJA_MODE: 'Hanja', |
| 171 JUNJA_MODE: 'JunjaMode', | 171 JUNJA_MODE: 'JunjaMode', |
| 172 | 172 |
| 173 // Keys specific to japanese keyboards | 173 // Keys specific to japanese keyboards |
| 174 ZENKAKU: 'Zenkaku', | 174 ZENKAKU: 'Zenkaku', |
| 175 HANKAKU: 'Hankaku', | 175 HANKAKU: 'Hankaku', |
| 176 ZENKAKU_HANKAKU: 'ZenkakuHankaku', | 176 ZENKAKU_HANKAKU: 'ZenkakuHankaku', |
| 177 KANA_MODE: 'KanaMode', | 177 KANA_MODE: 'KanaMode', |
| 178 KANJI_MODE: 'KanjiMode', | 178 KANJI_MODE: 'KanjiMode', |
| 179 HIRAGANA: 'Hiragana', | 179 HIRAGANA: 'Hiragana', |
| 180 KATAKANA: 'Katakana', | 180 KATAKANA: 'Katakana', |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 SCAN_CHANNELS_TOGGLE: 'ScanChannelsToggle ', | 306 SCAN_CHANNELS_TOGGLE: 'ScanChannelsToggle ', |
| 307 SCREEN_MODE_NEXT: 'ScreenModeNext', | 307 SCREEN_MODE_NEXT: 'ScreenModeNext', |
| 308 SETTINGS: 'Settings', | 308 SETTINGS: 'Settings', |
| 309 SPLIT_SCREEN_TOGGLE: 'SplitScreenToggle', | 309 SPLIT_SCREEN_TOGGLE: 'SplitScreenToggle', |
| 310 SUBTITLE: 'Subtitle', | 310 SUBTITLE: 'Subtitle', |
| 311 TELETEXT: 'Teletext', | 311 TELETEXT: 'Teletext', |
| 312 VIDEO_MODE_NEXT: 'VideoModeNext', | 312 VIDEO_MODE_NEXT: 'VideoModeNext', |
| 313 WINK: 'Wink', | 313 WINK: 'Wink', |
| 314 ZOOM_TOGGLE: 'ZoomToggle' | 314 ZOOM_TOGGLE: 'ZoomToggle' |
| 315 }; | 315 }; |
| OLD | NEW |