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

Side by Side Diff: xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.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
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef XFA_FXFA_PARSER_CXFA_TRAVERSESTRATEGY_CONTENTLAYOUTITEM_H_
8 #define XFA_FXFA_PARSER_CXFA_TRAVERSESTRATEGY_CONTENTLAYOUTITEM_H_
9
10 #include "xfa/fxfa/parser/cxfa_contentlayoutitem.h"
11
12 class CXFA_TraverseStrategy_ContentLayoutItem {
13 public:
14 static CXFA_ContentLayoutItem* GetFirstChild(
15 CXFA_ContentLayoutItem* pLayoutItem) {
16 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pFirstChild);
17 }
18
19 static CXFA_ContentLayoutItem* GetNextSibling(
20 CXFA_ContentLayoutItem* pLayoutItem) {
21 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pNextSibling);
22 }
23
24 static CXFA_ContentLayoutItem* GetParent(
25 CXFA_ContentLayoutItem* pLayoutItem) {
26 return static_cast<CXFA_ContentLayoutItem*>(pLayoutItem->m_pParent);
27 }
28 };
29
30 #endif // XFA_FXFA_PARSER_CXFA_TRAVERSESTRATEGY_CONTENTLAYOUTITEM_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h ('k') | xfa/fxfa/parser/xfa_layout_appadapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698