| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ |
| 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ |
| 9 | 9 |
| 10 #include "JS_Define.h" | 10 #include "JS_Define.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 explicit CJS_Zoomtype(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} | 96 explicit CJS_Zoomtype(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} |
| 97 ~CJS_Zoomtype() override {} | 97 ~CJS_Zoomtype() override {} |
| 98 | 98 |
| 99 DECLARE_JS_CLASS_CONST(); | 99 DECLARE_JS_CLASS_CONST(); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 /* ------------------------------ CJS_GlobalConsts -------------------------- */ | 102 /* ------------------------------ CJS_GlobalConsts -------------------------- */ |
| 103 | 103 |
| 104 class CJS_GlobalConsts : public CJS_Object { | 104 class CJS_GlobalConsts : public CJS_Object { |
| 105 public: | 105 public: |
| 106 static int Init(v8::Isolate* pIsolate); | 106 static int DefineJSObjects(v8::Isolate* pIsolate); |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 /* ------------------------------ CJS_GlobalArrays -------------------------- */ | 109 /* ------------------------------ CJS_GlobalArrays -------------------------- */ |
| 110 | 110 |
| 111 class CJS_GlobalArrays : public CJS_Object { | 111 class CJS_GlobalArrays : public CJS_Object { |
| 112 public: | 112 public: |
| 113 static int Init(v8::Isolate* pIsolate); | 113 static int DefineJSObjects(v8::Isolate* pIsolate); |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ | 116 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_CONSTS_H_ |
| OLD | NEW |