Implement GetDevToolsManagerDelegate, fixes atom/atom-shell#969
This commit is contained in:
parent
ad81698651
commit
51ef072de5
2 changed files with 12 additions and 6 deletions
|
@ -33,23 +33,24 @@ class BrowserClient : public content::ContentBrowserClient {
|
|||
|
||||
// Subclasses that override this (e.g., to provide their own protocol
|
||||
// handlers) should call this implementation after doing their own work.
|
||||
virtual net::URLRequestContextGetter* CreateRequestContext(
|
||||
net::URLRequestContextGetter* CreateRequestContext(
|
||||
content::BrowserContext* browser_context,
|
||||
content::ProtocolHandlerMap* protocol_handlers,
|
||||
content::URLRequestInterceptorScopedVector protocol_interceptors) override;
|
||||
|
||||
private:
|
||||
virtual content::BrowserMainParts* CreateBrowserMainParts(
|
||||
content::BrowserMainParts* CreateBrowserMainParts(
|
||||
const content::MainFunctionParams&) override;
|
||||
virtual void ShowDesktopNotification(
|
||||
void ShowDesktopNotification(
|
||||
const content::ShowDesktopNotificationHostMsgParams& params,
|
||||
content::RenderFrameHost* render_frame_host,
|
||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||
base::Closure* cancel_callback) override;
|
||||
virtual content::MediaObserver* GetMediaObserver() override;
|
||||
virtual void GetAdditionalAllowedSchemesForFileSystem(
|
||||
content::MediaObserver* GetMediaObserver() override;
|
||||
void GetAdditionalAllowedSchemesForFileSystem(
|
||||
std::vector<std::string>* additional_schemes) override;
|
||||
virtual base::FilePath GetDefaultDownloadDirectory() override;
|
||||
base::FilePath GetDefaultDownloadDirectory() override;
|
||||
content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
|
||||
|
||||
BrowserMainParts* browser_main_parts_;
|
||||
scoped_ptr<NotificationPresenter> notification_presenter_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue