🏁 🍎 Add Silent Notification Support
* Implements support for silent notifications on Windows and OS X * Exposes bool `silent` to Linux notification presenters
This commit is contained in:
parent
c9993ccc26
commit
728f0f985b
8 changed files with 95 additions and 10 deletions
|
@ -89,7 +89,8 @@ LibnotifyNotification::~LibnotifyNotification() {
|
|||
void LibnotifyNotification::Show(const base::string16& title,
|
||||
const base::string16& body,
|
||||
const GURL& icon_url,
|
||||
const SkBitmap& icon) {
|
||||
const SkBitmap& icon,
|
||||
const bool silent) {
|
||||
notification_ = libnotify_loader_.notify_notification_new(
|
||||
base::UTF16ToUTF8(title).c_str(),
|
||||
base::UTF16ToUTF8(body).c_str(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue