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

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

Issue 2514583002: Ensure fake alert window attached to AXAura tree and refine alert dialog output (Closed)
Patch Set: Fix test. 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 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 braille: '' 393 braille: ''
394 }, 394 },
395 abstractContainer: { 395 abstractContainer: {
396 enter: '$nameFromNode $role $state $description', 396 enter: '$nameFromNode $role $state $description',
397 leave: '@exited_container($role)' 397 leave: '@exited_container($role)'
398 }, 398 },
399 alert: { 399 alert: {
400 speak: '$earcon(ALERT_NONMODAL) $role $descendants $state' 400 speak: '$earcon(ALERT_NONMODAL) $role $descendants $state'
401 }, 401 },
402 alertDialog: { 402 alertDialog: {
403 enter: '$nameFromNode $role $description', 403 enter: '$earcon(ALERT_MODAL) $name $state',
404 speak: '$name $role $descendants $state' 404 speak: '$earcon(ALERT_MODAL) $name $descendants $state $role'
405 }, 405 },
406 cell: { 406 cell: {
407 enter: '@cell_summary($tableCellRowIndex, $tableCellColumnIndex) ' + 407 enter: '@cell_summary($tableCellRowIndex, $tableCellColumnIndex) ' +
408 '$node(tableColumnHeader)', 408 '$node(tableColumnHeader)',
409 speak: '@cell_summary($tableCellRowIndex, $tableCellColumnIndex) ' + 409 speak: '@cell_summary($tableCellRowIndex, $tableCellColumnIndex) ' +
410 '$node(tableColumnHeader) $state' 410 '$node(tableColumnHeader) $state'
411 }, 411 },
412 checkBox: { 412 checkBox: {
413 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' + 413 speak: '$if($checked, $earcon(CHECK_ON), $earcon(CHECK_OFF)) ' +
414 '$name $role $checked $description $state' 414 '$name $role $checked $description $state'
(...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1829 /** 1829 /**
1830 * Gets the output buffer for braille. 1830 * Gets the output buffer for braille.
1831 * @return {!Spannable} 1831 * @return {!Spannable}
1832 */ 1832 */
1833 get brailleOutputForTest() { 1833 get brailleOutputForTest() {
1834 return this.mergeBraille_(this.brailleBuffer_); 1834 return this.mergeBraille_(this.brailleBuffer_);
1835 } 1835 }
1836 }; 1836 };
1837 1837
1838 }); // goog.scope 1838 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698