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

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

Issue 1252613002: FX_BOOL considered harmful. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual edits. Created 5 years, 5 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 | « core/src/fxcrt/extension.h ('k') | core/src/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_SRC_FXCRT_FX_ARABIC_H_ 7 #ifndef CORE_SRC_FXCRT_FX_ARABIC_H_
8 #define CORE_SRC_FXCRT_FX_ARABIC_H_ 8 #define CORE_SRC_FXCRT_FX_ARABIC_H_
9 9
10 #include "../../include/fxcrt/fx_arb.h" 10 #include "../../include/fxcrt/fx_arb.h"
11 11
12 class CFX_BidiChar final : public IFX_BidiChar 12 class CFX_BidiChar final : public IFX_BidiChar
13 { 13 {
14 public: 14 public:
15 CFX_BidiChar(); 15 CFX_BidiChar();
16 ~CFX_BidiChar() override {} 16 ~CFX_BidiChar() override {}
17 17
18 void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) override; 18 void SetPolicy(bool bSeparateNeutral = true) override;
19 FX_BOOL AppendChar(FX_WCHAR wch) override; 19 bool AppendChar(FX_WCHAR wch) override;
20 FX_BOOL EndChar() override; 20 bool EndChar() override;
21 int32_t GetBidiInfo(int32_t &iStart, int32_t &iCount) override; 21 int32_t GetBidiInfo(int32_t &iStart, int32_t &iCount) override;
22 void Reset() override; 22 void Reset() override;
23 23
24 private: 24 private:
25 FX_BOOL» m_bSeparateNeutral; 25 bool» m_bSeparateNeutral;
26 int32_t m_iCurStart; 26 int32_t m_iCurStart;
27 int32_t m_iCurCount; 27 int32_t m_iCurCount;
28 int32_t m_iCurBidi; 28 int32_t m_iCurBidi;
29 int32_t m_iLastBidi; 29 int32_t m_iLastBidi;
30 int32_t m_iLastStart; 30 int32_t m_iLastStart;
31 int32_t m_iLastCount; 31 int32_t m_iLastCount;
32 }; 32 };
33 33
34 #endif // CORE_SRC_FXCRT_FX_ARABIC_H_ 34 #endif // CORE_SRC_FXCRT_FX_ARABIC_H_
OLDNEW
« no previous file with comments | « core/src/fxcrt/extension.h ('k') | core/src/fxcrt/fx_arabic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698