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

Unified Diff: chrome/common/render_messages_internal.h

Issue 661237: This adds in the ability for Chrome to generate windows with snapshots of all... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 | « chrome/chrome_browser.gypi ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 45523)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -141,6 +141,14 @@
// 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,
+ TransportDIB::Handle /* dib_handle */,
+ gfx::Size /* size */)
+
// Tells the render view that a ViewHostMsg_UpdateRect message was processed.
// This signals the render view that it can send another UpdateRect message.
IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK)
@@ -1081,6 +1089,12 @@
navigating to a POST again and we're going to
show the POST interstitial */ )
+ // Tells the render view that a ViewHostMsg_PaintAtSize message was
+ // processed, and the DIB is ready for use.
+ IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK,
+ TransportDIB::Handle /* dib_handle */,
+ gfx::Size /* size */)
+
// Sent to update part of the view. In response to this message, the host
// generates a ViewMsg_UpdateRect_ACK message.
IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698