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

Unified Diff: content/browser/renderer_host/render_widget_host.h

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/renderer_host/render_widget_host.h
===================================================================
--- content/browser/renderer_host/render_widget_host.h (revision 110571)
+++ content/browser/renderer_host/render_widget_host.h (working copy)
@@ -31,7 +31,6 @@
class BackingStore;
struct EditCommand;
-class RenderProcessHost;
class RenderWidgetHostView;
class TransportDIB;
struct ViewHostMsg_UpdateRect_Params;
@@ -41,6 +40,10 @@
class TimeTicks;
}
+namespace content {
+class RenderProcessHost;
+}
+
namespace gfx {
class Rect;
}
@@ -144,7 +147,7 @@
// routing_id can be MSG_ROUTING_NONE, in which case the next available
// routing id is taken from the RenderProcessHost.
- RenderWidgetHost(RenderProcessHost* process, int routing_id);
+ RenderWidgetHost(content::RenderProcessHost* process, int routing_id);
virtual ~RenderWidgetHost();
// Gets/Sets the View of this RenderWidgetHost. Can be NULL, e.g. if the
@@ -154,7 +157,7 @@
void SetView(RenderWidgetHostView* view);
RenderWidgetHostView* view() const { return view_; }
- RenderProcessHost* process() const { return process_; }
+ content::RenderProcessHost* process() const { return process_; }
int routing_id() const { return routing_id_; }
bool renderer_accessible() { return renderer_accessible_; }
@@ -620,7 +623,7 @@
// Created during construction but initialized during Init*(). Therefore, it
// is guaranteed never to be NULL, but its channel may be NULL if the
// renderer crashed, so you must always check that.
- RenderProcessHost* process_;
+ content::RenderProcessHost* process_;
// Stores random bits of data for others to associate with this object.
PropertyBag property_bag_;
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.cc ('k') | content/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698