| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_C_PRIVATE_PPB_PDF_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPB_PDF_H_ |
| 6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ | 6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 11 #include "ppapi/c/pp_var.h" | 13 #include "ppapi/c/pp_var.h" |
| 12 #include "ppapi/c/private/pp_private_font_charset.h" | 14 #include "ppapi/c/private/pp_private_font_charset.h" |
| 13 | 15 |
| 14 #define PPB_PDF_INTERFACE "PPB_PDF;1" | 16 #define PPB_PDF_INTERFACE "PPB_PDF;1" |
| 15 | 17 |
| 16 typedef enum { | 18 typedef enum { |
| 17 PP_PDFFEATURE_HIDPI = 0, | 19 PP_PDFFEATURE_HIDPI = 0, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // Gets pointers to both the mmap'd V8 snapshot files and their sizes. | 91 // Gets pointers to both the mmap'd V8 snapshot files and their sizes. |
| 90 // This is needed when loading V8's initial snapshot from external files. | 92 // This is needed when loading V8's initial snapshot from external files. |
| 91 void (*GetV8ExternalSnapshotData)(PP_Instance instance, | 93 void (*GetV8ExternalSnapshotData)(PP_Instance instance, |
| 92 const char** natives_data_out, | 94 const char** natives_data_out, |
| 93 int* natives_size_out, | 95 int* natives_size_out, |
| 94 const char** snapshot_data_out, | 96 const char** snapshot_data_out, |
| 95 int* snapshot_size_out); | 97 int* snapshot_size_out); |
| 96 }; | 98 }; |
| 97 | 99 |
| 98 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ | 100 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |
| OLD | NEW |