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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 10377170: Browser Plugin: browser process side changes (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated to not expose GetPendingRenderViewHost Created 8 years, 7 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/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 0b9bbf176d08fc0b0eda99c8e8f285ce1724f52a..2a2b1b820b5b34e8f1eea67ce136add495dd8808 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/web_contents/navigation_controller_impl.h"
#include "content/browser/web_contents/render_view_host_manager.h"
@@ -124,6 +125,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();
@@ -594,6 +599,9 @@ class CONTENT_EXPORT WebContentsImpl
scoped_ptr<JavaBridgeDispatcherHostManager>
java_bridge_dispatcher_host_manager_;
+ // Manages the browser plugin instances hosted by this WebContents
Charlie Reis 2012/05/17 21:24:05 nit: End with a period.
Fady Samuel 2012/05/18 17:37:52 Done.
+ scoped_ptr<content::BrowserPluginHost> browser_plugin_host_;
+
// SavePackage, lazily created.
scoped_refptr<SavePackage> save_package_;

Powered by Google App Engine
This is Rietveld 408576698