Implement PlatformNotificationService
This commit is contained in:
parent
99e2dbd6e8
commit
a5026907e4
8 changed files with 140 additions and 36 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
namespace content {
|
||||
class DesktopNotificationDelegate;
|
||||
struct ShowDesktopNotificationHostMsgParams;
|
||||
struct PlatformNotificationData;
|
||||
}
|
||||
|
||||
namespace brightray {
|
||||
|
@ -18,7 +18,7 @@ class NotificationPresenter {
|
|||
static NotificationPresenter* Create();
|
||||
|
||||
virtual void ShowNotification(
|
||||
const content::ShowDesktopNotificationHostMsgParams&,
|
||||
const content::PlatformNotificationData&,
|
||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||
base::Closure* cancel_callback) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue