summaryrefslogtreecommitdiffstats
path: root/chrome/common/print_messages.h
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-11 01:30:55 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-11 01:30:55 +0000
commit428f02397724cc8508e3983c58752efd5d337851 (patch)
tree5cce9ef46fcec8dbac49eed0563603f13cd61b7b /chrome/common/print_messages.h
parent8e082e09ffac59f39a744c364815f02e92695a36 (diff)
downloadchromium_src-428f02397724cc8508e3983c58752efd5d337851.zip
chromium_src-428f02397724cc8508e3983c58752efd5d337851.tar.gz
chromium_src-428f02397724cc8508e3983c58752efd5d337851.tar.bz2
PrintPreview: Made code change to display the error messages that occurs while trying to print the preview data.
BUG=84127 TEST=Press Ctrl+p on a webpage. While the preview is loading enter some invalid numbers in page range text and press the print button. Observe the error message dialog. Review URL: http://codereview.chromium.org/7134066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88753 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/print_messages.h')
-rw-r--r--chrome/common/print_messages.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index eb9327a..44de3e2 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -149,6 +149,9 @@ IPC_MESSAGE_ROUTED0(PrintMsg_PrintPages)
IPC_MESSAGE_ROUTED1(PrintMsg_PrintingDone,
bool /* success */)
+// Tells the render view that preview printing request has been cancelled.
+IPC_MESSAGE_ROUTED0(PrintMsg_PreviewPrintingRequestCancelled)
+
// Tells the render view to switch the CSS to print media type, renders every
// requested pages for print preview using the given |settings|. This gets
// called multiple times as the user updates settings.