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

Side by Side Diff: core/fxcrt/fx_arabic.h

Issue 2477443002: Remove FX_BOOL from core (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 | « core/fxcrt/extension.h ('k') | core/fxcrt/fx_arabic.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 CORE_FXCRT_FX_ARABIC_H_ 7 #ifndef CORE_FXCRT_FX_ARABIC_H_
8 #define CORE_FXCRT_FX_ARABIC_H_ 8 #define CORE_FXCRT_FX_ARABIC_H_
9 9
10 #include "core/fxcrt/fx_arb.h" 10 #include "core/fxcrt/fx_arb.h"
(...skipping 18 matching lines...) Expand all
29 29
30 void FX_BidiReverseString(CFX_WideString& wsText, 30 void FX_BidiReverseString(CFX_WideString& wsText,
31 int32_t iStart, 31 int32_t iStart,
32 int32_t iCount); 32 int32_t iCount);
33 void FX_BidiSetDeferredRun(CFX_Int32Array& values, 33 void FX_BidiSetDeferredRun(CFX_Int32Array& values,
34 int32_t iStart, 34 int32_t iStart,
35 int32_t iCount, 35 int32_t iCount,
36 int32_t iValue); 36 int32_t iValue);
37 void FX_BidiClassify(const CFX_WideString& wsText, 37 void FX_BidiClassify(const CFX_WideString& wsText,
38 CFX_Int32Array& classes, 38 CFX_Int32Array& classes,
39 FX_BOOL bWS = FALSE); 39 bool bWS = false);
40 int32_t FX_BidiResolveExplicit(int32_t iBaseLevel, 40 int32_t FX_BidiResolveExplicit(int32_t iBaseLevel,
41 int32_t iDirection, 41 int32_t iDirection,
42 CFX_Int32Array& classes, 42 CFX_Int32Array& classes,
43 CFX_Int32Array& levels, 43 CFX_Int32Array& levels,
44 int32_t iStart, 44 int32_t iStart,
45 int32_t iCount, 45 int32_t iCount,
46 int32_t iNest = 0); 46 int32_t iNest = 0);
47 47
48 enum FX_BIDIWEAKSTATE { 48 enum FX_BIDIWEAKSTATE {
49 FX_BIDIWEAKSTATE_xa = 0, 49 FX_BIDIWEAKSTATE_xa = 0,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const CFX_Int32Array& levels); 173 const CFX_Int32Array& levels);
174 void FX_BidiResolveImplicit(const CFX_Int32Array& classes, 174 void FX_BidiResolveImplicit(const CFX_Int32Array& classes,
175 CFX_Int32Array& levels); 175 CFX_Int32Array& levels);
176 void FX_BidiResolveWhitespace(int32_t iBaseLevel, 176 void FX_BidiResolveWhitespace(int32_t iBaseLevel,
177 const CFX_Int32Array& classes, 177 const CFX_Int32Array& classes,
178 CFX_Int32Array& levels); 178 CFX_Int32Array& levels);
179 int32_t FX_BidiReorderLevel(int32_t iBaseLevel, 179 int32_t FX_BidiReorderLevel(int32_t iBaseLevel,
180 CFX_WideString& wsText, 180 CFX_WideString& wsText,
181 const CFX_Int32Array& levels, 181 const CFX_Int32Array& levels,
182 int32_t iStart, 182 int32_t iStart,
183 FX_BOOL bReverse = FALSE); 183 bool bReverse = false);
184 void FX_BidiReorder(int32_t iBaseLevel, 184 void FX_BidiReorder(int32_t iBaseLevel,
185 CFX_WideString& wsText, 185 CFX_WideString& wsText,
186 const CFX_Int32Array& levels); 186 const CFX_Int32Array& levels);
187 187
188 #endif // CORE_FXCRT_FX_ARABIC_H_ 188 #endif // CORE_FXCRT_FX_ARABIC_H_
OLDNEW
« no previous file with comments | « core/fxcrt/extension.h ('k') | core/fxcrt/fx_arabic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698