summaryrefslogtreecommitdiffstats
path: root/chrome/common/print_messages.h
diff options
context:
space:
mode:
authorrltoscano@chromium.org <rltoscano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-14 00:59:46 +0000
committerrltoscano@chromium.org <rltoscano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-14 00:59:46 +0000
commit19d1c2d57b0086979e416e418117314b1af7f2a4 (patch)
tree43f839607007da5aa0f6d403eb389ce323fad046 /chrome/common/print_messages.h
parent57f6212707a418941288c5f127535755e0dbeb17 (diff)
downloadchromium_src-19d1c2d57b0086979e416e418117314b1af7f2a4.zip
chromium_src-19d1c2d57b0086979e416e418117314b1af7f2a4.tar.gz
chromium_src-19d1c2d57b0086979e416e418117314b1af7f2a4.tar.bz2
Adds option to enable CSS backgrounds for printing.
BUG=113594 Review URL: https://chromiumcodereview.appspot.com/11818062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/print_messages.h')
-rw-r--r--chrome/common/print_messages.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index bdd1fbe..d6cffd0 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -48,6 +48,7 @@ struct PrintMsg_Print_Params {
string16 date;
string16 title;
string16 url;
+ bool should_print_backgrounds;
};
struct PrintMsg_PrintPages_Params {
@@ -135,6 +136,9 @@ IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params)
// URL string to be printed as footer if requested by the user.
IPC_STRUCT_TRAITS_MEMBER(url)
+
+ // True if print backgrounds is requested by the user.
+ IPC_STRUCT_TRAITS_MEMBER(should_print_backgrounds)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_BEGIN(PrintMsg_PrintPage_Params)