summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_cairo.h
Commit message (Collapse)AuthorAgeFilesLines
* Get printing working in Aura.abodenha@chromium.org2011-11-081-65/+0
| | | | | | | | | | | | Splits printing_context_cairo into gtk and no system dialog versions. No system dialog versions are used in Chrome OS and Aura. BUG=http://code.google.com/p/chromium-os/issues/detail?id=13915 TEST=Build Chrome with Aura. Hit ctrl-p from any web page. Print preview page should come up and should be able to print via Cloud Print. Review URL: http://codereview.chromium.org/8372030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109059 0039d316-1c4b-4281-b951-d872f2087c98
* Add printing.dll to the component build.darin@chromium.org2011-09-011-1/+1
| | | | | | | 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
* Added Header and Footer support in Linux, Windows and Mac for Skiaaayushkumar@chromium.org2011-08-171-2/+3
| | | | | | | | | | | | BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97219 Review URL: http://codereview.chromium.org/7348010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97233 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97219 - Added Header and Footer support in Linux, Windows and Mac for ↵aayushkumar@chromium.org2011-08-171-3/+2
| | | | | | | | | | | | | | | Skia BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Review URL: http://codereview.chromium.org/7348010 TBR=aayushkumar@chromium.org Review URL: http://codereview.chromium.org/7670045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97226 0039d316-1c4b-4281-b951-d872f2087c98
* Added Header and Footer support in Linux, Windows and Mac for Skiaaayushkumar@chromium.org2011-08-171-2/+3
| | | | | | | | | | BUG=67514 TEST= In the preview tab, note added options for printing headers and footers. Toggle with the checkbox and ensure that the correct headers and footers are displayed. Review URL: http://codereview.chromium.org/7348010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97219 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/values.h into the base namespace. This includes a cros DEPS rolldmazzoni@chromium.org2011-07-121-1/+5
| | | | | | | | | | 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
* Virtual destructors should have virtual keyword.hans@chromium.org2011-05-251-1/+1
| | | | | | | | | | | | | | | | | Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
* 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