| Index: chrome/browser/ui/extensions/shell_window.h
|
| diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
|
| index 90cc69202d249ceb196506370432dabf3bf3f0ed..bc9deab2df2d0f4184903559d9664656cc6d568c 100644
|
| --- a/chrome/browser/ui/extensions/shell_window.h
|
| +++ b/chrome/browser/ui/extensions/shell_window.h
|
| @@ -12,18 +12,20 @@
|
| #include "chrome/browser/ui/base_window.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| +#include "content/public/browser/web_contents_observer.h"
|
|
|
| class Extension;
|
| -class ExtensionHost;
|
| class ExtensionWindowController;
|
| class GURL;
|
| class Profile;
|
|
|
| namespace content {
|
| +class RenderViewHost;
|
| class WebContents;
|
| }
|
|
|
| class ShellWindow : public content::NotificationObserver,
|
| + public content::WebContentsObserver,
|
| public BaseWindow {
|
| public:
|
| content::WebContents* web_contents() const { return host_->host_contents(); }
|
| @@ -41,6 +43,10 @@ class ShellWindow : public content::NotificationObserver,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| + // content::WebContentsObserver implementation.
|
| + virtual void RenderViewCreated(content::RenderViewHost* render_view_host)
|
| + OVERRIDE;
|
| +
|
| protected:
|
| explicit ShellWindow(ExtensionHost* host_);
|
| virtual ~ShellWindow();
|
|
|