1 // Copyright (c) 2012 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.
7 "namespace": "mediaPlayerPrivate",
13 "description": "Mediaplayer playlist stored in the browser (it extsts even if the mediaplayer is closed).",
18 "description": "Array of URLs for media files (in 'filesystem:' scheme for local files)",
19 "items": { "type": "string" }
23 "description": "A position in the playlist."
31 "description": "Plays a new playlist from a given position.",
36 "description": "Array of URLs for media files (in 'filesystem:' scheme for local files)",
37 "items": { "type": "string" }
42 "description": "A position in the playlist."
47 "name": "getPlaylist",
49 "description": "Returns current playlist and position.",
54 "description": "Callback to retrieve the playlist.",
59 "description": "Mediaplayer playlist stored in the browser (it extsts even if the mediaplayer is closed)."
66 "name": "setWindowHeight",
67 "description": "Changes the height of the media player window.",
72 "description": "Height of the media player window (not including window title or borders)."
77 "name": "closeWindow",
78 "description": "Closes the media player window.",
84 "name": "onNextTrack",
86 "description": "Notifies that the next track was requested.",
90 "name": "onPlaylistChanged",
92 "description": "Notifies that playlist content or state has been changed. Data could be retrieved via 'getPlaylist'.",
96 "name": "onPrevTrack",
98 "description": "Notifies that the previous tack was requested.",
102 "name": "onTogglePlayState",
104 "description": "Notifies that a play/pause toggle was requested.",