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. |
Dan Beam
2017/04/04 17:49:13
are you running the script?
$ tools/json_schema_c
| |
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 |
11 | 11 |
12 /** @fileoverview Externs generated from namespace: automation */ | 12 /** @fileoverview Externs generated from namespace: automation */ |
13 | 13 |
14 /** | 14 /** |
15 * @const | 15 * @const |
16 */ | 16 */ |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 | 254 |
255 /** | 255 /** |
256 * @enum {string} | 256 * @enum {string} |
257 * @see https://developer.chrome.com/extensions/automation#type-NameFromType | 257 * @see https://developer.chrome.com/extensions/automation#type-NameFromType |
258 */ | 258 */ |
259 chrome.automation.NameFromType = { | 259 chrome.automation.NameFromType = { |
260 UNINITIALIZED: 'uninitialized', | 260 UNINITIALIZED: 'uninitialized', |
261 ATTRIBUTE: 'attribute', | 261 ATTRIBUTE: 'attribute', |
262 CONTENTS: 'contents', | 262 CONTENTS: 'contents', |
263 PLACEHOLDER: 'placeholder', | 263 PLACEHOLDER: 'placeholder', |
264 RELATED_ELEMENT: 'related_element', | 264 RELATED_ELEMENT: 'relatedElement', |
265 VALUE: 'value', | 265 VALUE: 'value', |
266 }; | 266 }; |
267 | 267 |
268 /** | 268 /** |
269 * @typedef {{ | 269 * @typedef {{ |
270 * left: number, | 270 * left: number, |
271 * top: number, | 271 * top: number, |
272 * width: number, | 272 * width: number, |
273 * height: number | 273 * height: number |
274 * }} | 274 * }} |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
510 chrome.automation.AutomationNode.prototype.labelledBy; | 510 chrome.automation.AutomationNode.prototype.labelledBy; |
511 | 511 |
512 /** | 512 /** |
513 * The node referred to by <code>aria-activedescendant</code>, where applicable | 513 * The node referred to by <code>aria-activedescendant</code>, where applicable |
514 * @type {(!chrome.automation.AutomationNode|undefined)} | 514 * @type {(!chrome.automation.AutomationNode|undefined)} |
515 * @see https://developer.chrome.com/extensions/automation#type-activeDescendant | 515 * @see https://developer.chrome.com/extensions/automation#type-activeDescendant |
516 */ | 516 */ |
517 chrome.automation.AutomationNode.prototype.activeDescendant; | 517 chrome.automation.AutomationNode.prototype.activeDescendant; |
518 | 518 |
519 /** | 519 /** |
520 * @type {(!chrome.automation.AutomationNode|undefined)} | |
521 * @see https://developer.chrome.com/extensions/automation#type-inPageLinkTarget | |
522 */ | |
523 chrome.automation.AutomationNode.prototype.inPageLinkTarget; | |
524 | |
525 /** | |
520 * The URL that this link will navigate to. | 526 * The URL that this link will navigate to. |
521 * @type {(string|undefined)} | 527 * @type {(string|undefined)} |
522 * @see https://developer.chrome.com/extensions/automation#type-url | 528 * @see https://developer.chrome.com/extensions/automation#type-url |
523 */ | 529 */ |
524 chrome.automation.AutomationNode.prototype.url; | 530 chrome.automation.AutomationNode.prototype.url; |
525 | 531 |
526 /** | 532 /** |
527 * The URL of this document. | 533 * The URL of this document. |
528 * @type {(string|undefined)} | 534 * @type {(string|undefined)} |
529 * @see https://developer.chrome.com/extensions/automation#type-docUrl | 535 * @see https://developer.chrome.com/extensions/automation#type-docUrl |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1172 * tree between the two node/offset pairs gets included in the selection. The | 1178 * tree between the two node/offset pairs gets included in the selection. The |
1173 * anchor is where the user started the selection, while the focus is the point | 1179 * anchor is where the user started the selection, while the focus is the point |
1174 * at which the selection gets extended e.g. when dragging with a mouse or using | 1180 * at which the selection gets extended e.g. when dragging with a mouse or using |
1175 * the keyboard. For nodes with the role staticText, the offset gives the | 1181 * the keyboard. For nodes with the role staticText, the offset gives the |
1176 * character offset within the value where the selection starts or ends, | 1182 * character offset within the value where the selection starts or ends, |
1177 * respectively. | 1183 * respectively. |
1178 * @param {!chrome.automation.SetDocumentSelectionParams} params | 1184 * @param {!chrome.automation.SetDocumentSelectionParams} params |
1179 * @see https://developer.chrome.com/extensions/automation#method-setDocumentSel ection | 1185 * @see https://developer.chrome.com/extensions/automation#method-setDocumentSel ection |
1180 */ | 1186 */ |
1181 chrome.automation.setDocumentSelection = function(params) {}; | 1187 chrome.automation.setDocumentSelection = function(params) {}; |
OLD | NEW |