Refactor notification presenter for new desktop notification interface.

This commit is contained in:
Cheng Zhao 2014-07-27 10:27:41 +00:00
parent 4e63780e4a
commit 6dd580526e
5 changed files with 82 additions and 131 deletions

View file

@ -43,13 +43,9 @@ class BrowserClient : public content::ContentBrowserClient {
const content::MainFunctionParams&) OVERRIDE;
virtual void ShowDesktopNotification(
const content::ShowDesktopNotificationHostMsgParams&,
int render_process_id,
int render_view_id,
bool worker) OVERRIDE;
virtual void CancelDesktopNotification(
int render_process_id,
int render_view_id,
int notification_id) OVERRIDE;
content::RenderFrameHost* render_frame_host,
content::DesktopNotificationDelegate* delegate,
base::Closure* cancel_callback) OVERRIDE;
virtual content::MediaObserver* GetMediaObserver() OVERRIDE;
virtual void GetAdditionalAllowedSchemesForFileSystem(
std::vector<std::string>* additional_schemes) OVERRIDE;