| OLD | NEW |
| 1 // Copyright 2016 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 -g externs | 6 // tools/json_schema_compiler/compiler.py. |
| 7 // chrome/common/extensions/api/automation.idl | 7 // NOTE: The format of types has changed. 'FooType' is now |
| 8 // | 8 // 'chrome.automation.FooType'. |
| 9 // Further edits were applied by hand due to bugs / limitations in | 9 // Please run the closure compiler before committing changes. |
| 10 // json_schema_compiler. | |
| 11 // | |
| 12 // 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 |
| 13 | 11 |
| 14 /** @fileoverview Externs generated from namespace: automation */ | 12 /** @fileoverview Externs generated from namespace: automation */ |
| 15 | 13 |
| 16 /** | 14 /** |
| 17 * @const | 15 * @const |
| 18 */ | 16 */ |
| 19 chrome.automation = {}; | 17 chrome.automation = {}; |
| 20 | 18 |
| 21 /** | 19 /** |
| 22 * @enum {string} | 20 * @enum {string} |
| 21 * @see https://developer.chrome.com/extensions/automation#type-EventType |
| 23 */ | 22 */ |
| 24 chrome.automation.EventType = { | 23 chrome.automation.EventType = { |
| 25 activedescendantchanged: '', | 24 ACTIVEDESCENDANTCHANGED: 'activedescendantchanged', |
| 26 alert: '', | 25 ALERT: 'alert', |
| 27 ariaAttributeChanged: '', | 26 ARIA_ATTRIBUTE_CHANGED: 'ariaAttributeChanged', |
| 28 autocorrectionOccured: '', | 27 AUTOCORRECTION_OCCURED: 'autocorrectionOccured', |
| 29 blur: '', | 28 BLUR: 'blur', |
| 30 checkedStateChanged: '', | 29 CHECKED_STATE_CHANGED: 'checkedStateChanged', |
| 31 childrenChanged: '', | 30 CHILDREN_CHANGED: 'childrenChanged', |
| 32 documentSelectionChanged: '', | 31 CLICKED: 'clicked', |
| 33 expandedChanged: '', | 32 DOCUMENT_SELECTION_CHANGED: 'documentSelectionChanged', |
| 34 focus: '', | 33 EXPANDED_CHANGED: 'expandedChanged', |
| 35 hide: '', | 34 FOCUS: 'focus', |
| 36 hover: '', | 35 IMAGE_FRAME_UPDATED: 'imageFrameUpdated', |
| 37 invalidStatusChanged: '', | 36 HIDE: 'hide', |
| 38 layoutComplete: '', | 37 HOVER: 'hover', |
| 39 liveRegionChanged: '', | 38 INVALID_STATUS_CHANGED: 'invalidStatusChanged', |
| 40 loadComplete: '', | 39 LAYOUT_COMPLETE: 'layoutComplete', |
| 41 locationChanged: '', | 40 LIVE_REGION_CREATED: 'liveRegionCreated', |
| 42 menuEnd: '', | 41 LIVE_REGION_CHANGED: 'liveRegionChanged', |
| 43 menuListItemSelected: '', | 42 LOAD_COMPLETE: 'loadComplete', |
| 44 menuListValueChanged: '', | 43 LOCATION_CHANGED: 'locationChanged', |
| 45 menuPopupEnd: '', | 44 MEDIA_STARTED_PLAYING: 'mediaStartedPlaying', |
| 46 menuPopupStart: '', | 45 MEDIA_STOPPED_PLAYING: 'mediaStoppedPlaying', |
| 47 menuStart: '', | 46 MENU_END: 'menuEnd', |
| 48 mouseCanceled: '', | 47 MENU_LIST_ITEM_SELECTED: 'menuListItemSelected', |
| 49 mouseDragged: '', | 48 MENU_LIST_VALUE_CHANGED: 'menuListValueChanged', |
| 50 mouseMoved: '', | 49 MENU_POPUP_END: 'menuPopupEnd', |
| 51 mousePressed: '', | 50 MENU_POPUP_START: 'menuPopupStart', |
| 52 mouseReleased: '', | 51 MENU_START: 'menuStart', |
| 53 rowCollapsed: '', | 52 MOUSE_CANCELED: 'mouseCanceled', |
| 54 rowCountChanged: '', | 53 MOUSE_DRAGGED: 'mouseDragged', |
| 55 rowExpanded: '', | 54 MOUSE_MOVED: 'mouseMoved', |
| 56 scrollPositionChanged: '', | 55 MOUSE_PRESSED: 'mousePressed', |
| 57 scrolledToAnchor: '', | 56 MOUSE_RELEASED: 'mouseReleased', |
| 58 selectedChildrenChanged: '', | 57 ROW_COLLAPSED: 'rowCollapsed', |
| 59 selection: '', | 58 ROW_COUNT_CHANGED: 'rowCountChanged', |
| 60 selectionAdd: '', | 59 ROW_EXPANDED: 'rowExpanded', |
| 61 selectionRemove: '', | 60 SCROLL_POSITION_CHANGED: 'scrollPositionChanged', |
| 62 show: '', | 61 SCROLLED_TO_ANCHOR: 'scrolledToAnchor', |
| 63 textChanged: '', | 62 SELECTED_CHILDREN_CHANGED: 'selectedChildrenChanged', |
| 64 textSelectionChanged: '', | 63 SELECTION: 'selection', |
| 65 treeChanged: '', | 64 SELECTION_ADD: 'selectionAdd', |
| 66 valueChanged: '', | 65 SELECTION_REMOVE: 'selectionRemove', |
| 67 }; | 66 SHOW: 'show', |
| 68 | 67 TEXT_CHANGED: 'textChanged', |
| 69 /** | 68 TEXT_SELECTION_CHANGED: 'textSelectionChanged', |
| 70 * @enum {string} | 69 TREE_CHANGED: 'treeChanged', |
| 70 VALUE_CHANGED: 'valueChanged', |
| 71 }; |
| 72 |
| 73 /** |
| 74 * @enum {string} |
| 75 * @see https://developer.chrome.com/extensions/automation#type-RoleType |
| 71 */ | 76 */ |
| 72 chrome.automation.RoleType = { | 77 chrome.automation.RoleType = { |
| 73 alertDialog: '', | 78 ABBR: 'abbr', |
| 74 alert: '', | 79 ALERT_DIALOG: 'alertDialog', |
| 75 annotation: '', | 80 ALERT: 'alert', |
| 76 application: '', | 81 ANNOTATION: 'annotation', |
| 77 article: '', | 82 APPLICATION: 'application', |
| 78 banner: '', | 83 ARTICLE: 'article', |
| 79 blockquote: '', | 84 AUDIO: 'audio', |
| 80 busyIndicator: '', | 85 BANNER: 'banner', |
| 81 button: '', | 86 BLOCKQUOTE: 'blockquote', |
| 82 buttonDropDown: '', | 87 BUSY_INDICATOR: 'busyIndicator', |
| 83 canvas: '', | 88 BUTTON: 'button', |
| 84 caption: '', | 89 BUTTON_DROP_DOWN: 'buttonDropDown', |
| 85 cell: '', | 90 CANVAS: 'canvas', |
| 86 checkBox: '', | 91 CAPTION: 'caption', |
| 87 client: '', | 92 CELL: 'cell', |
| 88 colorWell: '', | 93 CHECK_BOX: 'checkBox', |
| 89 columnHeader: '', | 94 CLIENT: 'client', |
| 90 column: '', | 95 COLOR_WELL: 'colorWell', |
| 91 comboBox: '', | 96 COLUMN_HEADER: 'columnHeader', |
| 92 complementary: '', | 97 COLUMN: 'column', |
| 93 contentInfo: '', | 98 COMBO_BOX: 'comboBox', |
| 94 date: '', | 99 COMPLEMENTARY: 'complementary', |
| 95 dateTime: '', | 100 CONTENT_INFO: 'contentInfo', |
| 96 definition: '', | 101 DATE: 'date', |
| 97 descriptionListDetail: '', | 102 DATE_TIME: 'dateTime', |
| 98 descriptionList: '', | 103 DEFINITION: 'definition', |
| 99 descriptionListTerm: '', | 104 DESCRIPTION_LIST_DETAIL: 'descriptionListDetail', |
| 100 desktop: '', | 105 DESCRIPTION_LIST: 'descriptionList', |
| 101 details: '', | 106 DESCRIPTION_LIST_TERM: 'descriptionListTerm', |
| 102 dialog: '', | 107 DESKTOP: 'desktop', |
| 103 directory: '', | 108 DETAILS: 'details', |
| 104 disclosureTriangle: '', | 109 DIALOG: 'dialog', |
| 105 div: '', | 110 DIRECTORY: 'directory', |
| 106 document: '', | 111 DISCLOSURE_TRIANGLE: 'disclosureTriangle', |
| 107 embeddedObject: '', | 112 DIV: 'div', |
| 108 figcaption: '', | 113 DOCUMENT: 'document', |
| 109 figure: '', | 114 EMBEDDED_OBJECT: 'embeddedObject', |
| 110 footer: '', | 115 FEED: 'feed', |
| 111 form: '', | 116 FIGCAPTION: 'figcaption', |
| 112 grid: '', | 117 FIGURE: 'figure', |
| 113 group: '', | 118 FOOTER: 'footer', |
| 114 heading: '', | 119 FORM: 'form', |
| 115 iframe: '', | 120 GRID: 'grid', |
| 116 iframePresentational: '', | 121 GROUP: 'group', |
| 117 ignored: '', | 122 HEADING: 'heading', |
| 118 imageMapLink: '', | 123 IFRAME: 'iframe', |
| 119 imageMap: '', | 124 IFRAME_PRESENTATIONAL: 'iframePresentational', |
| 120 image: '', | 125 IGNORED: 'ignored', |
| 121 inlineTextBox: '', | 126 IMAGE_MAP_LINK: 'imageMapLink', |
| 122 labelText: '', | 127 IMAGE_MAP: 'imageMap', |
| 123 legend: '', | 128 IMAGE: 'image', |
| 124 lineBreak: '', | 129 INLINE_TEXT_BOX: 'inlineTextBox', |
| 125 link: '', | 130 INPUT_TIME: 'inputTime', |
| 126 listBoxOption: '', | 131 LABEL_TEXT: 'labelText', |
| 127 listBox: '', | 132 LEGEND: 'legend', |
| 128 listItem: '', | 133 LINE_BREAK: 'lineBreak', |
| 129 listMarker: '', | 134 LINK: 'link', |
| 130 list: '', | 135 LIST_BOX_OPTION: 'listBoxOption', |
| 131 locationBar: '', | 136 LIST_BOX: 'listBox', |
| 132 log: '', | 137 LIST_ITEM: 'listItem', |
| 133 main: '', | 138 LIST_MARKER: 'listMarker', |
| 134 marquee: '', | 139 LIST: 'list', |
| 135 math: '', | 140 LOCATION_BAR: 'locationBar', |
| 136 menuBar: '', | 141 LOG: 'log', |
| 137 menuButton: '', | 142 MAIN: 'main', |
| 138 menuItem: '', | 143 MARK: 'mark', |
| 139 menuItemCheckBox: '', | 144 MARQUEE: 'marquee', |
| 140 menuItemRadio: '', | 145 MATH: 'math', |
| 141 menuListOption: '', | 146 MENU_BAR: 'menuBar', |
| 142 menuListPopup: '', | 147 MENU_BUTTON: 'menuButton', |
| 143 menu: '', | 148 MENU_ITEM: 'menuItem', |
| 144 meter: '', | 149 MENU_ITEM_CHECK_BOX: 'menuItemCheckBox', |
| 145 navigation: '', | 150 MENU_ITEM_RADIO: 'menuItemRadio', |
| 146 note: '', | 151 MENU_LIST_OPTION: 'menuListOption', |
| 147 outline: '', | 152 MENU_LIST_POPUP: 'menuListPopup', |
| 148 pane: '', | 153 MENU: 'menu', |
| 149 paragraph: '', | 154 METER: 'meter', |
| 150 popUpButton: '', | 155 NAVIGATION: 'navigation', |
| 151 pre: '', | 156 NOTE: 'note', |
| 152 presentational: '', | 157 OUTLINE: 'outline', |
| 153 progressIndicator: '', | 158 PANE: 'pane', |
| 154 radioButton: '', | 159 PARAGRAPH: 'paragraph', |
| 155 radioGroup: '', | 160 POP_UP_BUTTON: 'popUpButton', |
| 156 region: '', | 161 PRE: 'pre', |
| 157 rootWebArea: '', | 162 PRESENTATIONAL: 'presentational', |
| 158 rowHeader: '', | 163 PROGRESS_INDICATOR: 'progressIndicator', |
| 159 row: '', | 164 RADIO_BUTTON: 'radioButton', |
| 160 ruby: '', | 165 RADIO_GROUP: 'radioGroup', |
| 161 ruler: '', | 166 REGION: 'region', |
| 162 svgRoot: '', | 167 ROOT_WEB_AREA: 'rootWebArea', |
| 163 scrollArea: '', | 168 ROW_HEADER: 'rowHeader', |
| 164 scrollBar: '', | 169 ROW: 'row', |
| 165 seamlessWebArea: '', | 170 RUBY: 'ruby', |
| 166 search: '', | 171 RULER: 'ruler', |
| 167 searchBox: '', | 172 SVG_ROOT: 'svgRoot', |
| 168 slider: '', | 173 SCROLL_AREA: 'scrollArea', |
| 169 sliderThumb: '', | 174 SCROLL_BAR: 'scrollBar', |
| 170 spinButtonPart: '', | 175 SEAMLESS_WEB_AREA: 'seamlessWebArea', |
| 171 spinButton: '', | 176 SEARCH: 'search', |
| 172 splitter: '', | 177 SEARCH_BOX: 'searchBox', |
| 173 staticText: '', | 178 SLIDER: 'slider', |
| 174 status: '', | 179 SLIDER_THUMB: 'sliderThumb', |
| 175 switch: '', | 180 SPIN_BUTTON_PART: 'spinButtonPart', |
| 176 tabGroup: '', | 181 SPIN_BUTTON: 'spinButton', |
| 177 tabList: '', | 182 SPLITTER: 'splitter', |
| 178 tabPanel: '', | 183 STATIC_TEXT: 'staticText', |
| 179 tab: '', | 184 STATUS: 'status', |
| 180 tableHeaderContainer: '', | 185 SWITCH: 'switch', |
| 181 table: '', | 186 TAB_GROUP: 'tabGroup', |
| 182 textField: '', | 187 TAB_LIST: 'tabList', |
| 183 time: '', | 188 TAB_PANEL: 'tabPanel', |
| 184 timer: '', | 189 TAB: 'tab', |
| 185 titleBar: '', | 190 TABLE_HEADER_CONTAINER: 'tableHeaderContainer', |
| 186 toggleButton: '', | 191 TABLE: 'table', |
| 187 toolbar: '', | 192 TERM: 'term', |
| 188 treeGrid: '', | 193 TEXT_FIELD: 'textField', |
| 189 treeItem: '', | 194 TIME: 'time', |
| 190 tree: '', | 195 TIMER: 'timer', |
| 191 unknown: '', | 196 TITLE_BAR: 'titleBar', |
| 192 tooltip: '', | 197 TOGGLE_BUTTON: 'toggleButton', |
| 193 webArea: '', | 198 TOOLBAR: 'toolbar', |
| 194 webView: '', | 199 TREE_GRID: 'treeGrid', |
| 195 window: '', | 200 TREE_ITEM: 'treeItem', |
| 196 }; | 201 TREE: 'tree', |
| 197 | 202 UNKNOWN: 'unknown', |
| 198 /** | 203 TOOLTIP: 'tooltip', |
| 199 * @enum {string} | 204 VIDEO: 'video', |
| 205 WEB_AREA: 'webArea', |
| 206 WEB_VIEW: 'webView', |
| 207 WINDOW: 'window', |
| 208 }; |
| 209 |
| 210 /** |
| 211 * @enum {string} |
| 212 * @see https://developer.chrome.com/extensions/automation#type-StateType |
| 200 */ | 213 */ |
| 201 chrome.automation.StateType = { | 214 chrome.automation.StateType = { |
| 202 busy: '', | 215 BUSY: 'busy', |
| 203 checked: '', | 216 CHECKED: 'checked', |
| 204 collapsed: '', | 217 COLLAPSED: 'collapsed', |
| 205 default: '', | 218 DEFAULT: 'default', |
| 206 disabled: '', | 219 DISABLED: 'disabled', |
| 207 editable: '', | 220 EDITABLE: 'editable', |
| 208 expanded: '', | 221 EXPANDED: 'expanded', |
| 209 focusable: '', | 222 FOCUSABLE: 'focusable', |
| 210 focused: '', | 223 FOCUSED: 'focused', |
| 211 haspopup: '', | 224 HASPOPUP: 'haspopup', |
| 212 horizontal: '', | 225 HORIZONTAL: 'horizontal', |
| 213 hovered: '', | 226 HOVERED: 'hovered', |
| 214 indeterminate: '', | 227 INVISIBLE: 'invisible', |
| 215 invisible: '', | 228 LINKED: 'linked', |
| 216 linked: '', | 229 MULTILINE: 'multiline', |
| 217 multiline: '', | 230 MULTISELECTABLE: 'multiselectable', |
| 218 multiselectable: '', | 231 OFFSCREEN: 'offscreen', |
| 219 offscreen: '', | 232 PRESSED: 'pressed', |
| 220 pressed: '', | 233 PROTECTED: 'protected', |
| 221 protected: '', | 234 READ_ONLY: 'readOnly', |
| 222 readOnly: '', | 235 REQUIRED: 'required', |
| 223 required: '', | 236 RICHLY_EDITABLE: 'richlyEditable', |
| 224 richlyEditable: '', | 237 SELECTABLE: 'selectable', |
| 225 selectable: '', | 238 SELECTED: 'selected', |
| 226 selected: '', | 239 VERTICAL: 'vertical', |
| 227 vertical: '', | 240 VISITED: 'visited', |
| 228 visited: '', | 241 }; |
| 229 }; | 242 |
| 230 | 243 /** |
| 231 /** | 244 * @enum {string} |
| 232 * @enum {number} | 245 * @see https://developer.chrome.com/extensions/automation#type-TreeChangeType |
| 246 */ |
| 247 chrome.automation.TreeChangeType = { |
| 248 NODE_CREATED: 'nodeCreated', |
| 249 SUBTREE_CREATED: 'subtreeCreated', |
| 250 NODE_CHANGED: 'nodeChanged', |
| 251 TEXT_CHANGED: 'textChanged', |
| 252 NODE_REMOVED: 'nodeRemoved', |
| 253 }; |
| 254 |
| 255 /** |
| 256 * @enum {string} |
| 257 * @see https://developer.chrome.com/extensions/automation#type-NameFromType |
| 233 */ | 258 */ |
| 234 chrome.automation.NameFromType = { | 259 chrome.automation.NameFromType = { |
| 235 0: '', | 260 UNINITIALIZED: 'uninitialized', |
| 236 1: 'uninitialized', | 261 ATTRIBUTE: 'attribute', |
| 237 2: 'attribute', | 262 CONTENTS: 'contents', |
| 238 3: 'contents', | 263 PLACEHOLDER: 'placeholder', |
| 239 4: 'placeholder', | 264 RELATED_ELEMENT: 'related_element', |
| 240 5: 'relatedElement', | 265 VALUE: 'value', |
| 241 6: 'value' | 266 }; |
| 242 }; | 267 |
| 243 | 268 /** |
| 244 /** | |
| 245 * @enum {number} | |
| 246 */ | |
| 247 chrome.automation.DescriptionFromType = { | |
| 248 0: '', | |
| 249 1: 'uninitialized', | |
| 250 2: 'attribute', | |
| 251 3: 'contents', | |
| 252 4: 'placeholder', | |
| 253 5: 'relatedElement' | |
| 254 }; | |
| 255 | |
| 256 /** | |
| 257 * @enum {string} | |
| 258 */ | |
| 259 chrome.automation.TreeChangeType = { | |
| 260 nodeCreated: 'nodeCreated', | |
| 261 subtreeCreated: 'subtreeCreated', | |
| 262 nodeChanged: 'nodeChanged', | |
| 263 nodeRemoved: 'nodeRemoved', | |
| 264 }; | |
| 265 | |
| 266 /** | |
| 267 * @typedef {{ | 269 * @typedef {{ |
| 268 * left: number, | 270 * left: number, |
| 269 * top: number, | 271 * top: number, |
| 270 * width: number, | 272 * width: number, |
| 271 * height: number | 273 * height: number |
| 272 * }} | 274 * }} |
| 275 * @see https://developer.chrome.com/extensions/automation#type-Rect |
| 273 */ | 276 */ |
| 274 chrome.automation.Rect; | 277 chrome.automation.Rect; |
| 275 | 278 |
| 276 /** | 279 /** |
| 277 * @typedef {{ | 280 * @typedef {{ |
| 278 * role: (!chrome.automation.RoleType|undefined), | 281 * role: (!chrome.automation.RoleType|undefined), |
| 279 * state: (Object|undefined), | 282 * state: (Object|undefined), |
| 280 * attributes: (Object|undefined) | 283 * attributes: (Object|undefined) |
| 281 * }} | 284 * }} |
| 285 * @see https://developer.chrome.com/extensions/automation#type-FindParams |
| 282 */ | 286 */ |
| 283 chrome.automation.FindParams; | 287 chrome.automation.FindParams; |
| 284 | 288 |
| 285 /** | 289 /** |
| 290 * @typedef {{ |
| 291 * anchorObject: Object, |
| 292 * anchorOffset: number, |
| 293 * focusObject: Object, |
| 294 * focusOffset: number |
| 295 * }} |
| 296 * @see https://developer.chrome.com/extensions/automation#type-SetDocumentSelec
tionParams |
| 297 */ |
| 298 chrome.automation.SetDocumentSelectionParams; |
| 299 |
| 300 /** |
| 286 * @constructor | 301 * @constructor |
| 287 * @param {chrome.automation.EventType} type | 302 * @private |
| 288 * @param {chrome.automation.AutomationNode} node | 303 * @see https://developer.chrome.com/extensions/automation#type-AutomationEvent |
| 289 * @param {string} eventFrom | 304 */ |
| 290 */ | 305 chrome.automation.AutomationEvent = function() {}; |
| 291 chrome.automation.AutomationEvent = function(type, node, eventFrom) {}; | 306 |
| 292 | 307 /** |
| 293 /** | 308 * The $(ref:automation.AutomationNode) to which the event was targeted. |
| 294 * @type {!chrome.automation.AutomationNode} | 309 * @type {!chrome.automation.AutomationNode} |
| 310 * @see https://developer.chrome.com/extensions/automation#type-target |
| 295 */ | 311 */ |
| 296 chrome.automation.AutomationEvent.prototype.target; | 312 chrome.automation.AutomationEvent.prototype.target; |
| 297 | 313 |
| 298 /** | 314 /** |
| 315 * The type of the event. |
| 299 * @type {!chrome.automation.EventType} | 316 * @type {!chrome.automation.EventType} |
| 317 * @see https://developer.chrome.com/extensions/automation#type-type |
| 300 */ | 318 */ |
| 301 chrome.automation.AutomationEvent.prototype.type; | 319 chrome.automation.AutomationEvent.prototype.type; |
| 302 | 320 |
| 303 /** | 321 /** |
| 322 * The source of this event. |
| 304 * @type {string} | 323 * @type {string} |
| 324 * @see https://developer.chrome.com/extensions/automation#type-eventFrom |
| 305 */ | 325 */ |
| 306 chrome.automation.AutomationEvent.prototype.eventFrom; | 326 chrome.automation.AutomationEvent.prototype.eventFrom; |
| 307 | 327 |
| 308 /** | 328 /** |
| 309 * @type {number} | 329 * @type {number} |
| 330 * @see https://developer.chrome.com/extensions/automation#type-mouseX |
| 310 */ | 331 */ |
| 311 chrome.automation.AutomationEvent.prototype.mouseX; | 332 chrome.automation.AutomationEvent.prototype.mouseX; |
| 312 | 333 |
| 313 /** | 334 /** |
| 314 * @type {number} | 335 * @type {number} |
| 336 * @see https://developer.chrome.com/extensions/automation#type-mouseY |
| 315 */ | 337 */ |
| 316 chrome.automation.AutomationEvent.prototype.mouseY; | 338 chrome.automation.AutomationEvent.prototype.mouseY; |
| 317 | 339 |
| 340 /** |
| 341 * Stops this event from further processing except for any remaining listeners |
| 342 * on $(ref:AutomationEvent.target). |
| 343 * @see https://developer.chrome.com/extensions/automation#method-stopPropagatio
n |
| 344 */ |
| 318 chrome.automation.AutomationEvent.prototype.stopPropagation = function() {}; | 345 chrome.automation.AutomationEvent.prototype.stopPropagation = function() {}; |
| 319 | 346 |
| 347 |
| 320 /** | 348 /** |
| 321 * @typedef {{ | 349 * @typedef {{ |
| 322 * target: chrome.automation.AutomationNode, | 350 * target: !chrome.automation.AutomationNode, |
| 323 * type: !chrome.automation.TreeChangeType | 351 * type: !chrome.automation.TreeChangeType |
| 324 * }} | 352 * }} |
| 353 * @see https://developer.chrome.com/extensions/automation#type-TreeChange |
| 325 */ | 354 */ |
| 326 chrome.automation.TreeChange; | 355 chrome.automation.TreeChange; |
| 327 | 356 |
| 328 /** | 357 /** |
| 358 * @enum {string} |
| 359 * @see https://developer.chrome.com/extensions/automation#type-TreeChangeObserv
erFilter |
| 360 */ |
| 361 chrome.automation.TreeChangeObserverFilter = { |
| 362 NO_TREE_CHANGES: 'noTreeChanges', |
| 363 LIVE_REGION_TREE_CHANGES: 'liveRegionTreeChanges', |
| 364 TEXT_MARKER_CHANGES: 'textMarkerChanges', |
| 365 ALL_TREE_CHANGES: 'allTreeChanges', |
| 366 }; |
| 367 |
| 368 /** |
| 329 * @constructor | 369 * @constructor |
| 370 * @private |
| 371 * @see https://developer.chrome.com/extensions/automation#type-AutomationNode |
| 330 */ | 372 */ |
| 331 chrome.automation.AutomationNode = function() {}; | 373 chrome.automation.AutomationNode = function() {}; |
| 332 | 374 |
| 333 | 375 /** |
| 334 /** | 376 * The root node of the tree containing this AutomationNode. |
| 377 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 378 * @see https://developer.chrome.com/extensions/automation#type-root |
| 379 */ |
| 380 chrome.automation.AutomationNode.prototype.root; |
| 381 |
| 382 /** |
| 383 * Whether this AutomationNode is a root node. |
| 384 * @type {boolean} |
| 385 * @see https://developer.chrome.com/extensions/automation#type-isRootNode |
| 386 */ |
| 387 chrome.automation.AutomationNode.prototype.isRootNode; |
| 388 |
| 389 /** |
| 390 * The role of this node. |
| 391 * @type {(!chrome.automation.RoleType|undefined)} |
| 392 * @see https://developer.chrome.com/extensions/automation#type-role |
| 393 */ |
| 394 chrome.automation.AutomationNode.prototype.role; |
| 395 |
| 396 /** |
| 397 * The $(ref:automation.StateType)s describing this node. |
| 398 * @type {Object<chrome.automation.StateType, boolean>} |
| 399 * @see https://developer.chrome.com/extensions/automation#type-state |
| 400 */ |
| 401 chrome.automation.AutomationNode.prototype.state; |
| 402 |
| 403 /** |
| 404 * The rendered location (as a bounding box) of this node in global screen coord
inates. |
| 405 * @type {(!chrome.automation.Rect|undefined)} |
| 406 * @see https://developer.chrome.com/extensions/automation#type-location |
| 407 */ |
| 408 chrome.automation.AutomationNode.prototype.location; |
| 409 |
| 410 /** |
| 411 * Computes the bounding box of a subrange of this node in global screen |
| 412 * coordinates. Returns the same as |location| if range information is not |
| 413 * available. The start and end indices are zero-based offsets into the node's |
| 414 * "name" string attribute. |
| 415 * @param {number} startIndex |
| 416 * @param {number} endIndex |
| 417 * @return {!chrome.automation.Rect} |
| 418 * @see https://developer.chrome.com/extensions/automation#method-boundsForRange |
| 419 */ |
| 420 chrome.automation.AutomationNode.prototype.boundsForRange = function(startIndex,
endIndex) {}; |
| 421 |
| 422 /** |
| 423 * The purpose of the node, other than the role, if any. |
| 424 * @type {(string|undefined)} |
| 425 * @see https://developer.chrome.com/extensions/automation#type-description |
| 426 */ |
| 427 chrome.automation.AutomationNode.prototype.description; |
| 428 |
| 429 /** |
| 430 * The placeholder for this text field, if any. |
| 431 * @type {(string|undefined)} |
| 432 * @see https://developer.chrome.com/extensions/automation#type-placeholder |
| 433 */ |
| 434 chrome.automation.AutomationNode.prototype.placeholder; |
| 435 |
| 436 /** |
| 437 * The accessible name for this node, via the <a href="http://www.w3.org/TR/wai-
aria/roles#namecalculation"> Accessible Name Calculation</a> process. |
| 438 * @type {(string|undefined)} |
| 439 * @see https://developer.chrome.com/extensions/automation#type-name |
| 440 */ |
| 441 chrome.automation.AutomationNode.prototype.name; |
| 442 |
| 443 /** |
| 444 * The source of the name. |
| 445 * @type {(!chrome.automation.NameFromType|undefined)} |
| 446 * @see https://developer.chrome.com/extensions/automation#type-nameFrom |
| 447 */ |
| 448 chrome.automation.AutomationNode.prototype.nameFrom; |
| 449 |
| 450 /** |
| 451 * The value for this node: for example the <code>value</code> attribute of an <
code><input> element. |
| 452 * @type {(string|undefined)} |
| 453 * @see https://developer.chrome.com/extensions/automation#type-value |
| 454 */ |
| 455 chrome.automation.AutomationNode.prototype.value; |
| 456 |
| 457 /** |
| 458 * The HTML tag for this element, if this node is an HTML element. |
| 459 * @type {(string|undefined)} |
| 460 * @see https://developer.chrome.com/extensions/automation#type-htmlTag |
| 461 */ |
| 462 chrome.automation.AutomationNode.prototype.htmlTag; |
| 463 |
| 464 /** |
| 465 * The level of a heading or tree item. |
| 466 * @type {(number|undefined)} |
| 467 * @see https://developer.chrome.com/extensions/automation#type-hierarchicalLeve
l |
| 468 */ |
| 469 chrome.automation.AutomationNode.prototype.hierarchicalLevel; |
| 470 |
| 471 /** |
| 472 * The start and end index of each word in an inline text box. |
| 473 * @type {(!Array<number>|undefined)} |
| 474 * @see https://developer.chrome.com/extensions/automation#type-wordStarts |
| 475 */ |
| 476 chrome.automation.AutomationNode.prototype.wordStarts; |
| 477 |
| 478 /** |
| 479 * @type {(!Array<number>|undefined)} |
| 480 * @see https://developer.chrome.com/extensions/automation#type-wordEnds |
| 481 */ |
| 482 chrome.automation.AutomationNode.prototype.wordEnds; |
| 483 |
| 484 /** |
| 485 * The nodes, if any, which this node is specified to control via <a href="http:
//www.w3.org/TR/wai-aria/states_and_properties#aria-controls"> <code>aria-contro
ls</code></a>. |
| 486 * @type {(!Array<!chrome.automation.AutomationNode>|undefined)} |
| 487 * @see https://developer.chrome.com/extensions/automation#type-controls |
| 488 */ |
| 489 chrome.automation.AutomationNode.prototype.controls; |
| 490 |
| 491 /** |
| 492 * The nodes, if any, which form a description for this node. |
| 493 * @type {(!Array<!chrome.automation.AutomationNode>|undefined)} |
| 494 * @see https://developer.chrome.com/extensions/automation#type-describedBy |
| 495 */ |
| 496 chrome.automation.AutomationNode.prototype.describedBy; |
| 497 |
| 498 /** |
| 499 * The nodes, if any, which may optionally be navigated to after this one. See <
a href="http://www.w3.org/TR/wai-aria/states_and_properties#aria-flowto"> <code>
aria-flowto</code></a>. |
| 500 * @type {(!Array<!chrome.automation.AutomationNode>|undefined)} |
| 501 * @see https://developer.chrome.com/extensions/automation#type-flowTo |
| 502 */ |
| 503 chrome.automation.AutomationNode.prototype.flowTo; |
| 504 |
| 505 /** |
| 506 * The nodes, if any, which form a label for this element. Generally, the text f
rom these elements will also be exposed as the element's accessible name, via th
e $(ref:automation.AutomationNode.name) attribute. |
| 507 * @type {(!Array<!chrome.automation.AutomationNode>|undefined)} |
| 508 * @see https://developer.chrome.com/extensions/automation#type-labelledBy |
| 509 */ |
| 510 chrome.automation.AutomationNode.prototype.labelledBy; |
| 511 |
| 512 /** |
| 513 * The node referred to by <code>aria-activedescendant</code>, where applicable |
| 514 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 515 * @see https://developer.chrome.com/extensions/automation#type-activeDescendant |
| 516 */ |
| 517 chrome.automation.AutomationNode.prototype.activeDescendant; |
| 518 |
| 519 /** |
| 520 * The URL that this link will navigate to. |
| 521 * @type {(string|undefined)} |
| 522 * @see https://developer.chrome.com/extensions/automation#type-url |
| 523 */ |
| 524 chrome.automation.AutomationNode.prototype.url; |
| 525 |
| 526 /** |
| 527 * The URL of this document. |
| 528 * @type {(string|undefined)} |
| 529 * @see https://developer.chrome.com/extensions/automation#type-docUrl |
| 530 */ |
| 531 chrome.automation.AutomationNode.prototype.docUrl; |
| 532 |
| 533 /** |
| 534 * The title of this document. |
| 535 * @type {(string|undefined)} |
| 536 * @see https://developer.chrome.com/extensions/automation#type-docTitle |
| 537 */ |
| 538 chrome.automation.AutomationNode.prototype.docTitle; |
| 539 |
| 540 /** |
| 541 * Whether this document has finished loading. |
| 542 * @type {(boolean|undefined)} |
| 543 * @see https://developer.chrome.com/extensions/automation#type-docLoaded |
| 544 */ |
| 545 chrome.automation.AutomationNode.prototype.docLoaded; |
| 546 |
| 547 /** |
| 548 * The proportion (out of 1.0) that this doc has completed loading. |
| 549 * @type {(number|undefined)} |
| 550 * @see https://developer.chrome.com/extensions/automation#type-docLoadingProgre
ss |
| 551 */ |
| 552 chrome.automation.AutomationNode.prototype.docLoadingProgress; |
| 553 |
| 554 /** |
| 555 * Scrollable container attributes. |
| 556 * @type {(number|undefined)} |
| 557 * @see https://developer.chrome.com/extensions/automation#type-scrollX |
| 558 */ |
| 559 chrome.automation.AutomationNode.prototype.scrollX; |
| 560 |
| 561 /** |
| 562 * @type {(number|undefined)} |
| 563 * @see https://developer.chrome.com/extensions/automation#type-scrollXMin |
| 564 */ |
| 565 chrome.automation.AutomationNode.prototype.scrollXMin; |
| 566 |
| 567 /** |
| 568 * @type {(number|undefined)} |
| 569 * @see https://developer.chrome.com/extensions/automation#type-scrollXMax |
| 570 */ |
| 571 chrome.automation.AutomationNode.prototype.scrollXMax; |
| 572 |
| 573 /** |
| 574 * @type {(number|undefined)} |
| 575 * @see https://developer.chrome.com/extensions/automation#type-scrollY |
| 576 */ |
| 577 chrome.automation.AutomationNode.prototype.scrollY; |
| 578 |
| 579 /** |
| 580 * @type {(number|undefined)} |
| 581 * @see https://developer.chrome.com/extensions/automation#type-scrollYMin |
| 582 */ |
| 583 chrome.automation.AutomationNode.prototype.scrollYMin; |
| 584 |
| 585 /** |
| 586 * @type {(number|undefined)} |
| 587 * @see https://developer.chrome.com/extensions/automation#type-scrollYMax |
| 588 */ |
| 589 chrome.automation.AutomationNode.prototype.scrollYMax; |
| 590 |
| 591 /** |
| 592 * The character index of the start of the selection within this editable text e
lement; -1 if no selection. |
| 593 * @type {(number|undefined)} |
| 594 * @see https://developer.chrome.com/extensions/automation#type-textSelStart |
| 595 */ |
| 596 chrome.automation.AutomationNode.prototype.textSelStart; |
| 597 |
| 598 /** |
| 599 * The character index of the end of the selection within this editable text ele
ment; -1 if no selection. |
| 600 * @type {(number|undefined)} |
| 601 * @see https://developer.chrome.com/extensions/automation#type-textSelEnd |
| 602 */ |
| 603 chrome.automation.AutomationNode.prototype.textSelEnd; |
| 604 |
| 605 /** |
| 606 * The input type, like email or number. |
| 607 * @type {(string|undefined)} |
| 608 * @see https://developer.chrome.com/extensions/automation#type-textInputType |
| 609 */ |
| 610 chrome.automation.AutomationNode.prototype.textInputType; |
| 611 |
| 612 /** |
| 613 * An array of indexes of the break between lines in editable text. |
| 614 * @type {!Array<number>} |
| 615 * @see https://developer.chrome.com/extensions/automation#type-lineBreaks |
| 616 */ |
| 617 chrome.automation.AutomationNode.prototype.lineBreaks; |
| 618 |
| 619 /** |
| 620 * An array of indexes of the start position of each text marker. |
| 621 * @type {!Array<number>} |
| 622 * @see https://developer.chrome.com/extensions/automation#type-markerStarts |
| 623 */ |
| 624 chrome.automation.AutomationNode.prototype.markerStarts; |
| 625 |
| 626 /** |
| 627 * An array of indexes of the end position of each text marker. |
| 628 * @type {!Array<number>} |
| 629 * @see https://developer.chrome.com/extensions/automation#type-markerEnds |
| 630 */ |
| 631 chrome.automation.AutomationNode.prototype.markerEnds; |
| 632 |
| 633 /** |
| 634 * An array of numerical types indicating the type of each text marker, such as
a spelling error. |
| 635 * @type {!Array<number>} |
| 636 * @see https://developer.chrome.com/extensions/automation#type-markerTypes |
| 637 */ |
| 638 chrome.automation.AutomationNode.prototype.markerTypes; |
| 639 |
| 640 /** |
| 641 * The anchor node of the tree selection, if any. |
| 642 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 643 * @see https://developer.chrome.com/extensions/automation#type-anchorObject |
| 644 */ |
| 645 chrome.automation.AutomationNode.prototype.anchorObject; |
| 646 |
| 647 /** |
| 648 * The anchor offset of the tree selection, if any. |
| 649 * @type {(number|undefined)} |
| 650 * @see https://developer.chrome.com/extensions/automation#type-anchorOffset |
| 651 */ |
| 652 chrome.automation.AutomationNode.prototype.anchorOffset; |
| 653 |
| 654 /** |
| 655 * The affinity of the tree selection anchor, if any. |
| 656 * @type {(string|undefined)} |
| 657 * @see https://developer.chrome.com/extensions/automation#type-anchorAffinity |
| 658 */ |
| 659 chrome.automation.AutomationNode.prototype.anchorAffinity; |
| 660 |
| 661 /** |
| 662 * The focus node of the tree selection, if any. |
| 663 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 664 * @see https://developer.chrome.com/extensions/automation#type-focusObject |
| 665 */ |
| 666 chrome.automation.AutomationNode.prototype.focusObject; |
| 667 |
| 668 /** |
| 669 * The focus offset of the tree selection, if any. |
| 670 * @type {(number|undefined)} |
| 671 * @see https://developer.chrome.com/extensions/automation#type-focusOffset |
| 672 */ |
| 673 chrome.automation.AutomationNode.prototype.focusOffset; |
| 674 |
| 675 /** |
| 676 * The affinity of the tree selection focus, if any. |
| 677 * @type {(string|undefined)} |
| 678 * @see https://developer.chrome.com/extensions/automation#type-focusAffinity |
| 679 */ |
| 680 chrome.automation.AutomationNode.prototype.focusAffinity; |
| 681 |
| 682 /** |
| 683 * The current value for this range. |
| 684 * @type {(number|undefined)} |
| 685 * @see https://developer.chrome.com/extensions/automation#type-valueForRange |
| 686 */ |
| 687 chrome.automation.AutomationNode.prototype.valueForRange; |
| 688 |
| 689 /** |
| 690 * The minimum possible value for this range. |
| 691 * @type {(number|undefined)} |
| 692 * @see https://developer.chrome.com/extensions/automation#type-minValueForRange |
| 693 */ |
| 694 chrome.automation.AutomationNode.prototype.minValueForRange; |
| 695 |
| 696 /** |
| 697 * The maximum possible value for this range. |
| 698 * @type {(number|undefined)} |
| 699 * @see https://developer.chrome.com/extensions/automation#type-maxValueForRange |
| 700 */ |
| 701 chrome.automation.AutomationNode.prototype.maxValueForRange; |
| 702 |
| 703 /** |
| 704 * The 1-based index of an item in a set. |
| 705 * @type {(number|undefined)} |
| 706 * @see https://developer.chrome.com/extensions/automation#type-posInSet |
| 707 */ |
| 708 chrome.automation.AutomationNode.prototype.posInSet; |
| 709 |
| 710 /** |
| 711 * The number of items in a set; |
| 712 * @type {(number|undefined)} |
| 713 * @see https://developer.chrome.com/extensions/automation#type-setSize |
| 714 */ |
| 715 chrome.automation.AutomationNode.prototype.setSize; |
| 716 |
| 717 /** |
| 718 * The number of rows in this table. |
| 719 * @type {(number|undefined)} |
| 720 * @see https://developer.chrome.com/extensions/automation#type-tableRowCount |
| 721 */ |
| 722 chrome.automation.AutomationNode.prototype.tableRowCount; |
| 723 |
| 724 /** |
| 725 * The number of columns in this table. |
| 726 * @type {(number|undefined)} |
| 727 * @see https://developer.chrome.com/extensions/automation#type-tableColumnCount |
| 728 */ |
| 729 chrome.automation.AutomationNode.prototype.tableColumnCount; |
| 730 |
| 731 /** |
| 732 * The zero-based index of the column that this cell is in. |
| 733 * @type {(number|undefined)} |
| 734 * @see https://developer.chrome.com/extensions/automation#type-tableCellColumnI
ndex |
| 735 */ |
| 736 chrome.automation.AutomationNode.prototype.tableCellColumnIndex; |
| 737 |
| 738 /** |
| 739 * The number of columns that this cell spans (default is 1). |
| 740 * @type {(number|undefined)} |
| 741 * @see https://developer.chrome.com/extensions/automation#type-tableCellColumnS
pan |
| 742 */ |
| 743 chrome.automation.AutomationNode.prototype.tableCellColumnSpan; |
| 744 |
| 745 /** |
| 746 * The zero-based index of the row that this cell is in. |
| 747 * @type {(number|undefined)} |
| 748 * @see https://developer.chrome.com/extensions/automation#type-tableCellRowInde
x |
| 749 */ |
| 750 chrome.automation.AutomationNode.prototype.tableCellRowIndex; |
| 751 |
| 752 /** |
| 753 * The number of rows that this cell spans (default is 1). |
| 754 * @type {(number|undefined)} |
| 755 * @see https://developer.chrome.com/extensions/automation#type-tableCellRowSpan |
| 756 */ |
| 757 chrome.automation.AutomationNode.prototype.tableCellRowSpan; |
| 758 |
| 759 /** |
| 760 * The corresponding column header for this cell. |
| 761 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 762 * @see https://developer.chrome.com/extensions/automation#type-tableColumnHeade
r |
| 763 */ |
| 764 chrome.automation.AutomationNode.prototype.tableColumnHeader; |
| 765 |
| 766 /** |
| 767 * The corresponding row header for this cell. |
| 768 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 769 * @see https://developer.chrome.com/extensions/automation#type-tableRowHeader |
| 770 */ |
| 771 chrome.automation.AutomationNode.prototype.tableRowHeader; |
| 772 |
| 773 /** |
| 774 * The type of region if this is the root of a live region. Possible values are
'polite' and 'assertive'. |
| 775 * @type {(string|undefined)} |
| 776 * @see https://developer.chrome.com/extensions/automation#type-liveStatus |
| 777 */ |
| 778 chrome.automation.AutomationNode.prototype.liveStatus; |
| 779 |
| 780 /** |
| 781 * The value of aria-relevant for a live region. |
| 782 * @type {(string|undefined)} |
| 783 * @see https://developer.chrome.com/extensions/automation#type-liveRelevant |
| 784 */ |
| 785 chrome.automation.AutomationNode.prototype.liveRelevant; |
| 786 |
| 787 /** |
| 788 * The value of aria-atomic for a live region. |
| 789 * @type {(boolean|undefined)} |
| 790 * @see https://developer.chrome.com/extensions/automation#type-liveAtomic |
| 791 */ |
| 792 chrome.automation.AutomationNode.prototype.liveAtomic; |
| 793 |
| 794 /** |
| 795 * The value of aria-busy for a live region. |
| 796 * @type {(boolean|undefined)} |
| 797 * @see https://developer.chrome.com/extensions/automation#type-liveBusy |
| 798 */ |
| 799 chrome.automation.AutomationNode.prototype.liveBusy; |
| 800 |
| 801 /** |
| 802 * The type of live region if this node is inside a live region. |
| 803 * @type {(string|undefined)} |
| 804 * @see https://developer.chrome.com/extensions/automation#type-containerLiveSta
tus |
| 805 */ |
| 806 chrome.automation.AutomationNode.prototype.containerLiveStatus; |
| 807 |
| 808 /** |
| 809 * The value of aria-relevant if this node is inside a live region. |
| 810 * @type {(string|undefined)} |
| 811 * @see https://developer.chrome.com/extensions/automation#type-containerLiveRel
evant |
| 812 */ |
| 813 chrome.automation.AutomationNode.prototype.containerLiveRelevant; |
| 814 |
| 815 /** |
| 816 * The value of aria-atomic if this node is inside a live region. |
| 817 * @type {(boolean|undefined)} |
| 818 * @see https://developer.chrome.com/extensions/automation#type-containerLiveAto
mic |
| 819 */ |
| 820 chrome.automation.AutomationNode.prototype.containerLiveAtomic; |
| 821 |
| 822 /** |
| 823 * The value of aria-busy if this node is inside a live region. |
| 824 * @type {(boolean|undefined)} |
| 825 * @see https://developer.chrome.com/extensions/automation#type-containerLiveBus
y |
| 826 */ |
| 827 chrome.automation.AutomationNode.prototype.containerLiveBusy; |
| 828 |
| 829 /** |
| 830 * A map containing all HTML attributes and their values |
| 831 * @type {Object<string>} |
| 832 * @see https://developer.chrome.com/extensions/automation#type-htmlAttributes |
| 833 */ |
| 834 chrome.automation.AutomationNode.prototype.htmlAttributes; |
| 835 |
| 836 /** |
| 837 * The input type of a text field, such as "text" or "email". |
| 838 * @type {(string|undefined)} |
| 839 * @see https://developer.chrome.com/extensions/automation#type-inputType |
| 840 */ |
| 841 chrome.automation.AutomationNode.prototype.inputType; |
| 842 |
| 843 /** |
| 844 * The key that activates this widget. |
| 845 * @type {(string|undefined)} |
| 846 * @see https://developer.chrome.com/extensions/automation#type-accessKey |
| 847 */ |
| 848 chrome.automation.AutomationNode.prototype.accessKey; |
| 849 |
| 850 /** |
| 851 * The value of the aria-invalid attribute, indicating the error type. |
| 852 * @type {(string|undefined)} |
| 853 * @see https://developer.chrome.com/extensions/automation#type-ariaInvalidValue |
| 854 */ |
| 855 chrome.automation.AutomationNode.prototype.ariaInvalidValue; |
| 856 |
| 857 /** |
| 858 * The value of the aria-readonly attribute, if applicable. |
| 859 * @type {(boolean|undefined)} |
| 860 * @see https://developer.chrome.com/extensions/automation#type-ariaReadonly |
| 861 */ |
| 862 chrome.automation.AutomationNode.prototype.ariaReadonly; |
| 863 |
| 864 /** |
| 865 * The CSS display attribute for this node, if applicable. |
| 866 * @type {(string|undefined)} |
| 867 * @see https://developer.chrome.com/extensions/automation#type-display |
| 868 */ |
| 869 chrome.automation.AutomationNode.prototype.display; |
| 870 |
| 871 /** |
| 872 * A data url with the contents of this object's image or thumbnail. |
| 873 * @type {(string|undefined)} |
| 874 * @see https://developer.chrome.com/extensions/automation#type-imageDataUrl |
| 875 */ |
| 876 chrome.automation.AutomationNode.prototype.imageDataUrl; |
| 877 |
| 878 /** |
| 879 * The language code for this subtree. |
| 880 * @type {(string|undefined)} |
| 881 * @see https://developer.chrome.com/extensions/automation#type-language |
| 882 */ |
| 883 chrome.automation.AutomationNode.prototype.language; |
| 884 |
| 885 /** |
| 886 * If a checkbox or toggle button is in the mixed state. |
| 887 * @type {(boolean|undefined)} |
| 888 * @see https://developer.chrome.com/extensions/automation#type-buttonMixed |
| 889 */ |
| 890 chrome.automation.AutomationNode.prototype.buttonMixed; |
| 891 |
| 892 /** |
| 893 * The RGBA foreground color of this subtree, as an integer. |
| 894 * @type {(number|undefined)} |
| 895 * @see https://developer.chrome.com/extensions/automation#type-color |
| 896 */ |
| 897 chrome.automation.AutomationNode.prototype.color; |
| 898 |
| 899 /** |
| 900 * The RGBA background color of this subtree, as an integer. |
| 901 * @type {(number|undefined)} |
| 902 * @see https://developer.chrome.com/extensions/automation#type-backgroundColor |
| 903 */ |
| 904 chrome.automation.AutomationNode.prototype.backgroundColor; |
| 905 |
| 906 /** |
| 907 * The RGBA color of an input element whose value is a color. |
| 908 * @type {(number|undefined)} |
| 909 * @see https://developer.chrome.com/extensions/automation#type-colorValue |
| 910 */ |
| 911 chrome.automation.AutomationNode.prototype.colorValue; |
| 912 |
| 913 /** |
| 914 * Walking the tree. |
| 915 * @type {!Array<!chrome.automation.AutomationNode>} |
| 916 * @see https://developer.chrome.com/extensions/automation#type-children |
| 917 */ |
| 918 chrome.automation.AutomationNode.prototype.children; |
| 919 |
| 920 /** |
| 921 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 922 * @see https://developer.chrome.com/extensions/automation#type-parent |
| 923 */ |
| 924 chrome.automation.AutomationNode.prototype.parent; |
| 925 |
| 926 /** |
| 927 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 928 * @see https://developer.chrome.com/extensions/automation#type-firstChild |
| 929 */ |
| 930 chrome.automation.AutomationNode.prototype.firstChild; |
| 931 |
| 932 /** |
| 933 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 934 * @see https://developer.chrome.com/extensions/automation#type-lastChild |
| 935 */ |
| 936 chrome.automation.AutomationNode.prototype.lastChild; |
| 937 |
| 938 /** |
| 939 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 940 * @see https://developer.chrome.com/extensions/automation#type-previousSibling |
| 941 */ |
| 942 chrome.automation.AutomationNode.prototype.previousSibling; |
| 943 |
| 944 /** |
| 945 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 946 * @see https://developer.chrome.com/extensions/automation#type-nextSibling |
| 947 */ |
| 948 chrome.automation.AutomationNode.prototype.nextSibling; |
| 949 |
| 950 /** |
| 951 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 952 * @see https://developer.chrome.com/extensions/automation#type-nextOnLine |
| 953 */ |
| 954 chrome.automation.AutomationNode.prototype.nextOnLine; |
| 955 |
| 956 /** |
| 957 * @type {(!chrome.automation.AutomationNode|undefined)} |
| 958 * @see https://developer.chrome.com/extensions/automation#type-previousOnLine |
| 959 */ |
| 960 chrome.automation.AutomationNode.prototype.previousOnLine; |
| 961 |
| 962 /** |
| 963 * The index of this node in its parent node's list of children. If this is the
root node, this will be undefined. |
| 964 * @type {(number|undefined)} |
| 965 * @see https://developer.chrome.com/extensions/automation#type-indexInParent |
| 966 */ |
| 967 chrome.automation.AutomationNode.prototype.indexInParent; |
| 968 |
| 969 /** |
| 970 * Does the default action based on this node's role. This is generally the same |
| 971 * action that would result from clicking the node such as expanding a treeitem, |
| 972 * toggling a checkbox, selecting a radiobutton, or activating a button. |
| 973 * @see https://developer.chrome.com/extensions/automation#method-doDefault |
| 974 */ |
| 975 chrome.automation.AutomationNode.prototype.doDefault = function() {}; |
| 976 |
| 977 /** |
| 978 * Places focus on this node. |
| 979 * @see https://developer.chrome.com/extensions/automation#method-focus |
| 980 */ |
| 981 chrome.automation.AutomationNode.prototype.focus = function() {}; |
| 982 |
| 983 /** |
| 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. |
| 986 * @param {number} maxWidth |
| 987 * @param {number} maxHeight |
| 988 * @see https://developer.chrome.com/extensions/automation#method-getImageData |
| 989 */ |
| 990 chrome.automation.AutomationNode.prototype.getImageData = function(maxWidth, max
Height) {}; |
| 991 |
| 992 /** |
| 993 * Scrolls this node to make it visible. |
| 994 * @see https://developer.chrome.com/extensions/automation#method-makeVisible |
| 995 */ |
| 996 chrome.automation.AutomationNode.prototype.makeVisible = function() {}; |
| 997 |
| 998 /** |
| 999 * Sets selection within a text field. |
| 1000 * @param {number} startIndex |
| 1001 * @param {number} endIndex |
| 1002 * @see https://developer.chrome.com/extensions/automation#method-setSelection |
| 1003 */ |
| 1004 chrome.automation.AutomationNode.prototype.setSelection = function(startIndex, e
ndIndex) {}; |
| 1005 |
| 1006 /** |
| 1007 * Clears focus and sets this node as the starting point for the next time the |
| 1008 * user presses Tab or Shift+Tab. |
| 1009 * @see https://developer.chrome.com/extensions/automation#method-setSequentialF
ocusNavigationStartingPoint |
| 1010 */ |
| 1011 chrome.automation.AutomationNode.prototype.setSequentialFocusNavigationStartingP
oint = function() {}; |
| 1012 |
| 1013 /** |
| 1014 * Show the context menu for this element, as if the user right-clicked. |
| 1015 * @see https://developer.chrome.com/extensions/automation#method-showContextMen
u |
| 1016 */ |
| 1017 chrome.automation.AutomationNode.prototype.showContextMenu = function() {}; |
| 1018 |
| 1019 /** |
| 1020 * Resume playing any media within this tree. |
| 1021 * @see https://developer.chrome.com/extensions/automation#method-resumeMedia |
| 1022 */ |
| 1023 chrome.automation.AutomationNode.prototype.resumeMedia = function() {}; |
| 1024 |
| 1025 /** |
| 1026 * Start ducking any media within this tree. |
| 1027 * @see https://developer.chrome.com/extensions/automation#method-startDuckingMe
dia |
| 1028 */ |
| 1029 chrome.automation.AutomationNode.prototype.startDuckingMedia = function() {}; |
| 1030 |
| 1031 /** |
| 1032 * Stop ducking any media within this tree. |
| 1033 * @see https://developer.chrome.com/extensions/automation#method-stopDuckingMed
ia |
| 1034 */ |
| 1035 chrome.automation.AutomationNode.prototype.stopDuckingMedia = function() {}; |
| 1036 |
| 1037 /** |
| 1038 * Suspend any media playing within this tree. |
| 1039 * @see https://developer.chrome.com/extensions/automation#method-suspendMedia |
| 1040 */ |
| 1041 chrome.automation.AutomationNode.prototype.suspendMedia = function() {}; |
| 1042 |
| 1043 /** |
| 1044 * Adds a listener for the given event type and event phase. |
| 1045 * @param {!chrome.automation.EventType} eventType |
| 1046 * @param {function(!chrome.automation.AutomationEvent):void} listener A |
| 1047 * listener for events on an <code>AutomationNode</code>. |
| 1048 * @param {boolean} capture |
| 1049 * @see https://developer.chrome.com/extensions/automation#method-addEventListen
er |
| 1050 */ |
| 1051 chrome.automation.AutomationNode.prototype.addEventListener = function(eventType
, listener, capture) {}; |
| 1052 |
| 1053 /** |
| 1054 * Removes a listener for the given event type and event phase. |
| 1055 * @param {!chrome.automation.EventType} eventType |
| 1056 * @param {function(!chrome.automation.AutomationEvent):void} listener A |
| 1057 * listener for events on an <code>AutomationNode</code>. |
| 1058 * @param {boolean} capture |
| 1059 * @see https://developer.chrome.com/extensions/automation#method-removeEventLis
tener |
| 1060 */ |
| 1061 chrome.automation.AutomationNode.prototype.removeEventListener = function(eventT
ype, listener, capture) {}; |
| 1062 |
| 1063 /** |
| 1064 * <p>Gets the first node in this node's subtree which matches the given CSS |
| 1065 * selector and is within the same DOM context.</p><p>If this node doesn't |
| 1066 * correspond directly with an HTML node in the DOM, querySelector will be run |
| 1067 * on this node's nearest HTML node ancestor. Note that this may result in the |
| 1068 * query returning a node which is not a descendant of this node.</p><p>If the |
| 1069 * selector matches a node which doesn't directly correspond to an automation |
| 1070 * node (for example an element within an ARIA widget, where the ARIA widget |
| 1071 * forms one node of the automation tree, or an element which is hidden from |
| 1072 * accessibility via hiding it using CSS or using aria-hidden), this will return |
| 1073 * the nearest ancestor which does correspond to an automation node.</p> |
| 1074 * @param {string} selector |
| 1075 * @param {function(!chrome.automation.AutomationNode):void} callback Called |
| 1076 * when the result for a <code>query</code> is available. |
| 1077 * @see https://developer.chrome.com/extensions/automation#method-domQuerySelect
or |
| 1078 */ |
| 1079 chrome.automation.AutomationNode.prototype.domQuerySelector = function(selector,
callback) {}; |
| 1080 |
| 1081 /** |
| 1082 * Finds the first AutomationNode in this node's subtree which matches the given |
| 1083 * search parameters. |
| 1084 * @param {!chrome.automation.FindParams} params |
| 1085 * @return {!chrome.automation.AutomationNode} |
| 1086 * @see https://developer.chrome.com/extensions/automation#method-find |
| 1087 */ |
| 1088 chrome.automation.AutomationNode.prototype.find = function(params) {}; |
| 1089 |
| 1090 /** |
| 1091 * Finds all the AutomationNodes in this node's subtree which matches the given |
| 1092 * search parameters. |
| 1093 * @param {!chrome.automation.FindParams} params |
| 1094 * @return {!Array<!chrome.automation.AutomationNode>} |
| 1095 * @see https://developer.chrome.com/extensions/automation#method-findAll |
| 1096 */ |
| 1097 chrome.automation.AutomationNode.prototype.findAll = function(params) {}; |
| 1098 |
| 1099 /** |
| 1100 * Returns whether this node matches the given $(ref:automation.FindParams). |
| 1101 * @param {!chrome.automation.FindParams} params |
| 1102 * @return {boolean} |
| 1103 * @see https://developer.chrome.com/extensions/automation#method-matches |
| 1104 */ |
| 1105 chrome.automation.AutomationNode.prototype.matches = function(params) {}; |
| 1106 |
| 1107 |
| 1108 /** |
| 1109 * Get the automation tree for the tab with the given tabId, or the current tab |
| 1110 * if no tabID is given, enabling automation if necessary. Returns a tree with a |
| 1111 * placeholder root node; listen for the "loadComplete" event to get a |
| 1112 * notification that the tree has fully loaded (the previous root node reference |
| 1113 * will stop working at or before this point). |
| 335 * @param {number} tabId | 1114 * @param {number} tabId |
| 336 * @param {function(chrome.automation.AutomationNode):void} callback | 1115 * @param {function(!chrome.automation.AutomationNode):void} callback Called |
| 1116 * when the <code>AutomationNode</code> for the page is available. |
| 1117 * @see https://developer.chrome.com/extensions/automation#method-getTree |
| 337 */ | 1118 */ |
| 338 chrome.automation.getTree = function(tabId, callback) {}; | 1119 chrome.automation.getTree = function(tabId, callback) {}; |
| 339 | 1120 |
| 340 /** @param {function(!chrome.automation.AutomationNode):void} callback */ | 1121 /** |
| 1122 * Get the automation tree for the whole desktop which consists of all on screen |
| 1123 * views. Note this API is currently only supported on Chrome OS. |
| 1124 * @param {function(!chrome.automation.AutomationNode):void} callback Called |
| 1125 * when the <code>AutomationNode</code> for the page is available. |
| 1126 * @see https://developer.chrome.com/extensions/automation#method-getDesktop |
| 1127 */ |
| 341 chrome.automation.getDesktop = function(callback) {}; | 1128 chrome.automation.getDesktop = function(callback) {}; |
| 342 | 1129 |
| 343 /** @param {function(!chrome.automation.AutomationNode):void} callback */ | 1130 /** |
| 1131 * Get the automation node that currently has focus, globally. Will return null |
| 1132 * if none of the nodes in any loaded trees have focus. |
| 1133 * @param {function(!chrome.automation.AutomationNode):void} callback Called |
| 1134 * with the <code>AutomationNode</code> that currently has focus. |
| 1135 * @see https://developer.chrome.com/extensions/automation#method-getFocus |
| 1136 */ |
| 344 chrome.automation.getFocus = function(callback) {}; | 1137 chrome.automation.getFocus = function(callback) {}; |
| 345 | 1138 |
| 346 /** | 1139 /** |
| 347 * @param {string} filter | 1140 * Add a tree change observer. Tree change observers are static/global, they |
| 348 * @param {function(chrome.automation.TreeChange) : void} | 1141 * listen to changes across all trees. Pass a filter to determine what specific |
| 349 * observer | 1142 * tree changes to listen to, and note that listnening to all tree changes can |
| 1143 * be expensive. |
| 1144 * @param {!chrome.automation.TreeChangeObserverFilter} filter |
| 1145 * @param {function(!chrome.automation.TreeChange):void} observer A listener for |
| 1146 * changes on the <code>AutomationNode</code> tree. |
| 1147 * @see https://developer.chrome.com/extensions/automation#method-addTreeChangeO
bserver |
| 350 */ | 1148 */ |
| 351 chrome.automation.addTreeChangeObserver = function(filter, observer) {}; | 1149 chrome.automation.addTreeChangeObserver = function(filter, observer) {}; |
| 352 | 1150 |
| 353 /** | 1151 /** |
| 354 * @param {function(chrome.automation.TreeChange) : void} observer | 1152 * Remove a tree change observer. |
| 1153 * @param {function(!chrome.automation.TreeChange):void} observer A listener for |
| 1154 * changes on the <code>AutomationNode</code> tree. |
| 1155 * @see https://developer.chrome.com/extensions/automation#method-removeTreeChan
geObserver |
| 355 */ | 1156 */ |
| 356 chrome.automation.removeTreeChangeObserver = function(observer) {}; | 1157 chrome.automation.removeTreeChangeObserver = function(observer) {}; |
| 357 | 1158 |
| 358 // | 1159 /** |
| 359 // End auto generated externs; do not edit. | 1160 * Sets the selection in a tree. This creates a selection in a single tree |
| 360 // | 1161 * (anchorObject and focusObject must have the same root). Everything in the |
| 361 | 1162 * tree between the two node/offset pairs gets included in the selection. The |
| 362 | 1163 * anchor is where the user started the selection, while the focus is the point |
| 363 | 1164 * at which the selection gets extended e.g. when dragging with a mouse or using |
| 364 /** | 1165 * the keyboard. For nodes with the role staticText, the offset gives the |
| 365 * @type {chrome.automation.RoleType} | 1166 * character offset within the value where the selection starts or ends, |
| 366 */ | 1167 * respectively. |
| 367 chrome.automation.AutomationNode.prototype.role; | 1168 * @param {!chrome.automation.SetDocumentSelectionParams} params |
| 368 | 1169 * @see https://developer.chrome.com/extensions/automation#method-setDocumentSel
ection |
| 369 | 1170 */ |
| 370 /** | 1171 chrome.automation.setDocumentSelection = function(params) {}; |
| 371 * @type {!Object<chrome.automation.StateType, boolean>} | |
| 372 */ | |
| 373 chrome.automation.AutomationNode.prototype.state; | |
| 374 | |
| 375 | |
| 376 /** | |
| 377 * @type {chrome.automation.NameFromType} | |
| 378 */ | |
| 379 chrome.automation.AutomationNode.prototype.nameFrom; | |
| 380 | |
| 381 | |
| 382 /** | |
| 383 * @type {chrome.automation.DescriptionFromType} | |
| 384 */ | |
| 385 chrome.automation.AutomationNode.prototype.descriptionFrom; | |
| 386 | |
| 387 | |
| 388 /** | |
| 389 * @type {number} | |
| 390 */ | |
| 391 chrome.automation.AutomationNode.prototype.indexInParent; | |
| 392 | |
| 393 | |
| 394 /** | |
| 395 * @type {string} | |
| 396 */ | |
| 397 chrome.automation.AutomationNode.prototype.name; | |
| 398 | |
| 399 /** | |
| 400 * @type {string} | |
| 401 */ | |
| 402 chrome.automation.AutomationNode.prototype.description; | |
| 403 | |
| 404 | |
| 405 /** | |
| 406 * @type {string} | |
| 407 */ | |
| 408 chrome.automation.AutomationNode.prototype.url; | |
| 409 | |
| 410 | |
| 411 /** | |
| 412 * @type {string} | |
| 413 */ | |
| 414 chrome.automation.AutomationNode.prototype.docUrl; | |
| 415 | |
| 416 | |
| 417 /** | |
| 418 * @type {string} | |
| 419 */ | |
| 420 chrome.automation.AutomationNode.prototype.value; | |
| 421 | |
| 422 | |
| 423 /** | |
| 424 * @type {number} | |
| 425 */ | |
| 426 chrome.automation.AutomationNode.prototype.textSelStart; | |
| 427 | |
| 428 | |
| 429 /** | |
| 430 * @type {number} | |
| 431 */ | |
| 432 chrome.automation.AutomationNode.prototype.textSelEnd; | |
| 433 | |
| 434 | |
| 435 /** | |
| 436 * @type {Array<number>} | |
| 437 */ | |
| 438 chrome.automation.AutomationNode.prototype.wordStarts; | |
| 439 | |
| 440 | |
| 441 /** | |
| 442 * @type {Array<number>} | |
| 443 */ | |
| 444 chrome.automation.AutomationNode.prototype.wordEnds; | |
| 445 | |
| 446 | |
| 447 /** | |
| 448 * @type {chrome.automation.AutomationRootNode} | |
| 449 */ | |
| 450 chrome.automation.AutomationNode.prototype.root; | |
| 451 | |
| 452 | |
| 453 /** | |
| 454 * @type {chrome.automation.AutomationNode} | |
| 455 */ | |
| 456 chrome.automation.AutomationNode.prototype.firstChild; | |
| 457 | |
| 458 | |
| 459 /** | |
| 460 * @type {chrome.automation.AutomationNode} | |
| 461 */ | |
| 462 chrome.automation.AutomationNode.prototype.lastChild; | |
| 463 | |
| 464 | |
| 465 /** | |
| 466 * @type {chrome.automation.AutomationNode} | |
| 467 */ | |
| 468 chrome.automation.AutomationNode.prototype.nextSibling; | |
| 469 | |
| 470 | |
| 471 /** | |
| 472 * @type {chrome.automation.AutomationNode} | |
| 473 */ | |
| 474 chrome.automation.AutomationNode.prototype.previousSibling; | |
| 475 | |
| 476 | |
| 477 /** | |
| 478 * @type {chrome.automation.AutomationNode} | |
| 479 */ | |
| 480 chrome.automation.AutomationNode.prototype.parent; | |
| 481 | |
| 482 | |
| 483 /** | |
| 484 * @type {!Array<chrome.automation.AutomationNode>} | |
| 485 */ | |
| 486 chrome.automation.AutomationNode.prototype.children; | |
| 487 | |
| 488 | |
| 489 /** | |
| 490 * @type {{top: number, left: number, height: number, width: number}|undefined} | |
| 491 */ | |
| 492 chrome.automation.AutomationNode.prototype.location; | |
| 493 | |
| 494 | |
| 495 /** | |
| 496 * @param {number} start | |
| 497 * @param {number} end | |
| 498 * @return { | |
| 499 * ({top: number, left: number, height: number, width: number})|undefined} | |
| 500 */ | |
| 501 chrome.automation.AutomationNode.prototype.boundsForRange = | |
| 502 function(start, end) {}; | |
| 503 | |
| 504 | |
| 505 chrome.automation.AutomationNode.prototype.makeVisible = function() {}; | |
| 506 | |
| 507 | |
| 508 /** | |
| 509 * @param {chrome.automation.EventType} eventType | |
| 510 * @param {function(!chrome.automation.AutomationEvent) : void} callback | |
| 511 * @param {boolean} capture | |
| 512 */ | |
| 513 chrome.automation.AutomationNode.prototype.addEventListener = | |
| 514 function(eventType, callback, capture) {}; | |
| 515 | |
| 516 | |
| 517 /** | |
| 518 * @param {chrome.automation.EventType} eventType | |
| 519 * @param {function(!chrome.automation.AutomationEvent) : void} callback | |
| 520 * @param {boolean} capture | |
| 521 */ | |
| 522 chrome.automation.AutomationNode.prototype.removeEventListener = | |
| 523 function(eventType, callback, capture) {}; | |
| 524 | |
| 525 | |
| 526 /** | |
| 527 * @type {chrome.automation.AutomationNode} | |
| 528 */ | |
| 529 chrome.automation.TreeChange.prototype.target; | |
| 530 | |
| 531 | |
| 532 /** | |
| 533 * @type {chrome.automation.TreeChangeType} | |
| 534 */ | |
| 535 chrome.automation.TreeChange.prototype.type; | |
| 536 | |
| 537 | |
| 538 chrome.automation.AutomationNode.prototype.doDefault = function() {}; | |
| 539 | |
| 540 | |
| 541 chrome.automation.AutomationNode.prototype.focus = function() {}; | |
| 542 | |
| 543 | |
| 544 chrome.automation.AutomationNode.prototype.showContextMenu = function() {}; | |
| 545 | |
| 546 | |
| 547 chrome.automation.AutomationNode.prototype | |
| 548 .setSequentialFocusNavigationStartingPoint = function() {}; | |
| 549 | |
| 550 | |
| 551 /** | |
| 552 * @param {number} start | |
| 553 * @param {number} end | |
| 554 */ | |
| 555 chrome.automation.AutomationNode.prototype.setSelection = | |
| 556 function(start, end) {}; | |
| 557 | |
| 558 /** @type {string} */ | |
| 559 chrome.automation.AutomationNode.prototype.containerLiveStatus; | |
| 560 | |
| 561 /** @type {string} */ | |
| 562 chrome.automation.AutomationNode.prototype.containerLiveRelevant; | |
| 563 | |
| 564 /** @type {boolean} */ | |
| 565 chrome.automation.AutomationNode.prototype.containerLiveAtomic; | |
| 566 | |
| 567 /** @type {boolean} */ | |
| 568 chrome.automation.AutomationNode.prototype.containerLiveBusy; | |
| 569 | |
| 570 /** @type {string} */ | |
| 571 chrome.automation.AutomationNode.prototype.language; | |
| 572 | |
| 573 /** @type {string} */ | |
| 574 chrome.automation.AutomationNode.prototype.liveStatus; | |
| 575 | |
| 576 /** @type {string} */ | |
| 577 chrome.automation.AutomationNode.prototype.liveRelevant; | |
| 578 | |
| 579 /** @type {boolean} */ | |
| 580 chrome.automation.AutomationNode.prototype.liveAtomic; | |
| 581 | |
| 582 /** @type {boolean} */ | |
| 583 chrome.automation.AutomationNode.prototype.liveBusy; | |
| 584 | |
| 585 | |
| 586 /** | |
| 587 * @param {Object} findParams | |
| 588 */ | |
| 589 chrome.automation.AutomationNode.prototype.find = function(findParams) {}; | |
| 590 | |
| 591 /** | |
| 592 * @param {Object} findParams | |
| 593 * @return {Array<chrome.automation.AutomationNode>} | |
| 594 */ | |
| 595 chrome.automation.AutomationNode.prototype.findAll = function(findParams) {}; | |
| 596 | |
| 597 /** | |
| 598 * @type {string} | |
| 599 */ | |
| 600 chrome.automation.AutomationNode.prototype.inputType; | |
| 601 | |
| 602 /** | |
| 603 * @type {(chrome.automation.AutomationNode|undefined)} | |
| 604 */ | |
| 605 chrome.automation.AutomationNode.prototype.anchorObject; | |
| 606 | |
| 607 /** | |
| 608 * @param {{anchorObject: !chrome.automation.AutomationNode, | |
| 609 * anchorOffset: number, | |
| 610 * focusObject: !chrome.automation.AutomationNode, | |
| 611 * focusOffset: number}} selectionParams | |
| 612 */ | |
| 613 chrome.automation.setDocumentSelection = function(selectionParams) {}; | |
| 614 | |
| 615 /** | |
| 616 * @type {(number|undefined)} | |
| 617 */ | |
| 618 chrome.automation.anchorOffset; | |
| 619 | |
| 620 /** | |
| 621 * @type {(chrome.automation.AutomationNode|undefined)} | |
| 622 */ | |
| 623 chrome.automation.AutomationNode.prototype.focusObject; | |
| 624 | |
| 625 /** | |
| 626 * @type {(Array<number>|undefined)} | |
| 627 */ | |
| 628 chrome.automation.AutomationNode.prototype.lineBreaks; | |
| 629 | |
| 630 /** | |
| 631 * @type {(number|undefined)} | |
| 632 */ | |
| 633 chrome.automation.focusOffset; | |
| 634 | |
| 635 /** | |
| 636 * @type {(chrome.automation.AutomationNode|undefined)} | |
| 637 */ | |
| 638 chrome.automation.AutomationNode.prototype.activeDescendant; | |
| 639 | |
| 640 /** @type {number} */ | |
| 641 chrome.automation.AutomationNode.prototype.tableCellColumnIndex; | |
| 642 | |
| 643 /** @type {number} */ | |
| 644 chrome.automation.AutomationNode.prototype.tableCellRowIndex; | |
| 645 | |
| 646 /** @type {number} */ | |
| 647 chrome.automation.AutomationNode.prototype.tableColumnCount; | |
| 648 | |
| 649 /** @type {number} */ | |
| 650 chrome.automation.AutomationNode.prototype.tableRowCount; | |
| 651 | |
| 652 /** @type {number} */ | |
| 653 chrome.automation.AutomationNode.prototype.hierarchicalLevel; | |
| 654 | |
| 655 /** @type {Array<number>} */ | |
| 656 chrome.automation.AutomationNode.prototype.markerTypes; | |
| 657 /** @type {Array<number>} */ | |
| 658 chrome.automation.AutomationNode.prototype.markerStarts; | |
| 659 /** @type {Array<number>} */ | |
| 660 chrome.automation.AutomationNode.prototype.markerEnds; | |
| 661 | |
| 662 /** @type {boolean} */ | |
| 663 chrome.automation.AutomationNode.prototype.ariaReadonly; | |
| 664 | |
| 665 /** @type {chrome.automation.AutomationNode} */ | |
| 666 chrome.automation.AutomationNode.prototype.nextOnLine; | |
| 667 /** @type {chrome.automation.AutomationNode} */ | |
| 668 chrome.automation.AutomationNode.prototype.previousOnLine; | |
| 669 | |
| 670 /** @type {Object<string, string>} */ | |
| 671 chrome.automation.AutomationNode.prototype.htmlAttributes; | |
| 672 | |
| 673 /** | |
| 674 * @extends {chrome.automation.AutomationNode} | |
| 675 * @constructor | |
| 676 */ | |
| 677 chrome.automation.AutomationRootNode = function() {}; | |
| 678 | |
| 679 /** | |
| 680 * @type {chrome.automation.AutomationNode} | |
| 681 */ | |
| 682 chrome.automation.AutomationRootNode.prototype.anchorObject; | |
| 683 | |
| 684 /** | |
| 685 * @type {number} | |
| 686 */ | |
| 687 chrome.automation.AutomationRootNode.prototype.anchorOffset; | |
| 688 | |
| 689 /** | |
| 690 * @type {chrome.automation.AutomationNode} | |
| 691 */ | |
| 692 chrome.automation.AutomationRootNode.prototype.focusObject; | |
| 693 | |
| 694 /** | |
| 695 * @type {number} | |
| 696 */ | |
| 697 chrome.automation.AutomationRootNode.prototype.focusOffset; | |
| OLD | NEW |