summaryrefslogtreecommitdiffstats
path: root/printing/page_setup.cc
Commit message (Collapse)AuthorAgeFilesLines
* PrintPreview: [LINUX] While flipping the orientation, do not rotate the ↵kmadhusu@chromium.org2011-11-091-9/+0
| | | | | | | | | | | | margins values. BUG=103465 TEST=Please refer to bug report. Review URL: http://codereview.chromium.org/8505024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109286 0039d316-1c4b-4281-b951-d872f2087c98
* PrintPreview: [LINUX] Update the margin values after flipping the paper ↵kmadhusu@chromium.org2011-11-041-7/+26
| | | | | | | | | | | | orientation. BUG=101419 TEST=Please refer to bug description. Review URL: http://codereview.chromium.org/8351063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108598 0039d316-1c4b-4281-b951-d872f2087c98
* For no margins, or printable area margins, don't factor in the header/footer ↵vandebo@chromium.org2011-10-181-6/+7
| | | | | | | | | | | size. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/8328001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105973 0039d316-1c4b-4281-b951-d872f2087c98
* Move margin processing code to the browser process.vandebo@chromium.org2011-10-151-36/+47
| | | | | | | | | | | | It seems that this is where it is supposed to live and it was erroneously added to PrintWebViewHelper. BUG=67091, 92045, 91880, 92000, 92218, 95905 TEST=NONE Review URL: http://codereview.chromium.org/8201027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105688 0039d316-1c4b-4281-b951-d872f2087c98
* Sanity check the printable area returned by windows.vandebo@chromium.org2011-10-081-2/+0
| | | | | | | | | | BUG=96063 TEST=NONE Review URL: http://codereview.chromium.org/8200010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104615 0039d316-1c4b-4281-b951-d872f2087c98
* Add check to debug issue 96063vandebo@chromium.org2011-09-281-0/+2
| | | | | | | | | | BUG=96063 TEST=NONE Review URL: http://codereview.chromium.org/8054031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103083 0039d316-1c4b-4281-b951-d872f2087c98
* Print Preview: Implement basic settings.thestig@chromium.org2011-03-291-1/+16
| | | | | | | | BUG=57902 TEST=Run with --enable-print-preview, make sure orientation and color settings work. Review URL: http://codereview.chromium.org/6736014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79655 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1 of repairing regressions to my old clang check plugins so Nico canerg@google.com2011-01-271-0/+2
| | | | | | | | | | | 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
* Move printing related stuff to the root printing project from the browser ↵sverrir@google.com2009-07-071-0/+126
project. This simplifies further refactoring and eases understanding of the printing part of Chrome. Also renamed win_printing_context to printing_context_win (correct naming convention) and added stub implementations for _linux and mac. Now all but one file is compiling on all platforms. TEST=none (no functional change). BUG=none Review URL: http://codereview.chromium.org/149212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20086 0039d316-1c4b-4281-b951-d872f2087c98