summaryrefslogtreecommitdiffstats
path: root/printing
Commit message (Collapse)AuthorAgeFilesLines
* Revert of Revert of Generalize printer color model handling, get rid of CUPS ↵ckocagil@chromium.org2014-06-083-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specific case. Enable supported paper szes… (https://codereview.chromium.org/321703002/) Reason for revert: Didn't fix. Original issue's description: > Revert of Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes… (https://codereview.chromium.org/324523002/) > > Reason for revert: > Breaks Linux ASAN http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/2865 > > Original issue's description: > > Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes reporting for all platforms. > > > > BUG=239879 > > NOTRY=true > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275646 > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275716 > > TBR=vitalybuka@chromium.org,jschuh@chromium.org,alekseys@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=239879 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275739 TBR=vitalybuka@chromium.org,jschuh@chromium.org,alekseys@chromium.org NOTREECHECKS=true NOTRY=true BUG=239879 Review URL: https://codereview.chromium.org/318293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275740 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Generalize printer color model handling, get rid of CUPS specific ↵ckocagil@chromium.org2014-06-083-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | case. Enable supported paper szes… (https://codereview.chromium.org/324523002/) Reason for revert: Breaks Linux ASAN http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/2865 Original issue's description: > Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes reporting for all platforms. > > BUG=239879 > NOTRY=true > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275646 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275716 TBR=vitalybuka@chromium.org,jschuh@chromium.org,alekseys@chromium.org NOTREECHECKS=true NOTRY=true BUG=239879 Review URL: https://codereview.chromium.org/321703002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275739 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize printer color model handling, get rid of CUPS specific case. ↵alekseys@chromium.org2014-06-083-14/+3
| | | | | | | | | | | | | Enable supported paper szes reporting for all platforms. BUG=239879 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275646 Review URL: https://codereview.chromium.org/324523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275716 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 275646 "Generalize printer color model handling, get rid ..."vitalybuka@chromium.org2014-06-073-3/+14
| | | | | | | | | | | | | | | | | Speculative revert. Something breaks "Linux ASan LSan Tests", TaskManagerNewPrintPreview. > Generalize printer color model handling, get rid of CUPS specific case. Enable supported paper szes reporting for all platforms. > > BUG=239879 > > Review URL: https://codereview.chromium.org/324523002 TBR=alekseys@chromium.org Review URL: https://codereview.chromium.org/319373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275711 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize printer color model handling, get rid of CUPS specific case. ↵alekseys@chromium.org2014-06-073-14/+3
| | | | | | | | | | Enable supported paper szes reporting for all platforms. BUG=239879 Review URL: https://codereview.chromium.org/324523002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275646 0039d316-1c4b-4281-b951-d872f2087c98
* Convert local printer capabilites to CDD format to unify with cloud printers ↵alekseys@chromium.org2014-06-054-26/+52
| | | | | | | | | | and PDF printer. This is a necessary step for adding paper size capability to local printers. BUG=239879 Review URL: https://codereview.chromium.org/313723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275250 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Remove unused gcrypt gyp code.thestig@chromium.org2014-06-041-5/+0
| | | | | | | | BUG=369973 Review URL: https://codereview.chromium.org/301353009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274892 0039d316-1c4b-4281-b951-d872f2087c98
* Add src/printing to the GN build.brettw@chromium.org2014-06-042-4/+285
| | | | | | | | | BUG= R=thestig@chromium.org Review URL: https://codereview.chromium.org/311603003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274865 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Get rid of unneeded base::UTF16ToWide() conversions.thestig@chromium.org2014-06-031-4/+3
| | | | | | | | It's a no-op in Windows-only code. Review URL: https://codereview.chromium.org/299363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274435 0039d316-1c4b-4281-b951-d872f2087c98
* Add media size capability to PDF printer.alekseys@chromium.org2014-05-292-0/+21
| | | | | | | | BUG=239879 Review URL: https://codereview.chromium.org/294923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273491 0039d316-1c4b-4281-b951-d872f2087c98
* Move all callers of GetHomeDir() to PathService::Get(base::DIR_HOME).nkostylev@chromium.org2014-05-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes GetHomeDir() for multi-profiles case on Chrome OS. * Once user signs in on Chrome OS base::DIR_HOME is overridden with primary user homedir. * Added content switch --homedir to pass that information to ppapi plugins since they run in a separate process and previous base::DIR_HOME override does not apply there. This fix doesn't require checking for --multi-profiles switch since user_id hash is known even without it. Note: download_prefs.cc still uses GetHomeDir() in its DownloadPathIsDangerous() check. // Consider downloads 'dangerous' if they go to the home directory on Linux and // to the desktop on any platform. In this context correct behavior is to use "real" base::GetHomeDir() and not "virtual one" base::DIR_HOME. Since latter is remapped to some test dir in tests, in some subfolders in Chrome OS etc. BUG=331530 TBR=vitalybuka@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270872 Review URL: https://codereview.chromium.org/200473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272898 0039d316-1c4b-4281-b951-d872f2087c98
* Printing on Windows via PDFscottmg@chromium.org2014-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently: - Based on #if, switches renderer rendering to PDF for preview - Add PdfToEmfConvert based on PWGRasterConverter - Various plumbing. Preview works the same as other PDF based platforms. For getting to EMF, the when PRINTING_WIN_USES_PDF_AS_METAFILE is on, the renderer generates a PDF instead of EMF directly (this contains all the pages in the desired range). This is returned to PrintViewManagerBase, where it's passed to PdfToEmfConverter which uses the sandboxed utility process and pdf.dll to convert via RenderPDFPageToDC. The utility process renderers one emf page at at time (into numbered files) to avoid having a very large emf file. As this uses pdf.dll this is currently off-by-default controlled by the gyp variable win_pdf_metafile_for_printing. R=vitalybuka@chromium.org BUG=170859 Review URL: https://codereview.chromium.org/255543006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271772 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Remove gcrypt initialization workaround.thestig@chromium.org2014-05-202-80/+1
| | | | | | | | | BUG=369973 TEST=ctrl + p does not crash. Review URL: https://codereview.chromium.org/270553003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271563 0039d316-1c4b-4281-b951-d872f2087c98
* Android: cleans up jni_generator_ptr_type.bulach@chromium.org2014-05-161-1/+0
| | | | | | | | | | | | | | The underlying rule is now "long" by default. Mechanical change: git grep -l jni_generator_ptr_type | xargs sed -i /jni_generator_ptr_type/d Relands crrev.com/270750 (reverted by 270849) BUG=317523 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/288223005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271047 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 270872 "Move all callers of GetHomeDir() to PathService::..."benwells@chromium.org2014-05-161-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | > Move all callers of GetHomeDir() to PathService::Get(base::DIR_HOME). > > * Fixes GetHomeDir() for multi-profiles case on Chrome OS. > * Once user signs in on Chrome OS base::DIR_HOME is overridden with primary user homedir. > * Added content switch --homedir to pass that information to ppapi plugins since they run in a separate process and previous base::DIR_HOME override does not apply there. > > This fix doesn't require checking for --multi-profiles switch > since user_id hash is known even without it. > > BUG=331530 > TBR=vitalybuka@chromium.org > > Review URL: https://codereview.chromium.org/200473002 This test has caused two tests to start failing on the chromeos valgrind bots: http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%286%29/builds/25884 http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%285%29/builds/26990 TBR=nkostylev@chromium.org Review URL: https://codereview.chromium.org/284333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270951 0039d316-1c4b-4281-b951-d872f2087c98
* Move all callers of GetHomeDir() to PathService::Get(base::DIR_HOME).nkostylev@chromium.org2014-05-161-2/+5
| | | | | | | | | | | | | | | | * Fixes GetHomeDir() for multi-profiles case on Chrome OS. * Once user signs in on Chrome OS base::DIR_HOME is overridden with primary user homedir. * Added content switch --homedir to pass that information to ppapi plugins since they run in a separate process and previous base::DIR_HOME override does not apply there. This fix doesn't require checking for --multi-profiles switch since user_id hash is known even without it. BUG=331530 TBR=vitalybuka@chromium.org Review URL: https://codereview.chromium.org/200473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270872 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 270750 "Android: cleans up jni_generator_ptr_type."jiayl@chromium.org2014-05-151-0/+1
| | | | | | | | | | | | | | | | | | | | | Suspected to cause Android Tests bot failure: http://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/13592 > Android: cleans up jni_generator_ptr_type. > > The underlying rule is now "long" by default. > Mechanical change: > git grep -l jni_generator_ptr_type | xargs sed -i /jni_generator_ptr_type/d > > BUG=317523 > TBR=darin@chromium.org > > Review URL: https://codereview.chromium.org/288963002 TBR=bulach@chromium.org Review URL: https://codereview.chromium.org/292433004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270849 0039d316-1c4b-4281-b951-d872f2087c98
* Android: cleans up jni_generator_ptr_type.bulach@chromium.org2014-05-151-1/+0
| | | | | | | | | | | | | The underlying rule is now "long" by default. Mechanical change: git grep -l jni_generator_ptr_type | xargs sed -i /jni_generator_ptr_type/d BUG=317523 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/288963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270750 0039d316-1c4b-4281-b951-d872f2087c98
* Change print preview size to match to media size capability selection and ↵alekseys@chromium.org2014-05-143-2/+27
| | | | | | | | | | | reset margins to default when media size changes. BUG=139170 NOTRY=true Review URL: https://codereview.chromium.org/285613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270515 0039d316-1c4b-4281-b951-d872f2087c98
* Remove {linux|android}_use_tcmalloc and switch to use_allocator in Chromium.dmikurube@chromium.org2014-05-071-2/+1
| | | | | | | | | | | | | | If this change breaks some bots, please try restarting the bot before reverting it. http://crrev.com/264460 may not be effective yet until restarting. See the bug and http://crrev.com/255129 for the details. BUG=345554 Review URL: https://codereview.chromium.org/258433005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268876 0039d316-1c4b-4281-b951-d872f2087c98
* 64-bit Porting. JNI pointers passed in int.anton@chromium.org2014-05-021-2/+2
| | | | | | | | BUG=354405, 346626 Review URL: https://codereview.chromium.org/263833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267866 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed namespaces of url lib.vitalybuka@chromium.org2014-05-011-1/+1
| | | | | | | | | | | | | url_util -> url url_parse -> url url_canon -> url BUG=364747 TBR=atwilson,battre Review URL: https://codereview.chromium.org/262593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267579 0039d316-1c4b-4281-b951-d872f2087c98
* Removes dependency from printing on win8_utilsky@chromium.org2014-04-183-86/+1
| | | | | | | | | | | | | win8_util is going away as IsSingleWindowMetroMode is always false now. BUG=none TEST=none R=vitalybuka@chromium.org Review URL: https://codereview.chromium.org/242113008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264880 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all uses of toolkit_use_gtk in the gyp files.erg@chromium.org2014-04-171-16/+0
| | | | | | | | | BUG=297026 R=ben@chromium.org, brettw@chromium.org Review URL: https://codereview.chromium.org/238633004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264609 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the GTK+ port of Chrome.erg@chromium.org2014-04-103-121/+0
| | | | | | | | | BUG=297026 R=ben@chromium.org Review URL: https://codereview.chromium.org/231733005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263101 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed FilePath::Append in debug code.vitalybuka@chromium.org2014-04-081-1/+1
| | | | | | Review URL: https://codereview.chromium.org/228943004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262511 0039d316-1c4b-4281-b951-d872f2087c98
* Pass location and description of local printers into print preview.vitalybuka@chromium.org2014-03-292-4/+12
| | | | | | | | | | | OSX already uses description as display name for printers, so pass printer model instead. BUG=256223 NOTRY=true Review URL: https://codereview.chromium.org/214443007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260383 0039d316-1c4b-4281-b951-d872f2087c98
* Removed invalid DCHECK in printing.vitalybuka@chromium.org2014-03-281-1/+0
| | | | | | | | | TBR=noamsml NOTRY=true Review URL: https://codereview.chromium.org/216123002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260064 0039d316-1c4b-4281-b951-d872f2087c98
* Tunnel PWGRasterConfig capability to the ticket and to the utility processnoamsml@chromium.org2014-03-271-0/+33
| | | | | | | | | | | Parse the PWGRasterConfig capability for local printing, copy it to the ticket, and tunnel a data structure based on it to the utility process. BUG=354605 Review URL: https://codereview.chromium.org/211843004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259938 0039d316-1c4b-4281-b951-d872f2087c98
* Small PrintingContextTest cleanup.vitalybuka@chromium.org2014-03-273-129/+129
| | | | | | Review URL: https://codereview.chromium.org/209973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259929 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linker warning on build with target_arch=ia32.hidehiko@chromium.org2014-03-261-0/+5
| | | | | | | | | | | | | | | | | | | | | Since r257419, linker warning starts to cause the build failure. This CL is fixing some linker warnings on cross compilation build so that build with target_arch=ia32 option works properly. Here are the error logs: /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.so when searching for -lgcrypt /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.a when searching for -lgcrypt /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.so when searching for -lcap /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.a when searching for -lcap /usr/bin/ld: warning: libgnutls.so.26, needed by /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib32/libcups.so, may conflict with libgnutls.so.28 BUG=n/a TEST=build with GYP_DEFINES=target_arch=ia32, run trybot. Review URL: https://codereview.chromium.org/202633008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259463 0039d316-1c4b-4281-b951-d872f2087c98
* Tunnel the CDD from the Print Preview javascript to the privet operationnoamsml@chromium.org2014-03-222-0/+4
| | | | | | | | | | | Take the CDD from the print preview javascript and put it in the PrivetLocalPrintOperation. BUG=354605 Review URL: https://codereview.chromium.org/208583007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258784 0039d316-1c4b-4281-b951-d872f2087c98
* Remove CreatePlatformFile from content shell.rvargas@chromium.org2014-03-151-1/+4
| | | | | | | | BUG=322664 Review URL: https://codereview.chromium.org/184003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257251 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui.gyp into ui/base/ directory.tfarina@chromium.org2014-03-131-3/+3
| | | | | | | | | | | | | | | | This follows the rule we setup for //ui which states that each subdir should be its own component with its own gyp file that lives in its subdir. The 'ui' target was renamed to ui_base to match the convention. BUG=299841 TEST=gyp files. TBR=ben@chromium.org Review URL: https://codereview.chromium.org/198333004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256788 0039d316-1c4b-4281-b951-d872f2087c98
* scoped_ptr<DEVMODE[]> replaced with scoped_ptr<DEVMODE, base::FreeDeleter>.vitalybuka@chromium.org2014-03-114-44/+49
| | | | | | | | NOTRY=true Review URL: https://codereview.chromium.org/191913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256087 0039d316-1c4b-4281-b951-d872f2087c98
* Add a method to query whether printing is active.sgurun@chromium.org2014-03-103-13/+27
| | | | | | | | | | | relevant downstream link: https://chrome-internal-review.googlesource.com/#/c/156479/ BUG=344057 Review URL: https://codereview.chromium.org/184343013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255994 0039d316-1c4b-4281-b951-d872f2087c98
* Move WriteFile and WriteFileDescriptor from file_util to base namespace.brettw@chromium.org2014-03-063-8/+8
| | | | | | | | | R=viettrungluu@chromium.org TBR=viettrungluu Review URL: https://codereview.chromium.org/184563006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255418 0039d316-1c4b-4281-b951-d872f2087c98
* Add use_allocator instead of linux_use_tcmalloc to switch the allocator.dmikurube@chromium.org2014-03-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is to add a new build option 'use_allocator' which will replace 'linux_use_tcmalloc' in the future. It doesn't change the behavior immediately. The migration plan is as follows: 1) (this change) ... Add 'use_allocator' and set its default to "see_use_tcmalloc". ... Change allocator conditions to check use_allocator firstly. ... Use linux_use_tcmalloc if use_allocator=="see_use_tcmalloc". ... NO IMPACT without specifying use_allocator explicitly. 2) Change Blink to accept use_allocator. http://crrev.com/177053003/ 3) Change gyp to accept use_allocator. http://crrev.com/178643004/ 4) PSA the transition period to chromium-dev@. 5) (after the PSA-ed transition period) ... Make 'use_allocator' to "tcmalloc" or "none" (it depends) by default. ... Remove all linux_use_tcmalloc. ... Assert in gyp_chromium to check if linux_use_tcmalloc is not specified. At the point of this change (1), linux_use_tcmalloc is still used by default because 'use_allocator%': "see_use_tcmalloc". As written in http://crbug.com/345554, linux_use_tcmalloc would be confusing to have more options about allocators. We plan to: A) enable gperftools' heap-profiler with non-tcmalloc allocator, B) add a new memory allocator instead of tcmalloc. BUG=345554, 339604, 341349 R=agl@chromium.org, brettw@chromium.org, dgarrett@chromium.org, jam@chromium.org, jamesr@chromium.org, joi@chromium.org, miket@chromium.org, nick@chromium.org, rsleevi@chromium.org, scherkus@chromium.org, sergeyu@chromium.org, shess@chromium.org, sievers@chromium.org, sky@chromium.org, vitalybuka@chromium.org, willchan@chromium.org Review URL: https://codereview.chromium.org/177353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255129 0039d316-1c4b-4281-b951-d872f2087c98
* Window ownership -> WindowTreeHostben@chromium.org2014-03-041-1/+1
| | | | | | | | | | | | | Replaces Window::GetDispatcher with Window::GetHost(). Had to clear ScreenPositionClient property prior to window teardown as tests on desktop delete it prior to destroying the window hierarchy. Unhooking the property appears to have no ill-effect. R=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/184903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254642 0039d316-1c4b-4281-b951-d872f2087c98
* Move TrimWhitespace to the base namespace.brettw@chromium.org2014-03-031-2/+3
| | | | | | | | R=viettrungluu@chromium.org, viettrungluu Review URL: https://codereview.chromium.org/183853011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254521 0039d316-1c4b-4281-b951-d872f2087c98
* Added more checks for buffer size to crash safely in case of incorrect ↵vitalybuka@chromium.org2014-02-271-4/+4
| | | | | | | | | | driver behavior. BUG=347282 Review URL: https://codereview.chromium.org/182273003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253740 0039d316-1c4b-4281-b951-d872f2087c98
* Use DocumentProperties to get default DEVMODE instead of PRINTER_INFO_*.vitalybuka@chromium.org2014-02-255-83/+43
| | | | | | | | Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252221 Review URL: https://codereview.chromium.org/168003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253076 0039d316-1c4b-4281-b951-d872f2087c98
* Changed tags to match caps printers.vitalybuka@chromium.org2014-02-222-10/+10
| | | | | | Review URL: https://codereview.chromium.org/174433003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252754 0039d316-1c4b-4281-b951-d872f2087c98
* Less strict CHECK for DeviceCapabilities results.vitalybuka@chromium.org2014-02-211-4/+10
| | | | | | | | | | | We should crash only if returned result is bigger that buffer we provided. BUG=345605 NOTRY=true Review URL: https://codereview.chromium.org/175603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252685 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 252221 "Use DocumentProperties to get default DEVMODE ins..."vitalybuka@chromium.org2014-02-217-51/+89
| | | | | | | | | | | | | | > Use DocumentProperties to get default DEVMODE instead of PRINTER_INFO_*. > Fixed ScopedPrinterHandle::OpenPrinter interface. > > Review URL: https://codereview.chromium.org/168003002 TBR=vitalybuka@chromium.org BUG=345746 Review URL: https://codereview.chromium.org/175173005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252658 0039d316-1c4b-4281-b951-d872f2087c98
* Move root_window.* to window_event_dispatcher.*ben@chromium.org2014-02-211-1/+1
| | | | | | | | | http://crbug.com/308843 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/174803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252651 0039d316-1c4b-4281-b951-d872f2087c98
* Use DocumentProperties to get default DEVMODE instead of PRINTER_INFO_*.vitalybuka@chromium.org2014-02-207-89/+51
| | | | | | | | Fixed ScopedPrinterHandle::OpenPrinter interface. Review URL: https://codereview.chromium.org/168003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252221 0039d316-1c4b-4281-b951-d872f2087c98
* Added NULL pointer check for DEVMODE.vitalybuka@chromium.org2014-02-201-1/+4
| | | | | | | | | BUG=344982 NOTRY=true Review URL: https://codereview.chromium.org/172813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252198 0039d316-1c4b-4281-b951-d872f2087c98
* Removed unnecessary comparison checking bits in DEVMODE::dmFields.vitalybuka@chromium.org2014-02-182-10/+9
| | | | | | | | | | DM_YRESOLUTION check was invalid. TBR=noamsml Review URL: https://codereview.chromium.org/170013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251737 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing crash when DRIVER_INFO_6::pszMfgName is NULLvitalybuka@chromium.org2014-02-171-1/+1
| | | | | | | | | BUG=344291 TBR=noamsml Review URL: https://codereview.chromium.org/169373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251657 0039d316-1c4b-4281-b951-d872f2087c98