diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-02-08 21:44:59 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-08 21:44:59 +0000 |
commit | e0518bf0a0e703b1e010081079c988f011834cb6 (patch) | |
tree | be2df97b073ae847792cdb551868ec101b96c8cd /fxjs/xfa/cjx_node.cpp | |
parent | 3645652fb6cad1f94c9647f033a8e300bc37d521 (diff) | |
download | pdfium-e0518bf0a0e703b1e010081079c988f011834cb6.tar.xz |
Move cjs_v8.cpp to cfx_v8.cpp
The layering should be CJS => CFXJS => CFX_V8 with the CJS name
being higher up.
Change-Id: Ic130f248906e9c4df641dd508389b0555786b999
Reviewed-on: https://pdfium-review.googlesource.com/26051
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_node.cpp')
-rw-r--r-- | fxjs/xfa/cjx_node.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/fxjs/xfa/cjx_node.cpp b/fxjs/xfa/cjx_node.cpp index 8c49b6f1e4..b1749d6025 100644 --- a/fxjs/xfa/cjx_node.cpp +++ b/fxjs/xfa/cjx_node.cpp @@ -109,7 +109,7 @@ const CXFA_Node* CJX_Node::GetXFANode() const { return static_cast<const CXFA_Node*>(GetXFAObject()); } -CJS_Return CJX_Node::applyXSL(CJS_V8* runtime, +CJS_Return CJX_Node::applyXSL(CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.size() != 1) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -119,7 +119,7 @@ CJS_Return CJX_Node::applyXSL(CJS_V8* runtime, } CJS_Return CJX_Node::assignNode( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.empty() || params.size() > 3) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -128,7 +128,7 @@ CJS_Return CJX_Node::assignNode( return CJS_Return(true); } -CJS_Return CJX_Node::clone(CJS_V8* runtime, +CJS_Return CJX_Node::clone(CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.size() != 1) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -142,7 +142,7 @@ CJS_Return CJX_Node::clone(CJS_V8* runtime, } CJS_Return CJX_Node::getAttribute( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.size() != 1) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -153,7 +153,7 @@ CJS_Return CJX_Node::getAttribute( } CJS_Return CJX_Node::getElement( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.empty() || params.size() > 2) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -174,7 +174,7 @@ CJS_Return CJX_Node::getElement( } CJS_Return CJX_Node::isPropertySpecified( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.empty() || params.size() > 3) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -197,7 +197,7 @@ CJS_Return CJX_Node::isPropertySpecified( return CJS_Return(runtime->NewBoolean(bHas)); } -CJS_Return CJX_Node::loadXML(CJS_V8* runtime, +CJS_Return CJX_Node::loadXML(CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.empty() || params.size() > 3) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -318,13 +318,13 @@ CJS_Return CJX_Node::loadXML(CJS_V8* runtime, } CJS_Return CJX_Node::saveFilteredXML( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { // TODO(weili): Check whether we need to implement this, pdfium:501. return CJS_Return(true); } -CJS_Return CJX_Node::saveXML(CJS_V8* runtime, +CJS_Return CJX_Node::saveXML(CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.size() > 1) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -366,7 +366,7 @@ CJS_Return CJX_Node::saveXML(CJS_V8* runtime, } CJS_Return CJX_Node::setAttribute( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.size() != 2) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -378,7 +378,7 @@ CJS_Return CJX_Node::setAttribute( } CJS_Return CJX_Node::setElement( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector<v8::Local<v8::Value>>& params) { if (params.size() != 1 && params.size() != 2) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); |