diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 15:27:12 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 15:27:12 +0000 |
commit | 378f0e82d196573004b1f0efe58ccc067774368d (patch) | |
tree | e7c6b4b13dc4a7940d2ceb4afbfe1e39450b6fe3 /chrome/app/resources/locale_settings_ca.xtb | |
parent | 7f0f68158d4c9806ac5f093d17007b1d6cbd0db2 (diff) | |
download | chromium_src-378f0e82d196573004b1f0efe58ccc067774368d.zip chromium_src-378f0e82d196573004b1f0efe58ccc067774368d.tar.gz chromium_src-378f0e82d196573004b1f0efe58ccc067774368d.tar.bz2 |
Should handle the events when no printer is detected on local
machineGetDefaultPrintSettings was returning an empty struct because no printer
is installed. Checking when its empty will allow us to know that a printer is
missing on that system. There is clearly no other way to do this, unless we do
not do all those dchecks on dpi and other struct members.BUG=6835TEST=Tested
only on windows, since linux/mac printing not even implemented. Removed all
printer drivers, opened chromium, and ran a print job, popup dialog appeared
stating no printer installed. Installed my printer drivers again, print dialog
appeared.
Patch contributed by Mohamed Mansour <m0.interactive@gmail.com>
Review: http://codereview.chromium.org/100023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14731 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/resources/locale_settings_ca.xtb')
0 files changed, 0 insertions, 0 deletions