Index: chrome/common/print_messages.h |
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h |
index a51c1ccb11ad0de075f2e746adf4ecc5b87cbe2e..13034e0f05fd22bcce815847e4b40c735bab61cd 100644 |
--- a/chrome/common/print_messages.h |
+++ b/chrome/common/print_messages.h |
@@ -318,10 +318,15 @@ IPC_MESSAGE_ROUTED0(PrintMsg_PrintNodeUnderContextMenu) |
IPC_MESSAGE_ROUTED1(PrintMsg_PrintForPrintPreview, |
base::DictionaryValue /* settings */) |
+#if !defined(DISABLE_BASIC_PRINTING) |
// Tells the render view to switch the CSS to print media type, renders every |
// requested pages and switch back the CSS to display media type. |
IPC_MESSAGE_ROUTED0(PrintMsg_PrintPages) |
+// Like PrintMsg_PrintPages, but using the print preview document's frame/node. |
+IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog) |
+#endif // !DISABLE_BASIC_PRINTING |
+ |
// Tells the render view that printing is done so it can clean up. |
IPC_MESSAGE_ROUTED1(PrintMsg_PrintingDone, |
bool /* success */) |
@@ -336,9 +341,6 @@ IPC_MESSAGE_ROUTED1(PrintMsg_SetScriptedPrintingBlocked, |
IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, |
base::DictionaryValue /* settings */) |
-// Like PrintMsg_PrintPages, but using the print preview document's frame/node. |
-IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog) |
- |
// Messages sent from the renderer to the browser. |
#if defined(OS_WIN) |