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

Unified Diff: chrome/browser/notifications/persistent_notification_delegate.h

Issue 1269923003: Plumb notification action index for desktop SW notificationclick (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@actions
Patch Set: Created 5 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/notifications/persistent_notification_delegate.h
diff --git a/chrome/browser/notifications/persistent_notification_delegate.h b/chrome/browser/notifications/persistent_notification_delegate.h
index 003d46be9d58a7f36b067608b83cce3f2927cd82..d7f88470aa9d73931d96dbdb4f8f602774cbe8f9 100644
--- a/chrome/browser/notifications/persistent_notification_delegate.h
+++ b/chrome/browser/notifications/persistent_notification_delegate.h
@@ -35,6 +35,7 @@ class PersistentNotificationDelegate : public NotificationDelegate {
void Display() override;
void Close(bool by_user) override;
void Click() override;
+ void ButtonClick(int button_index) override;
std::string id() const override;
protected:

Powered by Google App Engine
This is Rietveld 408576698