Index: chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationListener.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationListener.java b/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationListener.java |
index ecc488f0c1456241d9c03c6869ed244fa60a7251..d939237b3290505decc092f11b21493bc4edf58b 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationListener.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationListener.java |
@@ -42,4 +42,11 @@ public interface MediaNotificationListener { |
* @param actionSource The source the listener got the action from. |
*/ |
void onStop(int actionSource); |
+ |
+ /** |
+ * Called when the user performed one of the media actions (like fast forward or next track) |
+ * supported by MediaSession. |
+ * @param action The kind of the initated action. |
+ */ |
+ void onMediaSessionAction(int action); |
} |