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

Side by Side Diff: chrome/browser/resources/media_router/externs.js

Issue 1754713005: [Media Router] Animate transition between sink list and filter views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase for apacible's perf change Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 * @fileoverview Externs to be declared to properly compile JS code. 6 * @fileoverview Externs to be declared to properly compile JS code.
7 * @externs 7 * @externs
8 */ 8 */
9 9
10 var performance = {}; 10 var performance = {};
11 11
12 /** 12 /**
13 * @return {number} 13 * @return {number}
14 */ 14 */
15 performance.now = function() {}; 15 performance.now = function() {};
16 16
17 /** @interface */ 17 /** @interface */
18 var InputDeviceCapabilities; 18 var InputDeviceCapabilities;
19 19
20 /** @type {?InputDeviceCapabilities} */ 20 /** @type {?InputDeviceCapabilities} */
21 Event.prototype.sourceCapabilities; 21 Event.prototype.sourceCapabilities;
22
23 /**
24 * @interface
25 */
26 var AnimationEffect = function() {};
27
28 /**
29 * @param {Element} target
30 * @param {!Array<!Object>} frames
31 * @param {(number|Object)=} timing
32 * @constructor
33 * @implements {AnimationEffect}
34 */
35 var KeyframeEffect = function(target, frames, timing) {};
36
37 /**
38 * @param {!Array<!AnimationEffect>} group
39 * @constructor
40 * @implements {AnimationEffect}
41 */
42 var GroupEffect = function(group) {};
43
44 /**
45 * @interface
46 */
47 var Animation = function() {};
48
49 /**
50 * @return {undefined}
51 */
52 Animation.prototype.cancel = function() {};
53
54 /**
55 * @type {!Promise}
56 */
57 Animation.prototype.finished;
58
59 document.timeline = {};
60
61 /**
62 * @param {!AnimationEffect} effect
63 * @return {!Animation}
64 */
65 document.timeline.play = function(effect) {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698