Searched refs:requested_media (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | print_dialog_gtk2.cc | 276 if (page_setup_ && !settings->requested_media().IsDefault()) { in UpdateSettings() 277 const PrintSettings::RequestedMedia& requested_media = in UpdateSettings() local 278 settings->requested_media(); in UpdateSettings() 281 if (!PaperSizeMatch(gtk_current_paper_size, requested_media, in UpdateSettings() 287 FindPaperSizeMatch(gtk_paper_sizes, requested_media); in UpdateSettings() 294 requested_media.vendor_id.c_str(), in UpdateSettings() 295 requested_media.vendor_id.c_str(), in UpdateSettings() 296 requested_media.size_microns.width() / kMicronsInMm, in UpdateSettings() 297 requested_media.size_microns.height() / kMicronsInMm, in UpdateSettings()
|
/external/chromium_org/printing/ |
D | print_settings_conversion.cc | 103 PrintSettings::RequestedMedia requested_media; in PrintSettingsFromJobSettings() local 112 requested_media.size_microns = gfx::Size(width_microns, height_microns); in PrintSettingsFromJobSettings() 117 requested_media.vendor_id = vendor_id; in PrintSettingsFromJobSettings() 120 settings->set_requested_media(requested_media); in PrintSettingsFromJobSettings() 234 debug->SetString("media_vendor_od", settings.requested_media().vendor_id); in PrintSettingsToJobSettingsDebug() 236 "media_size", settings.requested_media().size_microns, debug); in PrintSettingsToJobSettingsDebug()
|
D | printing_context.cc | 97 if (!settings_.requested_media().size_microns.IsEmpty()) { in UpdatePrintSettings() 100 paper_size = gfx::Size(settings_.requested_media().size_microns.width() / in UpdatePrintSettings() 102 settings_.requested_media().size_microns.height() / in UpdatePrintSettings()
|
D | printing_context_win.cc | 348 const PrintSettings::RequestedMedia& requested_media = in UpdatePrinterSettings() local 349 settings_.requested_media(); in UpdatePrinterSettings() 351 int width = requested_media.size_microns.width() / kFromUm; in UpdatePrinterSettings() 352 int height = requested_media.size_microns.height() / kFromUm; in UpdatePrinterSettings() 354 if (base::StringToUint(requested_media.vendor_id, &id) && id) { in UpdatePrinterSettings()
|
D | print_settings.h | 68 const RequestedMedia& requested_media() const { in requested_media() function
|
D | printing_context_mac.mm | 272 const PrintSettings::RequestedMedia& media = settings_.requested_media();
|