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

Unified Diff: apps/app_window.h

Issue 486153002: Move AppWindow related classes to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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_web_contents_helper.cc ('k') | apps/app_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window.h
diff --git a/apps/app_window.h b/apps/app_window.h
index 87c3c4599b310b64e93cab54c2df384a69a09c3b..a7f2293ecceec2fb1757d28dd5bdea06ae3efa5c 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -35,6 +35,8 @@ class WebContents;
}
namespace extensions {
+class AppDelegate;
+class AppWebContentsHelper;
class Extension;
class NativeAppWindow;
class PlatformAppBrowserTest;
@@ -49,9 +51,6 @@ class BaseWindow;
namespace apps {
-class AppDelegate;
-class AppWebContentsHelper;
-
// Manages the web contents for app windows. The implementation for this
// class should create and maintain the WebContents for the window, and handle
// any message passing between the web contents and the extension system or
@@ -207,7 +206,7 @@ class AppWindow : public content::NotificationObserver,
// Normally AppWindow::Create should be used.
// Takes ownership of |app_delegate| and |delegate|.
AppWindow(content::BrowserContext* context,
- AppDelegate* app_delegate,
+ extensions::AppDelegate* app_delegate,
const extensions::Extension* extension);
// Initializes the render interface, web contents, and native window.
@@ -503,8 +502,8 @@ class AppWindow : public content::NotificationObserver,
scoped_ptr<extensions::NativeAppWindow> native_app_window_;
scoped_ptr<AppWindowContents> app_window_contents_;
- scoped_ptr<AppDelegate> app_delegate_;
- scoped_ptr<AppWebContentsHelper> helper_;
+ scoped_ptr<extensions::AppDelegate> app_delegate_;
+ scoped_ptr<extensions::AppWebContentsHelper> helper_;
// Manages popup windows (bubbles, tab-modals) visible overlapping the
// app window.
« no previous file with comments | « apps/app_web_contents_helper.cc ('k') | apps/app_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698