// 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. #ifndef COMPONENTS_VIZ_COMMON_QUADS_COMPOSITOR_FRAME_TRANSITION_DIRECTIVE_H_ #define COMPONENTS_VIZ_COMMON_QUADS_COMPOSITOR_FRAME_TRANSITION_DIRECTIVE_H_ #include <string> #include <vector> #include "base/time/time.h" #include "components/viz/common/quads/compositor_render_pass.h" #include "components/viz/common/view_transition_element_resource_id.h" #include "components/viz/common/viz_common_export.h" #include "ui/gfx/display_color_spaces.h" namespace viz { // This is a transition directive that can be associated with a compositor // frame. The intent is to be able to animate a compositor frame into the right // place instead of simply drawing the final result at the final destination. // This is used by a JavaScript-exposed view transitions API. See // third_party/blink/renderer/core/view_transition/README.md for more // information. class VIZ_COMMON_EXPORT CompositorFrameTransitionDirective { … }; } // namespace viz #endif // COMPONENTS_VIZ_COMMON_QUADS_COMPOSITOR_FRAME_TRANSITION_DIRECTIVE_H_