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

Side by Side Diff: printing/printing_param_traits_macros.h

Issue 857053002: Generate the print messages in components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dedicated component generators Created 5 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 unified diff | Download patch
OLDNEW
(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 PRINTING_PRINTING_PARAM_TRAITS_MACROS_H_
9 #define PRINTING_PRINTING_PARAM_TRAITS_MACROS_H_
10
11 #include "printing/print_job_constants.h"
12 #include "ipc/ipc_message_macros.h"
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 // PRINTING_PRINTING_PARAM_TRAITS_MACROS_H_
OLDNEW
« components/printing/common/print_messages.cc ('K') | « printing/printing.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698