summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_cairo.h
Commit message (Collapse)AuthorAgeFilesLines
* Connect the right metafiles for print preview on Linux and Windows.vandebo@chromium.org2011-04-111-5/+2
| | | | | | | | | | | | | | + Remove the NativeMetafileFactory since we can't just use preview flag. + Update each Metafile constructor site to use PreviewMetafile or NativeMetafileImpl. + Fix misc. problems blocking pdf generation on Windows. + Rename the metafile interface. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6826027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81161 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Refactor PrintDialogGtk in preparation for adding dialog-less printing.thestig@chromium.org2011-04-111-9/+7
| | | | | | | | BUG=none TEST=Printing on Linux still works. Review URL: http://codereview.chromium.org/6811016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81069 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Use const reference instead of a const pointer.thestig@chromium.org2011-03-221-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6675013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78955 0039d316-1c4b-4281-b951-d872f2087c98
* PrintPreview: [MAC] Set the selected printer for the current print job.kmadhusu@chromium.org2011-03-211-1/+2
| | | | | | | | | BUG=76123 TEST=Enable print preview on mac. Press ctrl+p to print a page. On print preview tab, select a printer and press print button. Review URL: http://codereview.chromium.org/6698013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78919 0039d316-1c4b-4281-b951-d872f2087c98
* (1) Hook up the print button to send the pages to the default printer for ↵kmadhusu@chromium.org2011-03-051-0/+1
| | | | | | | | | | | | | printing without displaying a native dialog. (2) Made code changes to accept a print page range from the user and to print only those specified pages. BUG=none TEST=Enable print preview on mac, provide a valid page range and make sure print button in print preview works. Review URL: http://codereview.chromium.org/6533006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77003 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Refactor printing to be more linux Windows/Mac.thestig@chromium.org2011-02-191-1/+24
| | | | | | | | BUG=41543,59732 TEST=Printing works on Linux and CrOS, Linux printing respect print dialog settings. Review URL: http://codereview.chromium.org/6516022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75475 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Delete dead code in PrintJob and cleanup corresponding code in ↵thestig@chromium.org2011-02-141-1/+0
| | | | | | | | | | PrintingContext. BUG=none TEST=none Review URL: http://codereview.chromium.org/6510007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74844 0039d316-1c4b-4281-b951-d872f2087c98
* On Chrome OS, use the application locale to determine the default paper size ↵sanjeevr@chromium.org2010-12-031-1/+3
| | | | | | | | | | | rather than rely on GTK. BUG=None. TEST=Web pages printed from Chrome OS should use locale-specific default paper size (specifically, for US, it should use 8.5 x 11). Review URL: http://codereview.chromium.org/5636001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68233 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Convert PrintingContext into an interface implemented by the separatejhawkins@chromium.org2010-10-061-0/+39
platforms. BUG=none TEST=none Review URL: http://codereview.chromium.org/3610013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61714 0039d316-1c4b-4281-b951-d872f2087c98