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

Unified Diff: content/public/test/render_view_test.h

Issue 659093002: Pass the size to the RenderView on creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@java_enum
Patch Set: Created 6 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/public/test/render_view_test.h
diff --git a/content/public/test/render_view_test.h b/content/public/test/render_view_test.h
index e4a8b5b48a74a22585c70ce8ce241406168d9896..3755bd66bf041c9be6343d0ade8476a8733452c1 100644
--- a/content/public/test/render_view_test.h
+++ b/content/public/test/render_view_test.h
@@ -19,6 +19,8 @@
#include "third_party/WebKit/public/platform/Platform.h"
#include "third_party/WebKit/public/web/WebFrame.h"
+struct ViewMsg_Resize_Params;
+
namespace blink {
class WebWidget;
}
@@ -131,6 +133,9 @@ class RenderViewTest : public testing::Test {
virtual ContentBrowserClient* CreateContentBrowserClient();
virtual ContentRendererClient* CreateContentRendererClient();
+ // Allows a subclass to customize the initial size of the RenderView.
+ virtual scoped_ptr<ViewMsg_Resize_Params> InitialSizeParams();
+
// testing::Test
void SetUp() override;

Powered by Google App Engine
This is Rietveld 408576698