From 0b3c8f742613da294f812e2f6e908f4026499f96 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 15 Sep 2015 14:45:29 -0700 Subject: Implement FPDFAction_GetFilePath(). The API is the same as the Foxit version, except the encoding is specified as UTF-8 instead of local encoding. Also remove CPDF_LWinParam since it's unused. BUG=chromium:517713 R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/1335373002 . --- core/src/fpdfdoc/doc_action.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'core/src/fpdfdoc') diff --git a/core/src/fpdfdoc/doc_action.cpp b/core/src/fpdfdoc/doc_action.cpp index f8a11e5682..759a06c656 100644 --- a/core/src/fpdfdoc/doc_action.cpp +++ b/core/src/fpdfdoc/doc_action.cpp @@ -179,15 +179,7 @@ CPDF_Object* CPDF_ActionFields::GetField(FX_DWORD iIndex) const { } return pFindObj; } -CPDF_LWinParam CPDF_Action::GetWinParam() const { - if (m_pDict == NULL) { - return NULL; - } - if (m_pDict->GetString("S") != "Launch") { - return NULL; - } - return m_pDict->GetDict("Win"); -} + CFX_WideString CPDF_Action::GetJavaScript() const { CFX_WideString csJS; if (m_pDict == NULL) { -- cgit v1.2.3