electron/brightray/browser/notification_presenter.h
Adam Roben 651ab18a21 Turn NotificationPresenter into an abstract base class
This will allow us to have Mac-specific member variables without a bunch of
ifdefs.
2013-03-28 18:03:58 -04:00

24 lines
485 B
C++

#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;
};
}
#endif