Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 _FXFA_WIDGET_H | 7 #ifndef _FXFA_WIDGET_H |
| 8 #define _FXFA_WIDGET_H | 8 #define _FXFA_WIDGET_H |
| 9 class CXFA_Node; | 9 class CXFA_Node; |
| 10 class CXFA_FFDocView; | 10 class CXFA_FFDocView; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 106 FX_FLOAT GetWidthWithoutMargin(FX_FLOAT fWidthCalc); | 106 FX_FLOAT GetWidthWithoutMargin(FX_FLOAT fWidthCalc); |
| 107 FX_FLOAT GetHeightWithoutMargin(FX_FLOAT fHeightCalc); | 107 FX_FLOAT GetHeightWithoutMargin(FX_FLOAT fHeightCalc); |
| 108 void CalculateTextContentSize(CFX_SizeF& size); | 108 void CalculateTextContentSize(CFX_SizeF& size); |
| 109 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType, | 109 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType, |
| 110 FX_FLOAT& fWidth, | 110 FX_FLOAT& fWidth, |
| 111 FX_FLOAT& fCalcHeight); | 111 FX_FLOAT& fCalcHeight); |
| 112 void InitLayoutData(); | 112 void InitLayoutData(); |
| 113 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); | 113 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); |
| 114 CXFA_FFDocView* m_pDocView; | 114 CXFA_FFDocView* m_pDocView; |
| 115 CXFA_WidgetLayoutData* m_pLayoutData; | 115 CXFA_WidgetLayoutData* m_pLayoutData; |
| 116 uint32_t m_nRecurRef; | |
|
Tom Sepez
2015/11/30 17:22:09
nit: Can we call this m_nRecursionDepth ? Althoug
jun_fang
2015/12/01 04:24:39
Acknowledged.
| |
| 116 }; | 117 }; |
| 117 #endif | 118 #endif |
| OLD | NEW |