summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_internal.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-28 23:37:55 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-28 23:37:55 +0000
commit87c0254db050a6df147be484e2496aaa4b4f95a1 (patch)
treef0db8c3d0ab2c5e92ae48e43cbf210ca1e3042dd /chrome/common/render_messages_internal.h
parent0fc9dca2aae7f778a5a43aee1f898af7d93b15b8 (diff)
downloadchromium_src-87c0254db050a6df147be484e2496aaa4b4f95a1.zip
chromium_src-87c0254db050a6df147be484e2496aaa4b4f95a1.tar.gz
chromium_src-87c0254db050a6df147be484e2496aaa4b4f95a1.tar.bz2
Roll back r8821
Review URL: http://codereview.chromium.org/19453 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r--chrome/common/render_messages_internal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index c03a110..30c6469 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -97,9 +97,15 @@ IPC_BEGIN_MESSAGES(View, 1)
// This signals the render view that it can send another PaintRect message.
IPC_MESSAGE_ROUTED0(ViewMsg_PaintRect_ACK)
+ // Asks the renderer to calculate the number of printed pages according to the
+ // supplied settings. The renderer will reply with
+ // ViewHostMsg_DidGetPrintedPagesCount.
+ IPC_MESSAGE_ROUTED1(ViewMsg_GetPrintedPagesCount,
+ ViewMsg_Print_Params)
+
// Tells the render view to switch the CSS to print media type, renders every
// requested pages and switch back the CSS to display media type.
- IPC_MESSAGE_ROUTED0(ViewMsg_PrintPages)
+ IPC_MESSAGE_ROUTED1(ViewMsg_PrintPages, ViewMsg_PrintPages_Params)
// Tells the render view that a ViewHostMsg_ScrollRect message was processed.
// This signals the render view that it can send another ScrollRect message.