summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.h
diff options
context:
space:
mode:
authormad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 21:41:54 +0000
committermad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 21:41:54 +0000
commit87ef8484fbd915ac4e527fb566422002f4d612ab (patch)
treee6180d206b0723ab073985ec5f2016a14f459127 /chrome/browser/renderer_host/render_widget_host.h
parent9aefecc973faa549046389937bd526f00fb26b5f (diff)
downloadchromium_src-87ef8484fbd915ac4e527fb566422002f4d612ab.zip
chromium_src-87ef8484fbd915ac4e527fb566422002f4d612ab.tar.gz
chromium_src-87ef8484fbd915ac4e527fb566422002f4d612ab.tar.bz2
To help resolve the performance issue introduced when enabling the resize corner, we now keep all non-intersecting rects separately and send an array of invalidation bitmaps via IPC as opposed to a single unionized rect :-)
Review URL: http://codereview.chromium.org/108040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18090 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.h')
-rw-r--r--chrome/browser/renderer_host/render_widget_host.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index 8ac2376..886bd2c 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -328,9 +328,10 @@ class RenderWidgetHost : public IPC::Channel::Listener {
void OnMsgShowPopup(const IPC::Message& message);
// Paints the given bitmap to the current backing store at the given location.
- void PaintBackingStoreRect(TransportDIB* dib,
- const gfx::Rect& bitmap_rect,
- const gfx::Size& view_size);
+ void PaintBackingStoreRects(TransportDIB* bitmap,
+ const gfx::Rect& bitmap_rect,
+ const std::vector<gfx::Rect>& paint_rects,
+ const gfx::Size& view_size);
// Scrolls the given |clip_rect| in the backing by the given dx/dy amount. The
// |dib| and its corresponding location |bitmap_rect| in the backing store