Use NotificationPresenter - macOS

This commit is contained in:
Samuel Attard
2017-05-29 20:02:33 +10:00
parent 193c561815
commit 058bdfbced
17 changed files with 93 additions and 80 deletions

View File

@@ -88,7 +88,9 @@ void LibnotifyNotification::Show(const base::string16& title,
const std::string& tag,
const GURL& icon_url,
const SkBitmap& icon,
const bool silent) {
const bool silent,
const bool has_reply,
const base::string16 reply_placeholder) {
notification_ = libnotify_loader_.notify_notification_new(
base::UTF16ToUTF8(title).c_str(),
base::UTF16ToUTF8(body).c_str(),

View File

@@ -27,7 +27,9 @@ class LibnotifyNotification : public Notification {
const std::string& tag,
const GURL& icon_url,
const SkBitmap& icon,
const bool silent) override;
const bool silent,
const bool has_reply,
const base::string16 reply_placeholder) override;
void Dismiss() override;
private: