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

Unified Diff: ui/file_manager/externs/web_animation.js

Issue 2602693002: Files app: Compile custom elements. (Closed)
Patch Set: Sort dependencies. Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/externs/web_animation.js
diff --git a/ui/file_manager/externs/web_animation.js b/ui/file_manager/externs/web_animation.js
new file mode 100644
index 0000000000000000000000000000000000000000..a78a8c71ed7184a06f224b54e0c1144ddf43a924
--- /dev/null
+++ b/ui/file_manager/externs/web_animation.js
@@ -0,0 +1,28 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @interface
+ * @extends {EventTarget}
+ */
+function Animation() {}
+
+/**
+ * @param {boolean=} opt_useCapture
+ * @override
+ */
+Animation.prototype.addEventListener =
+ function(type, listener, opt_useCapture) {}
+
+/**
+ * @type {!Promise}
+ */
+Animation.prototype.finished;
+
+/**
+ * @param {!Array} keyframes
+ * @param {number|!Object} options
+ * @returns {!Animation}
+ */
+Element.prototype.animate = function(keyframes, options) {}

Powered by Google App Engine
This is Rietveld 408576698