summaryrefslogtreecommitdiffstats
path: root/printing/backend/print_backend.h
Commit message (Collapse)AuthorAgeFilesLines
* Add paper size reporting for CUPS printers (to let user to select one in the ↵alekseys@chromium.org2014-06-131-1/+2
| | | | | | | | | | Print Preview). BUG=239879 Review URL: https://codereview.chromium.org/334763002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277098 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Revert of Generalize printer color model handling, get rid of CUPS ↵ckocagil@chromium.org2014-06-081-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specific case. Enable supported paper szes… (https://codereview.chromium.org/321703002/) Reason for revert: Didn't fix. Original issue's description: > Revert of Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes… (https://codereview.chromium.org/324523002/) > > Reason for revert: > Breaks Linux ASAN http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/2865 > > Original issue's description: > > Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes reporting for all platforms. > > > > BUG=239879 > > NOTRY=true > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275646 > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275716 > > TBR=vitalybuka@chromium.org,jschuh@chromium.org,alekseys@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=239879 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275739 TBR=vitalybuka@chromium.org,jschuh@chromium.org,alekseys@chromium.org NOTREECHECKS=true NOTRY=true BUG=239879 Review URL: https://codereview.chromium.org/318293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275740 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Generalize printer color model handling, get rid of CUPS specific ↵ckocagil@chromium.org2014-06-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | case. Enable supported paper szes… (https://codereview.chromium.org/324523002/) Reason for revert: Breaks Linux ASAN http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/2865 Original issue's description: > Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes reporting for all platforms. > > BUG=239879 > NOTRY=true > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275646 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275716 TBR=vitalybuka@chromium.org,jschuh@chromium.org,alekseys@chromium.org NOTREECHECKS=true NOTRY=true BUG=239879 Review URL: https://codereview.chromium.org/321703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275739 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize printer color model handling, get rid of CUPS specific case. ↵alekseys@chromium.org2014-06-081-10/+0
| | | | | | | | | | | | | Enable supported paper szes reporting for all platforms. BUG=239879 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275646 Review URL: https://codereview.chromium.org/324523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275716 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 275646 "Generalize printer color model handling, get rid ..."vitalybuka@chromium.org2014-06-071-0/+10
| | | | | | | | | | | | | | | | | Speculative revert. Something breaks "Linux ASan LSan Tests", TaskManagerNewPrintPreview. > 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 TBR=alekseys@chromium.org Review URL: https://codereview.chromium.org/319373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275711 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize printer color model handling, get rid of CUPS specific case. ↵alekseys@chromium.org2014-06-071-10/+0
| | | | | | | | | | 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
* Convert local printer capabilites to CDD format to unify with cloud printers ↵alekseys@chromium.org2014-06-051-9/+13
| | | | | | | | | | and PDF printer. This is a necessary step for adding paper size capability to local printers. BUG=239879 Review URL: https://codereview.chromium.org/313723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275250 0039d316-1c4b-4281-b951-d872f2087c98
* Extend PrinterSemanticCapsAndDefaults with Collate, Copies, PaperSize and ↵vitalybuka@chromium.org2014-02-051-4/+21
| | | | | | | | | | | Dpi capabilities. BUG=317027 NOTRY=true Review URL: https://codereview.chromium.org/153373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248842 0039d316-1c4b-4281-b951-d872f2087c98
* Moved SimplifyDocumentTitle from printing/backendvitalybuka@chromium.org2013-11-091-4/+0
| | | | | | | | TBR=noamsml Review URL: https://codereview.chromium.org/59903019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234127 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Save the CUPS printer color model info and use it when printing.thestig@chromium.org2013-10-181-0/+5
| | | | | | | | BUG=306682 Review URL: https://codereview.chromium.org/26539013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229293 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Use base namespace in printing/.thestig@chromium.org2013-10-011-1/+1
| | | | | | Review URL: https://codereview.chromium.org/24989002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226174 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in ppapi/, printing/.avi@chromium.org2013-06-111-1/+1
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16366009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205664 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed color_capable to color_changeable.vitalybuka@chromium.org2012-12-201-1/+1
| | | | | | | | BUG=153726 Review URL: https://chromiumcodereview.appspot.com/11641003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174281 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify document title for Windows printing.vitalybuka@chromium.org2012-09-201-0/+4
| | | | | | | | | | Some drivers can't handle long titles or control characters. BUG=65469 Review URL: https://chromiumcodereview.appspot.com/10941025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157715 0039d316-1c4b-4281-b951-d872f2087c98
* Get semantic capabilities from Print Backend.gene@chromium.org2012-09-071-0/+22
| | | | | | | | | | | | | Moved OS specific code into OS specific print backends (vs. print_system_task_proxy.cc). On Windows get capabilities using native API (vs. XPS parsing) Some clean up on code and interfaces for Print Backend. BUG=144031 TEST=Verify Print Preview on ALL platforms (Win XP, Win 7, Linux, Mac). Review URL: https://chromiumcodereview.appspot.com/10905006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155310 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, printing/ and ui/rsleevi@chromium.org2012-05-021-2/+4
| | | | | | | | | | BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10067034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134859 0039d316-1c4b-4281-b951-d872f2087c98
* ScopedPrinterInfoSetter sets printer related information to be available for ↵vitalybuka@chromium.org2012-03-161-3/+2
| | | | | | | | | | | breakpad. This CL inserts ScopedPrinterInfoSetter in places where Cloud print accesses printers and crash is possible. BUG=108194 TEST=none Review URL: http://codereview.chromium.org/9693064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127131 0039d316-1c4b-4281-b951-d872f2087c98
* GetPrinterDriverInfo returns string.vitalybuka@chromium.org2012-03-071-11/+1
| | | | | | | | | | BUG=108194 TEST=none Review URL: http://codereview.chromium.org/9618032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125326 0039d316-1c4b-4281-b951-d872f2087c98
* Added PrinterDriverInfo and PrintBackend::GetPrinterDriverInfo for windows.vitalybuka@chromium.org2012-03-051-1/+16
| | | | | | | | | | BUG=108194 TEST=none Review URL: http://codereview.chromium.org/9516010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125020 0039d316-1c4b-4281-b951-d872f2087c98
* Add printing.dll to the component build.darin@chromium.org2011-09-011-3/+5
| | | | | | | R=rvargas,thestig Review URL: http://codereview.chromium.org/7799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99144 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/values.h into the base namespace. This includes a cros DEPS rolldmazzoni@chromium.org2011-07-121-1/+3
| | | | | | | | | | with a minor change to that code since libcros also uses base/values.h. BUG=88666 TEST=none Review URL: http://codereview.chromium.org/7259019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Add ability to get the default printer from the print backend.thestig@chromium.org2011-05-281-0/+3
| | | | | | | | | BUG=84126 TEST=none Review URL: http://codereview.chromium.org/7087011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87187 0039d316-1c4b-4281-b951-d872f2087c98
* Preselecting default printer in print preview tab drop down list in Linux, ↵dpapad@chromium.org2011-04-011-0/+1
| | | | | | | | | | | Mac, Win. BUG=76290 TEST=Set default printer. Open chrome with --enable-print-preview, hit ctrl+p, the default printer should appear selected in the drop-down list. Close the print preview tab. Change default printer and hit ctrl+p again. The new default printer should be selected. Review URL: http://codereview.chromium.org/6670099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80111 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1 of repairing regressions to my old clang check plugins so Nico canerg@google.com2011-01-271-0/+3
| | | | | | | | | | | deploy the clang plugins to the waterfall/trybots. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6366019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72846 0039d316-1c4b-4281-b951-d872f2087c98
* Added a diagnostic user message when enumerating printers fails. Also ↵sanjeevr@chromium.org2011-01-241-1/+1
| | | | | | | | | | | tweaked some of the strings. BUG=None TEST=Test Cloud Print Proxy. Review URL: http://codereview.chromium.org/6356007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72422 0039d316-1c4b-4281-b951-d872f2087c98
* Move useful printing backend code from chrome/service/cloud_print to ↵thestig@chromium.org2010-10-251-0/+70
printing/backend. BUG=none TEST=none Review URL: http://codereview.chromium.org/3945003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63772 0039d316-1c4b-4281-b951-d872f2087c98