[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / ui / file_manager / externs / files_elements.js
blob06a265393587d8a6ac9a15f964d8e4e12ada92b7
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
3 // found in the LICENSE file.
5 /**
6  * @constructor
7  * @struct
8  * @extends {PolymerElement}
9  */
10 function FilesToggleRipple() {}
12 /**
13  * @type {boolean}
14  */
15 FilesToggleRipple.prototype.activated;
17 /**
18  * @constructor
19  * @struct
20  * @extends {PolymerElement}
21  */
22 function FilesToast() {}
24 /**
25  * @type {boolean}
26  */
27 FilesToast.prototype.visible;
29 /**
30  * @type {number}
31  */
32 FilesToast.prototype.timeout;
34 /**
35  * @param {string} text
36  * @param {{text: string, callback: function()}=} opt_action
37  */
38 FilesToast.prototype.show = function(text, opt_action) {};
40 /**
41  * @return {!Promise}
42  */
43 FilesToast.prototype.hide = function() {};
45 /**
46  * @constructor
47  * @struct
48  * @extends {PolymerElement}
49  */
50 function AudioPlayerElement() {}
52 /** @type {boolean} */
53 AudioPlayerElement.prototype.playing;
55 /** @type {number} */
56 AudioPlayerElement.prototype.time;
58 /** @type {boolean} */
59 AudioPlayerElement.prototype.shuffule;
61 /** @type {boolean} */
62 AudioPlayerElement.prototype.repeat;
64 /** @type {number} */
65 AudioPlayerElement.prototype.volume;
67 /** @type {boolean} */
68 AudioPlayerElement.prototype.expanded;
70 /** @type {number} */
71 AudioPlayerElement.prototype.currentTrackIndex;
73 /** @type {string} */
74 AudioPlayerElement.prototype.currenttrackurl;
76 /** @type {number} */
77 AudioPlayerElement.prototype.playcount;
79 /** @type {Array<!Object>} */
80 AudioPlayerElement.prototype.tracks;
82 /** @type {Object} */
83 AudioPlayerElement.prototype.model;
85 AudioPlayerElement.prototype.onPageUnload = function() {};
87 AudioPlayerElement.prototype.onAudioError = function() {};