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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.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/browser/renderer_host/render_widget_host_view_win.h
diff --git a/content/browser/renderer_host/render_widget_host_view_win.h b/content/browser/renderer_host/render_widget_host_view_win.h
index da7f611e59eee8493d40a788c1946b47c9bb6410..670c9f4d07ebea720b7916050416f2dcff7dccf0 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.h
+++ b/content/browser/renderer_host/render_widget_host_view_win.h
@@ -31,9 +31,12 @@
#include "webkit/glue/webcursor.h"
class BackingStore;
-class RenderWidgetHost;
class SkRegion;
+namespace content {
+class RenderWidgetHost;
+}
+
namespace gfx {
class Size;
class Rect;
@@ -152,7 +155,7 @@ class RenderWidgetHostViewWin
// RenderWidgetHostView implementation.
virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE;
- virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE;
+ virtual content::RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE;
virtual void SetSize(const gfx::Size& size) OVERRIDE;
virtual void SetBounds(const gfx::Rect& rect) OVERRIDE;
virtual gfx::NativeView GetNativeView() const OVERRIDE;
@@ -239,7 +242,7 @@ class RenderWidgetHostViewWin
// Should construct only via RenderWidgetHostView::CreateViewForWidget.
//
// The view will associate itself with the given widget.
- explicit RenderWidgetHostViewWin(RenderWidgetHost* widget);
+ explicit RenderWidgetHostViewWin(content::RenderWidgetHost* widget);
// Windows Message Handlers
LRESULT OnCreate(CREATESTRUCT* create_struct);
@@ -382,7 +385,7 @@ class RenderWidgetHostViewWin
// The associated Model. While |this| is being Destroyed,
// |render_widget_host_| is NULL and the Windows message loop is run one last
// time. Message handlers must check for a NULL |render_widget_host_|.
- RenderWidgetHostImpl* render_widget_host_;
+ content::RenderWidgetHostImpl* render_widget_host_;
// When we are doing accelerated compositing
HWND compositor_host_window_;

Powered by Google App Engine
This is Rietveld 408576698