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

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 CXFA_FFNotify::OnLayoutEvent, XFA_LAYOUTEVENT 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
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 XFA_NODEEVENT_Ready, 46 XFA_NODEEVENT_Ready,
47 XFA_NODEEVENT_ValueChanging, 47 XFA_NODEEVENT_ValueChanging,
48 XFA_NODEEVENT_ValueChanged, 48 XFA_NODEEVENT_ValueChanged,
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 {
57 XFA_LAYOUTEVENT_ItemAdded,
58 XFA_LAYOUTEVENT_ItemRemoving,
59 XFA_LAYOUTEVENT_RectChanged,
60 XFA_LAYOUTEVENT_StatusChanged,
61 };
62 enum XFA_LAYOUTRESULT { 56 enum XFA_LAYOUTRESULT {
63 XFA_LAYOUTRESULT_Continue, 57 XFA_LAYOUTRESULT_Continue,
64 XFA_LAYOUTRESULT_Done, 58 XFA_LAYOUTRESULT_Done,
65 XFA_LAYOUTRESULT_NextContent, 59 XFA_LAYOUTRESULT_NextContent,
66 }; 60 };
67 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001 61 #define XFA_LAYOUTNOTIFY_StrictHeight 0x0001
68 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002 62 #define XFA_LAYOUTNOTIFY_NoParentBreak 0x0002
69 63
70 #define XFA_DOCFLAG_StrictScoping 0x0001 64 #define XFA_DOCFLAG_StrictScoping 0x0001
71 #define XFA_DOCFLAG_HasInteractive 0x0002 65 #define XFA_DOCFLAG_HasInteractive 0x0002
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 CScript_LogPseudoModel* m_pScriptLog; 125 CScript_LogPseudoModel* m_pScriptLog;
132 CScript_LayoutPseudoModel* m_pScriptLayout; 126 CScript_LayoutPseudoModel* m_pScriptLayout;
133 CScript_SignaturePseudoModel* m_pScriptSignature; 127 CScript_SignaturePseudoModel* m_pScriptSignature;
134 CXFA_NodeSet m_rgPurgeNodes; 128 CXFA_NodeSet m_rgPurgeNodes;
135 XFA_VERSION m_eCurVersionMode; 129 XFA_VERSION m_eCurVersionMode;
136 uint32_t m_dwDocFlags; 130 uint32_t m_dwDocFlags;
137 friend class CXFA_SimpleParser; 131 friend class CXFA_SimpleParser;
138 }; 132 };
139 133
140 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_ 134 #endif // XFA_FXFA_PARSER_XFA_DOCUMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698