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

Unified Diff: content/public/browser/render_frame_host.h

Issue 105553005: Make PepperWebPlugin not use RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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
« no previous file with comments | « content/public/browser/browser_ppapi_host.h ('k') | content/renderer/pepper/host_dispatcher_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_frame_host.h
===================================================================
--- content/public/browser/render_frame_host.h (revision 242033)
+++ content/public/browser/render_frame_host.h (working copy)
@@ -8,9 +8,11 @@
#include "content/common/content_export.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+#include "ui/gfx/native_widget_types.h"
namespace content {
class RenderProcessHost;
+class SiteInstance;
// The interface provides a communication conduit with a frame in the renderer.
class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
@@ -22,12 +24,17 @@
virtual ~RenderFrameHost() {}
+ virtual SiteInstance* GetSiteInstance() = 0;
+
// Returns the process for this frame.
virtual RenderProcessHost* GetProcess() = 0;
// Returns the route id for this frame.
virtual int GetRoutingID() = 0;
+ // Returns the associated widget's native view.
+ virtual gfx::NativeView GetNativeView() = 0;
+
private:
// This interface should only be implemented inside content.
friend class RenderFrameHostImpl;
« no previous file with comments | « content/public/browser/browser_ppapi_host.h ('k') | content/renderer/pepper/host_dispatcher_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698