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

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

Issue 2795083003: Add support for in-page links in ChromeVox. (Closed)
Patch Set: Address nit. Created 3 years, 8 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/renderer/resources/extensions/automation/automation_node.js ('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 0a3a0fcb588fa2177cc9019933ac9e3bc24d4f21..0ce3d29bd4281bf92a3346229e99af5774853432 100644
--- a/third_party/closure_compiler/externs/automation.js
+++ b/third_party/closure_compiler/externs/automation.js
@@ -78,6 +78,7 @@ chrome.automation.RoleType = {
ABBR: 'abbr',
ALERT_DIALOG: 'alertDialog',
ALERT: 'alert',
+ ANCHOR: 'anchor',
ANNOTATION: 'annotation',
APPLICATION: 'application',
ARTICLE: 'article',
@@ -261,7 +262,7 @@ chrome.automation.NameFromType = {
ATTRIBUTE: 'attribute',
CONTENTS: 'contents',
PLACEHOLDER: 'placeholder',
- RELATED_ELEMENT: 'related_element',
+ RELATED_ELEMENT: 'relatedElement',
VALUE: 'value',
};
@@ -517,6 +518,13 @@ chrome.automation.AutomationNode.prototype.labelledBy;
chrome.automation.AutomationNode.prototype.activeDescendant;
/**
+ * The target of an in-page link.
+ * @type {(!chrome.automation.AutomationNode|undefined)}
+ * @see https://developer.chrome.com/extensions/automation#type-inPageLinkTarget
+ */
+chrome.automation.AutomationNode.prototype.inPageLinkTarget;
+
+/**
* The URL that this link will navigate to.
* @type {(string|undefined)}
* @see https://developer.chrome.com/extensions/automation#type-url
@@ -1121,8 +1129,8 @@ chrome.automation.AutomationNode.prototype.matches = function(params) {};
* placeholder root node; listen for the "loadComplete" event to get a
* notification that the tree has fully loaded (the previous root node reference
* will stop working at or before this point).
- * @param {number} tabId
- * @param {function(!chrome.automation.AutomationNode):void} callback Called
+ * @param {number=} tabId
+ * @param {function(!chrome.automation.AutomationNode):void=} callback Called
* when the <code>AutomationNode</code> for the page is available.
* @see https://developer.chrome.com/extensions/automation#method-getTree
*/
« no previous file with comments | « chrome/renderer/resources/extensions/automation/automation_node.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698