// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_V8_FEATURES_H_ #define THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_V8_FEATURES_H_ #include "base/process/process.h" #include "third_party/blink/public/mojom/browser_interface_broker.mojom-shared.h" #include "third_party/blink/public/platform/cross_variant_mojo_util.h" #include "third_party/blink/public/platform/web_common.h" #include "v8/include/v8-forward.h" namespace blink { // WebV8Features is used in conjunction with IDL interface features which // specify a [ContextEnabled] extended attribute. Such features may be enabled // for arbitrary main-world V8 contexts by using these methods during // WebLocalFrameClient::DidCreateScriptContext. Enabling a given feature causes // its binding(s) to be installed on the appropriate global object(s) during // context initialization. // // See src/third_party/blink/renderer/bindings/IDLExtendedAttributes.md for more // information. class BLINK_EXPORT WebV8Features { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_V8_FEATURES_H_