mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Use NotificationPresenter - macOS
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user