chromium/third_party/blink/renderer/modules/canvas/canvas2d/canvas_filter.cc

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

#include "third_party/blink/renderer/modules/canvas/canvas2d/canvas_filter.h"

#include <utility>

#include "base/check_deref.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_object_objectarray_string.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_typedefs.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/style/filter_operations.h"
#include "third_party/blink/renderer/modules/canvas/canvas2d/canvas_filter_operation_resolver.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"

namespace blink {

CanvasFilter::CanvasFilter(FilterOperations filter_operations)
    :{}

CanvasFilter* CanvasFilter::Create(ScriptState* script_state,
                                   const V8CanvasFilterInput* init,
                                   ExceptionState& exception_state) {}

FilterOperations CanvasFilter::CreateFilterOperations(
    const V8CanvasFilterInput& filter_input,
    const Font& font,
    Element* style_resolution_host,
    ExecutionContext& execution_context,
    ExceptionState& exception_state) {}

void CanvasFilter::Trace(Visitor* visitor) const {}

}  // namespace blink