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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file was generated by: 5 // This file was generated by:
6 // tools/json_schema_compiler/compiler.py. 6 // tools/json_schema_compiler/compiler.py.
7 // NOTE: The format of types has changed. 'FooType' is now 7 // NOTE: The format of types has changed. 'FooType' is now
8 // 'chrome.automation.FooType'. 8 // 'chrome.automation.FooType'.
9 // Please run the closure compiler before committing changes. 9 // Please run the closure compiler before committing changes.
10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp ilation.md 10 // See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_comp ilation.md
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 /** 983 /**
984 * Request a data url for the contents of an image, optionally resized. Pass 984 * Request a data url for the contents of an image, optionally resized. Pass
985 * zero for maxWidth and/or maxHeight for the original size. 985 * zero for maxWidth and/or maxHeight for the original size.
986 * @param {number} maxWidth 986 * @param {number} maxWidth
987 * @param {number} maxHeight 987 * @param {number} maxHeight
988 * @see https://developer.chrome.com/extensions/automation#method-getImageData 988 * @see https://developer.chrome.com/extensions/automation#method-getImageData
989 */ 989 */
990 chrome.automation.AutomationNode.prototype.getImageData = function(maxWidth, max Height) {}; 990 chrome.automation.AutomationNode.prototype.getImageData = function(maxWidth, max Height) {};
991 991
992 /** 992 /**
993 * Does a hit test of the given global screen coordinates, and fires eventToFire
994 * on the resulting object.
995 * @param {number} x
996 * @param {number} y
997 * @param {!chrome.automation.EventType} eventToFire
998 * @see https://developer.chrome.com/extensions/automation#method-hitTest
999 */
1000 chrome.automation.AutomationNode.prototype.hitTest = function(x, y, eventToFire) {};
1001
1002 /**
993 * Scrolls this node to make it visible. 1003 * Scrolls this node to make it visible.
994 * @see https://developer.chrome.com/extensions/automation#method-makeVisible 1004 * @see https://developer.chrome.com/extensions/automation#method-makeVisible
995 */ 1005 */
996 chrome.automation.AutomationNode.prototype.makeVisible = function() {}; 1006 chrome.automation.AutomationNode.prototype.makeVisible = function() {};
997 1007
998 /** 1008 /**
999 * Sets selection within a text field. 1009 * Sets selection within a text field.
1000 * @param {number} startIndex 1010 * @param {number} startIndex
1001 * @param {number} endIndex 1011 * @param {number} endIndex
1002 * @see https://developer.chrome.com/extensions/automation#method-setSelection 1012 * @see https://developer.chrome.com/extensions/automation#method-setSelection
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 * tree between the two node/offset pairs gets included in the selection. The 1172 * tree between the two node/offset pairs gets included in the selection. The
1163 * anchor is where the user started the selection, while the focus is the point 1173 * anchor is where the user started the selection, while the focus is the point
1164 * at which the selection gets extended e.g. when dragging with a mouse or using 1174 * at which the selection gets extended e.g. when dragging with a mouse or using
1165 * the keyboard. For nodes with the role staticText, the offset gives the 1175 * the keyboard. For nodes with the role staticText, the offset gives the
1166 * character offset within the value where the selection starts or ends, 1176 * character offset within the value where the selection starts or ends,
1167 * respectively. 1177 * respectively.
1168 * @param {!chrome.automation.SetDocumentSelectionParams} params 1178 * @param {!chrome.automation.SetDocumentSelectionParams} params
1169 * @see https://developer.chrome.com/extensions/automation#method-setDocumentSel ection 1179 * @see https://developer.chrome.com/extensions/automation#method-setDocumentSel ection
1170 */ 1180 */
1171 chrome.automation.setDocumentSelection = function(params) {}; 1181 chrome.automation.setDocumentSelection = function(params) {};
OLDNEW
« 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