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

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

Issue 2903973002: Rich editable text implementation using spannables (Closed)
Patch Set: Text style. 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
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..454e670b73f0a017196e5783cfcbc0d5fe38daeb 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',
@@ -919,11 +920,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.
@@ -947,6 +948,13 @@ chrome.automation.AutomationNode.prototype.backgroundColor;
chrome.automation.AutomationNode.prototype.colorValue;
/**
+ * Bit-map of text styles: Bold, italic, underline, line through.
+ * @type {(number|undefined)}
+ * @see https://developer.chrome.com/extensions/automation#type-textStyle
+ */
+chrome.automation.AutomationNode.prototype.textStyle;
+
+/**
* Walking the tree.
* @type {!Array<!chrome.automation.AutomationNode>}
* @see https://developer.chrome.com/extensions/automation#type-children

Powered by Google App Engine
This is Rietveld 408576698