diff options
author | dsinclair <dsinclair@chromium.org> | 2016-03-31 20:03:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-31 20:03:24 -0700 |
commit | 64376be4aac4710848b36b823fd98aae75095336 (patch) | |
tree | b616a397d96e05b9e30ccc7de2e4e6a4334a6a59 /fpdfsdk/javascript/Consts.h | |
parent | 777b333109db7fceb5f2ca1fc521ced7f863fa18 (diff) | |
download | pdfium-64376be4aac4710848b36b823fd98aae75095336.tar.xz |
Move the fpdfsdk/include/javascript folder
This CL splits the IJavaScript.h file into the two inner classes and puts them
in the fpdfsdk/javascript folder.
Review URL: https://codereview.chromium.org/1847583004
Diffstat (limited to 'fpdfsdk/javascript/Consts.h')
-rw-r--r-- | fpdfsdk/javascript/Consts.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/fpdfsdk/javascript/Consts.h b/fpdfsdk/javascript/Consts.h index 165e91ffaa..e358cb9341 100644 --- a/fpdfsdk/javascript/Consts.h +++ b/fpdfsdk/javascript/Consts.h @@ -9,8 +9,6 @@ #include "fpdfsdk/javascript/JS_Define.h" -/* ------------------------------ border ------------------------------ */ - class CJS_Border : public CJS_Object { public: explicit CJS_Border(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -19,8 +17,6 @@ class CJS_Border : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ display ------------------------------ */ - class CJS_Display : public CJS_Object { public: explicit CJS_Display(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -29,8 +25,6 @@ class CJS_Display : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ font ------------------------------ */ - class CJS_Font : public CJS_Object { public: explicit CJS_Font(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -39,8 +33,6 @@ class CJS_Font : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ highlight ------------------------------ */ - class CJS_Highlight : public CJS_Object { public: explicit CJS_Highlight(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -49,8 +41,6 @@ class CJS_Highlight : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ position ------------------------------ */ - class CJS_Position : public CJS_Object { public: explicit CJS_Position(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -59,8 +49,6 @@ class CJS_Position : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ scaleHow ------------------------------ */ - class CJS_ScaleHow : public CJS_Object { public: explicit CJS_ScaleHow(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -69,8 +57,6 @@ class CJS_ScaleHow : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ scaleWhen ------------------------------ */ - class CJS_ScaleWhen : public CJS_Object { public: explicit CJS_ScaleWhen(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -79,8 +65,6 @@ class CJS_ScaleWhen : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ style ------------------------------ */ - class CJS_Style : public CJS_Object { public: explicit CJS_Style(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -89,8 +73,6 @@ class CJS_Style : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ zoomtype ------------------------------ */ - class CJS_Zoomtype : public CJS_Object { public: explicit CJS_Zoomtype(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} @@ -99,15 +81,11 @@ class CJS_Zoomtype : public CJS_Object { DECLARE_JS_CLASS_CONST(); }; -/* ------------------------------ CJS_GlobalConsts -------------------------- */ - class CJS_GlobalConsts : public CJS_Object { public: static void DefineJSObjects(CJS_Runtime* pRuntime); }; -/* ------------------------------ CJS_GlobalArrays -------------------------- */ - class CJS_GlobalArrays : public CJS_Object { public: static void DefineJSObjects(CJS_Runtime* pRuntmie); |