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
9
CJS_EventContextStub::
CJS_EventContextStub
() =
default
;
10
11
CJS_EventContextStub::~
CJS_EventContextStub
() =
default
;
12
13
absl
::
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
}
CJS_EventContextStub::RunScript
absl::optional< IJS_Runtime::JS_Error > RunScript(const WideString &script) override
Definition
cjs_event_context_stub.cpp:13
CJS_EventContextStub::CJS_EventContextStub
CJS_EventContextStub()
CJS_EventContextStub::~CJS_EventContextStub
~CJS_EventContextStub() override
IJS_Runtime
Definition
ijs_runtime.h:24
IJS_Runtime::JS_Error
Definition
ijs_runtime.h:26
IJS_Runtime::JS_Error::JS_Error
JS_Error(int line, int column, const WideString &exception)
Definition
ijs_runtime.cpp:61
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxjs
cjs_event_context_stub.cpp
Generated on Sat Sep 21 2024 00:58:56 for Qt by
1.12.0