chromium/third_party/blink/renderer/core/view_transition/dom_view_transition.cc

// Copyright 2023 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/core/view_transition/dom_view_transition.h"

#include "third_party/blink/renderer/bindings/core/v8/capture_source_location.h"
#include "third_party/blink/renderer/bindings/core/v8/script_function.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_property.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_throw_dom_exception.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/events/error_event.h"
#include "third_party/blink/renderer/core/execution_context/agent.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/scheduler/public/event_loop.h"

namespace blink {

namespace {

const char kAbortedMessage[] =;
const char kInvalidStateMessage[] =;
const char kTimeoutMessage[] =;

}  // namespace

DOMViewTransition::DOMViewTransition(ExecutionContext& execution_context,
                                     ViewTransition& view_transition)
    :{}

DOMViewTransition::DOMViewTransition(
    ExecutionContext& execution_context,
    ViewTransition& view_transition,
    V8ViewTransitionCallback* update_dom_callback)
    :{}

DOMViewTransition::~DOMViewTransition() = default;

void DOMViewTransition::ContextDestroyed() {}

void DOMViewTransition::skipTransition() {}

ScriptPromise<IDLUndefined> DOMViewTransition::finished(
    ScriptState* script_state) const {}

ScriptPromise<IDLUndefined> DOMViewTransition::ready(
    ScriptState* script_state) const {}

ScriptPromise<IDLUndefined> DOMViewTransition::updateCallbackDone(
    ScriptState* script_state) const {}

void DOMViewTransition::DidSkipTransition(
    ViewTransition::PromiseResponse response) {}

void DOMViewTransition::NotifyDOMCallbackFinished(bool success,
                                                  ScriptValue value) {}

void DOMViewTransition::DidStartAnimating() {}

void DOMViewTransition::DidFinishAnimating() {}

void DOMViewTransition::InvokeDOMChangeCallback() {}

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

void DOMViewTransition::AtMicrotask(ViewTransition::PromiseResponse response,
                                    PromiseProperty* property) {}

void DOMViewTransition::HandlePromise(ViewTransition::PromiseResponse response,
                                      PromiseProperty* property) {}

ViewTransitionTypeSet* DOMViewTransition::types() const {}

// DOMChangeFinishedCallback implementation.
DOMViewTransition::DOMChangeFinishedCallback::DOMChangeFinishedCallback(
    DOMViewTransition& dom_view_transition,
    bool success)
    :{}

DOMViewTransition::DOMChangeFinishedCallback::~DOMChangeFinishedCallback() =
    default;

ScriptValue DOMViewTransition::DOMChangeFinishedCallback::Call(
    ScriptState*,
    ScriptValue value) {}

void DOMViewTransition::DOMChangeFinishedCallback::Trace(
    Visitor* visitor) const {}

}  // namespace blink