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

Unified Diff: chrome/common/print_messages.h

Issue 11818062: Adds option to enable CSS backgrounds for printing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge with trunk. Created 7 years, 11 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
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_data_source.cc ('k') | chrome/common/print_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/print_messages.h
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index bdd1fbe4e9930e4cd4d65d580c42cf06a8305aa5..d6cffd05ec3bff22a5994aeb8387c4192f0334ce 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)
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_data_source.cc ('k') | chrome/common/print_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698