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

Unified Diff: ppapi/proxy/pdf_resource.cc

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 | « ppapi/proxy/pdf_resource.h ('k') | ppapi/proxy/pdf_resource_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/pdf_resource.cc
diff --git a/ppapi/proxy/pdf_resource.cc b/ppapi/proxy/pdf_resource.cc
index ed3dcde9b73f16f64cf571e575e11dc5fa4a57c8..d3aad14b3550fa1f54c1ef1a5d28112b5b0650c7 100644
--- a/ppapi/proxy/pdf_resource.cc
+++ b/ppapi/proxy/pdf_resource.cc
@@ -48,16 +48,6 @@ thunk::PPB_PDF_API* PDFResource::AsPPB_PDF_API() {
return this;
}
-PP_Var PDFResource::GetLocalizedString(PP_ResourceString string_id) {
- std::string localized_string;
- int32_t result = SyncCall<PpapiPluginMsg_PDF_GetLocalizedStringReply>(
- RENDERER, PpapiHostMsg_PDF_GetLocalizedString(string_id),
- &localized_string);
- if (result != PP_OK)
- return PP_MakeUndefined();
- return ppapi::StringVar::StringToPPVar(localized_string);
-}
-
void PDFResource::SearchString(const unsigned short* input_string,
const unsigned short* input_term,
bool case_sensitive,
« no previous file with comments | « ppapi/proxy/pdf_resource.h ('k') | ppapi/proxy/pdf_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698