| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Externs which are common for all chrome packaged apps. | 5 // Externs which are common for all chrome packaged apps. |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @param {string} url | 8 * @param {string} url |
| 9 * @param {function(!Entry)} successCallback | 9 * @param {function(!Entry)} successCallback |
| 10 * @param {function(!FileError)=} opt_errorCallback | 10 * @param {function(!FileError)=} opt_errorCallback |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 */ | 36 */ |
| 37 MediaError.MEDIA_ERR_DECODE = 3; | 37 MediaError.MEDIA_ERR_DECODE = 3; |
| 38 | 38 |
| 39 /** | 39 /** |
| 40 * Media error: MEDIA_ERR_SRC_NOT_SUPPORTED. | 40 * Media error: MEDIA_ERR_SRC_NOT_SUPPORTED. |
| 41 * @type {number} | 41 * @type {number} |
| 42 * @const | 42 * @const |
| 43 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror | 43 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror |
| 44 */ | 44 */ |
| 45 MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED = 4; | 45 MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
| 46 | |
| 47 /** | |
| 48 * Animate method. | |
| 49 * @param {!Array<!Object>} frames | |
| 50 * @param {number} duration | |
| 51 * @see http://www.w3.org/TR/web-animations/#widl-Animatable-animate- | |
| 52 * AnimationPlayer-object-effect--double-or-AnimationTimingInput--timing | |
| 53 */ | |
| 54 HTMLElement.prototype.animate = function(frames, duration) {}; | |
| OLD | NEW |