summaryrefslogtreecommitdiffstats
path: root/printing/backend/print_backend.h
diff options
context:
space:
mode:
authoralekseys@chromium.org <alekseys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-07 08:28:58 +0000
committeralekseys@chromium.org <alekseys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-07 08:28:58 +0000
commit04e21f58317b0e35d3823859622e493884a2aed7 (patch)
tree3c676dd836e163ccd4d4b653cc19c7dfdb227d0a /printing/backend/print_backend.h
parent5fc01f31043d20344360c33321c5cfe9fc0a2281 (diff)
downloadchromium_src-04e21f58317b0e35d3823859622e493884a2aed7.zip
chromium_src-04e21f58317b0e35d3823859622e493884a2aed7.tar.gz
chromium_src-04e21f58317b0e35d3823859622e493884a2aed7.tar.bz2
Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes reporting for all platforms.
BUG=239879 Review URL: https://codereview.chromium.org/324523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/backend/print_backend.h')
-rw-r--r--printing/backend/print_backend.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/printing/backend/print_backend.h b/printing/backend/print_backend.h
index 30e4512..3b307f1 100644
--- a/printing/backend/print_backend.h
+++ b/printing/backend/print_backend.h
@@ -48,28 +48,18 @@ struct PRINTING_EXPORT PrinterSemanticCapsAndDefaults {
bool color_changeable;
bool color_default;
-
- // These are CUPS specific data, which soon be removed altogether. They are
- // not defined under USE_CUPS to do not pull CUPS dependency into common code.
-#if defined(OS_POSIX)
- // TODO(alekseys): Resolve color model within printing context, do not expose
- // it outside of the context.
ColorModel color_model;
ColorModel bw_model;
-#endif
-#if defined(OS_WIN)
struct Paper {
std::string name;
gfx::Size size_um;
};
-
std::vector<Paper> papers;
Paper default_paper;
std::vector<gfx::Size> dpis;
gfx::Size default_dpi;
-#endif
};
struct PRINTING_EXPORT PrinterCapsAndDefaults {