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

Unified Diff: core/src/fxcrt/fx_arabic.h

Issue 453133004: clang-format all code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: core/src/fxcrt/fx_arabic.h
diff --git a/core/src/fxcrt/fx_arabic.h b/core/src/fxcrt/fx_arabic.h
index 1dc275b8c3af270f1c6bc38bb348eba758324cdb..a2c9afcaeb9c39f66fbf3eb24cf4ea4ecd43553a 100644
--- a/core/src/fxcrt/fx_arabic.h
+++ b/core/src/fxcrt/fx_arabic.h
@@ -1,34 +1,30 @@
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef _FX_ARABIC_IMP
#define _FX_ARABIC_IMP
-class CFX_BidiChar FX_FINAL : public IFX_BidiChar, public CFX_Object
-{
-public:
- CFX_BidiChar();
- virtual void Release()
- {
- delete this;
- }
- virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE)
- {
- m_bSeparateNeutral = bSeparateNeutral;
- }
- virtual FX_BOOL AppendChar(FX_WCHAR wch);
- virtual FX_BOOL EndChar();
- virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount);
- virtual void Reset();
-protected:
- FX_BOOL m_bSeparateNeutral;
- FX_INT32 m_iCurStart;
- FX_INT32 m_iCurCount;
- FX_INT32 m_iCurBidi;
- FX_INT32 m_iLastBidi;
- FX_INT32 m_iLastStart;
- FX_INT32 m_iLastCount;
+class CFX_BidiChar FX_FINAL : public IFX_BidiChar, public CFX_Object {
+ public:
+ CFX_BidiChar();
+ virtual void Release() { delete this; }
+ virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) {
+ m_bSeparateNeutral = bSeparateNeutral;
+ }
+ virtual FX_BOOL AppendChar(FX_WCHAR wch);
+ virtual FX_BOOL EndChar();
+ virtual FX_INT32 GetBidiInfo(FX_INT32& iStart, FX_INT32& iCount);
+ virtual void Reset();
+
+ protected:
+ FX_BOOL m_bSeparateNeutral;
+ FX_INT32 m_iCurStart;
+ FX_INT32 m_iCurCount;
+ FX_INT32 m_iCurBidi;
+ FX_INT32 m_iLastBidi;
+ FX_INT32 m_iLastStart;
+ FX_INT32 m_iLastCount;
};
#endif

Powered by Google App Engine
This is Rietveld 408576698