Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: ppapi/c/private/ppb_pdf.h

Issue 10802004: Experimental flag for HiDPI-aware PDF Viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/pepper/ppb_pdf_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_pdf.h
diff --git a/ppapi/c/private/ppb_pdf.h b/ppapi/c/private/ppb_pdf.h
index 75f89ae2ea2d14fe5c9cc974518ed82a2737015c..a465694c147f5465d4243f3ccec8fd99f447b1c4 100644
--- a/ppapi/c/private/ppb_pdf.h
+++ b/ppapi/c/private/ppb_pdf.h
@@ -6,6 +6,7 @@
#define PPAPI_C_PRIVATE_PPB_PDF_H_
#include "ppapi/c/dev/ppb_font_dev.h"
+#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_var.h"
@@ -92,6 +93,10 @@ typedef enum {
PP_PRIVATEFONTCHARSET_OEM = 255
} PP_PrivateFontCharset;
+typedef enum {
+ PP_PDFFEATURE_HIDPI = 0
+} PP_PDFFeature;
+
struct PP_PrivateFontFileDescription {
const char* face;
uint32_t weight;
@@ -162,6 +167,8 @@ struct PPB_PDF {
// Invoke Print dialog for plugin.
void (*Print)(PP_Instance instance);
+
+ PP_Bool(*IsFeatureEnabled)(PP_PDFFeature feature);
};
#endif // PPAPI_C_PRIVATE_PPB_PDF_H_
« no previous file with comments | « chrome/renderer/pepper/ppb_pdf_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698