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

Unified Diff: extensions/browser/app_window/app_window_contents.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
Index: extensions/browser/app_window/app_window_contents.h
diff --git a/extensions/browser/app_window/app_window_contents.h b/extensions/browser/app_window/app_window_contents.h
index 2a3d905beca08fcce0d0a56774394f7feaa85d12..b9e6fce0862c4c7ab92f189030b6f47f3ca9765a 100644
--- a/extensions/browser/app_window/app_window_contents.h
+++ b/extensions/browser/app_window/app_window_contents.h
@@ -19,8 +19,6 @@ class BrowserContext;
namespace extensions {
-struct DraggableRegion;
-
// AppWindowContents class specific to app windows. It maintains a
// WebContents instance and observes it for the purpose of passing
// messages to the extensions system.
@@ -35,7 +33,8 @@ class AppWindowContentsImpl : public AppWindowContents,
virtual void Initialize(content::BrowserContext* context,
const GURL& url) OVERRIDE;
virtual void LoadContents(int32 creator_process_id) OVERRIDE;
- virtual void NativeWindowChanged(NativeAppWindow* native_app_window) OVERRIDE;
+ virtual void NativeWindowChanged(
+ native_app_window::NativeAppWindow* native_app_window) OVERRIDE;
virtual void NativeWindowClosed() OVERRIDE;
virtual void DispatchWindowShownForTests() const OVERRIDE;
virtual content::WebContents* GetWebContents() const OVERRIDE;
@@ -49,7 +48,8 @@ class AppWindowContentsImpl : public AppWindowContents,
virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE;
void OnRequest(const ExtensionHostMsg_Request_Params& params);
- void UpdateDraggableRegions(const std::vector<DraggableRegion>& regions);
+ void UpdateDraggableRegions(
+ const std::vector<native_app_window::DraggableRegion>& regions);
void SuspendRenderViewHost(content::RenderViewHost* rvh);
AppWindow* host_; // This class is owned by |host_|
« no previous file with comments | « extensions/browser/app_window/app_window_client.h ('k') | extensions/browser/app_window/native_app_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698