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

Unified Diff: chrome/browser/notifications/notification_platform_bridge_mac.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_platform_bridge_mac.h
diff --git a/chrome/browser/notifications/notification_platform_bridge_mac.h b/chrome/browser/notifications/notification_platform_bridge_mac.h
index 88c198be5984290146a0e98c660770e5f1c7800b..b48f1896242ed15cd148a6a7da6496afe8c9acb1 100644
--- a/chrome/browser/notifications/notification_platform_bridge_mac.h
+++ b/chrome/browser/notifications/notification_platform_bridge_mac.h
@@ -11,10 +11,12 @@
#include "base/compiler_specific.h"
#include "base/mac/scoped_nsobject.h"
#include "base/macros.h"
+#include "chrome/browser/notifications/notification_common.h"
#include "chrome/browser/notifications/notification_platform_bridge.h"
class Notification;
@class NotificationCenterDelegate;
+@class NSDictionary;
@class NSUserNotificationCenter;
class PrefService;
@@ -27,7 +29,8 @@ class NotificationPlatformBridgeMac : public NotificationPlatformBridge {
~NotificationPlatformBridgeMac() override;
// NotificationPlatformBridge implementation.
- void Display(const std::string& notification_id,
+ void Display(NotificationCommon::Type notification_type,
+ const std::string& notification_id,
const std::string& profile_id,
bool incognito,
const Notification& notification) override;

Powered by Google App Engine
This is Rietveld 408576698