2013-03-28 22:03:58 +00:00
|
|
|
#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_MAC_H_
|
|
|
|
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_MAC_H_
|
|
|
|
|
|
|
|
#import "browser/notification_presenter.h"
|
|
|
|
|
2013-03-28 22:08:34 +00:00
|
|
|
#import "base/memory/scoped_nsobject.h"
|
|
|
|
|
|
|
|
@class BRYUserNotificationCenterDelegate;
|
2013-03-28 22:03:58 +00:00
|
|
|
|
|
|
|
namespace brightray {
|
|
|
|
|
|
|
|
class NotificationPresenterMac : public NotificationPresenter {
|
|
|
|
public:
|
|
|
|
NotificationPresenterMac();
|
|
|
|
~NotificationPresenterMac();
|
|
|
|
|
|
|
|
virtual void ShowNotification(
|
|
|
|
const content::ShowDesktopNotificationHostMsgParams&,
|
|
|
|
int render_process_id,
|
|
|
|
int render_view_id) OVERRIDE;
|
2013-03-28 22:08:34 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
scoped_nsobject<BRYUserNotificationCenterDelegate> delegate_;
|
2013-03-28 22:03:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|