Move notification-related code into a new NotificationPresenter class

This commit is contained in:
Adam Roben 2013-03-28 17:49:29 -04:00
parent 1328c85eef
commit 3c41af84a1
6 changed files with 58 additions and 5 deletions

View file

@ -0,0 +1,23 @@
#ifndef BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
#define BRIGHTRAY_BROWSER_NOTIFICATION_PRESENTER_H_
namespace content {
struct ShowDesktopNotificationHostMsgParams;
}
namespace brightray {
class NotificationPresenter {
public:
NotificationPresenter();
~NotificationPresenter();
void ShowNotification(
const content::ShowDesktopNotificationHostMsgParams&,
int render_process_id,
int render_view_id);
};
}
#endif