diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/shell/shell_extensions_browser_client.cc | 4 | ||||
-rw-r--r-- | apps/shell/shell_extensions_browser_client.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/shell/shell_extensions_browser_client.cc b/apps/shell/shell_extensions_browser_client.cc index 67af2ac..f745200 100644 --- a/apps/shell/shell_extensions_browser_client.cc +++ b/apps/shell/shell_extensions_browser_client.cc @@ -98,6 +98,10 @@ bool ShellExtensionsBrowserClient::IsBackgroundPageAllowed( return true; } +void ShellExtensionsBrowserClient::OnExtensionHostCreated( + content::WebContents* web_contents) { +} + bool ShellExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) { // TODO(jamescook): We might want to tell extensions when app_shell updates. return false; diff --git a/apps/shell/shell_extensions_browser_client.h b/apps/shell/shell_extensions_browser_client.h index 61d7d7d..86781b5 100644 --- a/apps/shell/shell_extensions_browser_client.h +++ b/apps/shell/shell_extensions_browser_client.h @@ -39,6 +39,8 @@ class ShellExtensionsBrowserClient : public ExtensionsBrowserClient { const OVERRIDE; virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) const OVERRIDE; + virtual void OnExtensionHostCreated(content::WebContents* web_contents) + OVERRIDE; virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; virtual bool IsRunningInForcedAppMode() OVERRIDE; |