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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 27408004: <webview>: Resolve relative paths as chrome-extension: URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't update src attribute with resolved URL. Created 7 years, 2 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: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index 408290fa2fa95154aa405ada27f2de9b637d1bae..c541c0bab3aeced8f9daa1a1d3cb746098772bae 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -34,6 +34,7 @@
#include "content/public/browser/browser_plugin_guest_delegate.h"
#include "content/public/browser/javascript_dialog_manager.h"
#include "content/public/browser/render_view_host_observer.h"
+#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/browser_plugin_permission_type.h"
@@ -309,6 +310,10 @@ class CONTENT_EXPORT BrowserPluginGuest
BrowserPluginGuest* opener,
bool has_render_view);
+ // Returns the embedder process' SiteInstance object. Note: A guest will
+ // always have an embedder SiteInstance even if it is not yet attached.
+ SiteInstance* GetEmbedderSiteInstance() const;
+
// Destroy unattached new windows that have been opened by this
// BrowserPluginGuest.
void DestroyUnattachedWindows();

Powered by Google App Engine
This is Rietveld 408576698