Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: chrome/common/extensions/api/media_player_private.json

Issue 10823439: Ash: Support "Next Song", "Previous Song", "Play/Pause" Multi Media buttons (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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": []
}
]
}

Powered by Google App Engine
This is Rietveld 408576698