Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: apps/app_window_contents.h

Issue 166573005: Rename apps::ShellWindow to apps::AppWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, nits (rename) Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/app_window.cc ('k') | apps/app_window_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « apps/app_window.cc ('k') | apps/app_window_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698