Turn NotificationPresenter into an abstract base class
This will allow us to have Mac-specific member variables without a bunch of ifdefs.
This commit is contained in:
parent
3c41af84a1
commit
651ab18a21
6 changed files with 42 additions and 19 deletions
|
@ -9,13 +9,14 @@ namespace brightray {
|
|||
|
||||
class NotificationPresenter {
|
||||
public:
|
||||
NotificationPresenter();
|
||||
~NotificationPresenter();
|
||||
virtual ~NotificationPresenter() {};
|
||||
|
||||
void ShowNotification(
|
||||
static NotificationPresenter* Create();
|
||||
|
||||
virtual void ShowNotification(
|
||||
const content::ShowDesktopNotificationHostMsgParams&,
|
||||
int render_process_id,
|
||||
int render_view_id);
|
||||
int render_view_id) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue