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

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

Issue 6626030: New assets for PDF progress control. Added asset for drop shadow.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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_dropshadow.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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/resources/pdf_dropshadow.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698