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

Side by Side Diff: xfa/fxfa/parser/xfa_doclayout.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_basic_imp.cpp ('k') | xfa/fxfa/parser/xfa_document.h » ('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_DOCLAYOUT_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
8 #define XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ 8 #define XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
9 9
10 #include "xfa/fxfa/parser/xfa_document.h" 10 #include "xfa/fxfa/parser/xfa_document.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 int32_t GetPageIndex() const; 59 int32_t GetPageIndex() const;
60 void GetPageSize(CFX_SizeF& size) const; 60 void GetPageSize(CFX_SizeF& size) const;
61 CXFA_Node* GetMasterPage() const; 61 CXFA_Node* GetMasterPage() const;
62 62
63 CXFA_Node* m_pOldSubform; 63 CXFA_Node* m_pOldSubform;
64 }; 64 };
65 65
66 class CXFA_ContentLayoutItem : public CXFA_LayoutItem { 66 class CXFA_ContentLayoutItem : public CXFA_LayoutItem {
67 public: 67 public:
68 CXFA_ContentLayoutItem(CXFA_Node* pNode); 68 CXFA_ContentLayoutItem(CXFA_Node* pNode);
69 virtual ~CXFA_ContentLayoutItem(); 69 ~CXFA_ContentLayoutItem() override;
70 70
71 CXFA_ContentLayoutItem* m_pPrev; 71 CXFA_ContentLayoutItem* m_pPrev;
72 CXFA_ContentLayoutItem* m_pNext; 72 CXFA_ContentLayoutItem* m_pNext;
73 CFX_PointF m_sPos; 73 CFX_PointF m_sPos;
74 CFX_SizeF m_sSize; 74 CFX_SizeF m_sSize;
75 uint32_t m_dwStatus; 75 uint32_t m_dwStatus;
76 }; 76 };
77 77
78 CXFA_ContainerLayoutItem* CXFA_LayoutItem::AsContainerLayoutItem() { 78 CXFA_ContainerLayoutItem* CXFA_LayoutItem::AsContainerLayoutItem() {
79 return IsContainerLayoutItem() ? static_cast<CXFA_ContainerLayoutItem*>(this) 79 return IsContainerLayoutItem() ? static_cast<CXFA_ContainerLayoutItem*>(this)
(...skipping 17 matching lines...) Expand all
97 } 97 }
98 static inline CXFA_LayoutItem* GetNextSibling(CXFA_LayoutItem* pLayoutItem) { 98 static inline CXFA_LayoutItem* GetNextSibling(CXFA_LayoutItem* pLayoutItem) {
99 return pLayoutItem->m_pNextSibling; 99 return pLayoutItem->m_pNextSibling;
100 } 100 }
101 static inline CXFA_LayoutItem* GetParent(CXFA_LayoutItem* pLayoutItem) { 101 static inline CXFA_LayoutItem* GetParent(CXFA_LayoutItem* pLayoutItem) {
102 return pLayoutItem->m_pParent; 102 return pLayoutItem->m_pParent;
103 } 103 }
104 }; 104 };
105 105
106 #endif // XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ 106 #endif // XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_basic_imp.cpp ('k') | xfa/fxfa/parser/xfa_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698