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

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

Issue 2748463003: Generalize the HIT_TEST accessibility action so that it can send any event. (Closed)
Patch Set: Use ParseAXEvent Created 3 years, 9 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 | « content/renderer/accessibility/render_accessibility_impl.cc ('k') | ui/accessibility/ax_action_data.h » ('j') | 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 02560822ce0d9624b2c3bd9096cda1b72454c26a..0a3a0fcb588fa2177cc9019933ac9e3bc24d4f21 100644
--- a/third_party/closure_compiler/externs/automation.js
+++ b/third_party/closure_compiler/externs/automation.js
@@ -990,6 +990,16 @@ chrome.automation.AutomationNode.prototype.focus = function() {};
chrome.automation.AutomationNode.prototype.getImageData = function(maxWidth, maxHeight) {};
/**
+ * Does a hit test of the given global screen coordinates, and fires eventToFire
+ * on the resulting object.
+ * @param {number} x
+ * @param {number} y
+ * @param {!chrome.automation.EventType} eventToFire
+ * @see https://developer.chrome.com/extensions/automation#method-hitTest
+ */
+chrome.automation.AutomationNode.prototype.hitTest = function(x, y, eventToFire) {};
+
+/**
* Scrolls this node to make it visible.
* @see https://developer.chrome.com/extensions/automation#method-makeVisible
*/
« no previous file with comments | « content/renderer/accessibility/render_accessibility_impl.cc ('k') | ui/accessibility/ax_action_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698