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

Side by Side Diff: remoting/webapp/js_proto/dom_proto.js

Issue 848993002: Improve apps v2 upgrade UX (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 contains various hacks needed to inform JSCompiler of various 5 // This file contains various hacks needed to inform JSCompiler of various
6 // WebKit- and Chrome-specific properties and methods. It is used only with 6 // WebKit- and Chrome-specific properties and methods. It is used only with
7 // JSCompiler to verify the type-correctness of our code. 7 // JSCompiler to verify the type-correctness of our code.
8 8
9 /** @type {HTMLElement} */ 9 /** @type {HTMLElement} */
10 Document.prototype.activeElement; 10 Document.prototype.activeElement;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 /** 212 /**
213 * @param {function(*) : void} onReject 213 * @param {function(*) : void} onReject
214 * @return {Promise} 214 * @return {Promise}
215 */ 215 */
216 Promise.prototype['catch'] = function (onReject) {}; 216 Promise.prototype['catch'] = function (onReject) {};
217 217
218 /** 218 /**
219 * @param {Array.<Promise>} promises 219 * @param {Array.<Promise>} promises
220 * @return {Promise} 220 * @return {Promise}
221 */ 221 */
222 Promise.prototype.race = function (promises) {} 222 Promise.race = function (promises) {}
223 223
224 /** 224 /**
225 * @param {Array.<Promise>} promises 225 * @param {Array.<Promise>} promises
226 * @return {Promise} 226 * @return {Promise}
227 */ 227 */
228 Promise.prototype.all = function (promises) {}; 228 Promise.all = function (promises) {};
229 229
230 /** 230 /**
231 * @param {*=} reason 231 * @param {*=} reason
232 * @return {Promise} 232 * @return {Promise}
233 */ 233 */
234 Promise.reject = function (reason) {}; 234 Promise.reject = function (reason) {};
235 235
236 /** 236 /**
237 * @param {*=} value 237 * @param {*=} value
238 * @return {Promise} 238 * @return {Promise}
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 * @param {number} begin 281 * @param {number} begin
282 * @param {number=} end 282 * @param {number=} end
283 * @return {ArrayBuffer} 283 * @return {ArrayBuffer}
284 */ 284 */
285 ArrayBuffer.prototype.slice = function(begin, end) {}; 285 ArrayBuffer.prototype.slice = function(begin, end) {};
286 286
287 /** 287 /**
288 * @return {string} 288 * @return {string}
289 */ 289 */
290 Date.prototype.toISOString = function() {}; 290 Date.prototype.toISOString = function() {};
OLDNEW
« remoting/webapp/crd/js/remoting.js ('K') | « remoting/webapp/crd/js/remoting.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698