// Copyright 2016 The PDFium Authors // 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 #ifndef FXJS_IJS_RUNTIME_H_ #define FXJS_IJS_RUNTIME_H_ #include <memory> #include <optional> #include "core/fxcrt/fx_memory.h" #include "core/fxcrt/unowned_ptr.h" #include "core/fxcrt/widestring.h" class CJS_Runtime; class CPDFSDK_FormFillEnvironment; class IJS_EventContext; // Owns the FJXS objects needed to actually execute JS, if possible. This // virtual interface is backed by either an actual JS runtime, or a stub, // when JS is not present. class IJS_Runtime { … }; #endif // FXJS_IJS_RUNTIME_H_