Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: xfa/fxjse/include/fxjse.h

Issue 2010013003: Rename FXJSE_CLASS to avoid confusion with CFXJSE_CLASS (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rename member Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxjse/dynprop.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxjse/include/fxjse.h
diff --git a/xfa/fxjse/include/fxjse.h b/xfa/fxjse/include/fxjse.h
index 44843030464b03689c9baddada599e49e6f1be3f..e5d80ca24553efab3ecb1e7b64919adf2eca997f 100644
--- a/xfa/fxjse/include/fxjse.h
+++ b/xfa/fxjse/include/fxjse.h
@@ -39,22 +39,22 @@ enum FXJSE_CompatibleModeFlags {
FXJSE_COMPATIBLEMODEFLAGCOUNT = 1,
};
-struct FXJSE_FUNCTION {
+struct FXJSE_FUNCTION_DESCRIPTOR {
const FX_CHAR* name;
FXJSE_FuncCallback callbackProc;
};
-struct FXJSE_PROPERTY {
+struct FXJSE_PROPERTY_DESCRIPTOR {
const FX_CHAR* name;
FXJSE_PropAccessor getProc;
FXJSE_PropAccessor setProc;
};
-struct FXJSE_CLASS {
+struct FXJSE_CLASS_DESCRIPTOR {
const FX_CHAR* name;
FXJSE_FuncCallback constructor;
- FXJSE_PROPERTY* properties;
- FXJSE_FUNCTION* methods;
+ FXJSE_PROPERTY_DESCRIPTOR* properties;
+ FXJSE_FUNCTION_DESCRIPTOR* methods;
int32_t propNum;
int32_t methNum;
FXJSE_PropTypeGetter dynPropTypeGetter;
@@ -70,9 +70,10 @@ void FXJSE_Finalize();
v8::Isolate* FXJSE_Runtime_Create();
void FXJSE_Runtime_Release(v8::Isolate* pIsolate, bool bOwnedRuntime);
-CFXJSE_Context* FXJSE_Context_Create(v8::Isolate* pIsolate,
- const FXJSE_CLASS* lpGlobalClass = nullptr,
- void* lpGlobalObject = nullptr);
+CFXJSE_Context* FXJSE_Context_Create(
+ v8::Isolate* pIsolate,
+ const FXJSE_CLASS_DESCRIPTOR* lpGlobalClass = nullptr,
+ void* lpGlobalObject = nullptr);
void FXJSE_Context_Release(CFXJSE_Context* pContext);
CFXJSE_Value* FXJSE_Context_GetGlobalObject(CFXJSE_Context* pContext);
@@ -80,7 +81,7 @@ void FXJSE_Context_EnableCompatibleMode(CFXJSE_Context* pContext,
uint32_t dwCompatibleFlags);
CFXJSE_Class* FXJSE_DefineClass(CFXJSE_Context* pContext,
- const FXJSE_CLASS* lpClass);
+ const FXJSE_CLASS_DESCRIPTOR* lpClass);
CFXJSE_Value* FXJSE_Value_Create(v8::Isolate* pIsolate);
void FXJSE_Value_Release(CFXJSE_Value* pValue);
« no previous file with comments | « xfa/fxjse/dynprop.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698