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

Unified Diff: extensions/browser/app_window/app_window_client.h

Issue 616253002: Extract NativeAppWindow from src/extensions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: might fix athena. similarity=33 Created 6 years, 3 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 | « extensions/browser/app_window/app_window.cc ('k') | extensions/browser/app_window/app_window_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/app_window_client.h
diff --git a/extensions/browser/app_window/app_window_client.h b/extensions/browser/app_window/app_window_client.h
index a832b23044d37a6a337738f62a94beff88116abc..10bf612651199a2c7cddc20c90539d8e5aa62ef5 100644
--- a/extensions/browser/app_window/app_window_client.h
+++ b/extensions/browser/app_window/app_window_client.h
@@ -6,17 +6,21 @@
#define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_CLIENT_H_
#include "base/callback_forward.h"
-#include "extensions/browser/app_window/app_window.h"
namespace content {
class BrowserContext;
class WebContents;
}
+namespace native_app_window {
+class AppWindowCreateParams;
+class NativeAppWindow;
+}
+
namespace extensions {
+class AppWindow;
class Extension;
-class NativeAppWindow;
// Sets up global state for the app window system. Should be Set() once in each
// process. This should be implemented by the client of the app window system.
@@ -31,9 +35,9 @@ class AppWindowClient {
const Extension* extension) = 0;
// Creates a new extensions::NativeAppWindow for |window|.
- virtual NativeAppWindow* CreateNativeAppWindow(
+ virtual native_app_window::NativeAppWindow* CreateNativeAppWindow(
AppWindow* window,
- const AppWindow::CreateParams& params) = 0;
+ const native_app_window::AppWindowCreateParams& params) = 0;
// Opens DevTools window and runs the callback.
virtual void OpenDevToolsWindow(content::WebContents* web_contents,
« no previous file with comments | « extensions/browser/app_window/app_window.cc ('k') | extensions/browser/app_window/app_window_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698