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

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

Issue 2795083003: Add support for in-page links in ChromeVox. (Closed)
Patch Set: Make getTree take optional callback as well. 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
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..4cd05823927233979b2857896c0e183e69408b32 100644
--- a/third_party/closure_compiler/externs/automation.js
+++ b/third_party/closure_compiler/externs/automation.js
@@ -261,7 +261,7 @@ chrome.automation.NameFromType = {
ATTRIBUTE: 'attribute',
CONTENTS: 'contents',
PLACEHOLDER: 'placeholder',
- RELATED_ELEMENT: 'related_element',
+ RELATED_ELEMENT: 'relatedElement',
VALUE: 'value',
};
@@ -517,6 +517,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 +1128,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
*/

Powered by Google App Engine
This is Rietveld 408576698