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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js

Issue 2486293002: Add keyboard explorer improvements for braille (Closed)
Patch Set: Add stuff to panel.. Created 4 years, 1 month 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 commands. 6 * @fileoverview ChromeVox commands.
7 */ 7 */
8 8
9 goog.provide('CommandHandler'); 9 goog.provide('CommandHandler');
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 cvox.ChromeVox.tts.speak( 152 cvox.ChromeVox.tts.speak(
153 announce, cvox.QueueMode.FLUSH, 153 announce, cvox.QueueMode.FLUSH,
154 cvox.AbstractTts.PERSONALITY_ANNOTATION); 154 cvox.AbstractTts.PERSONALITY_ANNOTATION);
155 return false; 155 return false;
156 case 'cyclePunctuationEcho': 156 case 'cyclePunctuationEcho':
157 cvox.ChromeVox.tts.speak( 157 cvox.ChromeVox.tts.speak(
158 Msgs.getMsg(ChromeVoxState.backgroundTts.cyclePunctuationEcho()), 158 Msgs.getMsg(ChromeVoxState.backgroundTts.cyclePunctuationEcho()),
159 cvox.QueueMode.FLUSH); 159 cvox.QueueMode.FLUSH);
160 return false; 160 return false;
161 case 'reportIssue': 161 case 'reportIssue':
dmazzoni 2016/11/10 01:22:05 Oh, it moved here. This is fine.
David Tseng 2016/11/10 04:56:58 Acknowledged.
162 var url = Background.ISSUE_URL; 162 var url = 'https://code.google.com/p/chromium/issues/entry?' +
163 'labels=Type-Bug,Pri-2,cvox2,OS-Chrome&' +
164 'components=UI>accessibility&' +
165 'description=';
166
163 var description = {}; 167 var description = {};
164 description['Mode'] = ChromeVoxState.instance.mode; 168 description['Mode'] = ChromeVoxState.instance.mode;
165 description['Version'] = chrome.app.getDetails().version; 169 description['Version'] = chrome.app.getDetails().version;
166 description['Reproduction Steps'] = '%0a1.%0a2.%0a3.'; 170 description['Reproduction Steps'] = '%0a1.%0a2.%0a3.';
167 for (var key in description) 171 for (var key in description)
168 url += key + ':%20' + description[key] + '%0a'; 172 url += key + ':%20' + description[key] + '%0a';
169 chrome.tabs.create({url: url}); 173 chrome.tabs.create({url: url});
170 return false; 174 return false;
171 case 'toggleBrailleCaptions': 175 case 'toggleBrailleCaptions':
172 cvox.BrailleCaptionsBackground.setActive( 176 cvox.BrailleCaptionsBackground.setActive(
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 break; 754 break;
751 } 755 }
752 if (announcement) { 756 if (announcement) {
753 cvox.ChromeVox.tts.speak( 757 cvox.ChromeVox.tts.speak(
754 announcement, cvox.QueueMode.FLUSH, 758 announcement, cvox.QueueMode.FLUSH,
755 cvox.AbstractTts.PERSONALITY_ANNOTATION); 759 cvox.AbstractTts.PERSONALITY_ANNOTATION);
756 } 760 }
757 }; 761 };
758 762
759 }); // goog.scope 763 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698