| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index 2d99c885d8cdff73da9d55c134d3da6c7b614f8a..cb6bd6b4f2227de3dfa11fcd7f6051b858b84365 100644
|
| --- a/chrome/browser/extensions/extension_host.cc
|
| +++ b/chrome/browser/extensions/extension_host.cc
|
| @@ -177,6 +177,10 @@ void ExtensionHost::CreateView(Browser* browser) {
|
| #endif
|
| }
|
|
|
| +TabContents* ExtensionHost::associated_tab_contents() const {
|
| + return associated_tab_contents_;
|
| +}
|
| +
|
| RenderProcessHost* ExtensionHost::render_process_host() const {
|
| return render_view_host_->process();
|
| }
|
| @@ -444,6 +448,14 @@ gfx::NativeWindow ExtensionHost::GetMessageBoxRootWindow() {
|
| return NULL;
|
| }
|
|
|
| +TabContents* ExtensionHost::AsTabContents() {
|
| + return NULL;
|
| +}
|
| +
|
| +ExtensionHost* ExtensionHost::AsExtensionHost() {
|
| + return this;
|
| +}
|
| +
|
| void ExtensionHost::OnMessageBoxClosed(IPC::Message* reply_msg,
|
| bool success,
|
| const std::wstring& prompt) {
|
| @@ -742,6 +754,10 @@ ViewType::Type ExtensionHost::GetRenderViewType() const {
|
| return extension_host_type_;
|
| }
|
|
|
| +const GURL& ExtensionHost::GetURL() const {
|
| + return url_;
|
| +}
|
| +
|
| void ExtensionHost::RenderViewCreated(RenderViewHost* render_view_host) {
|
| if (view_.get())
|
| view_->RenderViewCreated();
|
|
|