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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js

Issue 1866043004: Add a nameFromNode attrib to link output rule (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 5
6 /** 6 /**
7 * @fileoverview Definitions for the Chromium extensions API used by ChromeVox. 7 * @fileoverview Definitions for the Chromium extensions API used by ChromeVox.
8 * 8 *
9 * @externs 9 * @externs
10 */ 10 */
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 readOnly: '', 223 readOnly: '',
224 required: '', 224 required: '',
225 richlyEditable: '', 225 richlyEditable: '',
226 selectable: '', 226 selectable: '',
227 selected: '', 227 selected: '',
228 vertical: '', 228 vertical: '',
229 visited: '', 229 visited: '',
230 }; 230 };
231 231
232 /** 232 /**
233 * @enum {number}
234 */
235 chrome.automation.NameFromType = {
236 0: '',
237 1: 'nameFromUninitialized',
238 2: 'nameFromAttribute',
239 3: 'nameFromContents',
240 4: 'nameFromPlaceholder',
241 5: 'nameFromRelatedElement',
242 6: 'nameFromValue'
243 };
244
245 /**
246 * @enum {number}
247 */
248 chrome.automation.DescriptionFromType = {
249 0: '',
250 1: 'descriptionFromUninitialized',
251 2: 'descriptionFromAttribute',
252 3: 'descriptionFromContents',
253 4: 'descriptionFromPlaceholder',
254 5: 'descriptionFromRelatedElement'
255 };
256
257 /**
233 * @enum {string} 258 * @enum {string}
234 */ 259 */
235 chrome.automation.TreeChangeType = { 260 chrome.automation.TreeChangeType = {
236 nodeCreated: 'nodeCreated', 261 nodeCreated: 'nodeCreated',
237 subtreeCreated: 'subtreeCreated', 262 subtreeCreated: 'subtreeCreated',
238 nodeChanged: 'nodeChanged', 263 nodeChanged: 'nodeChanged',
239 nodeRemoved: 'nodeRemoved', 264 nodeRemoved: 'nodeRemoved',
240 }; 265 };
241 266
242 /** 267 /**
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 chrome.automation.AutomationNode.prototype.role; 350 chrome.automation.AutomationNode.prototype.role;
326 351
327 352
328 /** 353 /**
329 * @type {!Object<chrome.automation.StateType, boolean>} 354 * @type {!Object<chrome.automation.StateType, boolean>}
330 */ 355 */
331 chrome.automation.AutomationNode.prototype.state; 356 chrome.automation.AutomationNode.prototype.state;
332 357
333 358
334 /** 359 /**
360 * @type {chrome.automation.NameFromType}
361 */
362 chrome.automation.AutomationNode.prototype.nameFrom;
363
364
365 /**
366 * @type {chrome.automation.DescriptionFromType}
367 */
368 chrome.automation.AutomationNode.prototype.DescriptionFrom;
dmazzoni 2016/04/19 18:26:17 lowercase d in descriptionFrom
369
370
371 /**
335 * @type {number} 372 * @type {number}
336 */ 373 */
337 chrome.automation.AutomationNode.prototype.indexInParent; 374 chrome.automation.AutomationNode.prototype.indexInParent;
338 375
339 376
340 /** 377 /**
341 * @type {string} 378 * @type {string}
342 */ 379 */
343 chrome.automation.AutomationNode.prototype.name; 380 chrome.automation.AutomationNode.prototype.name;
344 381
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 */ 598 */
562 chrome.automation.AutomationNode.prototype.lineBreaks; 599 chrome.automation.AutomationNode.prototype.lineBreaks;
563 600
564 /** 601 /**
565 * @type {(number|undefined)} 602 * @type {(number|undefined)}
566 */ 603 */
567 chrome.automation.focusOffset; 604 chrome.automation.focusOffset;
568 605
569 /** @type {function() : !Object} */ 606 /** @type {function() : !Object} */
570 chrome.app.getDetails; 607 chrome.app.getDetails;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698