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

Unified Diff: chrome/browser/extensions/api/tabs/ash_panel_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
Index: chrome/browser/extensions/api/tabs/ash_panel_contents.h
diff --git a/chrome/browser/extensions/api/tabs/ash_panel_contents.h b/chrome/browser/extensions/api/tabs/ash_panel_contents.h
index 021e6a6a69de054816003511ded6b1af9eabb1b4..2d0e9f732bdfac63282541fc1bd3127379a6e083 100644
--- a/chrome/browser/extensions/api/tabs/ash_panel_contents.h
+++ b/chrome/browser/extensions/api/tabs/ash_panel_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"
@@ -25,20 +25,20 @@ namespace extensions {
struct DraggableRegion;
}
-// apps::ShellWindowContents class specific to panel windows created by v1
+// apps::AppWindowContents class specific to panel windows created by v1
// extenstions. This class maintains a WebContents instance and observes it for
// the purpose of passing messages to the extensions system. It also creates
// an extensions::WindowController instance for interfacing with the v1
// extensions API.
-class AshPanelContents : public apps::ShellWindowContents,
+class AshPanelContents : public apps::AppWindowContents,
public content::WebContentsObserver,
public LauncherFaviconLoader::Delegate,
public ExtensionFunctionDispatcher::Delegate {
public:
- explicit AshPanelContents(apps::ShellWindow* host);
+ explicit AshPanelContents(apps::AppWindow* host);
virtual ~AshPanelContents();
- // apps::ShellWindowContents
+ // apps::AppWindowContents
virtual void Initialize(content::BrowserContext* context,
const GURL& url) OVERRIDE;
virtual void LoadContents(int32 creator_process_id) OVERRIDE;
@@ -65,7 +65,7 @@ class AshPanelContents : public apps::ShellWindowContents,
void OnRequest(const ExtensionHostMsg_Request_Params& params);
- apps::ShellWindow* host_;
+ apps::AppWindow* host_;
GURL url_;
scoped_ptr<content::WebContents> web_contents_;
scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698