Chromium Code Reviews| Index: chrome/browser/ui/views/ash/panel_view_aura.cc |
| diff --git a/chrome/browser/ui/views/ash/panel_view_aura.cc b/chrome/browser/ui/views/ash/panel_view_aura.cc |
| index b54be01633b046a3751a5baa197e074303904d9f..6f25443f1af31e1be6f29ab7737000b09fe09afc 100644 |
| --- a/chrome/browser/ui/views/ash/panel_view_aura.cc |
| +++ b/chrome/browser/ui/views/ash/panel_view_aura.cc |
| @@ -54,7 +54,8 @@ class PanelHost : public content::WebContentsDelegate, |
| Profile* profile() const { return profile_; } |
| // ExtensionFunctionDispatcher::Delegate overrides. |
| - virtual Browser* GetBrowser() OVERRIDE; |
| + virtual ExtensionWindowController* GetExtensionWindowController() |
|
sky
2012/05/03 21:04:47
nit: wrap function name to next line.
|
| + const OVERRIDE; |
| virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
| // content::WebContentsDelegate implementation: |
| @@ -111,8 +112,8 @@ void PanelHost::Init(const GURL& url) { |
| url, content::Referrer(), content::PAGE_TRANSITION_LINK, std::string()); |
| } |
| -Browser* PanelHost::GetBrowser() { |
| - return NULL; |
| +ExtensionWindowController* PanelHost::GetExtensionWindowController() const { |
| + return panel_view_->extension_window_controller(); |
| } |
| content::WebContents* PanelHost::GetAssociatedWebContents() const { |