chromium/components/viz/common/quads/compositor_frame_transition_directive.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 "components/viz/common/quads/compositor_frame_transition_directive.h"

#include <string>
#include <utility>

#include "base/time/time.h"

namespace viz {

// static
CompositorFrameTransitionDirective
CompositorFrameTransitionDirective::CreateSave(
    const blink::ViewTransitionToken& transition_token,
    bool maybe_cross_frame_sink,
    uint32_t sequence_id,
    std::vector<SharedElement> shared_elements,
    const gfx::DisplayColorSpaces& display_color_spaces) {}

// static
CompositorFrameTransitionDirective
CompositorFrameTransitionDirective::CreateAnimate(
    const blink::ViewTransitionToken& transition_token,
    bool maybe_cross_frame_sink,
    uint32_t sequence_id) {}

// static
CompositorFrameTransitionDirective
CompositorFrameTransitionDirective::CreateRelease(
    const blink::ViewTransitionToken& transition_token,
    bool maybe_cross_frame_sink,
    uint32_t sequence_id) {}

CompositorFrameTransitionDirective::CompositorFrameTransitionDirective() =
    default;

CompositorFrameTransitionDirective::CompositorFrameTransitionDirective(
    const blink::ViewTransitionToken& transition_token,
    bool maybe_cross_frame_sink,
    uint32_t sequence_id,
    Type type,
    std::vector<SharedElement> shared_elements,
    const gfx::DisplayColorSpaces& display_color_spaces)
    :{}

CompositorFrameTransitionDirective::CompositorFrameTransitionDirective(
    const CompositorFrameTransitionDirective&) = default;

CompositorFrameTransitionDirective::~CompositorFrameTransitionDirective() =
    default;

CompositorFrameTransitionDirective&
CompositorFrameTransitionDirective::operator=(
    const CompositorFrameTransitionDirective&) = default;

CompositorFrameTransitionDirective::SharedElement::SharedElement() = default;
CompositorFrameTransitionDirective::SharedElement::~SharedElement() = default;

CompositorFrameTransitionDirective::SharedElement::SharedElement(
    const SharedElement&) = default;
CompositorFrameTransitionDirective::SharedElement&
CompositorFrameTransitionDirective::SharedElement::operator=(
    const SharedElement&) = default;

CompositorFrameTransitionDirective::SharedElement::SharedElement(
    SharedElement&&) = default;
CompositorFrameTransitionDirective::SharedElement&
CompositorFrameTransitionDirective::SharedElement::operator=(SharedElement&&) =
    default;

bool CompositorFrameTransitionDirective::SharedElement::operator==(
    const SharedElement& other) const {}

bool CompositorFrameTransitionDirective::SharedElement::operator!=(
    const SharedElement& other) const {}

}  // namespace viz