From e0518bf0a0e703b1e010081079c988f011834cb6 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 8 Feb 2018 21:44:59 +0000 Subject: 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 Reviewed-by: dsinclair --- fxjs/xfa/cjx_source.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'fxjs/xfa/cjx_source.cpp') diff --git a/fxjs/xfa/cjx_source.cpp b/fxjs/xfa/cjx_source.cpp index 399a6c3664..7576e7718d 100644 --- a/fxjs/xfa/cjx_source.cpp +++ b/fxjs/xfa/cjx_source.cpp @@ -37,7 +37,7 @@ CJX_Source::CJX_Source(CXFA_Source* src) : CJX_Node(src) { CJX_Source::~CJX_Source() {} -CJS_Return CJX_Source::next(CJS_V8* runtime, +CJS_Return CJX_Source::next(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -45,14 +45,14 @@ CJS_Return CJX_Source::next(CJS_V8* runtime, } CJS_Return CJX_Source::cancelBatch( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::first(CJS_V8* runtime, +CJS_Return CJX_Source::first(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -60,7 +60,7 @@ CJS_Return CJX_Source::first(CJS_V8* runtime, } CJS_Return CJX_Source::updateBatch( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -68,42 +68,42 @@ CJS_Return CJX_Source::updateBatch( } CJS_Return CJX_Source::previous( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::isBOF(CJS_V8* runtime, +CJS_Return CJX_Source::isBOF(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::isEOF(CJS_V8* runtime, +CJS_Return CJX_Source::isEOF(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::cancel(CJS_V8* runtime, +CJS_Return CJX_Source::cancel(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::update(CJS_V8* runtime, +CJS_Return CJX_Source::update(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::open(CJS_V8* runtime, +CJS_Return CJX_Source::open(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -111,14 +111,14 @@ CJS_Return CJX_Source::open(CJS_V8* runtime, } CJS_Return CJX_Source::deleteItem( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::addNew(CJS_V8* runtime, +CJS_Return CJX_Source::addNew(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -126,28 +126,28 @@ CJS_Return CJX_Source::addNew(CJS_V8* runtime, } CJS_Return CJX_Source::requery( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::resync(CJS_V8* runtime, +CJS_Return CJX_Source::resync(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::close(CJS_V8* runtime, +CJS_Return CJX_Source::close(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); return CJS_Return(true); } -CJS_Return CJX_Source::last(CJS_V8* runtime, +CJS_Return CJX_Source::last(CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); @@ -155,7 +155,7 @@ CJS_Return CJX_Source::last(CJS_V8* runtime, } CJS_Return CJX_Source::hasDataChanged( - CJS_V8* runtime, + CFX_V8* runtime, const std::vector>& params) { if (!params.empty()) return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); -- cgit v1.2.3