From 594321dd8d3c2b9cff721cd4caef682e5d7d65bd Mon Sep 17 00:00:00 2001 From: "mad@google.com" Date: Thu, 11 Jun 2009 01:08:27 +0000 Subject: Relanding reverted patch 18090. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18130 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_widget.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/renderer/render_widget.h') diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h index 440a7e2..8a501ba 100644 --- a/chrome/renderer/render_widget.h +++ b/chrome/renderer/render_widget.h @@ -116,7 +116,10 @@ class RenderWidget : public IPC::Channel::Listener, // Paints the given rectangular region of the WebWidget into canvas (a // shared memory segment returned by AllocPaintBuf on Windows). The caller // must ensure that the given rect fits within the bounds of the WebWidget. + void PaintThisRect(const gfx::Rect& rect, skia::PlatformCanvas* canvas); void PaintRect(const gfx::Rect& rect, skia::PlatformCanvas* canvas); + void PaintRects(const std::vector& rect, + skia::PlatformCanvas* canvas); void DoDeferredPaint(); void DoDeferredScroll(); @@ -221,7 +224,7 @@ class RenderWidget : public IPC::Channel::Listener, // The smallest bounding rectangle that needs to be re-painted. This is non- // empty if a paint event is pending. - gfx::Rect paint_rect_; + std::vector paint_rects_; // The clip rect for the pending scroll event. This is non-empty if a // scroll event is pending. -- cgit v1.1