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

Side by Side Diff: tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py

Issue 10946043: Change text in keyboard overlay from fullscreen to maximize (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix for Alt & Ctrl Created 8 years, 3 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
« no previous file with comments | « chrome/browser/resources/chromeos/keyboard_overlay_data.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Generate keyboard layout and hotkey data for the keyboard overlay. 6 """Generate keyboard layout and hotkey data for the keyboard overlay.
7 7
8 This script fetches data from the keyboard layout and hotkey data spreadsheet, 8 This script fetches data from the keyboard layout and hotkey data spreadsheet,
9 and output the data depending on the option. 9 and output the data depending on the option.
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 'glyph_arrow_down': 'down', 60 'glyph_arrow_down': 'down',
61 'glyph_arrow_left': 'left', 61 'glyph_arrow_left': 'left',
62 'glyph_arrow_right': 'right', 62 'glyph_arrow_right': 'right',
63 'glyph_arrow_up': 'up', 63 'glyph_arrow_up': 'up',
64 'glyph_back': 'back', 64 'glyph_back': 'back',
65 'glyph_backspace': 'backspace', 65 'glyph_backspace': 'backspace',
66 'glyph_brightness_down': 'bright down', 66 'glyph_brightness_down': 'bright down',
67 'glyph_brightness_up': 'bright up', 67 'glyph_brightness_up': 'bright up',
68 'glyph_enter': 'enter', 68 'glyph_enter': 'enter',
69 'glyph_forward': 'forward', 69 'glyph_forward': 'forward',
70 'glyph_fullscreen': 'full screen', 70 'glyph_fullscreen': 'maximize',
71 # Kana/Eisu key on Japanese keyboard 71 # Kana/Eisu key on Japanese keyboard
72 'glyph_ime': u'\u304b\u306a\u0020\u002f\u0020\u82f1\u6570', 72 'glyph_ime': u'\u304b\u306a\u0020\u002f\u0020\u82f1\u6570',
73 'glyph_lock': 'lock', 73 'glyph_lock': 'lock',
74 'glyph_overview': 'switch window', 74 'glyph_overview': 'switch window',
75 'glyph_power': 'power', 75 'glyph_power': 'power',
76 'glyph_right': 'right', 76 'glyph_right': 'right',
77 'glyph_reload': 'reload', 77 'glyph_reload': 'reload',
78 'glyph_search': 'search', 78 'glyph_search': 'search',
79 'glyph_shift': 'shift', 79 'glyph_shift': 'shift',
80 'glyph_tab': 'tab', 80 'glyph_tab': 'tab',
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 OutputJson(keyboard_glyph_data, hotkey_data, layouts, 'keyboardOverlayData', 517 OutputJson(keyboard_glyph_data, hotkey_data, layouts, 'keyboardOverlayData',
518 options.outdir) 518 options.outdir)
519 if options.grd: 519 if options.grd:
520 OutputGrd(hotkey_data, options.outdir) 520 OutputGrd(hotkey_data, options.outdir)
521 if options.cc: 521 if options.cc:
522 OutputCC(hotkey_data, options.outdir) 522 OutputCC(hotkey_data, options.outdir)
523 523
524 524
525 if __name__ == '__main__': 525 if __name__ == '__main__':
526 main() 526 main()
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/keyboard_overlay_data.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698