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

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

Issue 2922673003: Closure Externs: re-generate automation.idl and add presubmit (Closed)
Patch Set: . Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2028d33912f95ff023e2090c7c5557d9f95e2be1 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',
@@ -230,7 +230,6 @@ chrome.automation.StateType = {
MULTILINE: 'multiline',
MULTISELECTABLE: 'multiselectable',
OFFSCREEN: 'offscreen',
- PRESSED: 'pressed',
PROTECTED: 'protected',
READ_ONLY: 'readOnly',
REQUIRED: 'required',
@@ -260,6 +259,7 @@ chrome.automation.TreeChangeType = {
chrome.automation.NameFromType = {
UNINITIALIZED: 'uninitialized',
ATTRIBUTE: 'attribute',
+ ATTRIBUTE_EXPLICITLY_EMPTY: 'attributeExplicitlyEmpty',
CONTENTS: 'contents',
PLACEHOLDER: 'placeholder',
RELATED_ELEMENT: 'relatedElement',
@@ -919,11 +919,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.
« no previous file with comments | « chrome/common/extensions/api/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698