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

Unified Diff: third_party/closure_compiler/externs/automation.js

Issue 2917123002: Support role description in automation/ChromeVox (Closed)
Patch Set: Changes to c/c/e/a/PRESUBMIT.py Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/closure_compiler/externs/automation.js
diff --git a/third_party/closure_compiler/externs/automation.js b/third_party/closure_compiler/externs/automation.js
index d5a52e2a2b12db50f352e81dcb57997aebf9299e..dad107291d71a563847f4bdb72ed12a8e9b8ec4a 100644
--- a/third_party/closure_compiler/externs/automation.js
+++ b/third_party/closure_compiler/externs/automation.js
@@ -90,6 +90,7 @@ chrome.automation.RoleType = {
BUTTON_DROP_DOWN: 'buttonDropDown',
CANVAS: 'canvas',
CAPTION: 'caption',
+ CARET: 'caret',
CELL: 'cell',
CHECK_BOX: 'checkBox',
CLIENT: 'client',
@@ -110,7 +111,6 @@ chrome.automation.RoleType = {
DIALOG: 'dialog',
DIRECTORY: 'directory',
DISCLOSURE_TRIANGLE: 'disclosureTriangle',
- DIV: 'div',
DOCUMENT: 'document',
EMBEDDED_OBJECT: 'embeddedObject',
FEED: 'feed',
@@ -118,6 +118,7 @@ chrome.automation.RoleType = {
FIGURE: 'figure',
FOOTER: 'footer',
FORM: 'form',
+ GENERIC_CONTAINER: 'genericContainer',
GRID: 'grid',
GROUP: 'group',
HEADING: 'heading',
@@ -214,7 +215,6 @@ chrome.automation.RoleType = {
*/
chrome.automation.StateType = {
BUSY: 'busy',
- CHECKED: 'checked',
COLLAPSED: 'collapsed',
DEFAULT: 'default',
DISABLED: 'disabled',
@@ -260,6 +260,7 @@ chrome.automation.TreeChangeType = {
chrome.automation.NameFromType = {
UNINITIALIZED: 'uninitialized',
ATTRIBUTE: 'attribute',
+ ATTRIBUTE_EXPLICITLY_EMPTY: 'attributeExplicitlyEmpty',
CONTENTS: 'contents',
PLACEHOLDER: 'placeholder',
RELATED_ELEMENT: 'relatedElement',
@@ -434,6 +435,13 @@ chrome.automation.AutomationNode.prototype.description;
*/
chrome.automation.AutomationNode.prototype.placeholder;
+/**
+ * The role description for this node.
+ * @type {(string|undefined)}
+ * @see https://developer.chrome.com/extensions/automation#type-roleDescription
+ */
+chrome.automation.AutomationNode.prototype.roleDescription;
+
/**
* The accessible name for this node, via the <a href="http://www.w3.org/TR/wai-aria/roles#namecalculation"> Accessible Name Calculation</a> process.
* @type {(string|undefined)}
@@ -919,11 +927,11 @@ chrome.automation.AutomationNode.prototype.imageDataUrl;
chrome.automation.AutomationNode.prototype.language;
/**
- * If a checkbox or toggle button is in the mixed state.
- * @type {(boolean|undefined)}
- * @see https://developer.chrome.com/extensions/automation#type-buttonMixed
+ * Tri-state describing checkbox or radio button: 'false' | 'true' | 'mixed'
+ * @type {(string|undefined)}
+ * @see https://developer.chrome.com/extensions/automation#type-checked
*/
-chrome.automation.AutomationNode.prototype.buttonMixed;
+chrome.automation.AutomationNode.prototype.checked;
/**
* The RGBA foreground color of this subtree, as an integer.

Powered by Google App Engine
This is Rietveld 408576698