summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_printing.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix print settings units conversion for PPB_Printing.raymes@chromium.org2012-10-111-3/+22
| | | | | | | | | | | | This fixes the conversion of print settings units ands adds some sanity checks to the ppapi printing test. BUG=none TBR=brettw Review URL: https://chromiumcodereview.appspot.com/11098034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161266 0039d316-1c4b-4281-b951-d872f2087c98
* Implement browser side of PPB_Printing resource.raymes@chromium.org2012-09-271-0/+64
| | | | | | | | | | | | This adds the browser side implementation of PPB_Printing as well as a unittest for PepperPrintingHost and a PPAPI browser_test for PPB_Printing::GetDefaultPrintSettings. BUG=138333 TEST=content_unittests/browser_tests Review URL: https://chromiumcodereview.appspot.com/10826072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159150 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 143294 - Provides a real implementation of GetDefaultPrintSettings.raymes@google.com2012-06-211-52/+0
| | | | | | | | | | | | | | | | | Reverting due to: http://code.google.com/p/chromium/issues/detail?id=133972 This accesses the Chrome printing code to determine the default print settings for the default printer. Ideally we would query these settings every time they are requested, however this cannot be done (see the description in pepper_print_settings_initializer.h). Instead the settings are grabbed once at startup and cached. BUG= TEST=Added ppapi test. Review URL: https://chromiumcodereview.appspot.com/10539171 TBR=raymes@chromium.org Review URL: https://chromiumcodereview.appspot.com/10633008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143409 0039d316-1c4b-4281-b951-d872f2087c98
* Provides a real implementation of GetDefaultPrintSettings.raymes@chromium.org2012-06-201-0/+52
This accesses the Chrome printing code to determine the default print settings for the default printer. Ideally we would query these settings every time they are requested, however this cannot be done (see the description in pepper_print_settings_initializer.h). Instead the settings are grabbed once at startup and cached. BUG= TEST=Added ppapi test. Review URL: https://chromiumcodereview.appspot.com/10539171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143294 0039d316-1c4b-4281-b951-d872f2087c98