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

Side by Side Diff: fxjs/fxjse.h

Issue 2471353002: Remove FX_BOOL entirely. (Closed)
Patch Set: Fix nits now rather than later 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 | « fxjs/cfxjse_value.cpp ('k') | testing/libfuzzer/pdf_xml_fuzzer.cc » ('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 FXJS_FXJSE_H_ 7 #ifndef FXJS_FXJSE_H_
8 #define FXJS_FXJSE_H_ 8 #define FXJS_FXJSE_H_
9 9
10 #include "core/fxcrt/fx_string.h" 10 #include "core/fxcrt/fx_string.h"
(...skipping 10 matching lines...) Expand all
21 }; 21 };
22 22
23 typedef void (*FXJSE_FuncCallback)(CFXJSE_Value* pThis, 23 typedef void (*FXJSE_FuncCallback)(CFXJSE_Value* pThis,
24 const CFX_ByteStringC& szFuncName, 24 const CFX_ByteStringC& szFuncName,
25 CFXJSE_Arguments& args); 25 CFXJSE_Arguments& args);
26 typedef void (*FXJSE_PropAccessor)(CFXJSE_Value* pObject, 26 typedef void (*FXJSE_PropAccessor)(CFXJSE_Value* pObject,
27 const CFX_ByteStringC& szPropName, 27 const CFX_ByteStringC& szPropName,
28 CFXJSE_Value* pValue); 28 CFXJSE_Value* pValue);
29 typedef int32_t (*FXJSE_PropTypeGetter)(CFXJSE_Value* pObject, 29 typedef int32_t (*FXJSE_PropTypeGetter)(CFXJSE_Value* pObject,
30 const CFX_ByteStringC& szPropName, 30 const CFX_ByteStringC& szPropName,
31 FX_BOOL bQueryIn); 31 bool bQueryIn);
32 typedef FX_BOOL (*FXJSE_PropDeleter)(CFXJSE_Value* pObject, 32 typedef bool (*FXJSE_PropDeleter)(CFXJSE_Value* pObject,
33 const CFX_ByteStringC& szPropName); 33 const CFX_ByteStringC& szPropName);
34 34
35 enum FXJSE_ClassPropTypes { 35 enum FXJSE_ClassPropTypes {
36 FXJSE_ClassPropType_None, 36 FXJSE_ClassPropType_None,
37 FXJSE_ClassPropType_Property, 37 FXJSE_ClassPropType_Property,
38 FXJSE_ClassPropType_Method 38 FXJSE_ClassPropType_Method
39 }; 39 };
40 40
41 struct FXJSE_FUNCTION_DESCRIPTOR { 41 struct FXJSE_FUNCTION_DESCRIPTOR {
42 const FX_CHAR* name; 42 const FX_CHAR* name;
43 FXJSE_FuncCallback callbackProc; 43 FXJSE_FuncCallback callbackProc;
(...skipping 21 matching lines...) Expand all
65 65
66 void FXJSE_Initialize(); 66 void FXJSE_Initialize();
67 void FXJSE_Finalize(); 67 void FXJSE_Finalize();
68 68
69 v8::Isolate* FXJSE_Runtime_Create_Own(); 69 v8::Isolate* FXJSE_Runtime_Create_Own();
70 void FXJSE_Runtime_Release(v8::Isolate* pIsolate); 70 void FXJSE_Runtime_Release(v8::Isolate* pIsolate);
71 71
72 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Message); 72 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Message);
73 73
74 #endif // FXJS_FXJSE_H_ 74 #endif // FXJS_FXJSE_H_
OLDNEW
« no previous file with comments | « fxjs/cfxjse_value.cpp ('k') | testing/libfuzzer/pdf_xml_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698