Chromium Code Reviews| 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(); |