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

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

Issue 1569783005: Notification custom layouts: move settings button to the footer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 11 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/NotificationBuilder.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilder.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilder.java
index b4bddd0118fd8fdcca53abbccb80e4bc92d53e9c..112df41bd988d3508d07f481a68997c12dc7cf1e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilder.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationBuilder.java
@@ -69,6 +69,11 @@ NotificationBuilder addAction(
int iconId, @Nullable CharSequence title, @Nullable PendingIntent intent);
/**
+ * Adds an action to the notification for opening the settings screen.
+ */
+ NotificationBuilder addSettingsAction(int iconId, CharSequence title, PendingIntent intent);
+
+ /**
* Sets the default notification options that will be used.
* <p>
* The value should be one or more of the following fields combined with

Powered by Google App Engine
This is Rietveld 408576698