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

Unified Diff: apps/shell_window.h

Issue 21344002: Move native_app_window code to apps areas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge error Created 7 years, 5 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: apps/shell_window.h
diff --git a/apps/shell_window.h b/apps/shell_window.h
index 5e449df2dcf572dea3968070921c613f583c70b7..22a4795acf466ed5e291aca68d09cb53c2d94e33 100644
--- a/apps/shell_window.h
+++ b/apps/shell_window.h
@@ -20,7 +20,6 @@
class GURL;
class Profile;
-class NativeAppWindow;
class SkRegion;
namespace content {
@@ -41,6 +40,8 @@ class BaseWindow;
namespace apps {
+class NativeAppWindow;
+
// Manages the web contents for Shell 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
@@ -128,6 +129,9 @@ class ShellWindow : public content::NotificationObserver,
// General initialization.
virtual void InitWebContents(content::WebContents* web_contents) = 0;
+ virtual NativeAppWindow* CreateNativeAppWindow(
+ ShellWindow* window,
+ const ShellWindow::CreateParams& params) = 0;
tapted 2013/08/01 07:18:59 maybe remove the extra ShellWindow:: on CreatePara
benwells 2013/08/01 08:19:39 Done.
// Link handling.
virtual content::WebContents* OpenURLFromTab(

Powered by Google App Engine
This is Rietveld 408576698