Implement PlatformNotificationService

This commit is contained in:
Cheng Zhao 2015-03-08 19:37:13 -07:00
parent 99e2dbd6e8
commit a5026907e4
8 changed files with 140 additions and 36 deletions

View file

@ -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;
};