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

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: nits 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..280c84df461e0fe43a28fa0c4751d4f758392a2b 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,
+ NON_PERSISTENT = 1,
+ TYPE_MAX = NON_PERSISTENT
+ };
+
// 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