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

Unified Diff: chrome/renderer/print_web_view_helper.cc

Issue 8761014: Print Preview: Set source modifiable bit for scripted printing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove logging statement Created 9 years, 1 month 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/common/print_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/print_web_view_helper.cc
===================================================================
--- chrome/renderer/print_web_view_helper.cc (revision 112365)
+++ chrome/renderer/print_web_view_helper.cc (working copy)
@@ -464,7 +464,9 @@
print_preview_context_.InitWithFrame(frame);
old_print_pages_params_.reset(); // Same as in RequestPrintPreview().
- IPC::SyncMessage* msg = new PrintHostMsg_ScriptedPrintPreview(routing_id());
+ IPC::SyncMessage* msg = new PrintHostMsg_ScriptedPrintPreview(
+ routing_id(),
+ print_preview_context_.IsModifiable());
msg->EnableMessagePumping();
Send(msg);
} else {
« no previous file with comments | « chrome/common/print_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698