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

Side by Side Diff: xfa/fxfa/include/fxfa_basic.h

Issue 2012253002: Remove FXJSE_HOBJECT and FXJSE_HVALUE for CFXJSE_Value* (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@fxjse_hclass
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « xfa/fxfa/include/fxfa.h ('k') | xfa/fxfa/include/fxfa_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FXFA_INCLUDE_FXFA_BASIC_H_ 7 #ifndef XFA_FXFA_INCLUDE_FXFA_BASIC_H_
8 #define XFA_FXFA_INCLUDE_FXFA_BASIC_H_ 8 #define XFA_FXFA_INCLUDE_FXFA_BASIC_H_
9 9
10 #include "xfa/fxjse/cfxjse_arguments.h" 10 #include "xfa/fxjse/cfxjse_arguments.h"
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 1056
1057 typedef void (CXFA_Object::*XFA_METHOD_CALLBACK)(CFXJSE_Arguments* pArguments); 1057 typedef void (CXFA_Object::*XFA_METHOD_CALLBACK)(CFXJSE_Arguments* pArguments);
1058 struct XFA_METHODINFO { 1058 struct XFA_METHODINFO {
1059 uint32_t uHash; 1059 uint32_t uHash;
1060 const FX_WCHAR* pName; 1060 const FX_WCHAR* pName;
1061 XFA_METHOD_CALLBACK lpfnCallback; 1061 XFA_METHOD_CALLBACK lpfnCallback;
1062 }; 1062 };
1063 1063
1064 const XFA_METHODINFO* XFA_GetMethodByName(XFA_ELEMENT eElement, 1064 const XFA_METHODINFO* XFA_GetMethodByName(XFA_ELEMENT eElement,
1065 const CFX_WideStringC& wsMethodName); 1065 const CFX_WideStringC& wsMethodName);
1066 typedef void (CXFA_Object::*XFA_ATTRIBUTE_CALLBACK)(FXJSE_HVALUE hValue, 1066 typedef void (CXFA_Object::*XFA_ATTRIBUTE_CALLBACK)(CFXJSE_Value* pValue,
1067 FX_BOOL bSetting, 1067 FX_BOOL bSetting,
1068 XFA_ATTRIBUTE eAttribute); 1068 XFA_ATTRIBUTE eAttribute);
1069 enum XFA_SCRIPT_TYPE { 1069 enum XFA_SCRIPT_TYPE {
1070 XFA_SCRIPT_Basic, 1070 XFA_SCRIPT_Basic,
1071 XFA_SCRIPT_Object, 1071 XFA_SCRIPT_Object,
1072 }; 1072 };
1073 struct XFA_SCRIPTATTRIBUTEINFO { 1073 struct XFA_SCRIPTATTRIBUTEINFO {
1074 uint32_t uHash; 1074 uint32_t uHash;
1075 const FX_WCHAR* pName; 1075 const FX_WCHAR* pName;
1076 XFA_ATTRIBUTE_CALLBACK lpfnCallback; 1076 XFA_ATTRIBUTE_CALLBACK lpfnCallback;
1077 int32_t eAttribute; 1077 int32_t eAttribute;
1078 uint16_t eValueType; 1078 uint16_t eValueType;
1079 }; 1079 };
1080 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName( 1080 const XFA_SCRIPTATTRIBUTEINFO* XFA_GetScriptAttributeByName(
1081 XFA_ELEMENT eElement, 1081 XFA_ELEMENT eElement,
1082 const CFX_WideStringC& wsAttributeName); 1082 const CFX_WideStringC& wsAttributeName);
1083 1083
1084 #endif // XFA_FXFA_INCLUDE_FXFA_BASIC_H_ 1084 #endif // XFA_FXFA_INCLUDE_FXFA_BASIC_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/include/fxfa.h ('k') | xfa/fxfa/include/fxfa_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698