🏁 🍎 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:
Felix Rieseberg 2016-01-20 16:36:41 -08:00
parent c9993ccc26
commit 728f0f985b
8 changed files with 95 additions and 10 deletions

View file

@ -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(),