7#include "fxjs/cjs_runtimestub.h"
9#include "fxjs/cjs_event_context_stub.h"
18 m_pContext = std::make_unique<CJS_EventContextStub>();
19 return m_pContext.get();
25 return m_pFormFillEnv;
33 const WideString& script) {
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