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

Unified Diff: ppapi/cpp/private/pdf.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/cpp/private/pdf.h ('k') | ppapi/proxy/pdf_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/pdf.cc
diff --git a/ppapi/cpp/private/pdf.cc b/ppapi/cpp/private/pdf.cc
index 24127f106895042b5cf11d45badd0d5681bf6ed5..350d87005442693fc840fdcbae9443d903a333b9 100644
--- a/ppapi/cpp/private/pdf.cc
+++ b/ppapi/cpp/private/pdf.cc
@@ -26,17 +26,6 @@ bool PDF::IsAvailable() {
}
// static
-Var PDF::GetLocalizedString(const InstanceHandle& instance,
- PP_ResourceString string_id) {
- if (has_interface<PPB_PDF>()) {
- return Var(PASS_REF,
- get_interface<PPB_PDF>()->GetLocalizedString(
- instance.pp_instance(), string_id));
- }
- return Var();
-}
-
-// static
PP_Resource PDF::GetFontFileWithFallback(
const InstanceHandle& instance,
const PP_BrowserFont_Trusted_Description* description,
« no previous file with comments | « ppapi/cpp/private/pdf.h ('k') | ppapi/proxy/pdf_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698