Index: chrome/renderer/printing/print_web_view_helper.h |
diff --git a/chrome/renderer/printing/print_web_view_helper.h b/chrome/renderer/printing/print_web_view_helper.h |
index d16e68373e3b6f6a9174bf21e2d8dde905da7fbc..71ff88c17a91242743826d31103a9c9c2921ff5e 100644 |
--- a/chrome/renderer/printing/print_web_view_helper.h |
+++ b/chrome/renderer/printing/print_web_view_helper.h |
@@ -23,6 +23,7 @@ |
struct PrintMsg_Print_Params; |
struct PrintMsg_PrintPage_Params; |
struct PrintMsg_PrintPages_Params; |
+struct PrintHostMsg_SetOptionsFromDocument_Params; |
namespace base { |
class DictionaryValue; |
@@ -178,6 +179,10 @@ class PrintWebViewHelper |
const blink::WebNode& node, |
int* number_of_pages); |
+ // Set options for print preset from source PDF document. |
+ void SetOptionsFromDocument( |
+ PrintHostMsg_SetOptionsFromDocument_Params& params); |
+ |
// Update the current print settings with new |passed_job_settings|. |
// |passed_job_settings| dictionary contains print job details such as printer |
// name, number of copies, page range, etc. |