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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/common/command_store.js

Issue 2768703002: Wire up an api to darken screen for accessibility (Closed)
Patch Set: Rebase. Created 3 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 5
6 /** 6 /**
7 * @fileoverview This class acts as the persistent store for all static data 7 * @fileoverview This class acts as the persistent store for all static data
8 * about commands. 8 * about commands.
9 * 9 *
10 * This store can safely be used within either a content or background script 10 * This store can safely be used within either a content or background script
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 category: 'information'}, 332 category: 'information'},
333 'toggleSelection': {announce: true, 333 'toggleSelection': {announce: true,
334 msgId: 'toggle_selection', 334 msgId: 'toggle_selection',
335 category: 'information'}, 335 category: 'information'},
336 336
337 'toggleSearchWidget': {announce: false, 337 'toggleSearchWidget': {announce: false,
338 disallowContinuation: true, 338 disallowContinuation: true,
339 msgId: 'toggle_search_widget', 339 msgId: 'toggle_search_widget',
340 category: 'information'}, 340 category: 'information'},
341 341
342 'undarkenScreen': {
343 msgId: 'undarken_screen',
344 category: 'help_commands'
345 },
346
347 'darkenScreen': {
348 msgId: 'darken_screen',
349 category: 'help_commands'
350 },
351
342 'toggleKeyboardHelp': {announce: false, 352 'toggleKeyboardHelp': {announce: false,
343 disallowContinuation: true, 353 disallowContinuation: true,
344 msgId: 'show_power_key', 354 msgId: 'show_power_key',
345 category: 'help_commands'}, 355 category: 'help_commands'},
346 'help': {announce: false, 356 'help': {announce: false,
347 msgId: 'help', 357 msgId: 'help',
348 'disallowOOBE': true, 358 'disallowOOBE': true,
349 disallowContinuation: true, 359 disallowContinuation: true,
350 category: 'help_commands'}, 360 category: 'help_commands'},
351 'contextMenu': {announce: false, 361 'contextMenu': {announce: false,
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 'media': {predicate: 'mediaPredicate', 798 'media': {predicate: 'mediaPredicate',
789 forwardError: 'no_next_media_widget', 799 forwardError: 'no_next_media_widget',
790 backwardError: 'no_previous_media_widget'}, 800 backwardError: 'no_previous_media_widget'},
791 'section': {predicate: 'sectionPredicate', 801 'section': {predicate: 'sectionPredicate',
792 forwardError: 'no_next_section', 802 forwardError: 'no_next_section',
793 backwardError: 'no_previous_section'}, 803 backwardError: 'no_previous_section'},
794 'control': {predicate: 'controlPredicate', 804 'control': {predicate: 'controlPredicate',
795 forwardError: 'no_next_control', 805 forwardError: 'no_next_control',
796 backwardError: 'no_previous_control'} 806 backwardError: 'no_previous_control'}
797 }; 807 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698