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

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

Issue 2093953002: Introduce a new API to handle native notification clicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 5 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/notification_common.h
diff --git a/chrome/browser/notifications/notification_common.h b/chrome/browser/notifications/notification_common.h
index 79ac93ebffe6e77057bb525b6bcc6a057183d2c4..10b8d029ce207d7b721830ce16292bdf633da701 100644
--- a/chrome/browser/notifications/notification_common.h
+++ b/chrome/browser/notifications/notification_common.h
@@ -20,6 +20,13 @@ class NotificationCommon {
OPERATION_MAX = SETTINGS
};
+ // Possible kinds of notifications
+ enum Type {
+ PERSISTENT = 0,
+ NONPERSISTENT = 1,
Peter Beverloo 2016/07/05 23:44:17 Carry-over nit: NONPERSISTENT -> NON_PERSISTENT
Miguel Garcia 2016/07/07 11:02:29 Done.
+ TYPE_MAX = NONPERSISTENT
+ };
+
// Open the Notification settings screen when clicking the right button.
// TODO(miguelg) have it take a Profile instead once NotificationObjectProxy
// is updated.

Powered by Google App Engine
This is Rietveld 408576698