summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cscript_logpseudomodel.cpp
blob: 07c84de8e14d8566a580aa196278a53c89bcd952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "xfa/fxfa/parser/cscript_logpseudomodel.h"

#include "fxjs/cfxjse_arguments.h"
#include "third_party/base/ptr_util.h"

CScript_LogPseudoModel::CScript_LogPseudoModel(CXFA_Document* pDocument)
    : CXFA_Object(pDocument,
                  XFA_ObjectType::Object,
                  XFA_Element::LogPseudoModel,
                  WideStringView(L"logPseudoModel"),
                  pdfium::MakeUnique<CJX_LogPseudoModel>(this)) {}

CScript_LogPseudoModel::~CScript_LogPseudoModel() {}

void CScript_LogPseudoModel::Message(CFXJSE_Arguments* pArguments) {
  JSLogPseudoModel()->Message(pArguments);
}

void CScript_LogPseudoModel::TraceEnabled(CFXJSE_Arguments* pArguments) {
  JSLogPseudoModel()->TraceEnabled(pArguments);
}

void CScript_LogPseudoModel::TraceActivate(CFXJSE_Arguments* pArguments) {
  JSLogPseudoModel()->TraceActivate(pArguments);
}

void CScript_LogPseudoModel::TraceDeactivate(CFXJSE_Arguments* pArguments) {
  JSLogPseudoModel()->TraceDeactivate(pArguments);
}

void CScript_LogPseudoModel::Trace(CFXJSE_Arguments* pArguments) {
  JSLogPseudoModel()->Trace(pArguments);
}