Index: chrome/common/extensions/api/media_player_private.json |
diff --git a/chrome/common/extensions/api/media_player_private.json b/chrome/common/extensions/api/media_player_private.json |
index fef30a00ce9898c21b94933c4a18ead2304ab8e9..5d77ab99a867c5469cd0fb79a180474cbc95c3d1 100644 |
--- a/chrome/common/extensions/api/media_player_private.json |
+++ b/chrome/common/extensions/api/media_player_private.json |
@@ -81,10 +81,28 @@ |
], |
"events": [ |
{ |
+ "name": "onNextTrack", |
+ "type": "function", |
+ "description": "Notifies that the next track was requested.", |
+ "parameters": [] |
+ }, |
+ { |
"name": "onPlaylistChanged", |
"type": "function", |
"description": "Notifies that playlist content or state has been changed. Data could be retrieved via 'getPlaylist'.", |
"parameters": [] |
+ }, |
+ { |
+ "name": "onPrevTrack", |
+ "type": "function", |
+ "description": "Notifies that the previous tack was requested.", |
+ "parameters": [] |
+ }, |
+ { |
+ "name": "onTogglePlayState", |
+ "type": "function", |
+ "description": "Notifies that a play/pause toggle was requested.", |
+ "parameters": [] |
} |
] |
} |