OLD | NEW |
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 Loading... |
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 Loading... |
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) {}; |
OLD | NEW |