OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PPP_PDF_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPP_PDF_H_ |
6 #define PPAPI_C_PRIVATE_PPP_PDF_H_ | 6 #define PPAPI_C_PRIVATE_PPP_PDF_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/dev/pp_print_settings_dev.h" | 10 #include "ppapi/c/dev/pp_print_settings_dev.h" |
9 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_point.h" | 12 #include "ppapi/c/pp_point.h" |
11 #include "ppapi/c/pp_var.h" | 13 #include "ppapi/c/pp_var.h" |
12 | 14 |
13 #define PPP_PDF_INTERFACE_1 "PPP_Pdf;1" | 15 #define PPP_PDF_INTERFACE_1 "PPP_Pdf;1" |
14 #define PPP_PDF_INTERFACE PPP_PDF_INTERFACE_1 | 16 #define PPP_PDF_INTERFACE PPP_PDF_INTERFACE_1 |
15 | 17 |
16 typedef enum { | 18 typedef enum { |
17 // Rotates the page 90 degrees clockwise from its current orientation. | 19 // Rotates the page 90 degrees clockwise from its current orientation. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 61 |
60 // Return true if print preset options are updated from document. | 62 // Return true if print preset options are updated from document. |
61 PP_Bool (*GetPrintPresetOptionsFromDocument)( | 63 PP_Bool (*GetPrintPresetOptionsFromDocument)( |
62 PP_Instance instance, | 64 PP_Instance instance, |
63 PP_PdfPrintPresetOptions_Dev* options); | 65 PP_PdfPrintPresetOptions_Dev* options); |
64 }; | 66 }; |
65 | 67 |
66 typedef PPP_Pdf_1_1 PPP_Pdf; | 68 typedef PPP_Pdf_1_1 PPP_Pdf; |
67 | 69 |
68 #endif // PPAPI_C_PRIVATE_PPP_PDF_H_ | 70 #endif // PPAPI_C_PRIVATE_PPP_PDF_H_ |
OLD | NEW |