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

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

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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/fxfa.h ('k') | xfa/fxfa/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_FXFA_BASIC_H_ 7 #ifndef XFA_FXFA_FXFA_BASIC_H_
8 #define XFA_FXFA_FXFA_BASIC_H_ 8 #define XFA_FXFA_FXFA_BASIC_H_
9 9
10 #include "fxjs/cfxjse_arguments.h" 10 #include "fxjs/cfxjse_arguments.h"
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 class CXFA_Object; 1002 class CXFA_Object;
1003 1003
1004 typedef void (CXFA_Object::*XFA_METHOD_CALLBACK)(CFXJSE_Arguments* pArguments); 1004 typedef void (CXFA_Object::*XFA_METHOD_CALLBACK)(CFXJSE_Arguments* pArguments);
1005 struct XFA_METHODINFO { 1005 struct XFA_METHODINFO {
1006 uint32_t uHash; 1006 uint32_t uHash;
1007 const FX_WCHAR* pName; 1007 const FX_WCHAR* pName;
1008 XFA_METHOD_CALLBACK lpfnCallback; 1008 XFA_METHOD_CALLBACK lpfnCallback;
1009 }; 1009 };
1010 1010
1011 typedef void (CXFA_Object::*XFA_ATTRIBUTE_CALLBACK)(CFXJSE_Value* pValue, 1011 typedef void (CXFA_Object::*XFA_ATTRIBUTE_CALLBACK)(CFXJSE_Value* pValue,
1012 FX_BOOL bSetting, 1012 bool bSetting,
1013 XFA_ATTRIBUTE eAttribute); 1013 XFA_ATTRIBUTE eAttribute);
1014 enum XFA_SCRIPT_TYPE { 1014 enum XFA_SCRIPT_TYPE {
1015 XFA_SCRIPT_Basic, 1015 XFA_SCRIPT_Basic,
1016 XFA_SCRIPT_Object, 1016 XFA_SCRIPT_Object,
1017 }; 1017 };
1018 struct XFA_SCRIPTATTRIBUTEINFO { 1018 struct XFA_SCRIPTATTRIBUTEINFO {
1019 uint32_t uHash; 1019 uint32_t uHash;
1020 const FX_WCHAR* pName; 1020 const FX_WCHAR* pName;
1021 XFA_ATTRIBUTE_CALLBACK lpfnCallback; 1021 XFA_ATTRIBUTE_CALLBACK lpfnCallback;
1022 int32_t eAttribute; 1022 int32_t eAttribute;
1023 uint16_t eValueType; 1023 uint16_t eValueType;
1024 }; 1024 };
1025 1025
1026 #endif // XFA_FXFA_FXFA_BASIC_H_ 1026 #endif // XFA_FXFA_FXFA_BASIC_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/fxfa.h ('k') | xfa/fxfa/fxfa_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698