Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: ppapi/c/private/ppb_pdf.h

Issue 7075018: Add new PDF plugin resources for print preview. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/resources/pdf_button_zoomin_end.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_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,
67 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END_HOVER = 41,
68 PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN_END_PRESSED = 42,
66 } PP_ResourceImage; 69 } PP_ResourceImage;
67 70
68 typedef enum { 71 typedef enum {
69 PP_PRIVATEFONTCHARSET_ANSI = 0, 72 PP_PRIVATEFONTCHARSET_ANSI = 0,
70 PP_PRIVATEFONTCHARSET_DEFAULT = 1, 73 PP_PRIVATEFONTCHARSET_DEFAULT = 1,
71 PP_PRIVATEFONTCHARSET_SYMBOL = 2, 74 PP_PRIVATEFONTCHARSET_SYMBOL = 2,
72 PP_PRIVATEFONTCHARSET_MAC = 77, 75 PP_PRIVATEFONTCHARSET_MAC = 77,
73 PP_PRIVATEFONTCHARSET_SHIFTJIS = 128, 76 PP_PRIVATEFONTCHARSET_SHIFTJIS = 128,
74 PP_PRIVATEFONTCHARSET_HANGUL = 129, 77 PP_PRIVATEFONTCHARSET_HANGUL = 129,
75 PP_PRIVATEFONTCHARSET_JOHAB = 130, 78 PP_PRIVATEFONTCHARSET_JOHAB = 130,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void (*UserMetricsRecordAction)(struct PP_Var action); 153 void (*UserMetricsRecordAction)(struct PP_Var action);
151 154
152 // Notifies the browser that the PDF has an unsupported feature. 155 // Notifies the browser that the PDF has an unsupported feature.
153 void (*HasUnsupportedFeature)(PP_Instance instance); 156 void (*HasUnsupportedFeature)(PP_Instance instance);
154 157
155 // Invoke SaveAs... dialog, similar to the right-click or wrench menu. 158 // Invoke SaveAs... dialog, similar to the right-click or wrench menu.
156 void (*SaveAs)(PP_Instance instance); 159 void (*SaveAs)(PP_Instance instance);
157 }; 160 };
158 161
159 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ 162 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/resources/pdf_button_zoomin_end.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698