summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorarthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 04:25:19 +0000
committerarthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 04:25:19 +0000
commitbfbcc6c91900a3055cc34cdb606543b4685102dd (patch)
tree5010659372a54fcb6bea97e305aedd463022a694 /chrome/common
parent12cac7b56eeec397ce4ecbd74c0b14f6ad17eae7 (diff)
downloadchromium_src-bfbcc6c91900a3055cc34cdb606543b4685102dd.zip
chromium_src-bfbcc6c91900a3055cc34cdb606543b4685102dd.tar.gz
chromium_src-bfbcc6c91900a3055cc34cdb606543b4685102dd.tar.bz2
Print preview not showing if default print is invalid.
BUG=94082 TEST=none Review URL: http://codereview.chromium.org/7740005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/print_messages.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index 89d377e..67fa13c 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -382,3 +382,9 @@ IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewFailed,
// Tell the browser print preview was cancelled.
IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewCancelled,
int /* document cookie */)
+
+// Tell the browser print preview found the selected printer has invalid
+// settings (which typically caused by disconnected network printer or printer
+// driver is bogus).
+IPC_MESSAGE_ROUTED1(PrintHostMsg_PrintPreviewInvalidPrinterSettings,
+ int /* document cookie */)