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

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

Issue 2207033002: Split xfa_layout_appadapter (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: fix build Created 4 years, 4 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/cscript_layoutpseudomodel.cpp ('k') | xfa/fxfa/parser/cxfa_layoutitem.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_CXFA_LAYOUTITEM_H_ 7 #ifndef XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_
8 #define XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_ 8 #define XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_
9 9
10 #include "xfa/fxfa/parser/cxfa_document.h" 10 #include "xfa/fxfa/parser/cxfa_document.h"
11 11
12 class CXFA_ContainerLayoutItem; 12 class CXFA_ContainerLayoutItem;
13 class CXFA_ContentLayoutItem; 13 class CXFA_ContentLayoutItem;
14 class CXFA_LayoutProcessor; 14 class CXFA_LayoutProcessor;
15 15
16 void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem);
17
16 class CXFA_LayoutItem { 18 class CXFA_LayoutItem {
17 public: 19 public:
18 virtual ~CXFA_LayoutItem(); 20 virtual ~CXFA_LayoutItem();
19 21
20 FX_BOOL IsContainerLayoutItem() const { return !m_bIsContentLayoutItem; } 22 FX_BOOL IsContainerLayoutItem() const { return !m_bIsContentLayoutItem; }
21 FX_BOOL IsContentLayoutItem() const { return m_bIsContentLayoutItem; } 23 FX_BOOL IsContentLayoutItem() const { return m_bIsContentLayoutItem; }
22 CXFA_ContainerLayoutItem* AsContainerLayoutItem(); 24 CXFA_ContainerLayoutItem* AsContainerLayoutItem();
23 CXFA_ContentLayoutItem* AsContentLayoutItem(); 25 CXFA_ContentLayoutItem* AsContentLayoutItem();
24 26
25 CXFA_ContainerLayoutItem* GetPage() const; 27 CXFA_ContainerLayoutItem* GetPage() const;
(...skipping 19 matching lines...) Expand all
45 CXFA_LayoutItem* m_pNextSibling; 47 CXFA_LayoutItem* m_pNextSibling;
46 CXFA_LayoutItem* m_pFirstChild; 48 CXFA_LayoutItem* m_pFirstChild;
47 49
48 protected: 50 protected:
49 CXFA_LayoutItem(CXFA_Node* pNode, FX_BOOL bIsContentLayoutItem); 51 CXFA_LayoutItem(CXFA_Node* pNode, FX_BOOL bIsContentLayoutItem);
50 52
51 FX_BOOL m_bIsContentLayoutItem; 53 FX_BOOL m_bIsContentLayoutItem;
52 }; 54 };
53 55
54 #endif // XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_ 56 #endif // XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cscript_layoutpseudomodel.cpp ('k') | xfa/fxfa/parser/cxfa_layoutitem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698