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

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

Issue 7831023: Make autoscroll/panning resources available for PDF plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 | « chrome/renderer/chrome_ppb_pdf_impl.cc ('k') | no next file » | 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_ppb_pdf_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698