| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index f9137324c223d651cc40ec38a8eed3dda7ee0c34..0acc018cc013ae0e122085ae14c36750e1685ecf 100644
|
| --- a/chrome/browser/extensions/extension_host.cc
|
| +++ b/chrome/browser/extensions/extension_host.cc
|
| @@ -212,6 +212,14 @@ void ExtensionHost::CreateRenderViewNow() {
|
| DCHECK(IsRenderViewLive());
|
| }
|
|
|
| +Browser* ExtensionHost::GetBrowser() const {
|
| + return view() ? view()->browser() : NULL;
|
| +}
|
| +
|
| +gfx::NativeView ExtensionHost::GetNativeViewOfHost() {
|
| + return view() ? view()->native_view() : NULL;
|
| +}
|
| +
|
| void ExtensionHost::NavigateToURL(const GURL& url) {
|
| // Prevent explicit navigation to another extension id's pages.
|
| // This method is only called by some APIs, so we still need to protect
|
|
|