Charlie Hess
2b9b186fd1
Rename soundName → sound.
2017-08-17 17:28:14 -07:00
Charlie Hess
0cfae1cc2b
Plumb in the macOS soundName property for notifications.
2017-08-17 13:31:20 -07:00
Milan Burda
a196bf97bc
🍎 Add subtitle to Notification properties
2017-06-30 16:54:28 +02:00
Samuel Attard
3774482859
Update notification PR as per feedback
2017-06-28 17:00:19 +10:00
Samuel Attard
7eb14243eb
Refactor notification options
2017-06-24 21:39:06 +10:00
Samuel Attard
17e737eba2
s/label/text
2017-06-23 21:04:39 +10:00
Samuel Attard
4f0d48f164
Add support for notification actions on macOS
2017-06-23 20:50:20 +10:00
Cheng Zhao
5fa2831756
Coding style fixes
2017-05-31 16:17:29 +09:00
Samuel Attard
227a2bd5dc
Fix reference typed reply placeholder
2017-05-30 20:29:27 +10:00
Samuel Attard
3938373ecb
Fix linting errors and add isSupported
2017-05-30 20:27:24 +10:00
Samuel Attard
5048425e6e
Update implementation as per feedback
2017-05-30 19:06:51 +10:00
Samuel Attard
9aa6b83f86
Fix compilation and click events on macOS
2017-05-29 21:22:44 +10:00
Samuel Attard
058bdfbced
Use NotificationPresenter - macOS
2017-05-29 20:02:33 +10:00
Kevin Sawicki
d7321ed980
Add brightray prefix to include paths from within brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
c4608c0f37
Fix build/include_alpha linter violations in brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
f193b2b2a6
Fix build/include_what_you_use linter violations in brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
cfb5b6ac89
Fix build/header_guard linter violations in brightray
2017-05-19 08:46:15 -07:00
Kevin Sawicki
c6190dc094
Remove unused BRYApplication class
2017-05-19 08:46:15 -07:00
Ales Pergl
0bba5b9b41
Address cpplint issue "Lines should be <= 80 characters long [whitespace/line_length] [2]"
2017-04-05 14:30:15 +02:00
Ales Pergl
e6a30388da
Make Notification
factory function a member of NotificationPresenter
so that we can create different types of notifications based on runtime conditions.
2017-04-05 14:30:15 +02:00
Haojian Wu
e4c571fc68
Remove unused using namespace declaration.
2017-03-30 21:49:15 +02:00
Kevin Sawicki
0a5f7171d4
Add more guards around null notification
2016-10-28 10:54:55 -07:00
deepak1556
ee4442f964
set notification close callback before requesting user permission
2016-10-25 19:04:09 +05:30
Kevin Sawicki
ebc7432893
Remove unused import
2016-06-17 11:37:29 -07:00
Kevin Sawicki
8bee2d7b7f
Break out EventDispatchingWindow into separate class
2016-06-17 11:05:25 -07:00
Kevin Sawicki
df726d0f41
Redispatch key events to handle native shortcuts
2016-06-17 10:27:32 -07:00
Cheng Zhao
851ef398fb
Adapt to changes of Chrome 51 API changes
2016-05-23 10:59:07 +09:00
Cheng Zhao
f4c27c6d29
Store weak ref to Notification in ToastEventHandler
2016-04-15 16:14:13 +09:00
Marco Trevisan (Treviño)
59ed6ad413
Notification: pass tag to Show method
2016-04-13 06:12:46 +02:00
Cheng Zhao
baf5f384cd
Pass() is deprecated for std::move
2016-03-08 20:59:29 +09:00
Felix Rieseberg
728f0f985b
🏁 🍎 Add Silent Notification Support
...
* Implements support for silent notifications on Windows and OS X
* Exposes bool `silent` to Linux notification presenters
2016-01-21 09:24:42 -08:00
Cheng Zhao
870e6a6f89
linux: Adapt to new Notification style
2015-12-25 11:52:19 +08:00
Cheng Zhao
c81bacc840
mac: Emit closed when notification is dismissed
2015-12-25 11:12:25 +08:00
Cheng Zhao
b091f27abf
win: Adapt to new Notification style
2015-12-25 11:05:48 +08:00
Cheng Zhao
5b7c7be804
Decouple notification code from content module
2015-12-25 10:16:07 +08:00
Cheng Zhao
9897f3aab0
Add an abstract Notification class
2015-12-24 22:06:41 +08:00
Cheng Zhao
41084883cf
Refactor the notification code
2015-12-24 21:55:18 +08:00
Cheng Zhao
75d0bc848d
Update to API changes of Chrome 47
2015-12-07 19:55:01 +08:00
Cheng Zhao
fc33eb99f7
Unsubscribe from NSNotificationCenter when WebContents is destroyed
...
Due to ref-counted references the NSView is not destroyed immediately
when WebContents is destroyed, so it is not reliable to do this in
the destructor.
2015-09-17 11:19:08 +08:00
Cheng Zhao
352f758cd1
Make DevToolsFocused in OS X
2015-09-15 11:24:35 +08:00
Cheng Zhao
c30f458d4f
Add IsDevToolsViewFocused method
2015-09-15 11:04:46 +08:00
Cheng Zhao
c0b9fd415d
Revert "Make bottom corner more round"
...
This reverts commit f9a64dde5da537f615cd7080a335c6304c6a814e.
2015-08-26 15:56:39 +08:00
Cheng Zhao
eb709a9a8f
Fix building on OS X
2015-08-25 20:55:07 +08:00
Robo
26f4d09b2c
implement for osx
2015-08-07 16:24:45 +05:30
Cheng Zhao
935d1e142f
Make bottom corner more round
2015-07-20 18:24:24 +08:00
Cheng Zhao
d1e70e7826
Add InspectableWebContents::GetDevToolsWebContents
2015-06-05 14:33:37 +08:00
Cheng Zhao
2c81fb4719
Fix compilation warnings due to API changes
2014-12-09 22:39:44 -08:00
Cheng Zhao
dbfa9b5660
mac: Clean delegate before releasing window
2014-11-03 22:12:33 +08:00
Cheng Zhao
b75dc9b08d
mac: Close the devtools window before releasing it
...
Sometime simply releasing it may leave it open for a while.
2014-11-03 22:05:16 +08:00
Cheng Zhao
92244500c6
mac: Clean delegate after closing window
2014-11-03 21:46:59 +08:00