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.
4
5#ifndef CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
6#define CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
7
8#include "base/basictypes.h"
9#include "base/files/file_path.h"
10#include "content/public/test/render_view_test.h"
11
12class SkBitmap;
13
14namespace gfx {
15class Size;
16}
17
18namespace content {
19
20class RenderWidgetTest : public RenderViewTest {
21 public:
22  RenderWidgetTest();
23
24 protected:
25  static const int kNumBytesPerPixel;
26  static const int kLargeWidth;
27  static const int kLargeHeight;
28  static const int kSmallWidth;
29  static const int kSmallHeight;
30  static const int kTextPositionX;
31  static const int kTextPositionY;
32  static const uint32 kRedARGB;
33
34  // Test for OnResize and Resize.
35  void TestOnResize();
36};
37
38}  // namespace content
39
40#endif  // CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
41