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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 IPC_MESSAGE_ROUTED2(ViewMsg_PrintingDone, 134 IPC_MESSAGE_ROUTED2(ViewMsg_PrintingDone,
135 int /* document_cookie */, 135 int /* document_cookie */,
136 bool /* success */) 136 bool /* success */)
137 137
138 // Tells the renderer to dump as much memory as it can, perhaps because we 138 // Tells the renderer to dump as much memory as it can, perhaps because we
139 // have memory pressure or the renderer is (or will be) paged out. This 139 // have memory pressure or the renderer is (or will be) paged out. This
140 // should only result in purging objects we can recalculate, e.g. caches or 140 // should only result in purging objects we can recalculate, e.g. caches or
141 // JS garbage, not in purging irreplaceable objects. 141 // JS garbage, not in purging irreplaceable objects.
142 IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory) 142 IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory)
143 143
144 // Sent to render the view into the supplied transport DIB, scale it
145 // by the appropriate scale to make it fit the given size, and
146 // return it. In response to this message, the host generates a
147 // ViewHostMsg_PaintAtSize_ACK message.
148 IPC_MESSAGE_ROUTED2(ViewMsg_PaintAtSize,
149 TransportDIB::Handle /* dib_handle */,
150 gfx::Size /* size */)
151
144 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. 152 // Tells the render view that a ViewHostMsg_UpdateRect message was processed.
145 // This signals the render view that it can send another UpdateRect message. 153 // This signals the render view that it can send another UpdateRect message.
146 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) 154 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK)
147 155
148 // Replies to creating and updating videos. 156 // Replies to creating and updating videos.
149 IPC_MESSAGE_ROUTED1(ViewMsg_CreateVideo_ACK, 157 IPC_MESSAGE_ROUTED1(ViewMsg_CreateVideo_ACK,
150 int32 /* video_id */) 158 int32 /* video_id */)
151 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateVideo_ACK, 159 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateVideo_ACK,
152 int32 /* video_id */) 160 int32 /* video_id */)
153 161
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 1082
1075 // Sent when the renderer fails a provisional load with an error. 1083 // Sent when the renderer fails a provisional load with an error.
1076 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidFailProvisionalLoadWithError, 1084 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidFailProvisionalLoadWithError,
1077 bool /* true if it is the main frame */, 1085 bool /* true if it is the main frame */,
1078 int /* error_code */, 1086 int /* error_code */,
1079 GURL /* url */, 1087 GURL /* url */,
1080 bool /* true if the failure is the result of 1088 bool /* true if the failure is the result of
1081 navigating to a POST again and we're going to 1089 navigating to a POST again and we're going to
1082 show the POST interstitial */ ) 1090 show the POST interstitial */ )
1083 1091
1092 // Tells the render view that a ViewHostMsg_PaintAtSize message was
1093 // processed, and the DIB is ready for use.
1094 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK,
1095 TransportDIB::Handle /* dib_handle */,
1096 gfx::Size /* size */)
1097
1084 // Sent to update part of the view. In response to this message, the host 1098 // Sent to update part of the view. In response to this message, the host
1085 // generates a ViewMsg_UpdateRect_ACK message. 1099 // generates a ViewMsg_UpdateRect_ACK message.
1086 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1100 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1087 ViewHostMsg_UpdateRect_Params) 1101 ViewHostMsg_UpdateRect_Params)
1088 1102
1089 // Sent to create, update and destroy video layers. 1103 // Sent to create, update and destroy video layers.
1090 IPC_MESSAGE_ROUTED1(ViewHostMsg_CreateVideo, 1104 IPC_MESSAGE_ROUTED1(ViewHostMsg_CreateVideo,
1091 gfx::Size /* size */) 1105 gfx::Size /* size */)
1092 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateVideo, 1106 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateVideo,
1093 TransportDIB::Id /* bitmap */, 1107 TransportDIB::Id /* bitmap */,
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2301 int /* render_view_id */, 2315 int /* render_view_id */,
2302 int /* bridge_id */) 2316 int /* bridge_id */)
2303 2317
2304 // The |render_view_id| and |bridge_id| requests Geolocation service to 2318 // The |render_view_id| and |bridge_id| requests Geolocation service to
2305 // resume. 2319 // resume.
2306 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2320 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2307 int /* render_view_id */, 2321 int /* render_view_id */,
2308 int /* bridge_id */) 2322 int /* bridge_id */)
2309 2323
2310 IPC_END_MESSAGES(ViewHost) 2324 IPC_END_MESSAGES(ViewHost)
OLDNEW
« 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