| Index: apps/app_window_contents.h
|
| diff --git a/apps/app_window_contents.h b/apps/app_window_contents.h
|
| index ea09f831840c3b4a97f5cb16ec2a133bfc92c8ea..b5c691df4178108c65751f2fd281fe7593017609 100644
|
| --- a/apps/app_window_contents.h
|
| +++ b/apps/app_window_contents.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include <vector>
|
|
|
| -#include "apps/shell_window.h"
|
| +#include "apps/app_window.h"
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "chrome/browser/extensions/extension_function_dispatcher.h"
|
| @@ -26,18 +26,18 @@ struct DraggableRegion;
|
|
|
| namespace apps {
|
|
|
| -// ShellWindowContents class specific to app windows. It maintains a
|
| +// AppWindowContents class specific to app windows. It maintains a
|
| // WebContents instance and observes it for the purpose of passing
|
| // messages to the extensions system.
|
| -class AppWindowContents : public ShellWindowContents,
|
| - public content::NotificationObserver,
|
| - public content::WebContentsObserver,
|
| - public ExtensionFunctionDispatcher::Delegate {
|
| +class AppWindowContentsImpl : public AppWindowContents,
|
| + public content::NotificationObserver,
|
| + public content::WebContentsObserver,
|
| + public ExtensionFunctionDispatcher::Delegate {
|
| public:
|
| - explicit AppWindowContents(ShellWindow* host);
|
| - virtual ~AppWindowContents();
|
| + explicit AppWindowContentsImpl(AppWindow* host);
|
| + virtual ~AppWindowContentsImpl();
|
|
|
| - // ShellWindowContents
|
| + // AppWindowContents
|
| virtual void Initialize(content::BrowserContext* context,
|
| const GURL& url) OVERRIDE;
|
| virtual void LoadContents(int32 creator_process_id) OVERRIDE;
|
| @@ -64,13 +64,13 @@ class AppWindowContents : public ShellWindowContents,
|
| const std::vector<extensions::DraggableRegion>& regions);
|
| void SuspendRenderViewHost(content::RenderViewHost* rvh);
|
|
|
| - ShellWindow* host_; // This class is owned by |host_|
|
| + AppWindow* host_; // This class is owned by |host_|
|
| GURL url_;
|
| content::NotificationRegistrar registrar_;
|
| scoped_ptr<content::WebContents> web_contents_;
|
| scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(AppWindowContents);
|
| + DISALLOW_COPY_AND_ASSIGN(AppWindowContentsImpl);
|
| };
|
|
|
| } // namespace apps
|
|
|