| Index: chrome/renderer/pepper/ppb_pdf_impl.h
|
| diff --git a/chrome/renderer/pepper/ppb_pdf_impl.h b/chrome/renderer/pepper/ppb_pdf_impl.h
|
| index 4c4bfe0d4b7d53eb32260079e1377eaf95481014..70be563a044b3a0f1ba1e3df1fe085ea7003469a 100644
|
| --- a/chrome/renderer/pepper/ppb_pdf_impl.h
|
| +++ b/chrome/renderer/pepper/ppb_pdf_impl.h
|
| @@ -6,7 +6,11 @@
|
| #define CHROME_RENDERER_PEPPER_PPB_PDF_IMPL_H_
|
|
|
| #include "ppapi/c/pp_instance.h"
|
| +#include "ppapi/c/pp_resource.h"
|
| +#include "ppapi/c/pp_stdint.h"
|
| +#include "ppapi/c/private/pp_private_font_charset.h"
|
|
|
| +struct PP_FontDescription_Dev;
|
| struct PPB_PDF;
|
|
|
| class PPB_PDF_Impl {
|
| @@ -15,6 +19,22 @@ class PPB_PDF_Impl {
|
| // to the plugin.
|
| static const PPB_PDF* GetInterface();
|
|
|
| + // Returns a resource identifying a font file corresponding to the given font
|
| + // request after applying the browser-specific fallback.
|
| + //
|
| + // Currently Linux-only.
|
| + static PP_Resource GetFontFileWithFallback(
|
| + PP_Instance instance_id,
|
| + const PP_FontDescription_Dev* description,
|
| + PP_PrivateFontCharset charset);
|
| +
|
| + // Given a resource previously returned by GetFontFileWithFallback, returns
|
| + // a pointer to the requested font table. Linux only.
|
| + static bool GetFontTableForPrivateFontFile(PP_Resource font_file,
|
| + uint32_t table,
|
| + void* output,
|
| + uint32_t* output_length);
|
| +
|
| // Invokes the "Print" command for the given instance as if the user right
|
| // clicked on it and selected "Print".
|
| static void InvokePrintingForInstance(PP_Instance instance);
|
|
|