Add support for notification actions on macOS

This commit is contained in:
Samuel Attard 2017-06-23 20:39:42 +10:00
parent 873a315538
commit 4f0d48f164
16 changed files with 136 additions and 13 deletions

View file

@ -13,7 +13,8 @@ class Win32Notification : public brightray::Notification {
void Show(const base::string16& title, const base::string16& msg,
const std::string& tag, const GURL& icon_url,
const SkBitmap& icon, bool silent,
bool has_reply, const base::string16& reply_placeholder) override;
bool has_reply, const base::string16& reply_placeholder,
const std::vector<NotificationAction> actions) override;
void Dismiss() override;
const DesktopNotificationController::Notification& GetRef() const {