electron/brightray/browser/notification_presenter.h

29 lines
630 B
C
Raw Normal View History

#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
namespace content {
struct ShowDesktopNotificationHostMsgParams;
}
namespace brightray {
class NotificationPresenter {
public:
virtual ~NotificationPresenter() {}
static NotificationPresenter* Create();
virtual void ShowNotification(
const content::ShowDesktopNotificationHostMsgParams&,
int render_process_id,
int render_view_id) = 0;
2013-03-29 13:36:07 +00:00
virtual void CancelNotification(
int render_process_id,
int render_view_id,
int notification_id) = 0;
};
} // namespace brightray
#endif