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

Side by Side Diff: xfa/include/fxjse/fxjse.h

Issue 1730553002: Fixing whitespace lint errors. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review fixes Created 4 years, 10 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/include/fwl/core/fwl_note.h ('k') | xfa/src/fdp/src/css/fde_cssdatatable.cpp » ('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_INCLUDE_FXJSE_FXJSE_H_ 7 #ifndef XFA_INCLUDE_FXJSE_FXJSE_H_
8 #define XFA_INCLUDE_FXJSE_FXJSE_H_ 8 #define XFA_INCLUDE_FXJSE_FXJSE_H_
9 9
10 #include "core/include/fpdfapi/fpdf_parser.h" 10 #include "core/include/fpdfapi/fpdf_parser.h"
11 #include "core/include/fxcrt/fx_string.h" 11 #include "core/include/fxcrt/fx_string.h"
12 #include "core/include/fxcrt/fx_system.h" 12 #include "core/include/fxcrt/fx_system.h"
13 13
14 class CPDFDoc_Environment; 14 class CPDFDoc_Environment;
15 class CPDF_Page; 15 class CPDF_Page;
16 struct FXJSE_CLASS; 16 struct FXJSE_CLASS;
17 17
18 typedef struct FXJSE_HRUNTIME_ { void* pData; } * FXJSE_HRUNTIME; 18 typedef struct FXJSE_HRUNTIME_ { void* pData; } * FXJSE_HRUNTIME;
19 typedef struct FXJSE_HCONTEXT_ { void* pData; } * FXJSE_HCONTEXT; 19 typedef struct FXJSE_HCONTEXT_ { void* pData; } * FXJSE_HCONTEXT;
20 typedef struct FXJSE_HCLASS_ { void* pData; } * FXJSE_HCLASS; 20 typedef struct FXJSE_HCLASS_ { void* pData; } * FXJSE_HCLASS;
21 typedef struct FXJSE_HVALUE_ { void* pData; } * FXJSE_HVALUE; 21 typedef struct FXJSE_HVALUE_ { void* pData; } * FXJSE_HVALUE;
22 // NOLINTNEXTLINE
22 typedef struct FXJSE_HOBJECT_ : public FXJSE_HVALUE_{} * FXJSE_HOBJECT; 23 typedef struct FXJSE_HOBJECT_ : public FXJSE_HVALUE_{} * FXJSE_HOBJECT;
23 typedef double FXJSE_DOUBLE; 24 typedef double FXJSE_DOUBLE;
24 25
25 void FXJSE_Initialize(); 26 void FXJSE_Initialize();
26 void FXJSE_Finalize(); 27 void FXJSE_Finalize();
27 FXJSE_HRUNTIME FXJSE_Runtime_Create(); 28 FXJSE_HRUNTIME FXJSE_Runtime_Create();
28 void FXJSE_Runtime_Release(FXJSE_HRUNTIME hRuntime, bool bOwnedRuntime); 29 void FXJSE_Runtime_Release(FXJSE_HRUNTIME hRuntime, bool bOwnedRuntime);
29 30
30 FXJSE_HCONTEXT FXJSE_Context_Create(FXJSE_HRUNTIME hRuntime, 31 FXJSE_HCONTEXT FXJSE_Context_Create(FXJSE_HRUNTIME hRuntime,
31 const FXJSE_CLASS* lpGlobalClass = nullptr, 32 const FXJSE_CLASS* lpGlobalClass = nullptr,
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Name, 169 void FXJSE_ThrowMessage(const CFX_ByteStringC& utf8Name,
169 const CFX_ByteStringC& utf8Message); 170 const CFX_ByteStringC& utf8Message);
170 FX_BOOL FXJSE_ReturnValue_GetMessage(FXJSE_HVALUE hRetValue, 171 FX_BOOL FXJSE_ReturnValue_GetMessage(FXJSE_HVALUE hRetValue,
171 CFX_ByteString& utf8Name, 172 CFX_ByteString& utf8Name,
172 CFX_ByteString& utf8Message); 173 CFX_ByteString& utf8Message);
173 FX_BOOL FXJSE_ReturnValue_GetLineInfo(FXJSE_HVALUE hRetValue, 174 FX_BOOL FXJSE_ReturnValue_GetLineInfo(FXJSE_HVALUE hRetValue,
174 int32_t& nLine, 175 int32_t& nLine,
175 int32_t& nCol); 176 int32_t& nCol);
176 177
177 #endif // XFA_INCLUDE_FXJSE_FXJSE_H_ 178 #endif // XFA_INCLUDE_FXJSE_FXJSE_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/core/fwl_note.h ('k') | xfa/src/fdp/src/css/fde_cssdatatable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698