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 b99654e3bc7698b25d771afc76bdbfbfad5a3335..87771786e3d81eb73ee9576909a8a5559721d934 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -63,6 +63,7 @@ class Range; |
namespace content { |
class BrowserPluginGuestManager; |
+class RenderFrameHostImpl; |
class RenderViewHostImpl; |
class RenderWidgetHost; |
class RenderWidgetHostView; |
@@ -279,6 +280,9 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost, |
private: |
class EmbedderVisibilityObserver; |
+ // The RenderFrameHost embedding/containing the BrowserPlugin. |
+ RenderFrameHostImpl* GetEmbedderFrame() const; |
+ |
void InitInternal(const BrowserPluginHostMsg_Attach_Params& params, |
WebContentsImpl* owner_web_contents); |
@@ -456,6 +460,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost, |
// WebContents associated with this BrowserPluginGuest has OOPIF structure. |
bool can_use_cross_process_frames_; |
+ // Routing and process IDs of the embedder frame. |
+ int embedder_process_id_; |
+ int embedder_routing_id_; |
+ |
// Weak pointer used to ask GeolocationPermissionContext about geolocation |
// permission. |
base::WeakPtrFactory<BrowserPluginGuest> weak_ptr_factory_; |