Index: components/printing/common/print_messages.h |
diff --git a/components/printing/common/print_messages.h b/components/printing/common/print_messages.h |
index f807e75a1e5c01963d650b7233999c8342257a9c..e4d141879248b827db4ca3146209c0f5b87a12b9 100644 |
--- a/components/printing/common/print_messages.h |
+++ b/components/printing/common/print_messages.h |
@@ -319,12 +319,12 @@ IPC_STRUCT_END() |
// Messages sent from the browser to the renderer. |
#if defined(ENABLE_PRINT_PREVIEW) |
-// Tells the render view to initiate print preview for the entire document. |
-IPC_MESSAGE_ROUTED1(PrintMsg_InitiatePrintPreview, bool /* selection_only */) |
+// Tells the RenderFrame to initiate print preview for the entire document. |
+IPC_MESSAGE_ROUTED1(PrintMsg_InitiatePrintPreview, bool /* has_selection */) |
#endif // defined(ENABLE_PRINT_PREVIEW) |
-// Tells the render frame to initiate printing or print preview for a particular |
-// node, depending on which mode the render frame is in. |
+// Tells the RenderFrame to initiate printing or print preview for a particular |
+// node, depending on which mode the RenderFrame is in. |
IPC_MESSAGE_ROUTED0(PrintMsg_PrintNodeUnderContextMenu) |
#if defined(ENABLE_BASIC_PRINTING) && defined(ENABLE_PRINT_PREVIEW) |
@@ -336,7 +336,7 @@ IPC_MESSAGE_ROUTED1(PrintMsg_PrintForPrintPreview, |
#endif // defined(ENABLE_BASIC_PRINTING) && defined(ENABLE_PRINT_PREVIEW) |
#if defined(ENABLE_BASIC_PRINTING) |
-// Tells the render view to switch the CSS to print media type, renders every |
+// Tells the RenderFrame 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) |
@@ -344,16 +344,15 @@ IPC_MESSAGE_ROUTED0(PrintMsg_PrintPages) |
IPC_MESSAGE_ROUTED0(PrintMsg_PrintForSystemDialog) |
#endif // defined(ENABLE_BASIC_PRINTING) |
-// Tells the render view that printing is done so it can clean up. |
+// Tells the RenderFrame that printing is done so it can clean up. |
IPC_MESSAGE_ROUTED1(PrintMsg_PrintingDone, |
bool /* success */) |
-// Tells the render view whether scripted printing is blocked or not. |
-IPC_MESSAGE_ROUTED1(PrintMsg_SetScriptedPrintingBlocked, |
- bool /* blocked */) |
+// Tells the RenderFrame whether printing is enabled or not. |
+IPC_MESSAGE_ROUTED1(PrintMsg_SetPrintingEnabled, bool /* enabled */) |
#if defined(ENABLE_PRINT_PREVIEW) |
-// Tells the render view to switch the CSS to print media type, renders every |
+// Tells the RenderFrame 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. |
IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, |
@@ -362,10 +361,6 @@ IPC_MESSAGE_ROUTED1(PrintMsg_PrintPreview, |
// Messages sent from the renderer to the browser. |
-// Check if printing is enabled. |
-IPC_SYNC_MESSAGE_ROUTED0_1(PrintHostMsg_IsPrintingEnabled, |
- bool /* is_enabled */) |
- |
// Tells the browser that the renderer is done calculating the number of |
// rendered pages according to the specified settings. |
IPC_MESSAGE_ROUTED2(PrintHostMsg_DidGetPrintedPagesCount, |