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 7 #include "xfa/fxfa/parser/cscript_datawindow.h" 8 9 #include "fxjs/xfa/cjx_datawindow.h" 10 #include "third_party/base/ptr_util.h" 11 #include "xfa/fxfa/parser/cxfa_document.h" 12 #include "xfa/fxfa/parser/cxfa_localemgr.h" 13 #include "xfa/fxfa/parser/xfa_utils.h" 14 CScript_DataWindow(CXFA_Document * pDocument)15CScript_DataWindow::CScript_DataWindow(CXFA_Document* pDocument) 16 : CXFA_Object(pDocument, 17 XFA_ObjectType::Object, 18 XFA_Element::DataWindow, 19 pdfium::MakeUnique<CJX_DataWindow>(this)) {} 20 ~CScript_DataWindow()21CScript_DataWindow::~CScript_DataWindow() {} 22