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

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

Issue 608853006: Reland fix ChromeVox Next compile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Address nits. Created 6 years, 2 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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 950
951 951
952 /** 952 /**
953 * @param {Function} callback 953 * @param {Function} callback
954 * @return {boolean} 954 * @return {boolean}
955 */ 955 */
956 ChromeEvent.prototype.hasListener = function(callback) {}; 956 ChromeEvent.prototype.hasListener = function(callback) {};
957 957
958 958
959 /** @return {boolean} */ 959 /** @return {boolean} */
960 ChromeEvent.prototype.hasListeners = function(callback) {}; 960 ChromeEvent.prototype.hasListeners = function() {};
961 961
962 962
963 /** 963 /**
964 * @constructor 964 * @constructor
965 */ 965 */
966 function Port() {} 966 function Port() {}
967 967
968 968
969 /** @type {string} */ 969 /** @type {string} */
970 Port.prototype.name; 970 Port.prototype.name;
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1202 * @param {string|!Object|null} keys 1202 * @param {string|!Object|null} keys
1203 * @param {function()=} opt_callback 1203 * @param {function()=} opt_callback
1204 */ 1204 */
1205 chrome.storage.local.remove = function(keys, opt_callback) {}; 1205 chrome.storage.local.remove = function(keys, opt_callback) {};
1206 1206
1207 1207
1208 /** 1208 /**
1209 * @type {ChromeEvent} 1209 * @type {ChromeEvent}
1210 */ 1210 */
1211 chrome.storage.onChanged; 1211 chrome.storage.onChanged;
1212
1213
1214 /**
1215 * @const
1216 */
1217 chrome.automation = {};
1218
1219 /**
1220 * @constructor
1221 */
1222 chrome.automation.AutomationNode = function() {};
1223
1224
1225 /**
1226 * @type {!Object}
1227 */
1228 chrome.automation.AutomationNode.prototype.attributes;
1229
1230
1231 /**
1232 * @return {chrome.automation.AutomationNode}
1233 */
1234 chrome.automation.AutomationNode.prototype.firstChild = function() {};
1235
1236
1237 /**
1238 * @return {chrome.automation.AutomationNode}
1239 */
1240 chrome.automation.AutomationNode.prototype.lastChild = function() {};
1241
1242
1243 /**
1244 * @return {chrome.automation.AutomationNode}
1245 */
1246 chrome.automation.AutomationNode.prototype.nextSibling = function() {};
1247
1248
1249 /**
1250 * @return {chrome.automation.AutomationNode}
1251 */
1252 chrome.automation.AutomationNode.prototype.previousSibling = function() {};
1253
1254
1255 /**
1256 * @return {chrome.automation.AutomationNode}
1257 */
1258 chrome.automation.AutomationNode.prototype.parent = function() {};
1259
1260
1261 /**
1262 * @param {chrome.automation.EventType} eventType
1263 * @param {function(chrome.automation.AutomationNode) : void} callback
1264 * @param {boolean} capture
1265 */
1266 chrome.automation.AutomationNode.prototype.addEventListener =
1267 function(eventType, callback, capture) {};
1268
1269
1270 /**
1271 * @param {chrome.automation.EventType} eventType
1272 * @param {function(chrome.automation.AutomationNode) : void} callback
1273 * @param {boolean} capture
1274 */
1275 chrome.automation.AutomationNode.prototype.removeEventListener =
1276 function(eventType, callback, capture) {};
1277
1278
1279 /**
1280 * @param {function(chrome.automation.AutomationNode)} callback
1281 */
1282 chrome.automation.getDesktop = function(callback) {};
1283
1284
1285 /**
1286 * @param {function(chrome.automation.AutomationNode)} callback
1287 */
1288 chrome.automation.getTree = function(callback) {};
1289
1290
1291 /**
1292 * @const
1293 */
1294 chrome.commands = {};
1295
1296
1297 /**
1298 * @type {ChromeEvent}
1299 */
1300 chrome.commands.onCommand;
1301
1302
1303 // Begin auto generated externs; do not edit.
1304 // The following was generated from tools/json_schema_compiler/compiler.py.
1305 /**
1306 * Possible events fired on an $(ref:automation.AutomationNode).
1307 * @enum {string}
1308 */
1309 chrome.automation.EventType = {
1310 activedescendantchanged: 'activedescendantchanged',
1311 alert: 'alert',
1312 ariaAttributeChanged: 'ariaAttributeChanged',
1313 autocorrectionOccured: 'autocorrectionOccured',
1314 blur: 'blur',
1315 checkedStateChanged: 'checkedStateChanged',
1316 childrenChanged: 'childrenChanged',
1317 focus: 'focus',
1318 hide: 'hide',
1319 hover: 'hover',
1320 invalidStatusChanged: 'invalidStatusChanged',
1321 layoutComplete: 'layoutComplete',
1322 liveRegionChanged: 'liveRegionChanged',
1323 loadComplete: 'loadComplete',
1324 locationChanged: 'locationChanged',
1325 menuEnd: 'menuEnd',
1326 menuListItemSelected: 'menuListItemSelected',
1327 menuListValueChanged: 'menuListValueChanged',
1328 menuPopupEnd: 'menuPopupEnd',
1329 menuPopupStart: 'menuPopupStart',
1330 menuStart: 'menuStart',
1331 rowCollapsed: 'rowCollapsed',
1332 rowCountChanged: 'rowCountChanged',
1333 rowExpanded: 'rowExpanded',
1334 scrollPositionChanged: 'scrollPositionChanged',
1335 scrolledToAnchor: 'scrolledToAnchor',
1336 selectedChildrenChanged: 'selectedChildrenChanged',
1337 selectedTextChanged: 'selectedTextChanged',
1338 selection: 'selection',
1339 selectionAdd: 'selectionAdd',
1340 selectionRemove: 'selectionRemove',
1341 show: 'show',
1342 textChanged: 'textChanged',
1343 textInserted: 'textInserted',
1344 textRemoved: 'textRemoved',
1345 textSelectionChanged: 'textSelectionChanged',
1346 valueChanged: 'valueChanged'
1347 };
1348 /**
1349 * Describes the purpose of an $(ref:automation.AutomationNode).
1350 * @enum {string}
1351 */
1352 chrome.automation.RoleType = {
1353 alertDialog: 'alertDialog',
1354 alert: 'alert',
1355 annotation: 'annotation',
1356 application: 'application',
1357 article: 'article',
1358 banner: 'banner',
1359 browser: 'browser',
1360 busyIndicator: 'busyIndicator',
1361 button: 'button',
1362 buttonDropDown: 'buttonDropDown',
1363 canvas: 'canvas',
1364 cell: 'cell',
1365 checkBox: 'checkBox',
1366 client: 'client',
1367 colorWell: 'colorWell',
1368 columnHeader: 'columnHeader',
1369 column: 'column',
1370 comboBox: 'comboBox',
1371 complementary: 'complementary',
1372 contentInfo: 'contentInfo',
1373 definition: 'definition',
1374 descriptionListDetail: 'descriptionListDetail',
1375 descriptionListTerm: 'descriptionListTerm',
1376 desktop: 'desktop',
1377 dialog: 'dialog',
1378 directory: 'directory',
1379 disclosureTriangle: 'disclosureTriangle',
1380 div: 'div',
1381 document: 'document',
1382 drawer: 'drawer',
1383 editableText: 'editableText',
1384 embeddedObject: 'embeddedObject',
1385 footer: 'footer',
1386 form: 'form',
1387 grid: 'grid',
1388 group: 'group',
1389 growArea: 'growArea',
1390 heading: 'heading',
1391 helpTag: 'helpTag',
1392 horizontalRule: 'horizontalRule',
1393 iframe: 'iframe',
1394 ignored: 'ignored',
1395 imageMapLink: 'imageMapLink',
1396 imageMap: 'imageMap',
1397 image: 'image',
1398 incrementor: 'incrementor',
1399 inlineTextBox: 'inlineTextBox',
1400 labelText: 'labelText',
1401 legend: 'legend',
1402 link: 'link',
1403 listBoxOption: 'listBoxOption',
1404 listBox: 'listBox',
1405 listItem: 'listItem',
1406 listMarker: 'listMarker',
1407 list: 'list',
1408 locationBar: 'locationBar',
1409 log: 'log',
1410 main: 'main',
1411 marquee: 'marquee',
1412 mathElement: 'mathElement',
1413 math: 'math',
1414 matte: 'matte',
1415 menuBar: 'menuBar',
1416 menuButton: 'menuButton',
1417 menuItem: 'menuItem',
1418 menuListOption: 'menuListOption',
1419 menuListPopup: 'menuListPopup',
1420 menu: 'menu',
1421 navigation: 'navigation',
1422 note: 'note',
1423 outline: 'outline',
1424 pane: 'pane',
1425 paragraph: 'paragraph',
1426 popUpButton: 'popUpButton',
1427 presentational: 'presentational',
1428 progressIndicator: 'progressIndicator',
1429 radioButton: 'radioButton',
1430 radioGroup: 'radioGroup',
1431 region: 'region',
1432 rootWebArea: 'rootWebArea',
1433 rowHeader: 'rowHeader',
1434 row: 'row',
1435 rulerMarker: 'rulerMarker',
1436 ruler: 'ruler',
1437 svgRoot: 'svgRoot',
1438 scrollArea: 'scrollArea',
1439 scrollBar: 'scrollBar',
1440 seamlessWebArea: 'seamlessWebArea',
1441 search: 'search',
1442 sheet: 'sheet',
1443 slider: 'slider',
1444 sliderThumb: 'sliderThumb',
1445 spinButtonPart: 'spinButtonPart',
1446 spinButton: 'spinButton',
1447 splitGroup: 'splitGroup',
1448 splitter: 'splitter',
1449 staticText: 'staticText',
1450 status: 'status',
1451 systemWide: 'systemWide',
1452 tabGroup: 'tabGroup',
1453 tabList: 'tabList',
1454 tabPanel: 'tabPanel',
1455 tab: 'tab',
1456 tableHeaderContainer: 'tableHeaderContainer',
1457 table: 'table',
1458 textArea: 'textArea',
1459 textField: 'textField',
1460 timer: 'timer',
1461 titleBar: 'titleBar',
1462 toggleButton: 'toggleButton',
1463 toolbar: 'toolbar',
1464 treeGrid: 'treeGrid',
1465 treeItem: 'treeItem',
1466 tree: 'tree',
1467 unknown: 'unknown',
1468 tooltip: 'tooltip',
1469 valueIndicator: 'valueIndicator',
1470 webArea: 'webArea',
1471 window: 'window'
1472 };
1473 /**
1474 * Describes characteristics of an $(ref:automation.AutomationNode).
1475 * @enum {string}
1476 */
1477 chrome.automation.StateType = {
1478 busy: 'busy',
1479 checked: 'checked',
1480 collapsed: 'collapsed',
1481 default: 'default',
1482 disabled: 'disabled',
1483 editable: 'editable',
1484 enabled: 'enabled',
1485 expanded: 'expanded',
1486 focusable: 'focusable',
1487 focused: 'focused',
1488 haspopup: 'haspopup',
1489 hovered: 'hovered',
1490 indeterminate: 'indeterminate',
1491 invisible: 'invisible',
1492 linked: 'linked',
1493 multiselectable: 'multiselectable',
1494 offscreen: 'offscreen',
1495 pressed: 'pressed',
1496 protected: 'protected',
1497 readOnly: 'readOnly',
1498 required: 'required',
1499 selectable: 'selectable',
1500 selected: 'selected',
1501 vertical: 'vertical',
1502 visited: 'visited'
1503 };
1504 // End auto generated externs; do not edit.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698