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

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

Issue 2170473002: Rename xfa_doclayout and xfa_document_layout_imp files. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa_parser_I
Patch Set: Review fixes Created 4 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 | « xfa/fxfa/parser/xfa_document_serialize.cpp ('k') | xfa/fxfa/parser/xfa_layout_appadapter.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_APPADAPTER_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_
8 #define XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ 8 #define XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_
9 9
10 #include "xfa/fxfa/parser/xfa_doclayout.h" 10 #include "xfa/fxfa/parser/cxfa_containerlayoutitem.h"
11 #include "xfa/fxfa/parser/cxfa_contentlayoutitem.h"
12 #include "xfa/fxfa/parser/cxfa_layoutitem.h"
11 13
12 class CXFA_TraverseStrategy_PageAreaContainerLayoutItem { 14 class CXFA_TraverseStrategy_PageAreaContainerLayoutItem {
13 public: 15 public:
14 static inline CXFA_ContainerLayoutItem* GetFirstChild( 16 static inline CXFA_ContainerLayoutItem* GetFirstChild(
15 CXFA_ContainerLayoutItem* pLayoutItem) { 17 CXFA_ContainerLayoutItem* pLayoutItem) {
16 if (pLayoutItem->m_pFormNode->GetElementType() == XFA_Element::PageSet) { 18 if (pLayoutItem->m_pFormNode->GetElementType() == XFA_Element::PageSet) {
17 return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pFirstChild); 19 return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pFirstChild);
18 } 20 }
19 return nullptr; 21 return nullptr;
20 } 22 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 72 }
71 static inline CXFA_ContentLayoutItem* GetParent( 73 static inline CXFA_ContentLayoutItem* GetParent(
72 CXFA_ContentLayoutItem* pLayoutItem) { 74 CXFA_ContentLayoutItem* pLayoutItem) {
73 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pParent); 75 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pParent);
74 } 76 }
75 }; 77 };
76 78
77 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem); 79 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem);
78 80
79 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ 81 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_document_serialize.cpp ('k') | xfa/fxfa/parser/xfa_layout_appadapter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698