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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_PDF_PAGE_DROPSHADOW = 33, |
60 PP_RESOURCEIMAGE_PDF_BUTTON_SAVE = 34, | 60 PP_RESOURCEIMAGE_PDF_BUTTON_SAVE = 34, |
61 PP_RESOURCEIMAGE_PDF_BUTTON_SAVE_HOVER = 35, | 61 PP_RESOURCEIMAGE_PDF_BUTTON_SAVE_HOVER = 35, |
62 PP_RESOURCEIMAGE_PDF_BUTTON_SAVE_PRESSED = 36, | 62 PP_RESOURCEIMAGE_PDF_BUTTON_SAVE_PRESSED = 36, |
63 PP_RESOURCEIMAGE_PDF_BUTTON_PRINT = 37, | 63 PP_RESOURCEIMAGE_PDF_BUTTON_PRINT = 37, |
64 PP_RESOURCEIMAGE_PDF_BUTTON_PRINT_HOVER = 38, | 64 PP_RESOURCEIMAGE_PDF_BUTTON_PRINT_HOVER = 38, |
65 PP_RESOURCEIMAGE_PDF_BUTTON_PRINT_PRESSED = 39, | 65 PP_RESOURCEIMAGE_PDF_BUTTON_PRINT_PRESSED = 39, |
66 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END = 40, | 66 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END = 40, |
67 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END_HOVER = 41, | 67 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END_HOVER = 41, |
68 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END_PRESSED = 42 | 68 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END_PRESSED = 42, |
| 69 PP_RESOURCEIMAGE_PDF_PAN_SCROLL_ICON = 43 |
69 } PP_ResourceImage; | 70 } PP_ResourceImage; |
70 | 71 |
71 typedef enum { | 72 typedef enum { |
72 PP_PRIVATEFONTCHARSET_ANSI = 0, | 73 PP_PRIVATEFONTCHARSET_ANSI = 0, |
73 PP_PRIVATEFONTCHARSET_DEFAULT = 1, | 74 PP_PRIVATEFONTCHARSET_DEFAULT = 1, |
74 PP_PRIVATEFONTCHARSET_SYMBOL = 2, | 75 PP_PRIVATEFONTCHARSET_SYMBOL = 2, |
75 PP_PRIVATEFONTCHARSET_MAC = 77, | 76 PP_PRIVATEFONTCHARSET_MAC = 77, |
76 PP_PRIVATEFONTCHARSET_SHIFTJIS = 128, | 77 PP_PRIVATEFONTCHARSET_SHIFTJIS = 128, |
77 PP_PRIVATEFONTCHARSET_HANGUL = 129, | 78 PP_PRIVATEFONTCHARSET_HANGUL = 129, |
78 PP_PRIVATEFONTCHARSET_JOHAB = 130, | 79 PP_PRIVATEFONTCHARSET_JOHAB = 130, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 void (*UserMetricsRecordAction)(struct PP_Var action); | 154 void (*UserMetricsRecordAction)(struct PP_Var action); |
154 | 155 |
155 // Notifies the browser that the PDF has an unsupported feature. | 156 // Notifies the browser that the PDF has an unsupported feature. |
156 void (*HasUnsupportedFeature)(PP_Instance instance); | 157 void (*HasUnsupportedFeature)(PP_Instance instance); |
157 | 158 |
158 // Invoke SaveAs... dialog, similar to the right-click or wrench menu. | 159 // Invoke SaveAs... dialog, similar to the right-click or wrench menu. |
159 void (*SaveAs)(PP_Instance instance); | 160 void (*SaveAs)(PP_Instance instance); |
160 }; | 161 }; |
161 | 162 |
162 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ | 163 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |
OLD | NEW |