Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cjs_event_context_stub.cpp
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
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 "fxjs/cjs_event_context_stub.h"
8
9CJS_EventContextStub::CJS_EventContextStub() = default;
10
11CJS_EventContextStub::~CJS_EventContextStub() = default;
12
13absl::optional<IJS_Runtime::JS_Error> CJS_EventContextStub::RunScript(
14 const WideString& script) {
15 return IJS_Runtime::JS_Error(1, 1, L"JavaScript support not present");
16}
absl::optional< IJS_Runtime::JS_Error > RunScript(const WideString &script) override
~CJS_EventContextStub() override
JS_Error(int line, int column, const WideString &exception)