Home
last modified time | relevance | path

Searched refs:requested_media (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dprint_dialog_gtk2.cc276 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/
Dprint_settings_conversion.cc103 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()
Dprinting_context.cc97 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()
Dprinting_context_win.cc348 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()
Dprint_settings.h68 const RequestedMedia& requested_media() const { in requested_media() function
Dprinting_context_mac.mm272 const PrintSettings::RequestedMedia& media = settings_.requested_media();