diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-24 20:53:52 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-24 20:53:52 +0000 |
commit | 92d5641ac0562e48fc2b4dfba487b235a25177b8 (patch) | |
tree | 286b4c808e1e93948c47e36da64049ba01bc408e /chrome/common | |
parent | 4c87e0a3e1436f4206881afed09981283feb2d29 (diff) | |
download | chromium_src-92d5641ac0562e48fc2b4dfba487b235a25177b8.zip chromium_src-92d5641ac0562e48fc2b4dfba487b235a25177b8.tar.gz chromium_src-92d5641ac0562e48fc2b4dfba487b235a25177b8.tar.bz2 |
Add a ChromeRenderMessageFilter, which is like RenderMessageFilter but outside the content module. We'll dispatch Chrome specific messages on the IO thread there. Also convert one more message that's only used for printing.
Review URL: http://codereview.chromium.org/6713108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/print_messages.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h index a9fd701..81e903e 100644 --- a/chrome/common/print_messages.h +++ b/chrome/common/print_messages.h @@ -152,6 +152,14 @@ IPC_MESSAGE_ROUTED0(PrintMsg_ResetScriptedPrintCount) // Messages sent from the renderer to the browser. +#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(PrintHostMsg_DuplicateSection, + base::SharedMemoryHandle /* renderer handle */, + base::SharedMemoryHandle /* browser handle */) +#endif + // Tells the browser that the renderer is done calculating the number of // rendered pages according to the specified settings. IPC_MESSAGE_ROUTED2(PrintHostMsg_DidGetPrintedPagesCount, |