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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationListener.java

Issue 2441403002: Add media controls in media notification (Closed)
Patch Set: nits Created 4 years, 2 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/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..8b893e3c2d4ac695ef9b05e4ea09de11a2e6e65d 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,10 @@ public interface MediaNotificationListener {
* @param actionSource The source the listener got the action from.
*/
void onStop(int actionSource);
+
+ /**
+ * Called when the user initiated a MediaSessionAction.
whywhat 2016/10/24 20:54:01 nit: a MediaSessionAction doesn't explain anything
Zhiqiang Zhang (Slow) 2016/10/25 12:45:35 Done.
+ * @param action The kind of the initated action.
+ */
+ void onMediaSessionAction(MediaSessionAction action);
}

Powered by Google App Engine
This is Rietveld 408576698