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

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

Issue 2794103002: Add initial support for native Linux desktop notifications (Closed)
Patch Set: Refactor, move impl to chrome/browser/notifications Created 3 years, 9 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/message_center_notification_manager.h
diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h
index 589633e44c7c4911dbd6589a88fc562d7c6a2a32..98fe3676c9c1703c8478ced0f33de7da676e31c0 100644
--- a/chrome/browser/notifications/message_center_notification_manager.h
+++ b/chrome/browser/notifications/message_center_notification_manager.h
@@ -28,6 +28,10 @@ class Notification;
class Profile;
class ProfileNotification;
+#if defined(USE_GLIB) && defined(USE_GIO)
+class DbusNotificationManager;
+#endif
+
namespace message_center {
class NotificationBlocker;
FORWARD_DECLARE_TEST(WebNotificationTrayTest, ManuallyCloseMessageCenter);
@@ -81,6 +85,9 @@ class MessageCenterNotificationManager
FRIEND_TEST_ALL_PREFIXES(message_center::WebNotificationTrayTest,
ManuallyCloseMessageCenter);
+#if defined(USE_GLIB) && defined(USE_GIO)
+ std::unique_ptr<DbusNotificationManager> dbus_notification_manager_;
+#endif
std::unique_ptr<message_center::MessageCenterTrayDelegate> tray_;
message_center::MessageCenter* message_center_; // Weak, global.

Powered by Google App Engine
This is Rietveld 408576698