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

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

Issue 1329213002: PDF: Use chrome.resourcesPrivate instead of Pepper to display translated strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@i18n_api
Patch Set: Remove test cases Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdf/out_of_process_instance.cc ('k') | ppapi/cpp/private/pdf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_pdf.h
diff --git a/ppapi/c/private/ppb_pdf.h b/ppapi/c/private/ppb_pdf.h
index bedb77ac4eca5fa4e7b8c29578bff27342ab1de9..cae377163b914b149a8d40fea18ddfaace7013b8 100644
--- a/ppapi/c/private/ppb_pdf.h
+++ b/ppapi/c/private/ppb_pdf.h
@@ -18,13 +18,6 @@
struct PP_FontDescription_Dev;
typedef enum {
- PP_RESOURCESTRING_PDFGETPASSWORD = 0,
- PP_RESOURCESTRING_PDFLOADING = 1,
- PP_RESOURCESTRING_PDFLOAD_FAILED = 2,
- PP_RESOURCESTRING_PDFPROGRESSLOADING = 3
-} PP_ResourceString;
-
-typedef enum {
PP_PDFFEATURE_HIDPI = 0,
PP_PDFFEATURE_PRINTING = 1
} PP_PDFFeature;
@@ -41,10 +34,6 @@ struct PP_PrivateFindResult {
};
struct PPB_PDF {
- // Returns a localized string.
- struct PP_Var (*GetLocalizedString)(PP_Instance instance,
- PP_ResourceString string_id);
-
// Returns a resource identifying a font file corresponding to the given font
// request after applying the browser-specific fallback.
//
« no previous file with comments | « pdf/out_of_process_instance.cc ('k') | ppapi/cpp/private/pdf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698