electron/brightray/browser/notification_presenter.h

32 lines
684 B
C
Raw Normal View History

#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
#include "base/callback_forward.h"
2014-10-11 08:38:27 +00:00
#include "base/memory/scoped_ptr.h"
class SkBitmap;
namespace content {
class DesktopNotificationDelegate;
2015-03-09 02:37:13 +00:00
struct PlatformNotificationData;
}
namespace brightray {
class NotificationPresenter {
public:
virtual ~NotificationPresenter() {}
static NotificationPresenter* Create();
virtual void ShowNotification(
2015-03-09 02:37:13 +00:00
const content::PlatformNotificationData&,
const SkBitmap& icon,
2014-10-11 08:38:27 +00:00
scoped_ptr<content::DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) = 0;
};
} // namespace brightray
#endif