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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index 39c0535a5a3fef4b5995431e784c535107a5da21..973cd6cd26fdd14de56120e8af703a1cafef1bf8 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -20,13 +20,6 @@
#include "skia/ext/platform_device.h"
#endif
-class RenderWidgetHostImpl;
-
-namespace content {
-class RenderProcessHost;
-class RenderWidgetHostView;
-}
-
namespace gfx {
class Rect;
}
@@ -35,6 +28,12 @@ namespace skia {
class PlatformCanvas;
}
+namespace content {
+
+class RenderProcessHost;
+class RenderWidgetHostImpl;
+class RenderWidgetHostView;
+
// A RenderWidgetHost manages the browser side of a browser<->renderer
// HWND connection. The HWND lives in the browser process, and
// windows events are sent over IPC to the corresponding object in the
@@ -205,7 +204,7 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Sender {
virtual const gfx::Point& GetLastScrollOffset() const = 0;
- virtual content::RenderProcessHost* GetProcess() const = 0;
+ virtual RenderProcessHost* GetProcess() const = 0;
virtual int GetRoutingID() const = 0;
@@ -213,7 +212,7 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Sender {
// RenderWidget is being destroyed or the render process crashed. You should
// never cache this pointer since it can become NULL if the renderer crashes,
// instead you should always ask for it using the accessor.
- virtual content::RenderWidgetHostView* GetView() const = 0;
+ virtual RenderWidgetHostView* GetView() const = 0;
// Returns true if this is a RenderViewHost, false if not.
virtual bool IsRenderView() const = 0;
@@ -287,4 +286,6 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Sender {
virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() = 0;
};
+} // namespace content
+
#endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_H_
« no previous file with comments | « content/public/browser/render_view_host_observer.h ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698