Chromium Code Reviews| Index: components/printing/common/print_messages.h |
| diff --git a/components/printing/common/print_messages.h b/components/printing/common/print_messages.h |
| index effc2f244abc3aeab9d86fe8b6079b3adfa335a3..5e724b3927f46c43a47b02ad4e8e14536eeea877 100644 |
| --- a/components/printing/common/print_messages.h |
| +++ b/components/printing/common/print_messages.h |
| @@ -11,6 +11,7 @@ |
| #include "base/memory/shared_memory.h" |
| #include "base/values.h" |
| #include "ipc/ipc_message_macros.h" |
|
Vitaly Buka (NO REVIEWS)
2015/01/27 18:22:27
order
dgn
2015/01/27 18:28:17
Done.
|
| +#include "components/printing/common/printing_param_traits_macros.h" |
| #include "printing/page_range.h" |
| #include "printing/page_size_margins.h" |
| #include "printing/print_job_constants.h" |
| @@ -19,6 +20,9 @@ |
| #include "ui/gfx/ipc/gfx_param_traits.h" |
| #include "ui/gfx/native_widget_types.h" |
| +// Force multiple inclusion of the param traits file to generate all methods. |
| +#undef COMPONENTS_PRINTING_COMMON_PRINTING_PARAM_TRAITS_MACROS_H_ |
| + |
| #ifndef COMPONENTS_PRINTING_COMMON_PRINT_MESSAGES_H_ |
| #define COMPONENTS_PRINTING_COMMON_PRINT_MESSAGES_H_ |
| @@ -86,13 +90,8 @@ struct PrintHostMsg_SetOptionsFromDocument_Params { |
| #define IPC_MESSAGE_START PrintMsgStart |
| -IPC_ENUM_TRAITS_MAX_VALUE(printing::MarginType, |
| - printing::MARGIN_TYPE_LAST) |
| IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPrintScalingOption, |
| blink::WebPrintScalingOptionLast) |
| -IPC_ENUM_TRAITS_MIN_MAX_VALUE(printing::DuplexMode, |
| - printing::UNKNOWN_DUPLEX_MODE, |
| - printing::SHORT_EDGE) |
| // Parameters for a render request. |
| IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params) |