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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/ChromeNotificationBuilder.java

Issue 2702963002: Migrating media notifications to ChromeNotificationBuilder (Closed)
Patch Set: remove that unecessary method from all the places Created 3 years, 10 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/notifications/ChromeNotificationBuilder.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/ChromeNotificationBuilder.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/ChromeNotificationBuilder.java
index d28cf02666671bea7fac5eb06bb8868bb7c7aeaf..05dea24c1eb99fed7f0f5a61eecbd2282ec1e93e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/ChromeNotificationBuilder.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/ChromeNotificationBuilder.java
@@ -8,6 +8,7 @@ import android.app.Notification;
import android.app.PendingIntent;
import android.graphics.Bitmap;
import android.graphics.drawable.Icon;
+import android.support.v4.media.session.MediaSessionCompat;
import android.widget.RemoteViews;
/**
@@ -74,6 +75,9 @@ public interface ChromeNotificationBuilder {
ChromeNotificationBuilder setStyle(Notification.BigTextStyle bigTextStyle);
+ ChromeNotificationBuilder setMediaStyle(MediaSessionCompat session, int[] actions,
+ PendingIntent intent, boolean showCancelButton);
+
Notification buildWithBigContentView(RemoteViews bigView);
Notification buildWithBigTextStyle(String bigText);

Powered by Google App Engine
This is Rietveld 408576698