Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index f2213c19dae95a2d43d97454acc817119d3f66a7..3e354511d302371535a48fd9a5bff9e720eea33b 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/observer_list.h" |
#include "base/property_bag.h" |
+#include "content/browser/browser_plugin/browser_plugin_host.h" |
#include "content/browser/renderer_host/java/java_bridge_dispatcher_host_manager.h" |
#include "content/browser/renderer_host/render_widget_host_delegate.h" |
#include "content/browser/web_contents/navigation_controller_impl.h" |
@@ -126,6 +127,10 @@ class CONTENT_EXPORT WebContentsImpl |
return java_bridge_dispatcher_host_manager_.get(); |
} |
+ content::BrowserPluginHost* browser_plugin_host() const { |
+ return browser_plugin_host_.get(); |
+ } |
+ |
// Like GetController from WebContents, but returns the concrete object. |
NavigationControllerImpl& GetControllerImpl(); |
@@ -351,6 +356,12 @@ class CONTENT_EXPORT WebContentsImpl |
virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; |
virtual void RequestToLockMouse(bool user_gesture) OVERRIDE; |
virtual void LostMouseLock() OVERRIDE; |
+ virtual void NavigateGuestFromEmbedder( |
+ content::RenderViewHost* render_view_host, |
+ int container_instance_id, |
+ long long frame_id, |
+ const std::string& src, |
+ const gfx::Size& size) OVERRIDE; |
// RenderWidgetHostDelegate -------------------------------------------------- |
@@ -599,6 +610,9 @@ class CONTENT_EXPORT WebContentsImpl |
scoped_ptr<JavaBridgeDispatcherHostManager> |
java_bridge_dispatcher_host_manager_; |
+ // Manages the browser plugin instances hosted by this WebContents. |
+ scoped_ptr<content::BrowserPluginHost> browser_plugin_host_; |
+ |
// SavePackage, lazily created. |
scoped_refptr<SavePackage> save_package_; |