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

Side by Side Diff: xfa/fxfa/parser/xfa_layout_itemlayout.h

Issue 2071683002: Make code compile with clang_use_chrome_plugin (part V) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: clean up Created 4 years, 6 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/fxfa/parser/xfa_layout_appadapter.h ('k') | xfa/fxfa/parser/xfa_layout_itemlayout.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_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_
8 #define XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ 8 #define XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_
9 9
10 #include <float.h> 10 #include <float.h>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 CFX_ArrayTemplate<FX_FLOAT>* m_prgSpecifiedColumnWidths; 56 CFX_ArrayTemplate<FX_FLOAT>* m_prgSpecifiedColumnWidths;
57 FX_FLOAT m_fCurColumnWidth; 57 FX_FLOAT m_fCurColumnWidth;
58 FX_BOOL m_bCurColumnWidthAvaiable; 58 FX_BOOL m_bCurColumnWidthAvaiable;
59 CXFA_ItemLayoutProcessor* m_pOverflowProcessor; 59 CXFA_ItemLayoutProcessor* m_pOverflowProcessor;
60 CXFA_Node* m_pOverflowNode; 60 CXFA_Node* m_pOverflowNode;
61 }; 61 };
62 62
63 class CXFA_ItemLayoutProcessor { 63 class CXFA_ItemLayoutProcessor {
64 public: 64 public:
65 CXFA_ItemLayoutProcessor(CXFA_Node* pNode, CXFA_LayoutPageMgr* pPageMgr); 65 CXFA_ItemLayoutProcessor(CXFA_Node* pNode, CXFA_LayoutPageMgr* pPageMgr);
66 ~CXFA_ItemLayoutProcessor();
66 67
67 XFA_ItemLayoutProcessorResult DoLayout( 68 XFA_ItemLayoutProcessorResult DoLayout(
68 FX_BOOL bUseBreakControl, 69 FX_BOOL bUseBreakControl,
69 FX_FLOAT fHeightLimit, 70 FX_FLOAT fHeightLimit,
70 FX_FLOAT fRealHeight = XFA_LAYOUT_FLOAT_MAX, 71 FX_FLOAT fRealHeight = XFA_LAYOUT_FLOAT_MAX,
71 CXFA_LayoutContext* pContext = NULL); 72 CXFA_LayoutContext* pContext = NULL);
72 73
73 void GetCurrentComponentPos(FX_FLOAT& fAbsoluteX, FX_FLOAT& fAbsoluteY); 74 void GetCurrentComponentPos(FX_FLOAT& fAbsoluteX, FX_FLOAT& fAbsoluteY);
74 75
75 void GetCurrentComponentSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight); 76 void GetCurrentComponentSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight);
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 FX_FLOAT m_fLastRowWidth; 188 FX_FLOAT m_fLastRowWidth;
188 FX_FLOAT m_fLastRowY; 189 FX_FLOAT m_fLastRowY;
189 FX_FLOAT m_fWidthLimite; 190 FX_FLOAT m_fWidthLimite;
190 FX_BOOL m_bUseInheriated; 191 FX_BOOL m_bUseInheriated;
191 XFA_ItemLayoutProcessorResult m_ePreProcessRs; 192 XFA_ItemLayoutProcessorResult m_ePreProcessRs;
192 FX_BOOL m_bHasAvailHeight; 193 FX_BOOL m_bHasAvailHeight;
193 }; 194 };
194 FX_BOOL XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode); 195 FX_BOOL XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode);
195 196
196 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ 197 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_layout_appadapter.h ('k') | xfa/fxfa/parser/xfa_layout_itemlayout.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698