Split Consts into individual files
This CL splits the individual CJS classes out of the Consts.{cpp|h} files into
their own files.
Change-Id: I4497ee2dcb46205c1dc3f521d44a9046a8d7f067
Reviewed-on: https://pdfium-review.googlesource.com/16850
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
diff --git a/fpdfsdk/javascript/cjs_position.h b/fpdfsdk/javascript/cjs_position.h
new file mode 100644
index 0000000..9b81b62
--- /dev/null
+++ b/fpdfsdk/javascript/cjs_position.h
@@ -0,0 +1,21 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef FPDFSDK_JAVASCRIPT_CJS_POSITION_H_
+#define FPDFSDK_JAVASCRIPT_CJS_POSITION_H_
+
+#include "fpdfsdk/javascript/JS_Define.h"
+
+class CJS_Position : public CJS_Object {
+ public:
+ explicit CJS_Position(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
+ ~CJS_Position() override {}
+
+ DECLARE_JS_CLASS_BASE_PART();
+ DECLARE_JS_CLASS_CONST_PART();
+};
+
+#endif // FPDFSDK_JAVASCRIPT_CJS_POSITION_H_