OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Singly or multiply-included shared traits file depending on circumstances. | |
6 // This allows the use of printing IPC serialization macros in more than one IPC | |
7 // message file. | |
8 #ifndef COMPONENTS_PRINTING_COMMON_PRINTING_PARAM_TRAITS_MACROS_H_ | |
9 #define COMPONENTS_PRINTING_COMMON_PRINTING_PARAM_TRAITS_MACROS_H_ | |
10 | |
11 #include "printing/print_job_constants.h" | |
12 #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.
| |
13 | |
14 // TODO(dgn) move all those macros back to | |
15 // components/printing/common/print_messages.h when they can be handled by a | |
16 // single generator. (main tracking bug: crbug.com/450822) | |
17 IPC_ENUM_TRAITS_MAX_VALUE(printing::MarginType, | |
18 printing::MARGIN_TYPE_LAST) | |
19 IPC_ENUM_TRAITS_MIN_MAX_VALUE(printing::DuplexMode, | |
20 printing::UNKNOWN_DUPLEX_MODE, | |
21 printing::SHORT_EDGE) | |
22 | |
23 #endif // COMPONENTS_PRINTING_COMMON_PRINTING_PARAM_TRAITS_MACROS_H_ | |
OLD | NEW |