summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-01 06:10:04 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-01 06:10:04 -0700
commite80e9f8fc221a7639b6a38bd46bc44bca26481d0 (patch)
tree44be9482610b3320e9606b336a2053d03b07258e /xfa/fxfa/fm2js/xfa_fm2jscontext.h
parent8f3a31157843d6e3b2ba55acf3aaa5aa81db09e2 (diff)
downloadpdfium-e80e9f8fc221a7639b6a38bd46bc44bca26481d0.tar.xz
Remove XFA_HFM2JSCONTEXT.
This CL removes XFA_HFM2JSCONTEXT and the supporting code. XFA_HFM2JSCONTEXT was replaced by CXFA_FM2JSContext. The translate method was moved to CXFA_FM2JSContext. Review-Url: https://codereview.chromium.org/2024833003
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fm2jscontext.h')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jscontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
index 2af67f62cf..a5270092e8 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
@@ -432,6 +432,10 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject {
static void ValueToUTF8String(CFXJSE_Value* pValue,
CFX_ByteString& outputValue);
+ static int32_t Translate(const CFX_WideStringC& wsFormcalc,
+ CFX_WideTextBuf& wsJavascript,
+ CFX_WideString& wsError);
+
CXFA_FM2JSContext(v8::Isolate* pScriptIsolate,
CFXJSE_Context* pScriptContext,
CXFA_Document* pDoc);