Index: ppapi/c/private/ppb_pdf.h |
diff --git a/ppapi/c/private/ppb_pdf.h b/ppapi/c/private/ppb_pdf.h |
index a465694c147f5465d4243f3ccec8fd99f447b1c4..8ef076dd63aa23948ebe90ed158c3d49d1269362 100644 |
--- a/ppapi/c/private/ppb_pdf.h |
+++ b/ppapi/c/private/ppb_pdf.h |
@@ -169,6 +169,12 @@ struct PPB_PDF { |
void (*Print)(PP_Instance instance); |
PP_Bool(*IsFeatureEnabled)(PP_PDFFeature feature); |
+ |
+ // Returns a resource image appropriate for a device with |scale| density. |
+ // Returns 0 (NULL resource) if there is no resource at that scale |
+ PP_Resource (*GetResourceImageForScale)(PP_Instance instance, |
+ PP_ResourceImage image_id, |
+ float scale); |
}; |
#endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |