diff options
author | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 21:27:21 +0000 |
---|---|---|
committer | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 21:27:21 +0000 |
commit | 5bce9d2d662d026fe8cfc8cc6fa28ea52635ceee (patch) | |
tree | 3bf4921266baa4f0e804d0167b3d833db2645b17 /webkit/tools/test_shell/webwidget_host.h | |
parent | 1997e46947f75f6aeb713bb82adddc556b7ce71d (diff) | |
download | chromium_src-5bce9d2d662d026fe8cfc8cc6fa28ea52635ceee.zip chromium_src-5bce9d2d662d026fe8cfc8cc6fa28ea52635ceee.tar.gz chromium_src-5bce9d2d662d026fe8cfc8cc6fa28ea52635ceee.tar.bz2 |
Implement testRepaint and sweepHorizontally methods on layoutTestController.
This involves implementing row-at-a-time and line-at-a-time repainting of the backing store.
R=darin
BUG=21510
TEST=LayoutTests/fast/repaint/shadow-multiple*
Review URL: http://codereview.chromium.org/397027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/webwidget_host.h')
-rw-r--r-- | webkit/tools/test_shell/webwidget_host.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h index b899f96..cf66ed8 100644 --- a/webkit/tools/test_shell/webwidget_host.h +++ b/webkit/tools/test_shell/webwidget_host.h @@ -67,6 +67,8 @@ class WebWidgetHost { canvas()->drawARGB(167, 0, 0, 0); } + void PaintRect(const gfx::Rect& rect); + protected: WebWidgetHost(); ~WebWidgetHost(); @@ -114,7 +116,6 @@ class WebWidgetHost { #endif void ResetScrollRect(); - void PaintRect(const gfx::Rect& rect); void set_painting(bool value) { #ifndef NDEBUG |