electron/brightray/browser/notification_presenter.h
2014-10-11 16:38:27 +08:00

28 lines
663 B
C++

#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
#include "base/callback_forward.h"
#include "base/memory/scoped_ptr.h"
namespace content {
class DesktopNotificationDelegate;
struct ShowDesktopNotificationHostMsgParams;
}
namespace brightray {
class NotificationPresenter {
public:
virtual ~NotificationPresenter() {}
static NotificationPresenter* Create();
virtual void ShowNotification(
const content::ShowDesktopNotificationHostMsgParams&,
scoped_ptr<content::DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) = 0;
};
} // namespace brightray
#endif