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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/braille_command_handler.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 * @fileoverview ChromeVox braille commands. 6 * @fileoverview ChromeVox braille commands.
7 */ 7 */
8 8
9 goog.provide('BrailleCommandHandler'); 9 goog.provide('BrailleCommandHandler');
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 map([1, 2, 4, 7], 'previousFormField'); 127 map([1, 2, 4, 7], 'previousFormField');
128 map([1, 2, 5, 7], 'previousHeading'); 128 map([1, 2, 5, 7], 'previousHeading');
129 map([4, 5, 7], 'previousLink'); 129 map([4, 5, 7], 'previousLink');
130 map([2, 3, 4, 5, 7], 'previousTable'); 130 map([2, 3, 4, 5, 7], 'previousTable');
131 131
132 map([8], 'forceClickOnCurrentItem'); 132 map([8], 'forceClickOnCurrentItem');
133 map([3, 4], 'toggleSearchWidget'); 133 map([3, 4], 'toggleSearchWidget');
134 134
135 // Question. 135 // Question.
136 map([1, 4, 5, 6], 'toggleKeyboardHelp'); 136 map([1, 4, 5, 6], 'toggleKeyboardHelp');
137
138 // All cells (with 7 as mod).
139 map([1, 2, 3, 4, 5, 6, 7], 'darkenScreen');
140 map([1, 2, 3, 4, 5, 6], 'undarkenScreen');
137 }; 141 };
138 142
139 BrailleCommandHandler.init_(); 143 BrailleCommandHandler.init_();
140 144
141 }); // goog.scope 145 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698