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

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

Issue 1890563003: Simplify XFA event handling. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: remove layout event cruft Created 4 years, 8 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
« xfa/fxfa/app/xfa_ffnotify.h ('K') | « xfa/fxfa/include/fxfa_widget.h ('k') | no next file » | 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_DOCUMENT_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_DOCUMENT_H_
8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_H_ 8 #define XFA_FXFA_PARSER_XFA_DOCUMENT_H_
9 9
10 #include "xfa/fxfa/include/fxfa.h" 10 #include "xfa/fxfa/include/fxfa.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 XFA_NODEEVENT_ChildAdded, 49 XFA_NODEEVENT_ChildAdded,
50 XFA_NODEEVENT_ChildRemoved, 50 XFA_NODEEVENT_ChildRemoved,
51 }; 51 };
52 enum XFA_PAGEEVENT { 52 enum XFA_PAGEEVENT {
53 XFA_PAGEEVENT_PageAdded, 53 XFA_PAGEEVENT_PageAdded,
54 XFA_PAGEEVENT_PageRemoved, 54 XFA_PAGEEVENT_PageRemoved,
55 }; 55 };
56 enum XFA_LAYOUTEVENT { 56 enum XFA_LAYOUTEVENT {
57 XFA_LAYOUTEVENT_ItemAdded, 57 XFA_LAYOUTEVENT_ItemAdded,
58 XFA_LAYOUTEVENT_ItemRemoving, 58 XFA_LAYOUTEVENT_ItemRemoving,
59 XFA_LAYOUTEVENT_RectChanged,
60 XFA_LAYOUTEVENT_StatusChanged,
61 }; 59 };
62 enum XFA_LAYOUTRESULT { 60 enum XFA_LAYOUTRESULT {
63 XFA_LAYOUTRESULT_Continue, 61 XFA_LAYOUTRESULT_Continue,
64 XFA_LAYOUTRESULT_Done, 62 XFA_LAYOUTRESULT_Done,
65 XFA_LAYOUTRESULT_NextContent, 63 XFA_LAYOUTRESULT_NextContent,
66 }; 64 };
67 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001 65 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001
68 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002 66 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002
69 67
70 #define XFA_DOCFLAG_StrictScoping 0x0001 68 #define XFA_DOCFLAG_StrictScoping 0x0001
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 CScript_LogPseudoModel* m_pScriptLog; 129 CScript_LogPseudoModel* m_pScriptLog;
132 CScript_LayoutPseudoModel* m_pScriptLayout; 130 CScript_LayoutPseudoModel* m_pScriptLayout;
133 CScript_SignaturePseudoModel* m_pScriptSignature; 131 CScript_SignaturePseudoModel* m_pScriptSignature;
134 CXFA_NodeSet m_rgPurgeNodes; 132 CXFA_NodeSet m_rgPurgeNodes;
135 XFA_VERSION m_eCurVersionMode; 133 XFA_VERSION m_eCurVersionMode;
136 uint32_t m_dwDocFlags; 134 uint32_t m_dwDocFlags;
137 friend class CXFA_SimpleParser; 135 friend class CXFA_SimpleParser;
138 }; 136 };
139 137
140 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ 138 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_
OLDNEW
« xfa/fxfa/app/xfa_ffnotify.h ('K') | « xfa/fxfa/include/fxfa_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698