Dan Sinclair | 1770c02 | 2016-03-14 14:14:16 -0400 | [diff] [blame] | 1 | // Copyright 2014 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 | |
dsinclair | c1515ef | 2016-07-20 06:16:06 -0700 | [diff] [blame] | 7 | #include "xfa/fxfa/parser/cscript_eventpseudomodel.h" |
Dan Sinclair | 1770c02 | 2016-03-14 14:14:16 -0400 | [diff] [blame] | 8 | |
Tom Sepez | 76a1a35 | 2018-07-23 19:01:14 +0000 | [diff] [blame] | 9 | #include "fxjs/xfa/cjx_eventpseudomodel.h" |
Dan Sinclair | a85e5ca | 2017-11-01 16:06:07 +0000 | [diff] [blame] | 10 | #include "third_party/base/ptr_util.h" |
dsinclair | d1cf239 | 2016-07-11 06:46:59 -0700 | [diff] [blame] | 11 | |
Dan Sinclair | 1770c02 | 2016-03-14 14:14:16 -0400 | [diff] [blame] | 12 | CScript_EventPseudoModel::CScript_EventPseudoModel(CXFA_Document* pDocument) |
dsinclair | 937a113 | 2016-06-23 07:52:01 -0700 | [diff] [blame] | 13 | : CXFA_Object(pDocument, |
| 14 | XFA_ObjectType::Object, |
dsinclair | c1df5d4 | 2016-07-18 06:36:51 -0700 | [diff] [blame] | 15 | XFA_Element::EventPseudoModel, |
Dan Sinclair | 46ad7f8 | 2017-11-01 18:48:17 +0000 | [diff] [blame] | 16 | pdfium::MakeUnique<CJX_EventPseudoModel>(this)) {} |
dsinclair | 8f4bf9a | 2016-05-04 13:51:51 -0700 | [diff] [blame] | 17 | |
Tom Sepez | 76a1a35 | 2018-07-23 19:01:14 +0000 | [diff] [blame] | 18 | CScript_EventPseudoModel::~CScript_EventPseudoModel() = default; |