summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Value.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/JS_Value.h')
-rw-r--r--fpdfsdk/javascript/JS_Value.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h
index 2d5a390fca..046d959e68 100644
--- a/fpdfsdk/javascript/JS_Value.h
+++ b/fpdfsdk/javascript/JS_Value.h
@@ -11,8 +11,6 @@
#include "fxjs/fxjs_v8.h"
-class CJS_Array;
-class CJS_Date;
class CJS_Document;
class CJS_Object;
class CJS_Runtime;
@@ -39,27 +37,6 @@ class CJS_Return {
v8::Local<v8::Value> return_;
};
-class CJS_Array {
- public:
- CJS_Array();
- explicit CJS_Array(v8::Local<v8::Array> pArray);
- CJS_Array(const CJS_Array& other);
- virtual ~CJS_Array();
-
- int GetLength(CJS_Runtime* pRuntime) const;
-
- // These two calls may re-enter JS (and hence invalidate objects).
- v8::Local<v8::Value> GetElement(CJS_Runtime* pRuntime, unsigned index) const;
- void SetElement(CJS_Runtime* pRuntime,
- unsigned index,
- v8::Local<v8::Value> value);
-
- v8::Local<v8::Value> ToV8Value() const { return m_pArray; }
-
- private:
- mutable v8::Local<v8::Array> m_pArray;
-};
-
double JS_GetDateTime();
int JS_GetYearFromTime(double dt);
int JS_GetMonthFromTime(double dt);