summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/app.cpp')
-rw-r--r--fpdfsdk/src/javascript/app.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp
index 03043e3a4d..602bfaee93 100644
--- a/fpdfsdk/src/javascript/app.cpp
+++ b/fpdfsdk/src/javascript/app.cpp
@@ -493,23 +493,7 @@ FX_BOOL app::popUpMenuEx(OBJ_METHOD_PARAMS)
FX_BOOL app::fs(OBJ_PROP_PARAMS)
{
-#ifdef FOXIT_CHROME_BUILD
return FALSE;
-#else
- CJS_Context* pContext = (CJS_Context*)cc;
- ASSERT(pContext != NULL);
- CJS_Runtime* pRuntime = pContext->GetJSRuntime();
- ASSERT(pRuntime != NULL);
-
- if (vp.IsGetting())
- {
- return TRUE;
- }
- else
- {
- return TRUE;
- }
-#endif
}
FX_BOOL app::setInterval(OBJ_METHOD_PARAMS)
@@ -1043,11 +1027,7 @@ FX_BOOL app::response(OBJ_METHOD_PARAMS)
{
CFX_WideString swQuestion = L"";
CFX_WideString swLabel = L"";
-#ifndef FOXIT_CHROME_BUILD
- CFX_WideString swTitle = L"Foxit";
-#else
CFX_WideString swTitle = L"PDF";
-#endif
CFX_WideString swDefault = L"";
bool bPassWord = false;