| 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 "ppapi/c/dev/ppb_font_dev.h" | 8 #include "ppapi/c/dev/ppb_font_dev.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_0 = 23, | 49 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_0 = 23, |
| 50 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_1 = 24, | 50 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_1 = 24, |
| 51 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_2 = 25, | 51 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_2 = 25, |
| 52 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_3 = 26, | 52 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_3 = 26, |
| 53 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_4 = 27, | 53 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_4 = 27, |
| 54 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_5 = 28, | 54 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_5 = 28, |
| 55 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_6 = 29, | 55 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_6 = 29, |
| 56 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_7 = 30, | 56 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_7 = 30, |
| 57 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_8 = 31, | 57 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_8 = 31, |
| 58 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_BACKGROUND = 32, | 58 PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_BACKGROUND = 32, |
| 59 PP_RESOURCEIMAGE_PDF_PAGE_DROPSHADOW = 33, |
| 59 } PP_ResourceImage; | 60 } PP_ResourceImage; |
| 60 | 61 |
| 61 typedef enum { | 62 typedef enum { |
| 62 PP_PRIVATEFONTCHARSET_ANSI = 0, | 63 PP_PRIVATEFONTCHARSET_ANSI = 0, |
| 63 PP_PRIVATEFONTCHARSET_DEFAULT = 1, | 64 PP_PRIVATEFONTCHARSET_DEFAULT = 1, |
| 64 PP_PRIVATEFONTCHARSET_SYMBOL = 2, | 65 PP_PRIVATEFONTCHARSET_SYMBOL = 2, |
| 65 PP_PRIVATEFONTCHARSET_MAC = 77, | 66 PP_PRIVATEFONTCHARSET_MAC = 77, |
| 66 PP_PRIVATEFONTCHARSET_SHIFTJIS = 128, | 67 PP_PRIVATEFONTCHARSET_SHIFTJIS = 128, |
| 67 PP_PRIVATEFONTCHARSET_HANGUL = 129, | 68 PP_PRIVATEFONTCHARSET_HANGUL = 129, |
| 68 PP_PRIVATEFONTCHARSET_JOHAB = 130, | 69 PP_PRIVATEFONTCHARSET_JOHAB = 130, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void (*HistogramPDFPageCount)(int count); | 141 void (*HistogramPDFPageCount)(int count); |
| 141 | 142 |
| 142 // Notifies the browser that the given action has been performed. | 143 // Notifies the browser that the given action has been performed. |
| 143 void (*UserMetricsRecordAction)(struct PP_Var action); | 144 void (*UserMetricsRecordAction)(struct PP_Var action); |
| 144 | 145 |
| 145 // Notifies the browser that the PDF has an unsupported feature. | 146 // Notifies the browser that the PDF has an unsupported feature. |
| 146 void (*HasUnsupportedFeature)(PP_Instance instance); | 147 void (*HasUnsupportedFeature)(PP_Instance instance); |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ | 150 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |
| OLD | NEW |