cef/libcef/renderer/extensions/extensions_renderer_api_pro...

33 lines
1.1 KiB
C++

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cef/libcef/renderer/extensions/extensions_renderer_api_provider.h"
#include "extensions/renderer/module_system.h"
#include "extensions/renderer/script_context.h"
namespace extensions {
void CefExtensionsRendererAPIProvider::RegisterNativeHandlers(
ModuleSystem* module_system,
NativeExtensionBindingsSystem* bindings_system,
V8SchemaRegistry* v8_schema_registry,
ScriptContext* context) const {}
void CefExtensionsRendererAPIProvider::AddBindingsSystemHooks(
Dispatcher* dispatcher,
NativeExtensionBindingsSystem* bindings_system) const {}
void CefExtensionsRendererAPIProvider::PopulateSourceMap(
ResourceBundleSourceMap* source_map) const {}
void CefExtensionsRendererAPIProvider::EnableCustomElementAllowlist() const {}
void CefExtensionsRendererAPIProvider::RequireWebViewModules(
ScriptContext* context) const {
context->module_system()->Require("extensionsWebViewElement");
}
} // namespace extensions