Home
last modified time | relevance | path

Searched refs:print_params (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper.cc81 int GetDPI(const PrintMsg_Print_Params* print_params) { in GetDPI() argument
87 return static_cast<int>(print_params->dpi); in GetDPI()
248 const PrintMsg_Print_Params& print_params, in ComputeWebKitPrintParamsInDesiredDpi() argument
250 int dpi = GetDPI(&print_params); in ComputeWebKitPrintParamsInDesiredDpi()
252 webkit_print_params->printScalingOption = print_params.print_scaling_option; in ComputeWebKitPrintParamsInDesiredDpi()
255 ConvertUnit(print_params.content_size.width(), dpi, in ComputeWebKitPrintParamsInDesiredDpi()
256 print_params.desired_dpi); in ComputeWebKitPrintParamsInDesiredDpi()
258 ConvertUnit(print_params.content_size.height(), dpi, in ComputeWebKitPrintParamsInDesiredDpi()
259 print_params.desired_dpi); in ComputeWebKitPrintParamsInDesiredDpi()
262 ConvertUnit(print_params.printable_area.x(), dpi, in ComputeWebKitPrintParamsInDesiredDpi()
[all …]
Dprint_web_view_helper_win.cc93 const PrintMsg_Print_Params& print_params) { in RenderPreviewPage() argument
95 double actual_shrink = static_cast<float>(print_params.desired_dpi / in RenderPreviewPage()
96 print_params.dpi); in RenderPreviewPage()
106 RenderPage(print_params, page_number, print_preview_context_.prepared_frame(), in RenderPreviewPage()
Dprint_web_view_helper_linux.cc31 const PrintMsg_Print_Params& print_params) { in RenderPreviewPage() argument
33 page_params.params = print_params; in RenderPreviewPage()
Dprint_web_view_helper_mac.mm59 const PrintMsg_Print_Params& print_params) {
60 PrintMsg_Print_Params printParams = print_params;
Dprint_web_view_helper.h177 const PrintMsg_Print_Params& print_params);
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper.cc85 int GetDPI(const PrintMsg_Print_Params* print_params) { in GetDPI() argument
91 return static_cast<int>(print_params->dpi); in GetDPI()
252 const PrintMsg_Print_Params& print_params, in ComputeWebKitPrintParamsInDesiredDpi() argument
254 int dpi = GetDPI(&print_params); in ComputeWebKitPrintParamsInDesiredDpi()
256 webkit_print_params->printScalingOption = print_params.print_scaling_option; in ComputeWebKitPrintParamsInDesiredDpi()
259 ConvertUnit(print_params.content_size.width(), dpi, in ComputeWebKitPrintParamsInDesiredDpi()
260 print_params.desired_dpi); in ComputeWebKitPrintParamsInDesiredDpi()
262 ConvertUnit(print_params.content_size.height(), dpi, in ComputeWebKitPrintParamsInDesiredDpi()
263 print_params.desired_dpi); in ComputeWebKitPrintParamsInDesiredDpi()
266 ConvertUnit(print_params.printable_area.x(), dpi, in ComputeWebKitPrintParamsInDesiredDpi()
[all …]
Dprint_web_view_helper_linux.cc33 const PrintMsg_Print_Params& print_params) { in RenderPreviewPage() argument
35 page_params.params = print_params; in RenderPreviewPage()
Dprint_web_view_helper.h179 const PrintMsg_Print_Params& print_params);
/external/chromium_org/content/renderer/pepper/
Dpepper_webplugin_impl.cc279 int PepperWebPluginImpl::printBegin(const WebPrintParams& print_params) { in printBegin() argument
280 return instance_->PrintBegin(print_params); in printBegin()
Dpepper_webplugin_impl.h82 virtual int printBegin(const blink::WebPrintParams& print_params) OVERRIDE;
Dpepper_plugin_instance_impl.cc1567 int PepperPluginInstanceImpl::PrintBegin(const WebPrintParams& print_params) { in PrintBegin() argument
1579 print_settings.printable_area = PP_FromGfxRect(print_params.printableArea); in PrintBegin()
1580 print_settings.content_area = PP_FromGfxRect(print_params.printContentArea); in PrintBegin()
1581 print_settings.paper_size = PP_FromGfxSize(print_params.paperSize); in PrintBegin()
1582 print_settings.dpi = print_params.printerDPI; in PrintBegin()
1586 print_params.printScalingOption); in PrintBegin()
Dpepper_plugin_instance_impl.h247 int PrintBegin(const blink::WebPrintParams& print_params);