OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 [ | 5 [ |
6 { | 6 { |
7 "namespace": "mediaPlayerPrivate", | 7 "namespace": "mediaPlayerPrivate", |
8 "nodoc": "true", | 8 "nodoc": "true", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 ] | 74 ] |
75 }, | 75 }, |
76 { | 76 { |
77 "name": "closeWindow", | 77 "name": "closeWindow", |
78 "description": "Closes the media player window.", | 78 "description": "Closes the media player window.", |
79 "parameters": [] | 79 "parameters": [] |
80 } | 80 } |
81 ], | 81 ], |
82 "events": [ | 82 "events": [ |
83 { | 83 { |
| 84 "name": "onNextTrack", |
| 85 "type": "function", |
| 86 "description": "Notifies that the next track was requested.", |
| 87 "parameters": [] |
| 88 }, |
| 89 { |
84 "name": "onPlaylistChanged", | 90 "name": "onPlaylistChanged", |
85 "type": "function", | 91 "type": "function", |
86 "description": "Notifies that playlist content or state has been changed
. Data could be retrieved via 'getPlaylist'.", | 92 "description": "Notifies that playlist content or state has been changed
. Data could be retrieved via 'getPlaylist'.", |
87 "parameters": [] | 93 "parameters": [] |
| 94 }, |
| 95 { |
| 96 "name": "onPrevTrack", |
| 97 "type": "function", |
| 98 "description": "Notifies that the previous tack was requested.", |
| 99 "parameters": [] |
| 100 }, |
| 101 { |
| 102 "name": "onTogglePlayState", |
| 103 "type": "function", |
| 104 "description": "Notifies that a play/pause toggle was requested.", |
| 105 "parameters": [] |
88 } | 106 } |
89 ] | 107 ] |
90 } | 108 } |
91 ] | 109 ] |
OLD | NEW |