7#ifndef FXJS_CJS_RUNTIMESTUB_H_
8#define FXJS_CJS_RUNTIMESTUB_H_
12#include "core/fxcrt/unowned_ptr.h"
13#include "core/fxcrt/widestring.h"
14#include "fxjs/ijs_runtime.h"
16class CPDFSDK_FormFillEnvironment;
31 const WideString& script)
override;
34 UnownedPtr<CPDFSDK_FormFillEnvironment>
const m_pFormFillEnv;
35 std::unique_ptr<IJS_EventContext> m_pContext;
void ReleaseEventContext(IJS_EventContext *pContext) override
IJS_EventContext * NewEventContext() override
absl::optional< IJS_Runtime::JS_Error > ExecuteScript(const WideString &script) override
CPDFSDK_FormFillEnvironment * GetFormFillEnv() const override
CJS_RuntimeStub(CPDFSDK_FormFillEnvironment *pFormFillEnv)
CJS_Runtime * AsCJSRuntime() override
~CJS_RuntimeStub() override