Index: fpdfsdk/javascript/JS_Define.h |
diff --git a/fpdfsdk/src/javascript/JS_Define.h b/fpdfsdk/javascript/JS_Define.h |
similarity index 97% |
rename from fpdfsdk/src/javascript/JS_Define.h |
rename to fpdfsdk/javascript/JS_Define.h |
index e16c5a097ab148377b67a96ce1c52c4f8600ca68..3c148cf35849fef190283a6cc9b8d3da89fd9cfe 100644 |
--- a/fpdfsdk/src/javascript/JS_Define.h |
+++ b/fpdfsdk/javascript/JS_Define.h |
@@ -4,21 +4,21 @@ |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
-#ifndef FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_ |
-#define FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_ |
+#ifndef FPDFSDK_JAVASCRIPT_JS_DEFINE_H_ |
+#define FPDFSDK_JAVASCRIPT_JS_DEFINE_H_ |
#include <vector> |
#include "fpdfsdk/include/jsapi/fxjs_v8.h" |
-#include "fpdfsdk/src/javascript/JS_Object.h" |
-#include "fpdfsdk/src/javascript/JS_Value.h" |
-#include "fpdfsdk/src/javascript/resource.h" |
+#include "fpdfsdk/javascript/JS_Object.h" |
+#include "fpdfsdk/javascript/JS_Value.h" |
+#include "fpdfsdk/javascript/resource.h" |
struct JSConstSpec { |
const wchar_t* pName; |
double number; |
const wchar_t* string; // NOLINT |
- uint8_t t; // 0:double 1:str |
+ uint8_t t; // 0:double 1:str |
}; |
struct JSPropertySpec { |
@@ -50,11 +50,11 @@ struct JSMethodSpec { |
#define BEGIN_JS_STATIC_PROP(js_class_name) \ |
JSPropertySpec js_class_name::JS_Class_Properties[] = { |
-#define JS_STATIC_PROP_ENTRY(prop_name) \ |
- { \ |
+#define JS_STATIC_PROP_ENTRY(prop_name) \ |
+ { \ |
JS_WIDESTRING(prop_name), get_##prop_name##_static, \ |
- set_##prop_name##_static \ |
- } \ |
+ set_##prop_name##_static \ |
+ } \ |
, |
#define END_JS_STATIC_PROP() \ |
@@ -490,4 +490,4 @@ void JSGlobalFunc(const char* func_name_string, |
CJS_Value::Type GET_VALUE_TYPE(v8::Local<v8::Value> p); |
-#endif // FPDFSDK_SRC_JAVASCRIPT_JS_DEFINE_H_ |
+#endif // FPDFSDK_JAVASCRIPT_JS_DEFINE_H_ |