Chromium Code Reviews

Unified Diff: chrome/renderer/print_web_view_helper.cc

Issue 8351048: Print Preview: Making margin selection sticky (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handling source PDF case, fixing marginsUI flashing. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/renderer/print_web_view_helper.cc
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc
index 1b4008a97bcaa5d503a430d14b999bc5e1d91754..b120c2932fe0d6d6be4e7a77b925c08bd547e1e2 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -1282,7 +1282,9 @@ void PrintWebViewHelper::DisplayPrintJobError() {
void PrintWebViewHelper::RequestPrintPreview() {
old_print_pages_params_.reset();
- Send(new PrintHostMsg_RequestPrintPreview(routing_id()));
+ Send(new PrintHostMsg_RequestPrintPreview(
+ routing_id(),
+ print_preview_context_.IsModifiable()));
}
bool PrintWebViewHelper::CheckForCancel() {

Powered by Google App Engine