diff options
author | Lei Zhang <thestig@chromium.org> | 2015-09-17 14:51:48 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-09-17 14:51:48 -0700 |
commit | e0947b37c012144cefb523a33e548d3fadc211d8 (patch) | |
tree | bf7c9a9266863c1f3d79ee2a0c1fab27d7ea5206 /core/src | |
parent | b693fc5525f7fdff68245e357ca628acd9d8918c (diff) | |
download | pdfium-e0947b37c012144cefb523a33e548d3fadc211d8.tar.xz |
Merge to XFA: 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=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1335373002 .
(cherry picked from commit 0b3c8f742613da294f812e2f6e908f4026499f96)
(cherry picked from commit a9d4bc541179ec0436adc4b2e18b7fdecc5952dc)
(cherry picked from commit 4ffd89ed556e32a6527d0e88952fe20ec1e2f362)
Review URL: https://codereview.chromium.org/1345953002 .
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/fpdfdoc/doc_action.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
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) { |