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

Unified Diff: chrome/browser/chromeos/extensions/media_player_event_router.h

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/browser/chromeos/extensions/media_player_event_router.h
diff --git a/chrome/browser/chromeos/extensions/media_player_event_router.h b/chrome/browser/chromeos/extensions/media_player_event_router.h
index aaaafb1a7204f3cd74729bf4eb96453234f5af4e..6fb76efbc052d237a0bd19e044721d03abf9ecf9 100644
--- a/chrome/browser/chromeos/extensions/media_player_event_router.h
+++ b/chrome/browser/chromeos/extensions/media_player_event_router.h
@@ -17,8 +17,18 @@ class ExtensionMediaPlayerEventRouter {
void Init(Profile* profile);
+ // Send notification that next-track shortcut key was pressed.
+ void NotifyNextTrack();
+
+ // Send notification that playlist changed.
void NotifyPlaylistChanged();
+ // Send notification that previous-track shortcut key was pressed.
+ void NotifyPrevTrack();
+
+ // Send notification that play/pause shortcut key was pressed.
+ void NotifyTogglePlayState();
+
private:
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698