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

Side by Side Diff: printing/backend/print_backend.cc

Issue 153373002: Extend PrinterSemanticCapsAndDefaults with Collate, Copies, PaperSize and Dpi capabilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
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 #include "printing/backend/print_backend.h" 5 #include "printing/backend/print_backend.h"
6 6
7 namespace printing { 7 namespace printing {
8 8
9 PrinterBasicInfo::PrinterBasicInfo() 9 PrinterBasicInfo::PrinterBasicInfo()
10 : printer_status(0), 10 : printer_status(0),
11 is_default(false) {} 11 is_default(false) {}
12 12
13 PrinterBasicInfo::~PrinterBasicInfo() {} 13 PrinterBasicInfo::~PrinterBasicInfo() {}
14 14
15 PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults() 15 PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults()
16 : color_changeable(false), 16 : color_changeable(false),
17 color_default(false),
18 #if defined (OS_WIN)
19 collate_capable(false),
20 collate_default(false),
21 copies_capable(false),
22 default_paper(-1),
23 default_dpi(-1),
24 #endif
17 duplex_capable(false), 25 duplex_capable(false),
18 color_default(false), 26 duplex_default(UNKNOWN_DUPLEX_MODE) {
19 duplex_default(UNKNOWN_DUPLEX_MODE) {} 27 }
20 28
21 PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {} 29 PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {}
22 30
23 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {} 31 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {}
24 32
25 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {} 33 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {}
26 34
27 PrintBackend::~PrintBackend() {} 35 PrintBackend::~PrintBackend() {}
28 36
29 } // namespace printing 37 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698