Snap pinch zoom gestures near the screen edge.
[chromium-blink-merge.git] / ui / file_manager / externs / platform.js
blob2dfe238a0ad1a79978e4a5f08fd2c481a528b5ea
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.
7 /**
8 * @param {string} url
9 * @param {function(!Entry)} successCallback
10 * @param {function(!FileError)=} opt_errorCallback
12 Window.prototype.webkitResolveLocalFileSystemURL =
13 function(url, successCallback, opt_errorCallback) {};
15 /**
16 * Media error: MEDIA_ERR_ABORTED.
17 * @type {number}
18 * @const
19 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
21 MediaError.MEDIA_ERR_ABORTED = 1;
23 /**
24 * Media error: MEDIA_ERR_NETWORK.
25 * @type {number}
26 * @const
27 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
29 MediaError.MEDIA_ERR_NETWORK = 2;
31 /**
32 * Media error: MEDIA_ERR_DECODE.
33 * @type {number}
34 * @const
35 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
37 MediaError.MEDIA_ERR_DECODE = 3;
39 /**
40 * Media error: MEDIA_ERR_SRC_NOT_SUPPORTED.
41 * @type {number}
42 * @const
43 * @see http://dev.w3.org/html5/spec-author-view/video.html#mediaerror
45 MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED = 4;