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

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

Issue 2487513002: Include posInSet and setSize in tab output rule (Closed)
Patch Set: 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 | « chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.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 // 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 }, 533 },
534 staticText: { 534 staticText: {
535 speak: '$name=' 535 speak: '$name='
536 }, 536 },
537 switch: { 537 switch: {
538 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' + 538 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' +
539 '$if($checked, @describe_switch_on($name), ' + 539 '$if($checked, @describe_switch_on($name), ' +
540 '@describe_switch_off($name)) $description $state' 540 '@describe_switch_off($name)) $description $state'
541 }, 541 },
542 tab: { 542 tab: {
543 speak: '@describe_tab($name) $state $description' 543 speak: '@describe_tab($name) $state $description ' +
544 '$if($setSize, @describe_index($posInSet, $setSize))',
544 }, 545 },
545 table: { 546 table: {
546 enter: '@table_summary($name, $tableRowCount, $tableColumnCount) ' + 547 enter: '@table_summary($name, $tableRowCount, $tableColumnCount) ' +
547 '$node(tableHeader)' 548 '$node(tableHeader)'
548 }, 549 },
549 tableHeaderContainer: { 550 tableHeaderContainer: {
550 speak: '$descendants $state $description' 551 speak: '$descendants $state $description'
551 }, 552 },
552 textField: { 553 textField: {
553 speak: '$name $value $if($multiline, @tag_textarea, $if(' + 554 speak: '$name $value $if($multiline, @tag_textarea, $if(' +
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1793 /** 1794 /**
1794 * Gets the output buffer for braille. 1795 * Gets the output buffer for braille.
1795 * @return {!Spannable} 1796 * @return {!Spannable}
1796 */ 1797 */
1797 get brailleOutputForTest() { 1798 get brailleOutputForTest() {
1798 return this.createBrailleOutput_(); 1799 return this.createBrailleOutput_();
1799 } 1800 }
1800 }; 1801 };
1801 1802
1802 }); // goog.scope 1803 }); // goog.scope
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698