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

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

Issue 2472303002: Add/improve ChromeVox feedback for switches (Closed)
Patch Set: switch 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/strings/chromevox_strings.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * @fileoverview Provides output services for ChromeVox. 6 * @fileoverview Provides output services for ChromeVox.
7 */ 7 */
8 8
9 goog.provide('Output'); 9 goog.provide('Output');
10 goog.provide('Output.EventType'); 10 goog.provide('Output.EventType');
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 rowHeader: { 523 rowHeader: {
524 speak: '$descendants $state' 524 speak: '$descendants $state'
525 }, 525 },
526 slider: { 526 slider: {
527 speak: '$earcon(SLIDER) @describe_slider($value, $name) $description ' + 527 speak: '$earcon(SLIDER) @describe_slider($value, $name) $description ' +
528 '$state' 528 '$state'
529 }, 529 },
530 staticText: { 530 staticText: {
531 speak: '$name=' 531 speak: '$name='
532 }, 532 },
533 switch: {
534 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' +
535 '$if($checked, @describe_switch_on($name), ' +
536 '@describe_switch_off($name)) $description $state'
537 },
533 tab: { 538 tab: {
534 speak: '@describe_tab($name) $state $description' 539 speak: '@describe_tab($name) $state $description'
535 }, 540 },
536 table: { 541 table: {
537 enter: '@table_summary($name, $tableRowCount, $tableColumnCount) ' + 542 enter: '@table_summary($name, $tableRowCount, $tableColumnCount) ' +
538 '$node(tableHeader)' 543 '$node(tableHeader)'
539 }, 544 },
540 tableHeaderContainer: { 545 tableHeaderContainer: {
541 speak: '$descendants $state $description' 546 speak: '$descendants $state $description'
542 }, 547 },
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 /** 1776 /**
1772 * Gets the output buffer for braille. 1777 * Gets the output buffer for braille.
1773 * @return {!Spannable} 1778 * @return {!Spannable}
1774 */ 1779 */
1775 get brailleOutputForTest() { 1780 get brailleOutputForTest() {
1776 return this.createBrailleOutput_(); 1781 return this.createBrailleOutput_();
1777 } 1782 }
1778 }; 1783 };
1779 1784
1780 }); // goog.scope 1785 }); // goog.scope
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/strings/chromevox_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698