Add bare-bones HTML notifications support
Calling Notification.show() now works. But Notification.close() does nothing, and none of the notification's events fire.
This commit is contained in:
parent
1a1fecf423
commit
0893253188
3 changed files with 29 additions and 0 deletions
|
@ -28,6 +28,11 @@ protected:
|
|||
private:
|
||||
virtual content::BrowserMainParts* CreateBrowserMainParts(const content::MainFunctionParams&) OVERRIDE;
|
||||
virtual net::URLRequestContextGetter* CreateRequestContext(content::BrowserContext*, content::ProtocolHandlerMap*) OVERRIDE;
|
||||
virtual void ShowDesktopNotification(
|
||||
const content::ShowDesktopNotificationHostMsgParams&,
|
||||
int render_process_id,
|
||||
int render_view_id,
|
||||
bool worker) OVERRIDE;
|
||||
|
||||
BrowserMainParts* browser_main_parts_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue