diff options
author | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-24 23:53:14 +0000 |
---|---|---|
committer | sanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-24 23:53:14 +0000 |
commit | 742435e32561903dad33201a5a1515fcfad0b103 (patch) | |
tree | bfca2199efde6f2d240b6ace8b7a3b980ff998da /webkit/glue/plugins | |
parent | 4fb05809d6f116b161da488051532db154335f08 (diff) | |
download | chromium_src-742435e32561903dad33201a5a1515fcfad0b103.zip chromium_src-742435e32561903dad33201a5a1515fcfad0b103.tar.gz chromium_src-742435e32561903dad33201a5a1515fcfad0b103.tar.bz2 |
Added a string for the "PDF load failed" message to be used by the PDF plugin.
BUG=61121
TEST=None
Review URL: http://codereview.chromium.org/5270003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r-- | webkit/glue/plugins/pepper_private.cc | 2 | ||||
-rw-r--r-- | webkit/glue/plugins/ppb_private.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/plugins/pepper_private.cc b/webkit/glue/plugins/pepper_private.cc index bd1c77b..0675bee 100644 --- a/webkit/glue/plugins/pepper_private.cc +++ b/webkit/glue/plugins/pepper_private.cc @@ -94,6 +94,8 @@ PP_Var GetLocalizedString(PP_Module module_id, PP_ResourceString string_id) { rv = UTF16ToUTF8(webkit_glue::GetLocalizedString(IDS_PDF_NEED_PASSWORD)); } else if (string_id == PP_RESOURCESTRING_PDFLOADING) { rv = UTF16ToUTF8(webkit_glue::GetLocalizedString(IDS_PDF_PAGE_LOADING)); + } else if (string_id == PP_RESOURCESTRING_PDFLOAD_FAILED) { + rv = UTF16ToUTF8(webkit_glue::GetLocalizedString(IDS_PDF_PAGE_LOAD_FAILED)); } else { NOTREACHED(); } diff --git a/webkit/glue/plugins/ppb_private.h b/webkit/glue/plugins/ppb_private.h index 0f2c448..b3d2b67 100644 --- a/webkit/glue/plugins/ppb_private.h +++ b/webkit/glue/plugins/ppb_private.h @@ -18,7 +18,8 @@ struct PP_FontDescription_Dev; typedef enum { PP_RESOURCESTRING_PDFGETPASSWORD = 0, - PP_RESOURCESTRING_PDFLOADING = 1 + PP_RESOURCESTRING_PDFLOADING = 1, + PP_RESOURCESTRING_PDFLOAD_FAILED = 2, } PP_ResourceString; typedef enum { |