diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-13 19:00:27 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-13 19:00:27 +0000 |
commit | 8853b7f0c083c3e1829b11425a6eb796fa9bd22d (patch) | |
tree | 8e3243f61eb37ab5b46b4856d22eedcb61acbd75 /xfa/fxfa/parser/cxfa_document.h | |
parent | db8ef922e8f45fec00470e6234d9ba65e9be9537 (diff) | |
download | pdfium-8853b7f0c083c3e1829b11425a6eb796fa9bd22d.tar.xz |
Add tests for CXFA_Node child manipulation
This CL adds tests for CXFA_Node::InsertChild and CXFA_Node::RemoveChild
methods.
Change-Id: I6ef9e76dfbfa8a9b8246620ecf80c88812b332fc
Reviewed-on: https://pdfium-review.googlesource.com/26371
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_document.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_document.h b/xfa/fxfa/parser/cxfa_document.h index f12148bee4..09c2601fa9 100644 --- a/xfa/fxfa/parser/cxfa_document.h +++ b/xfa/fxfa/parser/cxfa_document.h @@ -60,14 +60,15 @@ class CXFA_Object; class CXFA_Document { public: explicit CXFA_Document(CXFA_DocumentParser* pParser); - ~CXFA_Document(); + virtual ~CXFA_Document(); + + virtual CXFA_FFNotify* GetNotify() const; CFXJSE_Engine* InitScriptContext(CFXJS_Engine* fxjs_engine); CXFA_Node* GetRoot() const { return m_pRootNode; } - CFX_XMLDoc* GetXMLDoc() const; - CXFA_FFNotify* GetNotify() const; + CXFA_LocaleMgr* GetLocalMgr(); CXFA_Object* GetXFAObject(XFA_HashCode wsNodeNameHash); CXFA_Node* GetNodeByID(CXFA_Node* pRoot, const WideStringView& wsID); |