1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
6 #define CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
8 #include "base/basictypes.h"
9 #include "base/files/file_path.h"
10 #include "content/public/test/render_view_test.h"
13 struct ViewMsg_Resize_Params
;
22 class RenderWidgetTest
: public RenderViewTest
{
27 RenderWidget
* widget();
28 void OnResize(const ViewMsg_Resize_Params
& params
);
29 bool next_paint_is_resize_ack();
31 static const int kNumBytesPerPixel
;
32 static const int kLargeWidth
;
33 static const int kLargeHeight
;
34 static const int kSmallWidth
;
35 static const int kSmallHeight
;
36 static const int kTextPositionX
;
37 static const int kTextPositionY
;
38 static const uint32 kRedARGB
;
41 } // namespace content
43 #endif // CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_