metafile 1128 android_webview/renderer/print_web_view_helper.cc PreviewMetafile* metafile = print_preview_context_.metafile(); metafile 1129 android_webview/renderer/print_web_view_helper.cc uint32 buf_size = metafile->GetDataSize(); metafile 1143 android_webview/renderer/print_web_view_helper.cc if (!CopyMetafileDataToSharedMem(metafile, metafile 1595 android_webview/renderer/print_web_view_helper.cc Metafile* metafile, metafile 1597 android_webview/renderer/print_web_view_helper.cc uint32 buf_size = metafile->GetDataSize(); metafile 1604 android_webview/renderer/print_web_view_helper.cc metafile->GetData(shared_buf->memory(), buf_size); metafile 1734 android_webview/renderer/print_web_view_helper.cc Metafile* metafile) { metafile 1742 android_webview/renderer/print_web_view_helper.cc DCHECK(!metafile); metafile 1746 android_webview/renderer/print_web_view_helper.cc if (!metafile) { metafile 1755 android_webview/renderer/print_web_view_helper.cc uint32 buf_size = metafile->GetDataSize(); metafile 1758 android_webview/renderer/print_web_view_helper.cc metafile, &(preview_page_params.metafile_data_handle))) { metafile 228 android_webview/renderer/print_web_view_helper.h Metafile* metafile); metafile 245 android_webview/renderer/print_web_view_helper.h Metafile* metafile, metafile 254 android_webview/renderer/print_web_view_helper.h Metafile* metafile, metafile 272 android_webview/renderer/print_web_view_helper.h bool CopyMetafileDataToSharedMem(Metafile* metafile, metafile 330 android_webview/renderer/print_web_view_helper.h bool PreviewPageRendered(int page_number, Metafile* metafile); metafile 422 android_webview/renderer/print_web_view_helper.h PreviewMetafile* metafile(); metafile 38 android_webview/renderer/print_web_view_helper_linux.cc Metafile* initial_render_metafile = print_preview_context_.metafile(); metafile 57 android_webview/renderer/print_web_view_helper_linux.cc print_preview_context_.metafile()->GetMetafileForCurrentPage()); metafile 65 android_webview/renderer/print_web_view_helper_linux.cc NativeMetafile metafile; metafile 66 android_webview/renderer/print_web_view_helper_linux.cc if (!metafile.Init()) metafile 92 android_webview/renderer/print_web_view_helper_linux.cc PrintPageInternal(page_params, canvas_size, frame, &metafile); metafile 98 android_webview/renderer/print_web_view_helper_linux.cc metafile.FinishDocument(); metafile 101 android_webview/renderer/print_web_view_helper_linux.cc uint32 buf_size = metafile.GetDataSize(); metafile 112 android_webview/renderer/print_web_view_helper_linux.cc if (!metafile.SaveToFD(fd)) metafile 137 android_webview/renderer/print_web_view_helper_linux.cc metafile.GetData(shared_mem->memory(), buf_size); metafile 157 android_webview/renderer/print_web_view_helper_linux.cc Metafile* metafile) { metafile 170 android_webview/renderer/print_web_view_helper_linux.cc SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size, metafile 180 android_webview/renderer/print_web_view_helper_linux.cc MetafileSkiaWrapper::SetMetafileOnCanvas(*canvas, metafile); metafile 196 android_webview/renderer/print_web_view_helper_linux.cc if (!metafile->FinishPage()) metafile 267 chrome/browser/printing/print_dialog_gtk.cc void PrintDialogGtk::PrintDocument(const printing::Metafile* metafile, metafile 282 chrome/browser/printing/print_dialog_gtk.cc if (!error && !metafile->SaveTo(path_to_pdf_)) { metafile 44 chrome/browser/printing/print_dialog_gtk.h virtual void PrintDocument(const printing::Metafile* metafile, metafile 338 chrome/browser/printing/print_job_worker.cc std::vector<uint8> metabytes(page->metafile()->GetDataSize()); metafile 339 chrome/browser/printing/print_job_worker.cc bool success = page->metafile()->GetData( metafile 155 chrome/browser/printing/print_view_manager_base.cc scoped_ptr<NativeMetafile> metafile(new NativeMetafile); metafile 157 chrome/browser/printing/print_view_manager_base.cc if (!metafile->InitFromData(shared_buf.memory(), params.data_size)) { metafile 170 chrome/browser/printing/print_view_manager_base.cc metafile->RasterizeMetafile(raster_size)); metafile 172 chrome/browser/printing/print_view_manager_base.cc metafile.swap(raster_metafile); metafile 185 chrome/browser/printing/print_view_manager_base.cc metafile.release(), metafile 275 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc void PrintDialogGtk2::PrintDocument(const printing::Metafile* metafile, metafile 290 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc if (!error && !metafile->SaveTo(path_to_pdf_)) { metafile 46 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h virtual void PrintDocument(const printing::Metafile* metafile, metafile 261 chrome/browser/ui/webui/print_preview/print_preview_handler.cc void PrintToPdfCallback(printing::Metafile* metafile, metafile 264 chrome/browser/ui/webui/print_preview/print_preview_handler.cc metafile->SaveTo(path); metafile 266 chrome/browser/ui/webui/print_preview/print_preview_handler.cc BrowserThread::DeleteSoon(BrowserThread::UI, FROM_HERE, metafile); metafile 1283 chrome/browser/ui/webui/print_preview/print_preview_handler.cc scoped_ptr<printing::PreviewMetafile> metafile(new printing::PreviewMetafile); metafile 1284 chrome/browser/ui/webui/print_preview/print_preview_handler.cc metafile->InitFromData(static_cast<const void*>(data->front()), data->size()); metafile 1287 chrome/browser/ui/webui/print_preview/print_preview_handler.cc base::Bind(&PrintToPdfCallback, metafile.release(), print_to_pdf_path_)); metafile 217 chrome/renderer/mock_printer.cc printing::PdfMetafileCg metafile; metafile 219 chrome/renderer/mock_printer.cc printing::NativeMetafile metafile; metafile 221 chrome/renderer/mock_printer.cc metafile.InitFromData(metafile_data.memory(), params.data_size); metafile 222 chrome/renderer/mock_printer.cc printing::Image image(metafile); metafile 1142 chrome/renderer/printing/print_web_view_helper.cc PreviewMetafile* metafile = print_preview_context_.metafile(); metafile 1143 chrome/renderer/printing/print_web_view_helper.cc uint32 buf_size = metafile->GetDataSize(); metafile 1156 chrome/renderer/printing/print_web_view_helper.cc if (!CopyMetafileDataToSharedMem(metafile, metafile 1598 chrome/renderer/printing/print_web_view_helper.cc Metafile* metafile, metafile 1600 chrome/renderer/printing/print_web_view_helper.cc uint32 buf_size = metafile->GetDataSize(); metafile 1607 chrome/renderer/printing/print_web_view_helper.cc metafile->GetData(shared_buf->memory(), buf_size); metafile 1738 chrome/renderer/printing/print_web_view_helper.cc Metafile* metafile) { metafile 1746 chrome/renderer/printing/print_web_view_helper.cc DCHECK(!metafile); metafile 1750 chrome/renderer/printing/print_web_view_helper.cc if (!metafile) { metafile 1759 chrome/renderer/printing/print_web_view_helper.cc uint32 buf_size = metafile->GetDataSize(); metafile 1762 chrome/renderer/printing/print_web_view_helper.cc metafile, &(preview_page_params.metafile_data_handle))) { metafile 207 chrome/renderer/printing/print_web_view_helper.h Metafile* metafile); metafile 224 chrome/renderer/printing/print_web_view_helper.h Metafile* metafile, metafile 233 chrome/renderer/printing/print_web_view_helper.h Metafile* metafile, metafile 251 chrome/renderer/printing/print_web_view_helper.h bool CopyMetafileDataToSharedMem(Metafile* metafile, metafile 309 chrome/renderer/printing/print_web_view_helper.h bool PreviewPageRendered(int page_number, Metafile* metafile); metafile 401 chrome/renderer/printing/print_web_view_helper.h PreviewMetafile* metafile(); metafile 36 chrome/renderer/printing/print_web_view_helper_linux.cc Metafile* initial_render_metafile = print_preview_context_.metafile(); metafile 55 chrome/renderer/printing/print_web_view_helper_linux.cc print_preview_context_.metafile()->GetMetafileForCurrentPage()); metafile 63 chrome/renderer/printing/print_web_view_helper_linux.cc NativeMetafile metafile; metafile 64 chrome/renderer/printing/print_web_view_helper_linux.cc if (!metafile.Init()) metafile 90 chrome/renderer/printing/print_web_view_helper_linux.cc PrintPageInternal(page_params, canvas_size, frame, &metafile); metafile 96 chrome/renderer/printing/print_web_view_helper_linux.cc metafile.FinishDocument(); metafile 99 chrome/renderer/printing/print_web_view_helper_linux.cc uint32 buf_size = metafile.GetDataSize(); metafile 110 chrome/renderer/printing/print_web_view_helper_linux.cc if (!metafile.SaveToFD(fd)) metafile 135 chrome/renderer/printing/print_web_view_helper_linux.cc metafile.GetData(shared_mem->memory(), buf_size); metafile 155 chrome/renderer/printing/print_web_view_helper_linux.cc Metafile* metafile) { metafile 168 chrome/renderer/printing/print_web_view_helper_linux.cc SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size, metafile 178 chrome/renderer/printing/print_web_view_helper_linux.cc MetafileSkiaWrapper::SetMetafileOnCanvas(*canvas, metafile); metafile 194 chrome/renderer/printing/print_web_view_helper_linux.cc if (!metafile->FinishPage()) metafile 39 chrome/renderer/printing/print_web_view_helper_win.cc scoped_ptr<NativeMetafile> metafile(new NativeMetafile); metafile 40 chrome/renderer/printing/print_web_view_helper_win.cc metafile->Init(); metafile 41 chrome/renderer/printing/print_web_view_helper_win.cc DCHECK(metafile->context()); metafile 42 chrome/renderer/printing/print_web_view_helper_win.cc skia::InitializeDC(metafile->context()); metafile 56 chrome/renderer/printing/print_web_view_helper_win.cc RenderPage(params.params, page_number, frame, false, metafile.get(), metafile 60 chrome/renderer/printing/print_web_view_helper_win.cc if (!metafile->FinishDocument()) metafile 63 chrome/renderer/printing/print_web_view_helper_win.cc if (!params.params.supports_alpha_blend && metafile->IsAlphaBlendUsed()) { metafile 65 chrome/renderer/printing/print_web_view_helper_win.cc metafile->RasterizeAlphaBlend()); metafile 67 chrome/renderer/printing/print_web_view_helper_win.cc metafile.swap(raster_metafile); metafile 71 chrome/renderer/printing/print_web_view_helper_win.cc uint32 buf_size = metafile->GetDataSize(); metafile 83 chrome/renderer/printing/print_web_view_helper_win.cc if (!CopyMetafileDataToSharedMem(metafile.get(), metafile 98 chrome/renderer/printing/print_web_view_helper_win.cc Metafile* initial_render_metafile = print_preview_context_.metafile(); metafile 117 chrome/renderer/printing/print_web_view_helper_win.cc print_preview_context_.metafile()->GetMetafileForCurrentPage()); metafile 124 chrome/renderer/printing/print_web_view_helper_win.cc bool is_preview, Metafile* metafile, double* actual_shrink, metafile 174 chrome/renderer/printing/print_web_view_helper_win.cc SkBaseDevice* device = metafile->StartPageForVectorCanvas( metafile 183 chrome/renderer/printing/print_web_view_helper_win.cc MetafileSkiaWrapper::SetMetafileOnCanvas(*canvas, metafile); metafile 216 chrome/renderer/printing/print_web_view_helper_win.cc bool result = metafile->FinishPage(); metafile 221 chrome/renderer/printing/print_web_view_helper_win.cc Metafile* metafile, base::SharedMemoryHandle* shared_mem_handle) { metafile 222 chrome/renderer/printing/print_web_view_helper_win.cc uint32 buf_size = metafile->GetDataSize(); metafile 236 chrome/renderer/printing/print_web_view_helper_win.cc if (!metafile->GetData(shared_buf.memory(), buf_size)) { metafile 339 chrome/service/cloud_print/print_system_win.cc const printing::Emf& metafile, metafile 343 chrome/service/cloud_print/print_system_win.cc metafile.SafePlayback(printer_dc_.Get()); metafile 384 chrome/service/service_utility_process_host.cc printing::Emf metafile; metafile 385 chrome/service/service_utility_process_host.cc if (!metafile.InitFromFile(metafile_path)) { metafile 388 chrome/service/service_utility_process_host.cc OnRenderPDFPagesToMetafileSucceeded(metafile, metafile 57 chrome/service/service_utility_process_host.h const printing::Emf& metafile, metafile 640 chrome/utility/chrome_content_utility_client.cc printing::Emf metafile; metafile 641 chrome/utility/chrome_content_utility_client.cc metafile.InitToFile(metafile_path); metafile 649 chrome/utility/chrome_content_utility_client.cc *scale_factor = gfx::CalculatePageScale(metafile.context(), metafile 652 chrome/utility/chrome_content_utility_client.cc gfx::ScaleDC(metafile.context(), *scale_factor); metafile 662 chrome/utility/chrome_content_utility_client.cc metafile.StartPage(gfx::Size(), gfx::Rect(), 1); metafile 664 chrome/utility/chrome_content_utility_client.cc &buffer.front(), buffer.size(), page_number, metafile.context(), metafile 673 chrome/utility/chrome_content_utility_client.cc metafile.FinishPage(); metafile 676 chrome/utility/chrome_content_utility_client.cc metafile.FinishDocument(); metafile 1229 content/browser/renderer_host/render_message_filter.cc HENHMETAFILE metafile = CloseEnhMetaFile(hdc); metafile 1231 content/browser/renderer_host/render_message_filter.cc if (metafile) { metafile 1232 content/browser/renderer_host/render_message_filter.cc DeleteEnhMetaFile(metafile); metafile 1896 content/renderer/pepper/pepper_plugin_instance_impl.cc printing::Metafile* metafile = metafile 1898 content/renderer/pepper/pepper_plugin_instance_impl.cc DCHECK(metafile != NULL); metafile 1899 content/renderer/pepper/pepper_plugin_instance_impl.cc if (metafile) metafile 1900 content/renderer/pepper/pepper_plugin_instance_impl.cc ret = metafile->InitFromData(mapper.data(), mapper.size()); metafile 1902 content/renderer/pepper/pepper_plugin_instance_impl.cc printing::Metafile* metafile = metafile 1904 content/renderer/pepper/pepper_plugin_instance_impl.cc if (metafile) { metafile 1907 content/renderer/pepper/pepper_plugin_instance_impl.cc ret = metafile->InitFromData(mapper.data(), mapper.size()); metafile 40 printing/image.cc Image::Image(const Metafile& metafile) metafile 43 printing/image.cc LoadMetafile(metafile); metafile 153 printing/image.cc NativeMetafile metafile; metafile 154 printing/image.cc if (!metafile.InitFromData(data.data(), metafile 157 printing/image.cc return LoadMetafile(metafile); metafile 35 printing/image.h explicit Image(const Metafile& metafile); metafile 80 printing/image.h bool LoadMetafile(const Metafile& metafile); metafile 9 printing/image_android.cc bool Image::LoadMetafile(const Metafile& metafile) { metafile 9 printing/image_linux.cc bool Image::LoadMetafile(const Metafile& metafile) { metafile 15 printing/image_mac.cc bool Image::LoadMetafile(const Metafile& metafile) { metafile 18 printing/image_mac.cc gfx::Rect rect(metafile.GetPageBounds(page_number)); metafile 42 printing/image_mac.cc metafile.RenderPage(page_number, bitmap_context, metafile 52 printing/image_win.cc bool Image::LoadMetafile(const Metafile& metafile) { metafile 53 printing/image_win.cc gfx::Rect rect(metafile.GetPageBounds(1)); metafile 78 printing/image_win.cc bool success = metafile.Playback(hdc, NULL); metafile 23 printing/metafile_skia_wrapper.cc Metafile* metafile) { metafile 25 printing/metafile_skia_wrapper.cc if (metafile) metafile 26 printing/metafile_skia_wrapper.cc wrapper = skia::AdoptRef(new MetafileSkiaWrapper(metafile)); metafile 61 printing/metafile_skia_wrapper.cc MetafileSkiaWrapper::MetafileSkiaWrapper(Metafile* metafile) metafile 62 printing/metafile_skia_wrapper.cc : metafile_(metafile) { metafile 23 printing/metafile_skia_wrapper.h static void SetMetafileOnCanvas(const SkCanvas& canvas, Metafile* metafile); metafile 32 printing/metafile_skia_wrapper.h explicit MetafileSkiaWrapper(Metafile* metafile); metafile 245 printing/pdf_metafile_skia.cc PdfMetafileSkia* metafile = new PdfMetafileSkia; metafile 246 printing/pdf_metafile_skia.cc metafile->InitFromData(data->bytes(), metafile 248 printing/pdf_metafile_skia.cc return metafile; metafile 39 printing/print_dialog_gtk_interface.h virtual void PrintDocument(const Metafile* metafile, metafile 67 printing/printed_document.cc Metafile* metafile, metafile 75 printing/printed_document.cc metafile, metafile 121 printing/printed_document.cc if (metafile_must_be_valid && !itr->second->metafile()) metafile 147 printing/printed_document.cc total += pages_copy[i]->metafile()->GetDataSize(); metafile 186 printing/printed_document.cc page.metafile()->SaveTo( metafile 190 printing/printed_document.cc page.metafile()->SaveTo( metafile 45 printing/printed_document.h void SetPage(int page_number, Metafile* metafile, double shrink, metafile 31 printing/printed_document_linux.cc page.metafile()); metafile 32 printing/printed_document_mac.cc const Metafile* metafile = page.metafile(); metafile 37 printing/printed_document_mac.cc metafile->RenderPage(page_number, context, content_area.ToCGRect(), params); metafile 72 printing/printed_document_win.cc if (!page.metafile()->SafePlayback(context)) { metafile 10 printing/printed_page.cc Metafile* metafile, metafile 15 printing/printed_page.cc metafile_(metafile), metafile 26 printing/printed_page.h Metafile* metafile, metafile 33 printing/printed_page.h const Metafile* metafile() const; metafile 63 printing/printing_context_linux.cc void PrintingContextLinux::PrintDocument(const Metafile* metafile) { metafile 65 printing/printing_context_linux.cc DCHECK(metafile); metafile 66 printing/printing_context_linux.cc print_dialog_->PrintDocument(metafile, document_name_); metafile 37 printing/printing_context_linux.h void PrintDocument(const Metafile* metafile);