Move XFA_ATTRIBUTE_CALLBACK from fxjs/ to xfa/ directory It is not used in fxjs/xfa, only under xfa/parser. Change-Id: Ib3e47284401a6dbeaa2eb9b16c3e24c71c1a4bf2 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/74851 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fxjs/xfa/cjx_object.h b/fxjs/xfa/cjx_object.h index c4281ee..9a01b76 100644 --- a/fxjs/xfa/cjx_object.h +++ b/fxjs/xfa/cjx_object.h
@@ -279,9 +279,4 @@ size_t calc_recursion_count_ = 0; }; -typedef void (*XFA_ATTRIBUTE_CALLBACK)(CJX_Object* pNode, - CFXJSE_Value* pValue, - bool bSetting, - XFA_Attribute eAttribute); - #endif // FXJS_XFA_CJX_OBJECT_H_
diff --git a/xfa/fxfa/parser/xfa_basic_data.h b/xfa/fxfa/parser/xfa_basic_data.h index 4c3e0c7..f342847 100644 --- a/xfa/fxfa/parser/xfa_basic_data.h +++ b/xfa/fxfa/parser/xfa_basic_data.h
@@ -14,6 +14,11 @@ #include "third_party/base/optional.h" #include "xfa/fxfa/fxfa_basic.h" +typedef void (*XFA_ATTRIBUTE_CALLBACK)(CJX_Object* pNode, + CFXJSE_Value* pValue, + bool bSetting, + XFA_Attribute eAttribute); + struct XFA_PACKETINFO { const wchar_t* name; XFA_PacketType packet_type;