summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_hostpseudomodel.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-08 21:44:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-08 21:44:59 +0000
commite0518bf0a0e703b1e010081079c988f011834cb6 (patch)
treebe2df97b073ae847792cdb551868ec101b96c8cd /fxjs/xfa/cjx_hostpseudomodel.cpp
parent3645652fb6cad1f94c9647f033a8e300bc37d521 (diff)
downloadpdfium-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_hostpseudomodel.cpp')
-rw-r--r--fxjs/xfa/cjx_hostpseudomodel.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/fxjs/xfa/cjx_hostpseudomodel.cpp b/fxjs/xfa/cjx_hostpseudomodel.cpp
index fd570990bc..5c63fc8986 100644
--- a/fxjs/xfa/cjx_hostpseudomodel.cpp
+++ b/fxjs/xfa/cjx_hostpseudomodel.cpp
@@ -246,7 +246,7 @@ void CJX_HostPseudoModel::name(CFXJSE_Value* pValue,
}
CJS_Return CJX_HostPseudoModel::gotoURL(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!GetDocument()->GetScriptContext()->IsRunAtClient())
return CJS_Return(true);
@@ -265,7 +265,7 @@ CJS_Return CJX_HostPseudoModel::gotoURL(
}
CJS_Return CJX_HostPseudoModel::openList(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!GetDocument()->GetScriptContext()->IsRunAtClient())
return CJS_Return(true);
@@ -317,7 +317,7 @@ CJS_Return CJX_HostPseudoModel::openList(
}
CJS_Return CJX_HostPseudoModel::response(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.empty() || params.size() > 4)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -348,13 +348,13 @@ CJS_Return CJX_HostPseudoModel::response(
}
CJS_Return CJX_HostPseudoModel::documentInBatch(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
return CJS_Return(runtime->NewNumber(0));
}
CJS_Return CJX_HostPseudoModel::resetData(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.size() > 1)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -404,7 +404,7 @@ CJS_Return CJX_HostPseudoModel::resetData(
}
CJS_Return CJX_HostPseudoModel::beep(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!GetDocument()->GetScriptContext()->IsRunAtClient())
return CJS_Return(true);
@@ -425,7 +425,7 @@ CJS_Return CJX_HostPseudoModel::beep(
}
CJS_Return CJX_HostPseudoModel::setFocus(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!GetDocument()->GetScriptContext()->IsRunAtClient())
return CJS_Return(true);
@@ -468,7 +468,7 @@ CJS_Return CJX_HostPseudoModel::setFocus(
}
CJS_Return CJX_HostPseudoModel::getFocus(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
CXFA_FFNotify* pNotify = GetDocument()->GetNotify();
if (!pNotify)
@@ -487,7 +487,7 @@ CJS_Return CJX_HostPseudoModel::getFocus(
}
CJS_Return CJX_HostPseudoModel::messageBox(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!GetDocument()->GetScriptContext()->IsRunAtClient())
return CJS_Return(true);
@@ -527,13 +527,13 @@ CJS_Return CJX_HostPseudoModel::messageBox(
}
CJS_Return CJX_HostPseudoModel::documentCountInBatch(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
return CJS_Return(runtime->NewNumber(0));
}
CJS_Return CJX_HostPseudoModel::print(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (!GetDocument()->GetScriptContext()->IsRunAtClient())
return CJS_Return(true);
@@ -568,7 +568,7 @@ CJS_Return CJX_HostPseudoModel::print(
}
CJS_Return CJX_HostPseudoModel::importData(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
if (params.empty() || params.size() > 1)
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
@@ -577,7 +577,7 @@ CJS_Return CJX_HostPseudoModel::importData(
}
CJS_Return CJX_HostPseudoModel::exportData(
- 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));
@@ -599,7 +599,7 @@ CJS_Return CJX_HostPseudoModel::exportData(
}
CJS_Return CJX_HostPseudoModel::pageUp(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
CXFA_FFNotify* pNotify = GetDocument()->GetNotify();
if (!pNotify)
@@ -617,7 +617,7 @@ CJS_Return CJX_HostPseudoModel::pageUp(
}
CJS_Return CJX_HostPseudoModel::pageDown(
- CJS_V8* runtime,
+ CFX_V8* runtime,
const std::vector<v8::Local<v8::Value>>& params) {
CXFA_FFNotify* pNotify = GetDocument()->GetNotify();
if (!pNotify)