google-closure-compiler 20180910.1.0 → 20181008.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler.jar +0 -0
- package/contrib/externs/angular-material-1.1.js +12 -0
- package/contrib/externs/chai-3.5.js +123 -75
- package/contrib/externs/chrome_extensions.js +202 -175
- package/contrib/externs/geojson.js +217 -0
- package/contrib/externs/jquery-3.3.js +10 -2
- package/contrib/externs/polymer-1.0.js +4 -1
- package/contrib/externs/sinon-chai-2.7.js +15 -15
- package/jscomp.js +7731 -7642
- package/package.json +4 -3
|
@@ -471,8 +471,8 @@ chrome.app.window.AppWindow.prototype.setAlwaysOnTop = function(alwaysOnTop) {};
|
|
|
471
471
|
* @see http://developer.chrome.com/apps/app.window.html#type-AppWindow
|
|
472
472
|
* @return {undefined}
|
|
473
473
|
*/
|
|
474
|
-
chrome.app.window.AppWindow.prototype.setVisibleOnAllWorkspaces =
|
|
475
|
-
|
|
474
|
+
chrome.app.window.AppWindow.prototype.setVisibleOnAllWorkspaces = function(
|
|
475
|
+
alwaysVisible) {};
|
|
476
476
|
|
|
477
477
|
|
|
478
478
|
/**
|
|
@@ -481,8 +481,8 @@ chrome.app.window.AppWindow.prototype.setVisibleOnAllWorkspaces =
|
|
|
481
481
|
* @see http://developer.chrome.com/apps/app.window.html#type-AppWindow
|
|
482
482
|
* @return {undefined}
|
|
483
483
|
*/
|
|
484
|
-
chrome.app.window.AppWindow.prototype.setInterceptAllKeys =
|
|
485
|
-
|
|
484
|
+
chrome.app.window.AppWindow.prototype.setInterceptAllKeys = function(
|
|
485
|
+
wantAllKeys) {};
|
|
486
486
|
|
|
487
487
|
|
|
488
488
|
/** @type {!ChromeEvent} */
|
|
@@ -1058,8 +1058,8 @@ chrome.bluetoothSocket.setPaused = function(socketId, paused, opt_callback) {};
|
|
|
1058
1058
|
* @see https://developer.chrome.com/apps/bluetoothSocket#method-listenUsingRfcomm
|
|
1059
1059
|
* @return {undefined}
|
|
1060
1060
|
*/
|
|
1061
|
-
chrome.bluetoothSocket.listenUsingRfcomm =
|
|
1062
|
-
|
|
1061
|
+
chrome.bluetoothSocket.listenUsingRfcomm = function(
|
|
1062
|
+
socketId, uuid, optionsOrCallback, opt_callback) {};
|
|
1063
1063
|
|
|
1064
1064
|
|
|
1065
1065
|
/**
|
|
@@ -1070,8 +1070,8 @@ chrome.bluetoothSocket.listenUsingRfcomm =
|
|
|
1070
1070
|
* @see https://developer.chrome.com/apps/bluetoothSocket#method-listenUsingL2cap
|
|
1071
1071
|
* @return {undefined}
|
|
1072
1072
|
*/
|
|
1073
|
-
chrome.bluetoothSocket.listenUsingL2cap =
|
|
1074
|
-
|
|
1073
|
+
chrome.bluetoothSocket.listenUsingL2cap = function(
|
|
1074
|
+
socketId, uuid, optionsOrCallback, opt_callback) {};
|
|
1075
1075
|
|
|
1076
1076
|
|
|
1077
1077
|
/**
|
|
@@ -1336,8 +1336,8 @@ chrome.bluetoothLowEnergy.ConnectionProperties;
|
|
|
1336
1336
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-connect
|
|
1337
1337
|
* @return {undefined}
|
|
1338
1338
|
*/
|
|
1339
|
-
chrome.bluetoothLowEnergy.connect =
|
|
1340
|
-
|
|
1339
|
+
chrome.bluetoothLowEnergy.connect = function(
|
|
1340
|
+
deviceAddress, propertiesOrCallback, opt_callback) {};
|
|
1341
1341
|
|
|
1342
1342
|
/**
|
|
1343
1343
|
* @param {string} deviceAddress
|
|
@@ -1381,8 +1381,8 @@ chrome.bluetoothLowEnergy.getServices = function(deviceAddress, callback) {};
|
|
|
1381
1381
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-getCharacteristic
|
|
1382
1382
|
* @return {undefined}
|
|
1383
1383
|
*/
|
|
1384
|
-
chrome.bluetoothLowEnergy.getCharacteristic =
|
|
1385
|
-
|
|
1384
|
+
chrome.bluetoothLowEnergy.getCharacteristic = function(
|
|
1385
|
+
characteristicId, callback) {};
|
|
1386
1386
|
|
|
1387
1387
|
|
|
1388
1388
|
/**
|
|
@@ -1403,8 +1403,7 @@ chrome.bluetoothLowEnergy.createCharacteristic = function(
|
|
|
1403
1403
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-getCharacteristics
|
|
1404
1404
|
* @return {undefined}
|
|
1405
1405
|
*/
|
|
1406
|
-
chrome.bluetoothLowEnergy.getCharacteristics =
|
|
1407
|
-
function(serviceId, callback) {};
|
|
1406
|
+
chrome.bluetoothLowEnergy.getCharacteristics = function(serviceId, callback) {};
|
|
1408
1407
|
|
|
1409
1408
|
|
|
1410
1409
|
/**
|
|
@@ -1413,8 +1412,8 @@ chrome.bluetoothLowEnergy.getCharacteristics =
|
|
|
1413
1412
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-getIncludedServices
|
|
1414
1413
|
* @return {undefined}
|
|
1415
1414
|
*/
|
|
1416
|
-
chrome.bluetoothLowEnergy.getIncludedServices =
|
|
1417
|
-
|
|
1415
|
+
chrome.bluetoothLowEnergy.getIncludedServices = function(
|
|
1416
|
+
serviceId, callback) {};
|
|
1418
1417
|
|
|
1419
1418
|
|
|
1420
1419
|
/**
|
|
@@ -1443,8 +1442,8 @@ chrome.bluetoothLowEnergy.createDescriptor = function(
|
|
|
1443
1442
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-getDescriptors
|
|
1444
1443
|
* @return {undefined}
|
|
1445
1444
|
*/
|
|
1446
|
-
chrome.bluetoothLowEnergy.getDescriptors =
|
|
1447
|
-
|
|
1445
|
+
chrome.bluetoothLowEnergy.getDescriptors = function(
|
|
1446
|
+
characteristicId, callback) {};
|
|
1448
1447
|
|
|
1449
1448
|
|
|
1450
1449
|
/**
|
|
@@ -1453,8 +1452,8 @@ chrome.bluetoothLowEnergy.getDescriptors =
|
|
|
1453
1452
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-readCharacteristicValue
|
|
1454
1453
|
* @return {undefined}
|
|
1455
1454
|
*/
|
|
1456
|
-
chrome.bluetoothLowEnergy.readCharacteristicValue =
|
|
1457
|
-
|
|
1455
|
+
chrome.bluetoothLowEnergy.readCharacteristicValue = function(
|
|
1456
|
+
characteristicId, callback) {};
|
|
1458
1457
|
|
|
1459
1458
|
|
|
1460
1459
|
/**
|
|
@@ -1464,8 +1463,8 @@ chrome.bluetoothLowEnergy.readCharacteristicValue =
|
|
|
1464
1463
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-writeCharacteristicValue
|
|
1465
1464
|
* @return {undefined}
|
|
1466
1465
|
*/
|
|
1467
|
-
chrome.bluetoothLowEnergy.writeCharacteristicValue =
|
|
1468
|
-
|
|
1466
|
+
chrome.bluetoothLowEnergy.writeCharacteristicValue = function(
|
|
1467
|
+
characteristicId, value, callback) {};
|
|
1469
1468
|
|
|
1470
1469
|
|
|
1471
1470
|
/**
|
|
@@ -1476,25 +1475,25 @@ chrome.bluetoothLowEnergy.writeCharacteristicValue =
|
|
|
1476
1475
|
chrome.bluetoothLowEnergy.NotificationSessionProperties;
|
|
1477
1476
|
|
|
1478
1477
|
/**
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1478
|
+
* @param {string} characteristicId
|
|
1479
|
+
* @param {!chrome.bluetoothLowEnergy.NotificationSessionProperties|function()}
|
|
1480
|
+
* propertiesOrCallback
|
|
1481
|
+
* @param {function()=} opt_callback
|
|
1482
|
+
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-startCharacteristicNotifications
|
|
1483
|
+
* @return {undefined}
|
|
1485
1484
|
*/
|
|
1486
|
-
chrome.bluetoothLowEnergy.startCharacteristicNotifications =
|
|
1487
|
-
|
|
1485
|
+
chrome.bluetoothLowEnergy.startCharacteristicNotifications = function(
|
|
1486
|
+
characteristicId, propertiesOrCallback, opt_callback) {};
|
|
1488
1487
|
|
|
1489
1488
|
|
|
1490
1489
|
/**
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1490
|
+
* @param {string} characteristicId
|
|
1491
|
+
* @param {function()=} opt_callback
|
|
1492
|
+
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-stopCharacteristicNotifications
|
|
1493
|
+
* @return {undefined}
|
|
1495
1494
|
*/
|
|
1496
|
-
chrome.bluetoothLowEnergy.stopCharacteristicNotifications =
|
|
1497
|
-
|
|
1495
|
+
chrome.bluetoothLowEnergy.stopCharacteristicNotifications = function(
|
|
1496
|
+
characteristicId, opt_callback) {};
|
|
1498
1497
|
|
|
1499
1498
|
|
|
1500
1499
|
/**
|
|
@@ -1523,8 +1522,8 @@ chrome.bluetoothLowEnergy.notifyCharacteristicValueChanged = function(
|
|
|
1523
1522
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-readDescriptorValue
|
|
1524
1523
|
* @return {undefined}
|
|
1525
1524
|
*/
|
|
1526
|
-
chrome.bluetoothLowEnergy.readDescriptorValue =
|
|
1527
|
-
|
|
1525
|
+
chrome.bluetoothLowEnergy.readDescriptorValue = function(
|
|
1526
|
+
descriptorId, callback) {};
|
|
1528
1527
|
|
|
1529
1528
|
|
|
1530
1529
|
/**
|
|
@@ -1534,8 +1533,8 @@ chrome.bluetoothLowEnergy.readDescriptorValue =
|
|
|
1534
1533
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-writeDescriptorValue
|
|
1535
1534
|
* @return {undefined}
|
|
1536
1535
|
*/
|
|
1537
|
-
chrome.bluetoothLowEnergy.writeDescriptorValue =
|
|
1538
|
-
|
|
1536
|
+
chrome.bluetoothLowEnergy.writeDescriptorValue = function(
|
|
1537
|
+
descriptorId, value, callback) {};
|
|
1539
1538
|
|
|
1540
1539
|
|
|
1541
1540
|
/**
|
|
@@ -1582,8 +1581,8 @@ chrome.bluetoothLowEnergy.Advertisement;
|
|
|
1582
1581
|
* @param {function(number)} callback
|
|
1583
1582
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-registerAdvertisement
|
|
1584
1583
|
*/
|
|
1585
|
-
chrome.bluetoothLowEnergy.registerAdvertisement =
|
|
1586
|
-
|
|
1584
|
+
chrome.bluetoothLowEnergy.registerAdvertisement = function(
|
|
1585
|
+
advertisement, callback) {};
|
|
1587
1586
|
|
|
1588
1587
|
|
|
1589
1588
|
/**
|
|
@@ -1591,8 +1590,8 @@ chrome.bluetoothLowEnergy.registerAdvertisement =
|
|
|
1591
1590
|
* @param {function()} callback
|
|
1592
1591
|
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#method-unregisterAdvertisement
|
|
1593
1592
|
*/
|
|
1594
|
-
chrome.bluetoothLowEnergy.unregisterAdvertisement =
|
|
1595
|
-
|
|
1593
|
+
chrome.bluetoothLowEnergy.unregisterAdvertisement = function(
|
|
1594
|
+
advertisementId, callback) {};
|
|
1596
1595
|
|
|
1597
1596
|
|
|
1598
1597
|
/**
|
|
@@ -1635,9 +1634,9 @@ chrome.bluetoothLowEnergy.ServiceEvent = function() {};
|
|
|
1635
1634
|
|
|
1636
1635
|
|
|
1637
1636
|
/**
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1637
|
+
* @type {!chrome.bluetoothLowEnergy.ServiceEvent}
|
|
1638
|
+
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#event-onServiceAdded
|
|
1639
|
+
*/
|
|
1641
1640
|
chrome.bluetoothLowEnergy.onServiceAdded;
|
|
1642
1641
|
|
|
1643
1642
|
|
|
@@ -1649,9 +1648,9 @@ chrome.bluetoothLowEnergy.onServiceChanged;
|
|
|
1649
1648
|
|
|
1650
1649
|
|
|
1651
1650
|
/**
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1651
|
+
* @type {!chrome.bluetoothLowEnergy.ServiceEvent}
|
|
1652
|
+
* @see https://developer.chrome.com/apps/bluetoothLowEnergy#event-onServiceRemoved
|
|
1653
|
+
*/
|
|
1655
1654
|
chrome.bluetoothLowEnergy.onServiceRemoved;
|
|
1656
1655
|
|
|
1657
1656
|
|
|
@@ -1688,7 +1687,8 @@ chrome.bluetoothLowEnergy.onDescriptorValueChanged;
|
|
|
1688
1687
|
/**
|
|
1689
1688
|
* Event whose listeners take a Request parameter.
|
|
1690
1689
|
* @interface
|
|
1691
|
-
* @extends {ChromeBaseEvent<function(!chrome.bluetoothLowEnergy.Request,
|
|
1690
|
+
* @extends {ChromeBaseEvent<function(!chrome.bluetoothLowEnergy.Request,
|
|
1691
|
+
* string)>}
|
|
1692
1692
|
*/
|
|
1693
1693
|
chrome.bluetoothLowEnergy.RequestEvent = function() {};
|
|
1694
1694
|
|
|
@@ -1996,7 +1996,8 @@ chrome.copresence.execute = function(operations, callback) {};
|
|
|
1996
1996
|
* Event whose listeners take a subscription id and received messages as a
|
|
1997
1997
|
* parameter.
|
|
1998
1998
|
* @interface
|
|
1999
|
-
* @extends {ChromeBaseEvent<function(string,
|
|
1999
|
+
* @extends {ChromeBaseEvent<function(string,
|
|
2000
|
+
* !Array<!chrome.copresence.Message>)>}
|
|
2000
2001
|
* @see https://developer.chrome.com/apps/copresence#event-onMessagesReceived
|
|
2001
2002
|
*/
|
|
2002
2003
|
chrome.copresence.MessagesReceivedEvent = function() {};
|
|
@@ -2037,16 +2038,16 @@ chrome.devtools.inspectedWindow.Resource = function() {};
|
|
|
2037
2038
|
chrome.devtools.inspectedWindow.Resource.prototype.url;
|
|
2038
2039
|
|
|
2039
2040
|
/** @param {function(string, string): void} callback */
|
|
2040
|
-
chrome.devtools.inspectedWindow.Resource.prototype.getContent =
|
|
2041
|
-
|
|
2041
|
+
chrome.devtools.inspectedWindow.Resource.prototype.getContent = function(
|
|
2042
|
+
callback) {};
|
|
2042
2043
|
|
|
2043
2044
|
/**
|
|
2044
2045
|
* @param {string} content
|
|
2045
2046
|
* @param {boolean} commit
|
|
2046
2047
|
* @param {function(!Object): void=} callback
|
|
2047
2048
|
*/
|
|
2048
|
-
chrome.devtools.inspectedWindow.Resource.prototype.setContent =
|
|
2049
|
-
|
|
2049
|
+
chrome.devtools.inspectedWindow.Resource.prototype.setContent = function(
|
|
2050
|
+
content, commit, callback) {};
|
|
2050
2051
|
|
|
2051
2052
|
|
|
2052
2053
|
/**
|
|
@@ -2071,8 +2072,8 @@ chrome.devtools.inspectedWindow.EvalOptions;
|
|
|
2071
2072
|
* @param {function(!Object, !Object): void=} callback
|
|
2072
2073
|
* @see https://developer.chrome.com/extensions/devtools_inspectedWindow#method-eval
|
|
2073
2074
|
*/
|
|
2074
|
-
chrome.devtools.inspectedWindow.eval =
|
|
2075
|
-
|
|
2075
|
+
chrome.devtools.inspectedWindow.eval = function(
|
|
2076
|
+
expression, options, callback) {};
|
|
2076
2077
|
|
|
2077
2078
|
|
|
2078
2079
|
/**
|
|
@@ -2195,8 +2196,8 @@ chrome.enterprise.Token.prototype.subtleCrypto;
|
|
|
2195
2196
|
* with the challenge response), if arg2 was the registerKey flag.
|
|
2196
2197
|
* @return {undefined}
|
|
2197
2198
|
*/
|
|
2198
|
-
chrome.enterprise.platformKeys.challengeMachineKey =
|
|
2199
|
-
|
|
2199
|
+
chrome.enterprise.platformKeys.challengeMachineKey = function(
|
|
2200
|
+
challenge, registerKeyOrCallback, callback) {};
|
|
2200
2201
|
|
|
2201
2202
|
|
|
2202
2203
|
/**
|
|
@@ -2211,8 +2212,8 @@ chrome.enterprise.platformKeys.challengeMachineKey =
|
|
|
2211
2212
|
* challenge response.
|
|
2212
2213
|
* @return {undefined}
|
|
2213
2214
|
*/
|
|
2214
|
-
chrome.enterprise.platformKeys.challengeUserKey =
|
|
2215
|
-
|
|
2215
|
+
chrome.enterprise.platformKeys.challengeUserKey = function(
|
|
2216
|
+
challenge, registerKey, callback) {};
|
|
2216
2217
|
|
|
2217
2218
|
|
|
2218
2219
|
/**
|
|
@@ -2239,8 +2240,8 @@ chrome.enterprise.platformKeys.getCertificates = function(tokenId, callback) {};
|
|
|
2239
2240
|
* finished.
|
|
2240
2241
|
* @return {undefined}
|
|
2241
2242
|
*/
|
|
2242
|
-
chrome.enterprise.platformKeys.importCertificate =
|
|
2243
|
-
|
|
2243
|
+
chrome.enterprise.platformKeys.importCertificate = function(
|
|
2244
|
+
tokenId, certificate, opt_callback) {};
|
|
2244
2245
|
|
|
2245
2246
|
|
|
2246
2247
|
/**
|
|
@@ -2250,8 +2251,8 @@ chrome.enterprise.platformKeys.importCertificate =
|
|
|
2250
2251
|
* finished.
|
|
2251
2252
|
* @return {undefined}
|
|
2252
2253
|
*/
|
|
2253
|
-
chrome.enterprise.platformKeys.removeCertificate =
|
|
2254
|
-
|
|
2254
|
+
chrome.enterprise.platformKeys.removeCertificate = function(
|
|
2255
|
+
tokenId, certificate, opt_callback) {};
|
|
2255
2256
|
|
|
2256
2257
|
|
|
2257
2258
|
/**
|
|
@@ -2633,7 +2634,8 @@ chrome.runtime.PortEvent = function() {};
|
|
|
2633
2634
|
* Event whose listeners take a MessageSender and additional parameters.
|
|
2634
2635
|
* @see http://developer.chrome.com/dev/apps/runtime.html#event-onMessage
|
|
2635
2636
|
* @interface
|
|
2636
|
-
* @extends {ChromeBaseEvent<function(*, !MessageSender, function(*): void):
|
|
2637
|
+
* @extends {ChromeBaseEvent<function(*, !MessageSender, function(*): void):
|
|
2638
|
+
* (boolean|undefined)>}
|
|
2637
2639
|
*/
|
|
2638
2640
|
chrome.runtime.MessageSenderEvent = function() {};
|
|
2639
2641
|
|
|
@@ -2686,8 +2688,8 @@ chrome.tabs.InjectDetails;
|
|
|
2686
2688
|
* captured tab.
|
|
2687
2689
|
* @return {undefined}
|
|
2688
2690
|
*/
|
|
2689
|
-
chrome.tabs.captureVisibleTab = function(
|
|
2690
|
-
opt_optionsOrCallback, opt_callback) {};
|
|
2691
|
+
chrome.tabs.captureVisibleTab = function(
|
|
2692
|
+
windowIdOrOptionsOrCallback, opt_optionsOrCallback, opt_callback) {};
|
|
2691
2693
|
|
|
2692
2694
|
|
|
2693
2695
|
/**
|
|
@@ -2756,8 +2758,8 @@ chrome.tabs.discard;
|
|
|
2756
2758
|
* injected frame.
|
|
2757
2759
|
* @return {undefined}
|
|
2758
2760
|
*/
|
|
2759
|
-
chrome.tabs.executeScript = function(
|
|
2760
|
-
opt_callback) {};
|
|
2761
|
+
chrome.tabs.executeScript = function(
|
|
2762
|
+
tabIdOrDetails, opt_detailsOrCallback, opt_callback) {};
|
|
2761
2763
|
|
|
2762
2764
|
|
|
2763
2765
|
/**
|
|
@@ -2862,8 +2864,8 @@ chrome.tabs.highlight = function(highlightInfo, callback) {};
|
|
|
2862
2864
|
* the CSS has been injected.
|
|
2863
2865
|
* @return {undefined}
|
|
2864
2866
|
*/
|
|
2865
|
-
chrome.tabs.insertCSS = function(
|
|
2866
|
-
opt_callback) {};
|
|
2867
|
+
chrome.tabs.insertCSS = function(
|
|
2868
|
+
tabIdOrDetails, opt_detailsOrCallback, opt_callback) {};
|
|
2867
2869
|
|
|
2868
2870
|
|
|
2869
2871
|
/**
|
|
@@ -2948,8 +2950,9 @@ chrome.tabs.ReloadProperties;
|
|
|
2948
2950
|
* reload is complete.
|
|
2949
2951
|
* @return {undefined}
|
|
2950
2952
|
*/
|
|
2951
|
-
chrome.tabs.reload = function(
|
|
2952
|
-
opt_reloadPropertiesOrCallback,
|
|
2953
|
+
chrome.tabs.reload = function(
|
|
2954
|
+
opt_tabIdOrReloadPropertiesOrCallback, opt_reloadPropertiesOrCallback,
|
|
2955
|
+
opt_callback) {};
|
|
2953
2956
|
|
|
2954
2957
|
|
|
2955
2958
|
/**
|
|
@@ -2978,8 +2981,8 @@ chrome.tabs.SendMessageOptions;
|
|
|
2978
2981
|
* takes a JSON response object sent by the handler of the request.
|
|
2979
2982
|
* @return {undefined}
|
|
2980
2983
|
*/
|
|
2981
|
-
chrome.tabs.sendMessage = function(
|
|
2982
|
-
opt_callback) {};
|
|
2984
|
+
chrome.tabs.sendMessage = function(
|
|
2985
|
+
tabId, request, opt_optionsOrCallback, opt_callback) {};
|
|
2983
2986
|
|
|
2984
2987
|
|
|
2985
2988
|
/**
|
|
@@ -3041,8 +3044,8 @@ chrome.tabs.UpdateProperties;
|
|
|
3041
3044
|
* be invoked with information about the tab being updated.
|
|
3042
3045
|
* @return {undefined}
|
|
3043
3046
|
*/
|
|
3044
|
-
chrome.tabs.update = function(
|
|
3045
|
-
opt_updatePropertiesOrCallback, opt_callback) {};
|
|
3047
|
+
chrome.tabs.update = function(
|
|
3048
|
+
tabIdOrUpdateProperties, opt_updatePropertiesOrCallback, opt_callback) {};
|
|
3046
3049
|
|
|
3047
3050
|
|
|
3048
3051
|
/**
|
|
@@ -3186,7 +3189,7 @@ chrome.windows.getAll = function(opt_getInfo, opt_callback) {};
|
|
|
3186
3189
|
* @param {function(ChromeWindow): void=} opt_callback Callback.
|
|
3187
3190
|
* @return {undefined}
|
|
3188
3191
|
*/
|
|
3189
|
-
chrome.windows.getCurrent = function(opt_getInfo, opt_callback) {
|
|
3192
|
+
chrome.windows.getCurrent = function(opt_getInfo, opt_callback) {};
|
|
3190
3193
|
|
|
3191
3194
|
|
|
3192
3195
|
/**
|
|
@@ -3194,7 +3197,7 @@ chrome.windows.getCurrent = function(opt_getInfo, opt_callback) { };
|
|
|
3194
3197
|
* @param {function(ChromeWindow): void=} opt_callback Callback.
|
|
3195
3198
|
* @return {undefined}
|
|
3196
3199
|
*/
|
|
3197
|
-
chrome.windows.getLastFocused = function(opt_getInfo, opt_callback) {
|
|
3200
|
+
chrome.windows.getLastFocused = function(opt_getInfo, opt_callback) {};
|
|
3198
3201
|
|
|
3199
3202
|
|
|
3200
3203
|
/**
|
|
@@ -3684,14 +3687,27 @@ chrome.omnibox = {};
|
|
|
3684
3687
|
|
|
3685
3688
|
/**
|
|
3686
3689
|
* @interface
|
|
3687
|
-
* @extends {ChromeBaseEvent<function(string,
|
|
3690
|
+
* @extends {ChromeBaseEvent<function(string,
|
|
3691
|
+
* function(!Array<!SuggestResult>))>}
|
|
3688
3692
|
*/
|
|
3689
3693
|
chrome.omnibox.InputChangedEvent = function() {};
|
|
3690
3694
|
|
|
3691
3695
|
|
|
3696
|
+
/**
|
|
3697
|
+
* @enum {string}
|
|
3698
|
+
* @see https://developer.chrome.com/extensions/omnibox#type-OnInputEnteredDisposition
|
|
3699
|
+
*/
|
|
3700
|
+
chrome.omnibox.OnInputEnteredDisposition = {
|
|
3701
|
+
CURRENT_TAB: '',
|
|
3702
|
+
NEW_BACKGROUND_TAB: '',
|
|
3703
|
+
NEW_FOREGROUND_TAB: '',
|
|
3704
|
+
};
|
|
3705
|
+
|
|
3706
|
+
|
|
3692
3707
|
/**
|
|
3693
3708
|
* @interface
|
|
3694
|
-
* @extends {ChromeBaseEvent<
|
|
3709
|
+
* @extends {ChromeBaseEvent<
|
|
3710
|
+
* function(string,!chrome.omnibox.OnInputEnteredDisposition)>}
|
|
3695
3711
|
*/
|
|
3696
3712
|
chrome.omnibox.InputEnteredEvent = function() {};
|
|
3697
3713
|
|
|
@@ -3971,8 +3987,8 @@ chrome.management.getPermissionWarningsById = function(id, opt_callback) {};
|
|
|
3971
3987
|
* @param {function(!Array<string>)=} opt_callback Optional callback function.
|
|
3972
3988
|
* @return {undefined}
|
|
3973
3989
|
*/
|
|
3974
|
-
chrome.management.getPermissionWarningsByManifest =
|
|
3975
|
-
|
|
3990
|
+
chrome.management.getPermissionWarningsByManifest = function(
|
|
3991
|
+
manifestStr, opt_callback) {};
|
|
3976
3992
|
|
|
3977
3993
|
|
|
3978
3994
|
/**
|
|
@@ -3992,8 +4008,8 @@ chrome.management.setEnabled = function(id, enabled, opt_callback) {};
|
|
|
3992
4008
|
* @param {function(): void=} opt_callback Optional callback function.
|
|
3993
4009
|
* @return {undefined}
|
|
3994
4010
|
*/
|
|
3995
|
-
chrome.management.uninstall =
|
|
3996
|
-
|
|
4011
|
+
chrome.management.uninstall = function(
|
|
4012
|
+
id, opt_optionsOrCallback, opt_callback) {};
|
|
3997
4013
|
|
|
3998
4014
|
|
|
3999
4015
|
/**
|
|
@@ -4003,8 +4019,8 @@ chrome.management.uninstall =
|
|
|
4003
4019
|
* @param {function(): void=} opt_callback An optional callback function.
|
|
4004
4020
|
* @return {undefined}
|
|
4005
4021
|
*/
|
|
4006
|
-
chrome.management.uninstallSelf =
|
|
4007
|
-
|
|
4022
|
+
chrome.management.uninstallSelf = function(
|
|
4023
|
+
opt_optionsOrCallback, opt_callback) {};
|
|
4008
4024
|
|
|
4009
4025
|
|
|
4010
4026
|
/**
|
|
@@ -4551,8 +4567,8 @@ function ChromeInputImeOnKeyEventEvent() {}
|
|
|
4551
4567
|
* @param {Array<string>=} opt_extraInfoSpec Array of extra information.
|
|
4552
4568
|
* @return {undefined}
|
|
4553
4569
|
*/
|
|
4554
|
-
ChromeInputImeOnKeyEventEvent.prototype.addListener =
|
|
4555
|
-
|
|
4570
|
+
ChromeInputImeOnKeyEventEvent.prototype.addListener = function(
|
|
4571
|
+
callback, opt_extraInfoSpec) {};
|
|
4556
4572
|
|
|
4557
4573
|
|
|
4558
4574
|
/**
|
|
@@ -4566,17 +4582,15 @@ ChromeInputImeOnKeyEventEvent.prototype.removeListener = function(callback) {};
|
|
|
4566
4582
|
/**
|
|
4567
4583
|
* @param {function(string, !ChromeKeyboardEvent): (boolean|undefined)} callback
|
|
4568
4584
|
* callback.
|
|
4569
|
-
* @return {
|
|
4585
|
+
* @return {boolean}
|
|
4570
4586
|
*/
|
|
4571
4587
|
ChromeInputImeOnKeyEventEvent.prototype.hasListener = function(callback) {};
|
|
4572
4588
|
|
|
4573
4589
|
|
|
4574
4590
|
/**
|
|
4575
|
-
* @
|
|
4576
|
-
* callback.
|
|
4577
|
-
* @return {undefined}
|
|
4591
|
+
* @return {boolean}
|
|
4578
4592
|
*/
|
|
4579
|
-
ChromeInputImeOnKeyEventEvent.prototype.hasListeners = function(
|
|
4593
|
+
ChromeInputImeOnKeyEventEvent.prototype.hasListeners = function() {};
|
|
4580
4594
|
|
|
4581
4595
|
|
|
4582
4596
|
/**
|
|
@@ -4613,8 +4627,8 @@ chrome.input.ime.deleteSurroundingText = function(parameters, opt_callback) {};
|
|
|
4613
4627
|
* @param {function(boolean): void=} opt_callback Callback function.
|
|
4614
4628
|
* @return {undefined}
|
|
4615
4629
|
*/
|
|
4616
|
-
chrome.input.ime.setCandidateWindowProperties =
|
|
4617
|
-
|
|
4630
|
+
chrome.input.ime.setCandidateWindowProperties = function(
|
|
4631
|
+
parameters, opt_callback) {};
|
|
4618
4632
|
|
|
4619
4633
|
|
|
4620
4634
|
/**
|
|
@@ -4748,8 +4762,8 @@ chrome.mediaGalleries.addUserSelectedFolder = function(callback) {};
|
|
|
4748
4762
|
* @param {function()=} opt_callback Optional callback function.
|
|
4749
4763
|
* @return {undefined}
|
|
4750
4764
|
*/
|
|
4751
|
-
chrome.mediaGalleries.dropPermissionForMediaFileSystem =
|
|
4752
|
-
|
|
4765
|
+
chrome.mediaGalleries.dropPermissionForMediaFileSystem = function(
|
|
4766
|
+
galleryId, opt_callback) {};
|
|
4753
4767
|
|
|
4754
4768
|
|
|
4755
4769
|
chrome.mediaGalleries.startMediaScan = function() {};
|
|
@@ -5393,8 +5407,8 @@ chrome.socket.write = function(socketId, data, callback) {};
|
|
|
5393
5407
|
* that was available to be read without blocking.
|
|
5394
5408
|
* @return {undefined}
|
|
5395
5409
|
*/
|
|
5396
|
-
chrome.socket.recvFrom = function(
|
|
5397
|
-
opt_callback) {};
|
|
5410
|
+
chrome.socket.recvFrom = function(
|
|
5411
|
+
socketId, bufferSizeOrCallback, opt_callback) {};
|
|
5398
5412
|
|
|
5399
5413
|
|
|
5400
5414
|
/**
|
|
@@ -5420,8 +5434,8 @@ chrome.socket.sendTo = function(socketId, data, address, port, callback) {};
|
|
|
5420
5434
|
* completes.
|
|
5421
5435
|
* @return {undefined}
|
|
5422
5436
|
*/
|
|
5423
|
-
chrome.socket.listen =
|
|
5424
|
-
|
|
5437
|
+
chrome.socket.listen = function(
|
|
5438
|
+
socketId, address, port, backlogOrCallback, opt_callback) {};
|
|
5425
5439
|
|
|
5426
5440
|
|
|
5427
5441
|
/**
|
|
@@ -5443,8 +5457,8 @@ chrome.socket.accept = function(socketId, callback) {};
|
|
|
5443
5457
|
* is complete.
|
|
5444
5458
|
* @return {undefined}
|
|
5445
5459
|
*/
|
|
5446
|
-
chrome.socket.setKeepAlive = function(
|
|
5447
|
-
opt_callback) {};
|
|
5460
|
+
chrome.socket.setKeepAlive = function(
|
|
5461
|
+
socketId, enable, delayOrCallback, opt_callback) {};
|
|
5448
5462
|
|
|
5449
5463
|
|
|
5450
5464
|
/**
|
|
@@ -5511,8 +5525,8 @@ chrome.socket.setMulticastTimeToLive = function(socketId, ttl, callback) {};
|
|
|
5511
5525
|
* done.
|
|
5512
5526
|
* @return {undefined}
|
|
5513
5527
|
*/
|
|
5514
|
-
chrome.socket.setMulticastLoopbackMode = function(
|
|
5515
|
-
callback) {};
|
|
5528
|
+
chrome.socket.setMulticastLoopbackMode = function(
|
|
5529
|
+
socketId, enabled, callback) {};
|
|
5516
5530
|
|
|
5517
5531
|
|
|
5518
5532
|
/**
|
|
@@ -5525,15 +5539,15 @@ chrome.socket.getJoinedGroups = function(socketId, callback) {};
|
|
|
5525
5539
|
|
|
5526
5540
|
|
|
5527
5541
|
/**
|
|
5528
|
-
|
|
5529
|
-
|
|
5542
|
+
* @const
|
|
5543
|
+
*/
|
|
5530
5544
|
chrome.sockets = {};
|
|
5531
5545
|
|
|
5532
5546
|
|
|
5533
5547
|
/**
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5548
|
+
* @const
|
|
5549
|
+
* @see https://developer.chrome.com/apps/sockets_tcp
|
|
5550
|
+
*/
|
|
5537
5551
|
chrome.sockets.tcp = {};
|
|
5538
5552
|
|
|
5539
5553
|
|
|
@@ -5653,8 +5667,8 @@ chrome.sockets.tcp.setPaused = function(socketId, paused, opt_callback) {};
|
|
|
5653
5667
|
* @see https://developer.chrome.com/apps/sockets_tcp#method-setKeepAlive
|
|
5654
5668
|
* @return {undefined}
|
|
5655
5669
|
*/
|
|
5656
|
-
chrome.sockets.tcp.setKeepAlive = function(
|
|
5657
|
-
opt_callback) {};
|
|
5670
|
+
chrome.sockets.tcp.setKeepAlive = function(
|
|
5671
|
+
socketId, enable, delayOrCallback, opt_callback) {};
|
|
5658
5672
|
|
|
5659
5673
|
|
|
5660
5674
|
/**
|
|
@@ -5675,8 +5689,8 @@ chrome.sockets.tcp.setNoDelay = function(socketId, noDelay, callback) {};
|
|
|
5675
5689
|
* @see https://developer.chrome.com/apps/sockets_tcp#method-connect
|
|
5676
5690
|
* @return {undefined}
|
|
5677
5691
|
*/
|
|
5678
|
-
chrome.sockets.tcp.connect = function(
|
|
5679
|
-
callback) {};
|
|
5692
|
+
chrome.sockets.tcp.connect = function(
|
|
5693
|
+
socketId, peerAddress, peerPort, callback) {};
|
|
5680
5694
|
|
|
5681
5695
|
|
|
5682
5696
|
/**
|
|
@@ -5696,8 +5710,8 @@ chrome.sockets.tcp.disconnect = function(socketId, opt_callback) {};
|
|
|
5696
5710
|
* @see https://developer.chrome.com/apps/sockets_tcp#method-secure
|
|
5697
5711
|
* @return {undefined}
|
|
5698
5712
|
*/
|
|
5699
|
-
chrome.sockets.tcp.secure = function(
|
|
5700
|
-
opt_callback) {};
|
|
5713
|
+
chrome.sockets.tcp.secure = function(
|
|
5714
|
+
socketId, optionsOrCallback, opt_callback) {};
|
|
5701
5715
|
|
|
5702
5716
|
|
|
5703
5717
|
/**
|
|
@@ -6138,8 +6152,8 @@ chrome.sockets.udp.leaveGroup = function(socketId, address, callback) {};
|
|
|
6138
6152
|
* @return {undefined}
|
|
6139
6153
|
* @see https://developer.chrome.com/apps/sockets_udp#method-setMulticastTimeToLive
|
|
6140
6154
|
*/
|
|
6141
|
-
chrome.sockets.udp.setMulticastTimeToLive =
|
|
6142
|
-
|
|
6155
|
+
chrome.sockets.udp.setMulticastTimeToLive = function(
|
|
6156
|
+
socketId, ttl, callback) {};
|
|
6143
6157
|
|
|
6144
6158
|
|
|
6145
6159
|
/**
|
|
@@ -6149,8 +6163,8 @@ chrome.sockets.udp.setMulticastTimeToLive =
|
|
|
6149
6163
|
* @return {undefined}
|
|
6150
6164
|
* @see https://developer.chrome.com/apps/sockets_udp#method-setMulticastLoopbackMode
|
|
6151
6165
|
*/
|
|
6152
|
-
chrome.sockets.udp.setMulticastLoopbackMode =
|
|
6153
|
-
|
|
6166
|
+
chrome.sockets.udp.setMulticastLoopbackMode = function(
|
|
6167
|
+
socketId, enabled, callback) {};
|
|
6154
6168
|
|
|
6155
6169
|
|
|
6156
6170
|
/**
|
|
@@ -6345,12 +6359,14 @@ chrome.system.display.DisplayLayout;
|
|
|
6345
6359
|
* @typedef {!{
|
|
6346
6360
|
* isUnified: (boolean|undefined),
|
|
6347
6361
|
* mirroringSourceId: (string|undefined),
|
|
6362
|
+
* mirroringDestinationIds: (!Array<string>|undefined),
|
|
6348
6363
|
* isPrimary: (boolean|undefined),
|
|
6349
6364
|
* overscan: (!chrome.system.display.Insets|undefined),
|
|
6350
6365
|
* rotation: (number|undefined),
|
|
6351
6366
|
* boundsOriginX: (number|undefined),
|
|
6352
6367
|
* boundsOriginY: (number|undefined),
|
|
6353
6368
|
* displayMode: (!chrome.system.display.DisplayMode|undefined),
|
|
6369
|
+
* availableDisplayZoomFactors: (!Array<number>|undefined),
|
|
6354
6370
|
* displayZoomFactor: (number|undefined)
|
|
6355
6371
|
* }}
|
|
6356
6372
|
* @see https://developer.chrome.com/extensions/system.display#type-DisplayProperties
|
|
@@ -6411,6 +6427,10 @@ chrome.system.display.DisplayUnitInfo.prototype.edid;
|
|
|
6411
6427
|
chrome.system.display.DisplayUnitInfo.prototype.mirroringSourceId;
|
|
6412
6428
|
|
|
6413
6429
|
|
|
6430
|
+
/** @type {!Array<string>} */
|
|
6431
|
+
chrome.system.display.DisplayUnitInfo.prototype.mirroringDestinationIds;
|
|
6432
|
+
|
|
6433
|
+
|
|
6414
6434
|
/** @type {boolean} */
|
|
6415
6435
|
chrome.system.display.DisplayUnitInfo.prototype.isPrimary;
|
|
6416
6436
|
|
|
@@ -6455,6 +6475,14 @@ chrome.system.display.DisplayUnitInfo.prototype.modes;
|
|
|
6455
6475
|
chrome.system.display.DisplayUnitInfo.prototype.hasTouchSupport;
|
|
6456
6476
|
|
|
6457
6477
|
|
|
6478
|
+
/** @type {!Array<number>} */
|
|
6479
|
+
chrome.system.display.DisplayUnitInfo.prototype.availableDisplayZoomFactors;
|
|
6480
|
+
|
|
6481
|
+
|
|
6482
|
+
/** @type {number} */
|
|
6483
|
+
chrome.system.display.DisplayUnitInfo.prototype.displayZoomFactor;
|
|
6484
|
+
|
|
6485
|
+
|
|
6458
6486
|
/**
|
|
6459
6487
|
* @param {!chrome.system.display.GetInfoFlags|
|
|
6460
6488
|
* function(!Array<!chrome.system.display.DisplayUnitInfo>):void}
|
|
@@ -6572,8 +6600,8 @@ chrome.system.display.startCustomTouchCalibration = function(id) {};
|
|
|
6572
6600
|
* are ignored.
|
|
6573
6601
|
* @see https://developer.chrome.com/extensions/system.display#method-completeCustomTouchCalibration
|
|
6574
6602
|
*/
|
|
6575
|
-
chrome.system.display.completeCustomTouchCalibration = function(
|
|
6576
|
-
};
|
|
6603
|
+
chrome.system.display.completeCustomTouchCalibration = function(
|
|
6604
|
+
pairs, bounds) {};
|
|
6577
6605
|
|
|
6578
6606
|
|
|
6579
6607
|
/**
|
|
@@ -6709,16 +6737,15 @@ WebRequestBaseEvent.prototype.removeListener = function(listener) {};
|
|
|
6709
6737
|
|
|
6710
6738
|
/**
|
|
6711
6739
|
* @param {LISTENER} listener Listener function.
|
|
6712
|
-
* @return {
|
|
6740
|
+
* @return {boolean}
|
|
6713
6741
|
*/
|
|
6714
6742
|
WebRequestBaseEvent.prototype.hasListener = function(listener) {};
|
|
6715
6743
|
|
|
6716
6744
|
|
|
6717
6745
|
/**
|
|
6718
|
-
* @
|
|
6719
|
-
* @return {undefined}
|
|
6746
|
+
* @return {boolean}
|
|
6720
6747
|
*/
|
|
6721
|
-
WebRequestBaseEvent.prototype.hasListeners = function(
|
|
6748
|
+
WebRequestBaseEvent.prototype.hasListeners = function() {};
|
|
6722
6749
|
|
|
6723
6750
|
|
|
6724
6751
|
/**
|
|
@@ -6734,7 +6761,8 @@ function WebRequestEvent() {}
|
|
|
6734
6761
|
* Some event listeners can be optionally synchronous.
|
|
6735
6762
|
* @see https://developer.chrome.com/extensions/webRequest
|
|
6736
6763
|
* @interface
|
|
6737
|
-
* @extends {WebRequestBaseEvent<function(!Object):
|
|
6764
|
+
* @extends {WebRequestBaseEvent<function(!Object):
|
|
6765
|
+
* (undefined|!BlockingResponse)>}
|
|
6738
6766
|
*/
|
|
6739
6767
|
function WebRequestOptionallySynchronousEvent() {}
|
|
6740
6768
|
|
|
@@ -6770,8 +6798,8 @@ function WebRequestOnErrorOccurredEvent() {}
|
|
|
6770
6798
|
* the events that will be sent to this listener.
|
|
6771
6799
|
* @return {undefined}
|
|
6772
6800
|
*/
|
|
6773
|
-
WebRequestOnErrorOccurredEvent.prototype.addListener =
|
|
6774
|
-
|
|
6801
|
+
WebRequestOnErrorOccurredEvent.prototype.addListener = function(
|
|
6802
|
+
listener, filter) {};
|
|
6775
6803
|
|
|
6776
6804
|
|
|
6777
6805
|
/**
|
|
@@ -6783,16 +6811,15 @@ WebRequestOnErrorOccurredEvent.prototype.removeListener = function(listener) {};
|
|
|
6783
6811
|
|
|
6784
6812
|
/**
|
|
6785
6813
|
* @param {function(!Object): void} listener Listener function.
|
|
6786
|
-
* @return {
|
|
6814
|
+
* @return {boolean}
|
|
6787
6815
|
*/
|
|
6788
6816
|
WebRequestOnErrorOccurredEvent.prototype.hasListener = function(listener) {};
|
|
6789
6817
|
|
|
6790
6818
|
|
|
6791
6819
|
/**
|
|
6792
|
-
* @
|
|
6793
|
-
* @return {undefined}
|
|
6820
|
+
* @return {boolean}
|
|
6794
6821
|
*/
|
|
6795
|
-
WebRequestOnErrorOccurredEvent.prototype.hasListeners = function(
|
|
6822
|
+
WebRequestOnErrorOccurredEvent.prototype.hasListeners = function() {};
|
|
6796
6823
|
|
|
6797
6824
|
|
|
6798
6825
|
/**
|
|
@@ -6957,8 +6984,6 @@ IconInfo.prototype.url;
|
|
|
6957
6984
|
|
|
6958
6985
|
|
|
6959
6986
|
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
6987
|
/**
|
|
6963
6988
|
* @see https://developer.chrome.com/extensions/windows.html
|
|
6964
6989
|
* @constructor
|
|
@@ -7041,8 +7066,8 @@ chrome.pushMessaging.onMessage;
|
|
|
7041
7066
|
* Callback.
|
|
7042
7067
|
* @return {undefined}
|
|
7043
7068
|
*/
|
|
7044
|
-
chrome.pushMessaging.getChannelId =
|
|
7045
|
-
|
|
7069
|
+
chrome.pushMessaging.getChannelId = function(
|
|
7070
|
+
interactiveOrCallback, opt_callback) {};
|
|
7046
7071
|
|
|
7047
7072
|
|
|
7048
7073
|
|
|
@@ -7587,7 +7612,7 @@ StorageArea.prototype.getBytesInUse = function(keysOrCallback, opt_callback) {};
|
|
|
7587
7612
|
* @param {function()=} opt_callback Callback.
|
|
7588
7613
|
* @return {undefined}
|
|
7589
7614
|
*/
|
|
7590
|
-
StorageArea.prototype.set = function(items, opt_callback) {
|
|
7615
|
+
StorageArea.prototype.set = function(items, opt_callback) {};
|
|
7591
7616
|
|
|
7592
7617
|
|
|
7593
7618
|
/**
|
|
@@ -7920,8 +7945,8 @@ chrome.syncFileSystem.requestFileSystem = function(callback) {};
|
|
|
7920
7945
|
* @see https://developer.chrome.com/apps/syncFileSystem#method-setConflictResolutionPolicy
|
|
7921
7946
|
* @return {undefined}
|
|
7922
7947
|
*/
|
|
7923
|
-
chrome.syncFileSystem.setConflictResolutionPolicy =
|
|
7924
|
-
|
|
7948
|
+
chrome.syncFileSystem.setConflictResolutionPolicy = function(
|
|
7949
|
+
policy, opt_callback) {};
|
|
7925
7950
|
|
|
7926
7951
|
|
|
7927
7952
|
/**
|
|
@@ -8208,8 +8233,8 @@ chrome.hid.HidGetUserSelectedDevicesOptions;
|
|
|
8208
8233
|
* usage: number,
|
|
8209
8234
|
* reportIds: !Array<number>
|
|
8210
8235
|
* }}
|
|
8211
|
-
* @see https://developer.chrome.com/apps/hid#method-getDevices
|
|
8212
|
-
*/
|
|
8236
|
+
* @see https://developer.chrome.com/apps/hid#method-getDevices
|
|
8237
|
+
*/
|
|
8213
8238
|
chrome.hid.HidDeviceUsage;
|
|
8214
8239
|
|
|
8215
8240
|
|
|
@@ -8388,8 +8413,8 @@ chrome.hid.send = function(connectionId, reportId, data, callback) {};
|
|
|
8388
8413
|
* received report.
|
|
8389
8414
|
* @return {undefined}
|
|
8390
8415
|
*/
|
|
8391
|
-
chrome.hid.receiveFeatureReport =
|
|
8392
|
-
|
|
8416
|
+
chrome.hid.receiveFeatureReport = function(
|
|
8417
|
+
connectionId, reportId, size, callback) {};
|
|
8393
8418
|
|
|
8394
8419
|
|
|
8395
8420
|
/**
|
|
@@ -8403,8 +8428,8 @@ chrome.hid.receiveFeatureReport =
|
|
|
8403
8428
|
* finished.
|
|
8404
8429
|
* @return {undefined}
|
|
8405
8430
|
*/
|
|
8406
|
-
chrome.hid.sendFeatureReport =
|
|
8407
|
-
|
|
8431
|
+
chrome.hid.sendFeatureReport = function(
|
|
8432
|
+
connectionId, reportId, data, callback) {};
|
|
8408
8433
|
|
|
8409
8434
|
|
|
8410
8435
|
|
|
@@ -8515,8 +8540,8 @@ chrome.notifications.ButtonCallback;
|
|
|
8515
8540
|
* @see http://developer.chrome.com/extensions/notifications.html#method-create
|
|
8516
8541
|
* @return {undefined}
|
|
8517
8542
|
*/
|
|
8518
|
-
chrome.notifications.create = function(
|
|
8519
|
-
opt_optionsOrCallback, opt_callback) {};
|
|
8543
|
+
chrome.notifications.create = function(
|
|
8544
|
+
notificationIdOrOptions, opt_optionsOrCallback, opt_callback) {};
|
|
8520
8545
|
|
|
8521
8546
|
|
|
8522
8547
|
/**
|
|
@@ -8526,8 +8551,8 @@ chrome.notifications.create = function(notificationIdOrOptions,
|
|
|
8526
8551
|
* @see http://developer.chrome.com/extensions/notifications.html#method-update
|
|
8527
8552
|
* @return {undefined}
|
|
8528
8553
|
*/
|
|
8529
|
-
chrome.notifications.update =
|
|
8530
|
-
|
|
8554
|
+
chrome.notifications.update = function(
|
|
8555
|
+
notificationId, options, opt_callback) {};
|
|
8531
8556
|
|
|
8532
8557
|
|
|
8533
8558
|
/**
|
|
@@ -9334,7 +9359,6 @@ chrome.serial.flush = function(connectionId, callback) {};
|
|
|
9334
9359
|
|
|
9335
9360
|
|
|
9336
9361
|
|
|
9337
|
-
|
|
9338
9362
|
/**
|
|
9339
9363
|
* Retrieves the state of control signals on a given connection.
|
|
9340
9364
|
* @param {number} connectionId The id of the opened connection.
|
|
@@ -9767,8 +9791,8 @@ chrome.networkingPrivate.getState = function(guid, callback) {};
|
|
|
9767
9791
|
* @param {function()=} opt_callback
|
|
9768
9792
|
* @return {undefined}
|
|
9769
9793
|
*/
|
|
9770
|
-
chrome.networkingPrivate.setProperties =
|
|
9771
|
-
|
|
9794
|
+
chrome.networkingPrivate.setProperties = function(
|
|
9795
|
+
guid, properties, opt_callback) {};
|
|
9772
9796
|
|
|
9773
9797
|
|
|
9774
9798
|
/**
|
|
@@ -9780,8 +9804,8 @@ chrome.networkingPrivate.setProperties =
|
|
|
9780
9804
|
* configuration.
|
|
9781
9805
|
* @return {undefined}
|
|
9782
9806
|
*/
|
|
9783
|
-
chrome.networkingPrivate.createNetwork =
|
|
9784
|
-
|
|
9807
|
+
chrome.networkingPrivate.createNetwork = function(
|
|
9808
|
+
shared, properties, opt_callback) {};
|
|
9785
9809
|
|
|
9786
9810
|
|
|
9787
9811
|
/**
|
|
@@ -9871,8 +9895,8 @@ chrome.networkingPrivate.startDisconnect = function(guid, opt_callback) {};
|
|
|
9871
9895
|
* @param {function()=} opt_callback
|
|
9872
9896
|
* @return {undefined}
|
|
9873
9897
|
*/
|
|
9874
|
-
chrome.networkingPrivate.startActivate =
|
|
9875
|
-
|
|
9898
|
+
chrome.networkingPrivate.startActivate = function(
|
|
9899
|
+
guid, opt_carrierOrCallback, opt_callback) {};
|
|
9876
9900
|
|
|
9877
9901
|
|
|
9878
9902
|
/**
|
|
@@ -9880,8 +9904,8 @@ chrome.networkingPrivate.startActivate =
|
|
|
9880
9904
|
* @param {function(boolean)} callback
|
|
9881
9905
|
* @return {undefined}
|
|
9882
9906
|
*/
|
|
9883
|
-
chrome.networkingPrivate.verifyDestination =
|
|
9884
|
-
|
|
9907
|
+
chrome.networkingPrivate.verifyDestination = function(
|
|
9908
|
+
verificationInfo, callback) {};
|
|
9885
9909
|
|
|
9886
9910
|
|
|
9887
9911
|
/**
|
|
@@ -9890,8 +9914,8 @@ chrome.networkingPrivate.verifyDestination =
|
|
|
9890
9914
|
* @param {function(string)} callback
|
|
9891
9915
|
* @return {undefined}
|
|
9892
9916
|
*/
|
|
9893
|
-
chrome.networkingPrivate.verifyAndEncryptCredentials =
|
|
9894
|
-
|
|
9917
|
+
chrome.networkingPrivate.verifyAndEncryptCredentials = function(
|
|
9918
|
+
verificationInfo, guid, callback) {};
|
|
9895
9919
|
|
|
9896
9920
|
|
|
9897
9921
|
/**
|
|
@@ -9900,8 +9924,8 @@ chrome.networkingPrivate.verifyAndEncryptCredentials =
|
|
|
9900
9924
|
* @param {function(string)} callback
|
|
9901
9925
|
* @return {undefined}
|
|
9902
9926
|
*/
|
|
9903
|
-
chrome.networkingPrivate.verifyAndEncryptData =
|
|
9904
|
-
|
|
9927
|
+
chrome.networkingPrivate.verifyAndEncryptData = function(
|
|
9928
|
+
verificationInfo, data, callback) {};
|
|
9905
9929
|
|
|
9906
9930
|
|
|
9907
9931
|
/**
|
|
@@ -9910,8 +9934,8 @@ chrome.networkingPrivate.verifyAndEncryptData =
|
|
|
9910
9934
|
* @param {function(string)=} opt_callback
|
|
9911
9935
|
* @return {undefined}
|
|
9912
9936
|
*/
|
|
9913
|
-
chrome.networkingPrivate.setWifiTDLSEnabledState =
|
|
9914
|
-
|
|
9937
|
+
chrome.networkingPrivate.setWifiTDLSEnabledState = function(
|
|
9938
|
+
ipOrMacAddress, enabled, opt_callback) {};
|
|
9915
9939
|
|
|
9916
9940
|
|
|
9917
9941
|
/**
|
|
@@ -9919,8 +9943,8 @@ chrome.networkingPrivate.setWifiTDLSEnabledState =
|
|
|
9919
9943
|
* @param {function(string)} callback
|
|
9920
9944
|
* @return {undefined}
|
|
9921
9945
|
*/
|
|
9922
|
-
chrome.networkingPrivate.getWifiTDLSStatus =
|
|
9923
|
-
|
|
9946
|
+
chrome.networkingPrivate.getWifiTDLSStatus = function(
|
|
9947
|
+
ipOrMacAddress, callback) {};
|
|
9924
9948
|
|
|
9925
9949
|
|
|
9926
9950
|
/**
|
|
@@ -9997,8 +10021,8 @@ chrome.mdns.ServiceListEvent = function() {};
|
|
|
9997
10021
|
* @param {!Object=} opt_filter
|
|
9998
10022
|
* @return {undefined}
|
|
9999
10023
|
*/
|
|
10000
|
-
chrome.mdns.ServiceListEvent.prototype.addListener =
|
|
10001
|
-
|
|
10024
|
+
chrome.mdns.ServiceListEvent.prototype.addListener = function(
|
|
10025
|
+
callback, opt_filter) {};
|
|
10002
10026
|
|
|
10003
10027
|
|
|
10004
10028
|
/**
|
|
@@ -10339,7 +10363,8 @@ chrome.bluetoothPrivate.DiscoveryFilter;
|
|
|
10339
10363
|
* @param {!chrome.bluetoothPrivate.DiscoveryFilter} discoveryFilter
|
|
10340
10364
|
* @param {function():void=} callback
|
|
10341
10365
|
*/
|
|
10342
|
-
chrome.bluetoothPrivate.setDiscoveryFilter = function(
|
|
10366
|
+
chrome.bluetoothPrivate.setDiscoveryFilter = function(
|
|
10367
|
+
discoveryFilter, callback) {};
|
|
10343
10368
|
|
|
10344
10369
|
|
|
10345
10370
|
/**
|
|
@@ -10761,7 +10786,7 @@ chrome.downloads.pause = function(id, opt_callback) {};
|
|
|
10761
10786
|
|
|
10762
10787
|
|
|
10763
10788
|
/**
|
|
10764
|
-
* @param {
|
|
10789
|
+
* @param {number} id
|
|
10765
10790
|
* @param {function()=} opt_callback
|
|
10766
10791
|
*
|
|
10767
10792
|
* @see https://developer.chrome.com/extensions/downloads#method-resume
|
|
@@ -10802,7 +10827,9 @@ chrome.downloads.open = function(id) {};
|
|
|
10802
10827
|
chrome.downloads.show = function(id) {};
|
|
10803
10828
|
|
|
10804
10829
|
|
|
10805
|
-
/**
|
|
10830
|
+
/**
|
|
10831
|
+
* @see https://developer.chrome.com/extensions/downloads#method-showDefaultFolder
|
|
10832
|
+
*/
|
|
10806
10833
|
chrome.downloads.showDefaultFolder = function() {};
|
|
10807
10834
|
|
|
10808
10835
|
|