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

Unified Diff: chrome/common/render_messages_internal.h

Issue 172115: Pass printing result to the browser.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 25608)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -1338,11 +1338,21 @@
IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK,
int /* request_id */)
+#if defined(OS_WIN)
// Duplicates a shared memory handle from the renderer to the browser. Then
// the renderer can flush the handle.
IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection,
- base::SharedMemoryHandle /* renderer handle */,
+ base::SharedMemoryHandle /* renderer handle */,
M-A Ruel 2009/09/08 14:38:51 broke alignment
+ base::SharedMemoryHandle /* browser handle */)
+#endif
+
+#if defined(OS_LINUX)
+ // Asks the browser create a block of shared memory for the renderer to fill
+ // in resulting NativeMetafile in printing.
+ IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_AllocateShareMemory,
+ size_t /* buffer size */,
base::SharedMemoryHandle /* browser handle */)
+#endif
// Provide the browser process with information about the WebCore resource
// cache.

Powered by Google App Engine
This is Rietveld 408576698