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

Unified Diff: webkit/tools/test_shell/webwidget_host.h

Issue 21192: Add support for the "repaint" layout tests (LayoutTests/fast/repaint/*), whic... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « webkit/tools/test_shell/test_shell.cc ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/webwidget_host.h
===================================================================
--- webkit/tools/test_shell/webwidget_host.h (revision 9433)
+++ webkit/tools/test_shell/webwidget_host.h (working copy)
@@ -46,7 +46,19 @@
void UpdatePaintRect(const gfx::Rect& rect);
void Paint();
+ // Get the backing store.
+ skia::PlatformCanvas* canvas() const { return canvas_.get(); }
+
+ // Paint() the widget, and cover it with a gray mask (black with a=0.66).
+ void DisplayForRepaint();
+
protected:
+ // Paint the widget into canvas_.
+ void PaintToCanvas();
brettw 2009/02/14 20:02:38 These two declarations should go below the constru
+
+ // Blit |canvas_| to |view_|.
+ void PaintCanvasToView();
+
WebWidgetHost();
~WebWidgetHost();
« no previous file with comments | « webkit/tools/test_shell/test_shell.cc ('k') | webkit/tools/test_shell/webwidget_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698