Home
last modified time | relevance | path

Searched refs:content_area (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/printing/
Dpage_setup_unittest.cc65 gfx::Rect content_area(overlay_area.x(), in TEST() local
78 EXPECT_EQ(content_area, setup.content_area()) << seed << " " << in TEST()
135 gfx::Rect content_area(4, 6, 92, 88); in TEST() local
143 EXPECT_EQ(content_area, setup.content_area()) << " " << in TEST()
217 gfx::Rect content_area(8, 14, 86, 40); in TEST() local
221 EXPECT_EQ(content_area, setup.content_area()); in TEST()
240 EXPECT_EQ(flipped_content_area, setup.content_area()); in TEST()
268 EXPECT_EQ(new_content_area, setup.content_area()); in TEST()
Dprinted_document_win.cc49 gfx::Rect content_area; in RenderPrintedPage() local
50 page.GetCenteredPageContentRect(page_setup.physical_size(), &content_area); in RenderPrintedPage()
68 content_area.x() - page_setup.printable_area().x(), in RenderPrintedPage()
69 content_area.y() - page_setup.printable_area().y(), in RenderPrintedPage()
Dpdf_metafile_skia.cc55 const gfx::Size& page_size, const gfx::Rect& content_area, in StartPageForVectorCanvas() argument
62 transform.setTranslate(SkIntToScalar(content_area.x()), in StartPageForVectorCanvas()
63 SkIntToScalar(content_area.y())); in StartPageForVectorCanvas()
69 SkISize::Make(content_area.width(), content_area.height()); in StartPageForVectorCanvas()
78 const gfx::Rect& content_area, in StartPage() argument
Dprinted_document_mac.cc29 gfx::Rect content_area; in RenderPrintedPage() local
30 page.GetCenteredPageContentRect(page_setup.physical_size(), &content_area); in RenderPrintedPage()
37 metafile->RenderPage(page_number, context, content_area.ToCGRect(), params); in RenderPrintedPage()
Dpdf_metafile_cg_mac.h41 const gfx::Size& page_size, const gfx::Rect& content_area,
44 const gfx::Rect& content_area,
Dpdf_metafile_cg_mac.cc114 const gfx::Size& page_size, const gfx::Rect& content_area, in StartPageForVectorCanvas() argument
121 const gfx::Rect& content_area, in StartPage() argument
135 CGContextTranslateCTM(context_, content_area.x(), -content_area.y()); in StartPage()
Dpdf_metafile_skia.h41 const gfx::Rect& content_area,
45 const gfx::Rect& content_area,
Dmetafile.h118 const gfx::Rect& content_area,
125 const gfx::Rect& content_area,
Demf_win.h62 const gfx::Size& page_size, const gfx::Rect& content_area,
69 const gfx::Rect& content_area,
Dpage_setup.h60 const gfx::Rect& content_area() const { return content_area_; } in content_area() function
/external/chromium_org/ppapi/tests/
Dtest_printing.cc66 ASSERT_TRUE(g_print_settings.content_area.point.x < 200); in TestGetDefaultPrintSettings()
67 ASSERT_TRUE(g_print_settings.content_area.point.y < 200); in TestGetDefaultPrintSettings()
68 ASSERT_TRUE(g_print_settings.content_area.size.width < 2000); in TestGetDefaultPrintSettings()
69 ASSERT_TRUE(g_print_settings.content_area.size.height< 2000); in TestGetDefaultPrintSettings()
/external/chromium_org/chrome/renderer/printing/
Dprint_web_view_helper_mac.mm43 page_params.content_area = content_area_in_dpi;
105 gfx::Rect content_area;
111 &content_area);
113 *content_rect = content_area;
118 params.display_header_footer ? gfx::Rect(*page_size) : content_area;
142 RenderPageContent(frame, page_number, canvas_area, content_area,
Dprint_web_view_helper_pdf_win.cc107 printed_page_params.content_area = params.params.printable_area; in PrintPagesNative()
137 printed_page_params.content_area = content_area_in_dpi[i]; in PrintPagesNative()
156 gfx::Rect content_area; in PrintPageInternal() local
158 &content_area); in PrintPageInternal()
176 params.params.display_header_footer ? gfx::Rect(page_size) : content_area; in PrintPageInternal()
209 content_area, in PrintPageInternal()
Dprint_web_view_helper_linux.cc158 gfx::Rect content_area; in PrintPageInternal() local
160 &content_area); in PrintPageInternal()
162 params.params.display_header_footer ? gfx::Rect(page_size) : content_area; in PrintPageInternal()
188 RenderPageContent(frame, params.page_number, canvas_area, content_area, in PrintPageInternal()
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
Dbrowser.c51 GtkWidget *content_area; in perf_gtk__setup_info_bar() local
59 content_area = gtk_info_bar_get_content_area(GTK_INFO_BAR(info_bar)); in perf_gtk__setup_info_bar()
60 gtk_container_add(GTK_CONTAINER(content_area), label); in perf_gtk__setup_info_bar()
/external/chromium_org/android_webview/browser/renderer_host/
Dprint_manager.cc92 settings.page_setup_device_units().content_area().width(), in RenderParamsFromPrintSettings()
93 settings.page_setup_device_units().content_area().height()); in RenderParamsFromPrintSettings()
99 params->margin_top = settings.page_setup_device_units().content_area().y(); in RenderParamsFromPrintSettings()
100 params->margin_left = settings.page_setup_device_units().content_area().x(); in RenderParamsFromPrintSettings()
/external/chromium_org/remoting/host/
Dcontinue_window_linux.cc91 GtkWidget* content_area = in CreateWindow() local
99 gtk_container_add(GTK_CONTAINER(content_area), text_label); in CreateWindow()
101 gtk_widget_show_all(content_area); in CreateWindow()
/external/chromium_org/chrome/browser/printing/
Dprint_job.cc226 PdfToEmfState(const gfx::Size& page_size, const gfx::Rect& content_area) in PdfToEmfState() argument
231 content_area_(content_area), in PdfToEmfState()
261 gfx::Rect content_area() const { return content_area_; } in content_area() function in printing::PrintJob::PdfToEmfState
275 const gfx::Rect& content_area) { in StartPdfToEmfConversion() argument
277 ptd_to_emf_state_.reset(new PdfToEmfState(page_size, content_area)); in StartPdfToEmfConversion()
281 printing::PdfRenderSettings(content_area, kPrinterDpi, true), in StartPdfToEmfConversion()
311 ptd_to_emf_state_->content_area()); in OnPdfToEmfPageConverted()
Dprinting_message_filter.cc64 settings.page_setup_device_units().content_area().width(), in RenderParamsFromPrintSettings()
65 settings.page_setup_device_units().content_area().height()); in RenderParamsFromPrintSettings()
71 params->margin_top = settings.page_setup_device_units().content_area().y(); in RenderParamsFromPrintSettings()
72 params->margin_left = settings.page_setup_device_units().content_area().x(); in RenderParamsFromPrintSettings()
/external/chromium_org/android_webview/renderer/
Dprint_web_view_helper_linux.cc163 gfx::Rect content_area; in PrintPageInternal() local
165 &content_area); in PrintPageInternal()
167 params.params.display_header_footer ? gfx::Rect(page_size) : content_area; in PrintPageInternal()
191 RenderPageContent(frame, params.page_number, canvas_area, content_area, in PrintPageInternal()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view_layout.cc81 gfx::Rect content_area = view->ConvertRectToWidget(view->GetLocalBounds()); in GetDialogPosition() local
82 const int middle_x = content_area.x() + content_area.width() / 2; in GetDialogPosition()
89 gfx::Rect content_area = view->ConvertRectToWidget(view->GetLocalBounds()); in GetMaximumDialogSize() local
91 return gfx::Size(content_area.width(), content_area.bottom() - top); in GetMaximumDialogSize()
/external/chromium_org/ppapi/proxy/
Dprinting_resource_unittest.cc87 EXPECT_TRUE(PP_RectEqual(reply_settings.content_area, in TEST_F()
88 output_settings.content_area)); in TEST_F()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_print_settings_manager.cc80 settings.content_area = in ComputeDefaultPrintSettings()
81 PrintAreaToPPPrintArea(page_setup.content_area(), device_units_per_inch); in ComputeDefaultPrintSettings()
Dpepper_printing_host_unittest.cc112 EXPECT_TRUE(PP_RectEqual(expected_settings.content_area, in TEST_F()
113 actual_settings.content_area)); in TEST_F()
/external/chromium_org/ppapi/c/dev/
Dpp_print_settings_dev.h61 struct PP_Rect content_area; member

12