Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3628)

Unified Diff: chrome/common/print_messages.h

Issue 9705084: Block printing from blocked popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix init order Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/printing/print_view_manager.cc ('k') | chrome/renderer/chrome_mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/print_messages.h
diff --git a/chrome/common/print_messages.h b/chrome/common/print_messages.h
index c0e1a8a6187166ae4bb62425d1255d3b61f38774..a4c2f300379a6e5036fcb66f1beae3898b33130a 100644
--- a/chrome/common/print_messages.h
+++ b/chrome/common/print_messages.h
@@ -381,6 +381,10 @@ IPC_SYNC_MESSAGE_ROUTED2_1(PrintHostMsg_CheckForCancel,
int /* request id */,
bool /* print preview cancelled */)
+// Asks the browser whether scripted printing is allowed.
+IPC_SYNC_MESSAGE_ROUTED0_1(PrintHostMsg_CheckScriptedPrintAllowed,
+ bool /* print allowed */)
+
// Sends back to the browser the complete rendered document (non-draft mode,
// used for printing) that was requested by a PrintMsg_PrintPreview message.
// The memory handle in this message is already valid in the browser process.
« no previous file with comments | « chrome/browser/printing/print_view_manager.cc ('k') | chrome/renderer/chrome_mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698