summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authordpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 20:16:25 +0000
committerdpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 20:16:25 +0000
commita88513546c84ee492c25cb502b0331dc9c5479a6 (patch)
treea697fc46c6255a8935f22fb52b8a133588a1ae13 /chrome/common
parent623c832ec466551be83f9971943bdcc94c9fd382 (diff)
downloadchromium_src-a88513546c84ee492c25cb502b0331dc9c5479a6.zip
chromium_src-a88513546c84ee492c25cb502b0331dc9c5479a6.tar.gz
chromium_src-a88513546c84ee492c25cb502b0331dc9c5479a6.tar.bz2
Print Preview: Associating preview requests and responses using an identifier
BUG=88807, 89106 TEST=NONE Review URL: http://codereview.chromium.org/7313035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/print_messages.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index 0c8c48a..11547bc 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -48,6 +48,8 @@ IPC_STRUCT_BEGIN(PrintMsg_Print_Params)
// Does the printer support alpha blending?
IPC_STRUCT_MEMBER(bool, supports_alpha_blend)
+
+ IPC_STRUCT_MEMBER(int, preview_request_id)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(PrintMsg_PrintPage_Params)
@@ -89,6 +91,9 @@ IPC_STRUCT_BEGIN(PrintHostMsg_DidPreviewDocument_Params)
// Whether the preview can be modified.
IPC_STRUCT_MEMBER(bool, modifiable)
+
+ // The id of the preview request.
+ IPC_STRUCT_MEMBER(int, preview_request_id)
IPC_STRUCT_END()
// Parameters to describe a rendered page.