summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_hostpseudomodel.cpp
diff options
context:
space:
mode:
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)