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

Unified Diff: printing/backend/print_backend.cc

Issue 10905006: Get semantic capabilities from Print Backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: printing/backend/print_backend.cc
===================================================================
--- printing/backend/print_backend.cc (revision 153539)
+++ printing/backend/print_backend.cc (working copy)
@@ -6,12 +6,29 @@
namespace printing {
+static const char kSemanticCapabilities[] = "capabilities";
+static const char kSemanticDefaults[] = "defaults";
+static const char kSemanticColor[] = "color";
+static const char kSemanticDuplex[] = "duplex";
+
PrinterBasicInfo::PrinterBasicInfo()
: printer_status(0),
is_default(false) {}
PrinterBasicInfo::~PrinterBasicInfo() {}
+PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults()
+ : color_capable(false),
+ duplex_capable(false),
+ color_default(false),
+ duplex_default(UNKNOWN_DUPLEX_MODE) {}
+
+PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {}
+
+std::string PrinterSemanticCapsAndDefaults::GetAsJson() const {
+ return "Not yet implemented";
+}
+
PrinterCapsAndDefaults::PrinterCapsAndDefaults() {}
PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {}

Powered by Google App Engine
This is Rietveld 408576698