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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.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: Ready for review, take 2 Created 8 years, 10 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_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 76257b301fcef26b13594f473768c2220f5d7569..a8d53e8c71af5fc97fca8531c42b8da31acaa835 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -25,18 +25,15 @@
#include "ui/gfx/native_widget_types.h"
class BackingStore;
+class MockRenderWidgetHost;
+class WebCursor;
struct EditCommand;
struct ViewHostMsg_UpdateRect_Params;
-class WebCursor;
namespace base {
class TimeTicks;
}
-namespace content {
-class RenderWidgetHostViewPort;
-}
-
namespace ui {
class Range;
}
@@ -48,10 +45,12 @@ struct WebCompositionUnderline;
struct WebScreenInfo;
}
+namespace content {
+
+class RenderWidgetHostViewPort;
+
// This implements the RenderWidgetHost interface that is exposed to
// embedders of content, and adds things only visible to content.
-//
-// TODO(joi): Move to content namespace.
class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
public IPC::Channel::Listener {
public:
@@ -417,10 +416,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
int hung_renderer_delay_ms_;
private:
- FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostTest, Resize);
- FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostTest, ResizeThenCrash);
- FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostTest, HiddenPaint);
- FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostTest, PaintAtSize);
+ friend class ::MockRenderWidgetHost;
// Tell this object to destroy itself.
void Destroy();
@@ -679,4 +675,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698