diff options
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 5cf4697..d9a0a64 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -143,13 +143,16 @@ IPC_BEGIN_MESSAGES(View) // JS garbage, not in purging irreplaceable objects. IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory) - // Sent to render the view into the supplied transport DIB, scale it - // by the appropriate scale to make it fit the given size, and - // return it. In response to this message, the host generates a - // ViewHostMsg_PaintAtSize_ACK message. - IPC_MESSAGE_ROUTED2(ViewMsg_PaintAtSize, + // Sent to render the view into the supplied transport DIB, resize + // the web widget to match the |page_size|, scale it by the + // appropriate scale to make it fit the |desired_size|, and return + // it. In response to this message, the host generates a + // ViewHostMsg_PaintAtSize_ACK message. Note that the DIB *must* be + // the right size to receive an RGBA image at the |desired_size|. + IPC_MESSAGE_ROUTED3(ViewMsg_PaintAtSize, TransportDIB::Handle /* dib_handle */, - gfx::Size /* size */) + gfx::Size /* page_size */, + gfx::Size /* desired_size */) // Tells the render view that a ViewHostMsg_UpdateRect message was processed. // This signals the render view that it can send another UpdateRect message. |