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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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_SRC_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_
8 #define XFA_SRC_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ 8 #define XFA_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_
9 9
10 #include "xfa/src/fxfa/parser/xfa_doclayout.h" 10 #include "xfa/fxfa/parser/xfa_doclayout.h"
11 11
12 class CXFA_TraverseStrategy_PageAreaContainerLayoutItem { 12 class CXFA_TraverseStrategy_PageAreaContainerLayoutItem {
13 public: 13 public:
14 static inline CXFA_ContainerLayoutItem* GetFirstChild( 14 static inline CXFA_ContainerLayoutItem* GetFirstChild(
15 CXFA_ContainerLayoutItem* pLayoutItem) { 15 CXFA_ContainerLayoutItem* pLayoutItem) {
16 if (pLayoutItem->m_pFormNode->GetClassID() == XFA_ELEMENT_PageSet) { 16 if (pLayoutItem->m_pFormNode->GetClassID() == XFA_ELEMENT_PageSet) {
17 return (CXFA_ContainerLayoutItem*)pLayoutItem->m_pFirstChild; 17 return (CXFA_ContainerLayoutItem*)pLayoutItem->m_pFirstChild;
18 } 18 }
19 return NULL; 19 return NULL;
20 } 20 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pNextSibling; 67 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pNextSibling;
68 } 68 }
69 static inline CXFA_ContentLayoutItem* GetParent( 69 static inline CXFA_ContentLayoutItem* GetParent(
70 CXFA_ContentLayoutItem* pLayoutItem) { 70 CXFA_ContentLayoutItem* pLayoutItem) {
71 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pParent; 71 return (CXFA_ContentLayoutItem*)pLayoutItem->m_pParent;
72 } 72 }
73 }; 73 };
74 FX_DWORD XFA_GetRelevant(CXFA_Node* pFormItem, FX_DWORD dwParentRelvant); 74 FX_DWORD XFA_GetRelevant(CXFA_Node* pFormItem, FX_DWORD dwParentRelvant);
75 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem); 75 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem);
76 76
77 #endif // XFA_SRC_FXFA_PARSER_XFA_LAYOUT_APPADAPTER_H_ 77 #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