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

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

Issue 1974963002: Output divs using descendant nodes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
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' 414 '$name $role $checked $description'
415 }, 415 },
416 dialog: { 416 dialog: {
417 enter: '$nameFromNode $role $description' 417 enter: '$nameFromNode $role $description'
418 }, 418 },
419 div: { 419 div: {
420 enter: '$nameFromNode', 420 enter: '$nameFromNode',
421 speak: '$name $description' 421 speak: '$name $description $descendants'
422 }, 422 },
423 grid: { 423 grid: {
424 enter: '$nameFromNode $role $description' 424 enter: '$nameFromNode $role $description'
425 }, 425 },
426 heading: { 426 heading: {
427 enter: '@tag_h+$hierarchicalLevel', 427 enter: '@tag_h+$hierarchicalLevel',
428 speak: '!relativePitch(hierarchicalLevel)' + 428 speak: '!relativePitch(hierarchicalLevel)' +
429 ' $nameOrDescendants= @tag_h+$hierarchicalLevel' 429 ' $nameOrDescendants= @tag_h+$hierarchicalLevel'
430 }, 430 },
431 inlineTextBox: { 431 inlineTextBox: {
(...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 break; 1572 break;
1573 } 1573 }
1574 earconFinder = earconFinder.parent; 1574 earconFinder = earconFinder.parent;
1575 } 1575 }
1576 } 1576 }
1577 return null; 1577 return null;
1578 } 1578 }
1579 }; 1579 };
1580 1580
1581 }); // goog.scope 1581 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698