Store weak ref to Notification in ToastEventHandler

This commit is contained in:
Cheng Zhao 2016-04-15 16:14:13 +09:00
parent ddee77fae4
commit f4c27c6d29
9 changed files with 32 additions and 47 deletions

View file

@ -28,8 +28,7 @@ class CocoaNotification : public Notification {
const bool silent) override;
void Dismiss() override;
void NotifyDisplayed();
void NotifyClick();
void NotificationDisplayed();
NSUserNotification* notification() const { return notification_; }