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
3 // found in the LICENSE file.
5 // Externs which are common for all chrome packaged apps.
9 * @param {function(!Entry)} successCallback
10 * @param {function(!FileError)=} opt_errorCallback
12 Window
.prototype.webkitResolveLocalFileSystemURL
=
13 function(url
, successCallback
, opt_errorCallback
) {};
16 * Media error: MEDIA_ERR_ABORTED.
19 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
21 MediaError
.MEDIA_ERR_ABORTED
= 1;
24 * Media error: MEDIA_ERR_NETWORK.
27 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
29 MediaError
.MEDIA_ERR_NETWORK
= 2;
32 * Media error: MEDIA_ERR_DECODE.
35 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
37 MediaError
.MEDIA_ERR_DECODE
= 3;
40 * Media error: MEDIA_ERR_SRC_NOT_SUPPORTED.
43 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
45 MediaError
.MEDIA_ERR_SRC_NOT_SUPPORTED
= 4;