summaryrefslogtreecommitdiffstats
path: root/printing
Commit message (Collapse)AuthorAgeFilesLines
* Correct const accessors in base/values.(h|cc)vabr@chromium.org2012-07-271-2/+2
| | | | | | | | | | | | | For problem description and other info please see the BUG page. This is for DictionaryValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr Review URL: https://chromiumcodereview.appspot.com/10834004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98
* Standardize log message style for cloudprint service and display printer idalexyu@google.com2012-07-231-8/+12
| | | | | | | | | | | | and job id wherever possible BUG=138602 TEST= Review URL: https://chromiumcodereview.appspot.com/10808086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147987 0039d316-1c4b-4281-b951-d872f2087c98
* Make StickySettings sticky across sessions.abodenha@chromium.org2012-07-182-0/+4
| | | | | | | | | | | | | | | Print preview currently keeps settings "sticky" within a single browser session so that if the user chooses a printer or settings it will be remembered the next time preview is launched. This CL extends that behavior to make the settings stick across multiple sessions. BUG=111957 TEST=Enable flag. Verify that all print preview settings that are sticky within a session are sticky across sessions. Review URL: https://chromiumcodereview.appspot.com/10780004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147142 0039d316-1c4b-4281-b951-d872f2087c98
* Send request to show print system dialog to Metro.mad@chromium.org2012-07-121-0/+16
| | | | | | | | | | BUG=134256 TEST=Make sure there are no way to open the system's print dialog in Chrome when running in Metro. The print device charm should be shown instead. Review URL: https://chromiumcodereview.appspot.com/10701155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146399 0039d316-1c4b-4281-b951-d872f2087c98
* roll skia to 4552reed@google.com2012-07-121-6/+6
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10702144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146328 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-116-6/+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
* These are the Chrome side changes to support the Print device charm in Metro.mad@chromium.org2012-06-294-0/+104
| | | | | | | | | | | | We now expose a print destination interface (not quite complete yet) to bypass the current print flow so that the metafile bits get sent to Metro instead of the print spooler. Other changes will come to make this more complete, e.g., pass in the destination object from the metro module, and expose print settings on the destination interface. BUG=125675 TEST=Make sure you can still print as usual outside the Metro world. Review URL: https://chromiumcodereview.appspot.com/10483006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144943 0039d316-1c4b-4281-b951-d872f2087c98
* Restore DC before EndPage call to state if was just after StartPage. We need ↵vitalybuka@chromium.org2012-06-203-38/+49
| | | | | | | | | | | this because EndPage clips page with current clipping region. BUG=71509 TEST=unittest Review URL: https://chromiumcodereview.appspot.com/10557019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143119 0039d316-1c4b-4281-b951-d872f2087c98
* Mac printing: Autorotate printed pages so their orientation is the same as ↵thestig@chromium.org2012-06-187-71/+99
| | | | | | | | | | the destination page. BUG=93303,132922 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10560021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142824 0039d316-1c4b-4281-b951-d872f2087c98
* Add ENABLE_PRINTING and disable it on Android.wangxianzhu@chromium.org2012-06-091-0/+11
| | | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10540033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141353 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 139885 - Enable the handle verifier.rvargas@google.com2012-06-041-2/+1
| | | | | | | | | | | | | BUG=127931 TEST=none TBR=willchan, wez, abodenha Review URL: https://chromiumcodereview.appspot.com/10441124 TBR=rvargas@google.com Review URL: https://chromiumcodereview.appspot.com/10516004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140417 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 139885 - Enable the handle verifier.rvargas@google.com2012-05-311-1/+2
| | | | | | | | | | | | | BUG=127931 TEST=none TBR=willchan, wez, abodenha Review URL: https://chromiumcodereview.appspot.com/10441124 TBR=rvargas@google.com Review URL: https://chromiumcodereview.appspot.com/10454100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139905 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the handle verifier.rvargas@google.com2012-05-311-2/+1
| | | | | | | | | | BUG=127931 TEST=none TBR=willchan, wez, abodenha Review URL: https://chromiumcodereview.appspot.com/10441124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139885 0039d316-1c4b-4281-b951-d872f2087c98
* Base: Add a handle verifier to ScopedHandle.rvargas@chromium.org2012-05-311-1/+2
| | | | | | | | | | | | | This provides basic tracking of handles for XP. BUG=127931 TEST=none TBR=abodenha, wez Review URL: https://chromiumcodereview.appspot.com/10453082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139736 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of BrowserList::GetLastActive from PrintDialogGtk. Pass through ↵ben@chromium.org2012-05-242-1/+3
| | | | | | | | | | the parent GtkWidget instead and locate a parent window from that. http://crbug.com/129187 TEST=none Review URL: https://chromiumcodereview.appspot.com/10436002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138714 0039d316-1c4b-4281-b951-d872f2087c98
* Adding functionality to specify TLS encryption CUPS print servers for ↵gene@chromium.org2012-05-165-11/+26
| | | | | | | | | | | cloudprint connector. BUG=127858 TEST=add 'cups_encryption' filed to 'Service State' file in print settings section. Value should be 0..4 (see http_encryption_t for possible values). Review URL: https://chromiumcodereview.appspot.com/10399050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137550 0039d316-1c4b-4281-b951-d872f2087c98
* [Print Preview]: Added code to support pdf fit to page functionality.kmadhusu@chromium.org2012-05-162-0/+5
| | | | | | | | | | BUG=85132 TEST=none Review URL: https://chromiumcodereview.appspot.com/10083060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137498 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded scoped_ptr.h includes from ppapi, printing, ↵thestig@chromium.org2012-05-164-35/+34
| | | | | | | | | | | | remoting, and sync. BUG=none TEST=none TBR=brettw,hclam,akalin,abodenha Review URL: https://chromiumcodereview.appspot.com/10387107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137376 0039d316-1c4b-4281-b951-d872f2087c98
* Fix new -Wnull-conversion violations detected by a newer clang.thakis@chromium.org2012-05-161-1/+1
| | | | | | | | | | | | No intended behavior change. BUG=none TEST=none TBR=hans Review URL: https://chromiumcodereview.appspot.com/10383207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137374 0039d316-1c4b-4281-b951-d872f2087c98
* Change the way _EXPORT macros look.thakis@chromium.org2012-05-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the current setup, if you have a header file my_class.h class BASE_EXPORT MyClass { public: void MyInlineMethod() { /* do stuff, inline */ } }; then every cc file that includes my_class.h will have a public symbol for MyInlineMethod (because inline methods need to be emitted to every translation unit, and the linker sorts them out). With the components build, the linker can't decide to drop these inline methods, so every .so that uses this header file will have the same public symbol. With this proposed change, the symbol will only be visible in the target the header file belongs to, and it will be hidden in all other components. That's cleaner, and it also prevents accident hidden dependencies (say target A depends on B, and B depends on C. A accidentally uses an inline function from a class in C. With this change, that would result in a linker error, and an explicit dependency from A on C would have to be added). Also add a missing CHROMEOS_IMPLEMENTATION define which went unnoticed until now. BUG=90078 TEST=Things still build. TBR=ben, tony, viettrungluu, thestig, agl, willchan Review URL: https://chromiumcodereview.appspot.com/10386108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137130 0039d316-1c4b-4281-b951-d872f2087c98
* A better fix for scaling issue.gene@chromium.org2012-05-095-74/+26
| | | | | | | | | | | Instead of using TLS and static function, pass scaling in the skia dictionary. BUG=125499 TEST=Make sure printing is working. Review URL: https://chromiumcodereview.appspot.com/10387022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136055 0039d316-1c4b-4281-b951-d872f2087c98
* ugrr... Fixing printing scaling again.gene@chromium.org2012-05-033-1/+73
| | | | | | | | | | | | | Not the nicest fix, but it should do the job. Now, we'll try to use default scaling (72dpi) whenever we can. If sceen resolution droped below the point where metafile can't accomodate whole PDF page anymore, we'll use this hack to pass custom scale in the TLS for the upper layer. BUG=125499 TEST=Print PDF using print preview and system print dialog. Same for webpage. Make screen resolution 800x600 and repeat. Review URL: http://codereview.chromium.org/10348002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135241 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, printing/ and ui/rsleevi@chromium.org2012-05-024-31/+30
| | | | | | | | | | 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
* Don't make checkdeps ignore includes to directories that are brought in via ↵jam@chromium.org2012-04-271-1/+1
| | | | | | | | deps. Most of these are already listed in DEPS files, and it seems that we want to prevent includes on them just like normal directories that are in our tree (otherwise content can depend on native_client, for ex) Review URL: https://chromiumcodereview.appspot.com/10248005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134296 0039d316-1c4b-4281-b951-d872f2087c98
* Convert printing ui_tests to browser_tests.jam@chromium.org2012-04-091-1/+1
| | | | | | | BUG=121574 Review URL: https://chromiumcodereview.appspot.com/10033001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131436 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete chromeos specific codeoshima@chromium.org2012-04-091-3/+1
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/10008058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131423 0039d316-1c4b-4281-b951-d872f2087c98
* Remove workaround for fixed skia bug.vandebo@chromium.org2012-03-281-2/+0
| | | | | | | | | | | | Bug was fixed in skia r3499, which we've now rolled past. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/9858031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129523 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed null pointer exception.vitalybuka@chromium.org2012-03-231-3/+5
| | | | | | | | | | TBR=gene@chromium.org BUG=119852 TEST=none Review URL: https://chromiumcodereview.appspot.com/9839077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128606 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia DEPS to 3470epoger@google.com2012-03-231-18/+13
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9834048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128523 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Roll Skia to 3470, which changes most of the pdf includes to be ↵vandebo@chromium.org2012-03-231-13/+18
| | | | | | | | | | | | | | | private." This reverts r128408 tbr=thakis@chromium.org BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9835042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128410 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Skia to 3470, which changes most of the pdf includes to be private.vandebo@chromium.org2012-03-231-18/+13
| | | | | | | | | | | TBR=thakis BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9792001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128408 0039d316-1c4b-4281-b951-d872f2087c98
* Removed trailing ;vitalybuka@chromium.org2012-03-231-1/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9842003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128392 0039d316-1c4b-4281-b951-d872f2087c98
* Driver related info would be included into PrinterBasicInfo::options so it ↵vitalybuka@chromium.org2012-03-226-63/+149
| | | | | | | | | | | would be uploaded to cloud print backend. BUG=118797 TEST=none Review URL: http://codereview.chromium.org/9812002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128141 0039d316-1c4b-4281-b951-d872f2087c98
* PrintPreview: Hide/Show the header footer option based on print frame margins.kmadhusu@chromium.org2012-03-202-2/+12
| | | | | | | | | | BUG=104080 TEST= Please refer to bug report. Review URL: http://codereview.chromium.org/9699040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127631 0039d316-1c4b-4281-b951-d872f2087c98
* ui/gfx: Do not use the deprecated SkBitmap::getConfig() function.tfarina@chromium.org2012-03-191-1/+1
| | | | | | | | | | | Instead this patch uses SkBitmap::config() which is the preferred way. R=asvitkine@chromium.org TBR=brettw@chromium.org,thestig@chromium.org Review URL: https://chromiumcodereview.appspot.com/9720040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127468 0039d316-1c4b-4281-b951-d872f2087c98
* Fix invalid return value.vitalybuka@chromium.org2012-03-181-4/+4
| | | | | | | | | | BUG=118797 TEST=none TBR=abodenha@chromium.org Review URL: https://chromiumcodereview.appspot.com/9720029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127401 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed return value.vitalybuka@chromium.org2012-03-161-2/+2
| | | | | | | | | | BUG=108194 TEST=none TBR=gene@chromium.org Review URL: https://chromiumcodereview.appspot.com/9704079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127135 0039d316-1c4b-4281-b951-d872f2087c98
* ScopedPrinterInfoSetter sets printer related information to be available for ↵vitalybuka@chromium.org2012-03-164-21/+33
| | | | | | | | | | | 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
* Add base::StaticAtomicSequenceNumber.pliard@chromium.org2012-03-131-2/+2
| | | | | | | | | | | | This patch also replaces the global AtomicSequenceNumber variables with StaticAtomicSequenceNumber in order to remove static initializers. BUG=94925 Review URL: http://codereview.chromium.org/9415039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126376 0039d316-1c4b-4281-b951-d872f2087c98
* GetPrinterDriverInfo returns string.vitalybuka@chromium.org2012-03-075-27/+21
| | | | | | | | | | 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-055-5/+86
| | | | | | | | | | 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
* Making GenericScopedHandle capable of handling handle types other than HANDLE.alexeypa@chromium.org2012-03-051-0/+13
| | | | | | Review URL: http://codereview.chromium.org/9582045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124980 0039d316-1c4b-4281-b951-d872f2087c98
* Improved resource management by using ScopedPrinterHandle.vitalybuka@chromium.org2012-03-022-29/+15
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9569029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124755 0039d316-1c4b-4281-b951-d872f2087c98
* Added ScopedPrinterHandlevitalybuka@chromium.org2012-03-021-1/+12
| | | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/9480026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124640 0039d316-1c4b-4281-b951-d872f2087c98
* Remove histograms from printing/emf_win.cc.thestig@chromium.org2012-02-231-10/+1
| | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9428046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123185 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: implement "print selection".peter@pcc.me.uk2012-02-142-3/+4
| | | | | | | | | | | | | BUG=83481 TEST=mouse select text from http://en.wikipedia.org/wiki/Main_Page Toolbox -> Print -> Print to File -> Selection -> Print, verify that PDF contains only selection. Toolbox -> Print -> Print to File -> All Pages -> Print, verify that PDF contains all pages. Toolbox -> Print -> Print to File -> Pages: 1 -> Print, verify that PDF contains only page 1. Review URL: http://codereview.chromium.org/9379039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121844 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 121840 - Make scoped dc objects smartercpu@chromium.org2012-02-141-4/+4
| | | | | | | | | | | | | | So we don't destroy the dc with gdi objects selected. Also remove implicit conversion to HDC. BUG=110113,113683 TEST=chrome runs, base unittests green. Review URL: https://chromiumcodereview.appspot.com/9212020 TBR=cpu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9387027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121843 0039d316-1c4b-4281-b951-d872f2087c98
* Make scoped dc objects smartercpu@chromium.org2012-02-141-4/+4
| | | | | | | | | | | So we don't destroy the dc with gdi objects selected. Also remove implicit conversion to HDC. BUG=110113,113683 TEST=chrome runs, base unittests green. Review URL: https://chromiumcodereview.appspot.com/9212020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121840 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove static storage for variables in an unnamed namespace.jhawkins@chromium.org2012-01-283-6/+8
| | | | | | | | | | BUG=none TEST=none R=binji Review URL: https://chromiumcodereview.appspot.com/9271061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119535 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Try several different paths to the GnuTls library when trying to ↵thestig@chromium.org2012-01-261-15/+23
| | | | | | | | | | | dynamically load and call gnutls_global_init(). BUG=96734 TEST=none Review URL: http://codereview.chromium.org/9290036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119283 0039d316-1c4b-4281-b951-d872f2087c98