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

Unified Diff: ppapi/c/private/ppb_pdf.h

Issue 6871020: Added functionality to use "SaveAs..." from PDF plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | webkit/glue/resources/pdf_button_fth.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_pdf.h
===================================================================
--- ppapi/c/private/ppb_pdf.h (revision 81782)
+++ ppapi/c/private/ppb_pdf.h (working copy)
@@ -23,9 +23,9 @@
} PP_ResourceString;
typedef enum {
- PP_RESOURCEIMAGE_PDF_BUTTON_FTH = 0,
- PP_RESOURCEIMAGE_PDF_BUTTON_FTH_HOVER = 1,
- PP_RESOURCEIMAGE_PDF_BUTTON_FTH_PRESSED = 2,
+ PP_RESOURCEIMAGE_PDF_BUTTON_FTP = 0,
+ PP_RESOURCEIMAGE_PDF_BUTTON_FTP_HOVER = 1,
+ PP_RESOURCEIMAGE_PDF_BUTTON_FTP_PRESSED = 2,
PP_RESOURCEIMAGE_PDF_BUTTON_FTW = 3,
PP_RESOURCEIMAGE_PDF_BUTTON_FTW_HOVER = 4,
PP_RESOURCEIMAGE_PDF_BUTTON_FTW_PRESSED = 5,
@@ -57,6 +57,12 @@
PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_8 = 31,
PP_RESOURCEIMAGE_PDF_PROGRESS_BAR_BACKGROUND = 32,
PP_RESOURCEIMAGE_PDF_PAGE_DROPSHADOW = 33,
+ PP_RESOURCEIMAGE_PDF_BUTTON_SAVE = 34,
+ PP_RESOURCEIMAGE_PDF_BUTTON_SAVE_HOVER = 35,
+ PP_RESOURCEIMAGE_PDF_BUTTON_SAVE_PRESSED = 36,
+ PP_RESOURCEIMAGE_PDF_BUTTON_PRINT = 37,
+ PP_RESOURCEIMAGE_PDF_BUTTON_PRINT_HOVER = 38,
+ PP_RESOURCEIMAGE_PDF_BUTTON_PRINT_PRESSED = 39,
} PP_ResourceImage;
typedef enum {
@@ -145,6 +151,9 @@
// Notifies the browser that the PDF has an unsupported feature.
void (*HasUnsupportedFeature)(PP_Instance instance);
+
+ // Invoke SaveAs... dialog, similar to the right-click or wrench menu.
+ void (*SaveAs)(PP_Instance instance);
};
#endif // PPAPI_C_PRIVATE_PPB_PDF_H_
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | webkit/glue/resources/pdf_button_fth.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698