#include "components/viz/common/quads/compositor_frame_transition_directive.h"
#include <string>
#include <utility>
#include "base/time/time.h"
namespace viz {
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) { … }
CompositorFrameTransitionDirective
CompositorFrameTransitionDirective::CreateAnimate(
const blink::ViewTransitionToken& transition_token,
bool maybe_cross_frame_sink,
uint32_t sequence_id) { … }
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 { … }
}