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

Unified Diff: apps/app_window.h

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_shim/extension_app_shim_handler_mac.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 4239d010b8923c1152f0d41c3431f4b59bef7d93..87c3c4599b310b64e93cab54c2df384a69a09c3b 100644
--- a/apps/app_window.h
+++ b/apps/app_window.h
@@ -36,6 +36,7 @@ class WebContents;
namespace extensions {
class Extension;
+class NativeAppWindow;
class PlatformAppBrowserTest;
class WindowController;
@@ -50,7 +51,6 @@ namespace apps {
class AppDelegate;
class AppWebContentsHelper;
-class NativeAppWindow;
// Manages the web contents for app windows. The implementation for this
// class should create and maintain the WebContents for the window, and handle
@@ -69,7 +69,8 @@ class AppWindowContents {
virtual void LoadContents(int32 creator_process_id) = 0;
// Called when the native window changes.
- virtual void NativeWindowChanged(NativeAppWindow* native_app_window) = 0;
+ virtual void NativeWindowChanged(
+ extensions::NativeAppWindow* native_app_window) = 0;
// Called when the native window closes.
virtual void NativeWindowClosed() = 0;
@@ -232,7 +233,7 @@ class AppWindow : public content::NotificationObserver,
bool is_hidden() const { return is_hidden_; }
const extensions::Extension* GetExtension() const;
- NativeAppWindow* GetBaseWindow();
+ extensions::NativeAppWindow* GetBaseWindow();
gfx::NativeWindow GetNativeWindow();
// Returns the bounds that should be reported to the renderer.
@@ -500,7 +501,7 @@ class AppWindow : public content::NotificationObserver,
// An object to load the badge as an extension resource.
scoped_ptr<extensions::IconImage> badge_icon_image_;
- scoped_ptr<NativeAppWindow> native_app_window_;
+ scoped_ptr<extensions::NativeAppWindow> native_app_window_;
scoped_ptr<AppWindowContents> app_window_contents_;
scoped_ptr<AppDelegate> app_delegate_;
scoped_ptr<AppWebContentsHelper> helper_;
« no previous file with comments | « apps/app_shim/extension_app_shim_handler_mac.cc ('k') | apps/app_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698