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

Side by Side Diff: Source/devtools/front_end/es6.js

Issue 1264133002: Devtools: [WIP] Implement enhanced devtools extension language APIs Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Small cleanups - prefer URIs to contentURLs, revert protocol unifications, remove lambdas Created 5 years, 4 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 /* 1 /*
2 * Copyright 2014 The Closure Compiler Authors 2 * Copyright 2014 The Closure Compiler Authors
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 19 matching lines...) Expand all
30 30
31 /** 31 /**
32 * @param {string} description 32 * @param {string} description
33 * @return {symbol} 33 * @return {symbol}
34 */ 34 */
35 function Symbol(description) {} 35 function Symbol(description) {}
36 36
37 /** @const {symbol} */ 37 /** @const {symbol} */
38 Symbol.iterator; 38 Symbol.iterator;
39 39
40 /**
41 * @param {string} name
42 * @return {symbol}
43 */
44 Symbol.for;
45
40 46
41 /** 47 /**
42 * @interface 48 * @interface
43 * @template VALUE 49 * @template VALUE
44 */ 50 */
45 function Iterable() {} 51 function Iterable() {}
46 52
47 // TODO(johnlenz): remove this when the compiler understands "symbol" natively 53 // TODO(johnlenz): remove this when the compiler understands "symbol" natively
48 /** 54 /**
49 * @return {Iterator.<VALUE>} 55 * @return {Iterator.<VALUE>}
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 */ 857 */
852 Promise.prototype.then = function(opt_onFulfilled, opt_onRejected) {}; 858 Promise.prototype.then = function(opt_onFulfilled, opt_onRejected) {};
853 859
854 860
855 /** 861 /**
856 * @param {function(*): RESULT} onRejected 862 * @param {function(*): RESULT} onRejected
857 * @return {!Promise.<RESULT>} 863 * @return {!Promise.<RESULT>}
858 * @template RESULT 864 * @template RESULT
859 */ 865 */
860 Promise.prototype.catch = function(onRejected) {}; 866 Promise.prototype.catch = function(onRejected) {};
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/StylesSidebarPane.js ('k') | Source/devtools/front_end/extensions/ExtensionAPI.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698