Adam Roben
64a5ce6e15
Update for move of scoped_nsobject header and namespace
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=207616 .
2013-10-07 16:31:57 -04:00
Adam Roben
1e99ec9aed
Update #includes for moves of string-related headers
...
See http://src.chromium.org/viewvc/chrome?view=revision&revision=205050 .
2013-10-07 16:31:57 -04:00
Adam Roben
080d9f59e9
Implement Notification.close()
2013-03-29 09:36:07 -04:00
Adam Roben
dde3c3f78f
Make NotificationID more useful
2013-03-29 09:23:10 -04:00
Adam Roben
e59c549e62
Fire a click
event when a notification is clicked
2013-03-29 09:02:40 -04:00
Adam Roben
c1463f9799
Don't fire the show
event until the notification is actually shown
2013-03-29 08:59:21 -04:00
Adam Roben
e592f3ffa1
Add CreateUserNotification helper function
2013-03-29 08:32:00 -04:00
Adam Roben
08f393437e
Show notifications even when the app is focused
...
It's a little icky to be taking over global state (NSUserNotificationCenter's
delegate) like this, but until we have evidence that it gets in someone's way
it's the pragmatic thing to do.
2013-03-28 18:09:04 -04:00
Adam Roben
651ab18a21
Turn NotificationPresenter into an abstract base class
...
This will allow us to have Mac-specific member variables without a bunch of
ifdefs.
2013-03-28 18:03:58 -04:00
Adam Roben
3c41af84a1
Move notification-related code into a new NotificationPresenter class
2013-03-28 17:50:07 -04:00