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

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

Issue 1685003002: Plumb the correct owner document through DocumentInit::m_owner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make initSecurityContext private. Created 4 years, 10 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.h
diff --git a/extensions/browser/app_window/app_window.h b/extensions/browser/app_window/app_window.h
index 59d84638e93e6b312e5038e866c602d3d4eaa91e..06db208522e2104c9cd97c839a885624c86fc32e 100644
--- a/extensions/browser/app_window/app_window.h
+++ b/extensions/browser/app_window/app_window.h
@@ -34,6 +34,7 @@ class DictionaryValue;
namespace content {
class BrowserContext;
+class RenderFrameHost;
class WebContents;
}
@@ -58,6 +59,7 @@ class AppWindowContents {
// Called to initialize the WebContents, before the app window is created.
virtual void Initialize(content::BrowserContext* context,
+ content::RenderFrameHost* creator_frame,
const GURL& url) = 0;
// Called to load the contents, after the app window is created.
@@ -218,6 +220,7 @@ class AppWindow : public content::WebContentsDelegate,
// |app_window_contents| will become owned by AppWindow.
void Init(const GURL& url,
AppWindowContents* app_window_contents,
+ content::RenderFrameHost* creator_frame,
const CreateParams& params);
const std::string& window_key() const { return window_key_; }

Powered by Google App Engine
This is Rietveld 408576698