chromium/extensions/renderer/api/dom_hooks_delegate.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/renderer/api/dom_hooks_delegate.h"

#include <memory>

#include "extensions/renderer/bindings/api_signature.h"
#include "extensions/renderer/dispatcher.h"
#include "extensions/renderer/script_context.h"
#include "third_party/blink/public/web/web_element.h"
#include "v8/include/v8-exception.h"
#include "v8/include/v8-primitive.h"

namespace extensions {

DOMHooksDelegate::DOMHooksDelegate() = default;
DOMHooksDelegate::~DOMHooksDelegate() = default;

APIBindingHooks::RequestResult DOMHooksDelegate::HandleRequest(
    const std::string& method_name,
    const APISignature* signature,
    v8::Local<v8::Context> context,
    v8::LocalVector<v8::Value>* arguments,
    const APITypeReferenceMap& refs) {}

v8::Local<v8::Value> DOMHooksDelegate::OpenOrClosedShadowRoot(
    ScriptContext* script_context,
    const v8::LocalVector<v8::Value>& parsed_arguments) {}

}  // namespace extensions