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

Unified Diff: chrome/renderer/printing/print_web_view_helper.cc

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PPB_Printing_Dev changes Created 6 years, 4 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
Index: chrome/renderer/printing/print_web_view_helper.cc
diff --git a/chrome/renderer/printing/print_web_view_helper.cc b/chrome/renderer/printing/print_web_view_helper.cc
index 29ae1140bdf84b3aa203c390bb2ad1a4e6eb1086..c1da032bbd968a7bfb908855eb99833408e1f763 100644
--- a/chrome/renderer/printing/print_web_view_helper.cc
+++ b/chrome/renderer/printing/print_web_view_helper.cc
@@ -1226,6 +1226,12 @@ void PrintWebViewHelper::PrintNode(const blink::WebNode& node) {
print_node_in_progress_ = false;
}
+void PrintWebViewHelper::SetPrintPresetOptionsFromDocument(
+ PrintHostMsg_SetOptionsFromDocument_Params& params) {
+ // FIXME: Send message to browser to set print preset options.
+ Send(new PrintHostMsg_SetOptionsFromDocument(routing_id(), params));
+}
+
#if !defined(OS_WIN)
void PrintWebViewHelper::Print(blink::WebLocalFrame* frame,
const blink::WebNode& node) {

Powered by Google App Engine
This is Rietveld 408576698