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

Side by Side Diff: chrome/common/chrome_utility_messages.h

Issue 313723002: Convert local printer capabilites to CDD format to unify with cloud printers and PDF printer. This … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clang reported errors. Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/cloud_print/cloud_print_cdd_conversion.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, so no include guard. 5 // Multiply-included message file, so no include guard.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 IPC_ENUM_TRAITS(printing::DuplexMode) 51 IPC_ENUM_TRAITS(printing::DuplexMode)
52 52
53 #if defined(OS_WIN) 53 #if defined(OS_WIN)
54 IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults::Paper) 54 IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults::Paper)
55 IPC_STRUCT_TRAITS_MEMBER(name) 55 IPC_STRUCT_TRAITS_MEMBER(name)
56 IPC_STRUCT_TRAITS_MEMBER(size_um) 56 IPC_STRUCT_TRAITS_MEMBER(size_um)
57 IPC_STRUCT_TRAITS_END() 57 IPC_STRUCT_TRAITS_END()
58 #endif 58 #endif
59 59
60 IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults) 60 IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults)
61 IPC_STRUCT_TRAITS_MEMBER(collate_capable)
62 IPC_STRUCT_TRAITS_MEMBER(collate_default)
63 IPC_STRUCT_TRAITS_MEMBER(copies_capable)
64 IPC_STRUCT_TRAITS_MEMBER(duplex_capable)
65 IPC_STRUCT_TRAITS_MEMBER(duplex_default)
61 IPC_STRUCT_TRAITS_MEMBER(color_changeable) 66 IPC_STRUCT_TRAITS_MEMBER(color_changeable)
62 IPC_STRUCT_TRAITS_MEMBER(color_default) 67 IPC_STRUCT_TRAITS_MEMBER(color_default)
63 #if defined(USE_CUPS) 68 #if defined(USE_CUPS)
64 IPC_STRUCT_TRAITS_MEMBER(color_model) 69 IPC_STRUCT_TRAITS_MEMBER(color_model)
65 IPC_STRUCT_TRAITS_MEMBER(bw_model) 70 IPC_STRUCT_TRAITS_MEMBER(bw_model)
66 #endif 71 #endif
67 #if defined(OS_WIN) 72 #if defined(OS_WIN)
68 IPC_STRUCT_TRAITS_MEMBER(collate_capable)
69 IPC_STRUCT_TRAITS_MEMBER(collate_default)
70 IPC_STRUCT_TRAITS_MEMBER(copies_capable)
71 IPC_STRUCT_TRAITS_MEMBER(papers) 73 IPC_STRUCT_TRAITS_MEMBER(papers)
72 IPC_STRUCT_TRAITS_MEMBER(default_paper) 74 IPC_STRUCT_TRAITS_MEMBER(default_paper)
73 IPC_STRUCT_TRAITS_MEMBER(dpis) 75 IPC_STRUCT_TRAITS_MEMBER(dpis)
74 IPC_STRUCT_TRAITS_MEMBER(default_dpi) 76 IPC_STRUCT_TRAITS_MEMBER(default_dpi)
75 #endif 77 #endif
76 IPC_STRUCT_TRAITS_MEMBER(duplex_capable)
77 IPC_STRUCT_TRAITS_MEMBER(duplex_default)
78 IPC_STRUCT_TRAITS_END() 78 IPC_STRUCT_TRAITS_END()
79 79
80 IPC_ENUM_TRAITS(printing::PwgRasterTransformType); 80 IPC_ENUM_TRAITS(printing::PwgRasterTransformType);
81 81
82 IPC_STRUCT_TRAITS_BEGIN(printing::PwgRasterSettings) 82 IPC_STRUCT_TRAITS_BEGIN(printing::PwgRasterSettings)
83 IPC_STRUCT_TRAITS_MEMBER(odd_page_transform) 83 IPC_STRUCT_TRAITS_MEMBER(odd_page_transform)
84 IPC_STRUCT_TRAITS_MEMBER(rotate_all_pages) 84 IPC_STRUCT_TRAITS_MEMBER(rotate_all_pages)
85 IPC_STRUCT_TRAITS_MEMBER(reverse_page_order) 85 IPC_STRUCT_TRAITS_MEMBER(reverse_page_order)
86 IPC_STRUCT_TRAITS_END() 86 IPC_STRUCT_TRAITS_END()
87 87
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, 523 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials,
524 std::string /* ssid */, 524 std::string /* ssid */,
525 std::vector<uint8> /* public_key */) 525 std::vector<uint8> /* public_key */)
526 526
527 // Reply after getting WiFi credentials from the system and encrypting them with 527 // Reply after getting WiFi credentials from the system and encrypting them with
528 // caller's public key. |success| is false if error occurred. 528 // caller's public key. |success| is false if error occurred.
529 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, 529 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials,
530 std::vector<uint8> /* encrypted_key_data */, 530 std::vector<uint8> /* encrypted_key_data */,
531 bool /* success */) 531 bool /* success */)
532 #endif // defined(OS_WIN) 532 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/cloud_print/cloud_print_cdd_conversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698