chromium/third_party/blink/renderer/core/layout/layout_video_test.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 "third_party/blink/renderer/core/layout/layout_video.h"

#include "third_party/blink/renderer/core/html/media/html_video_element.h"
#include "third_party/blink/renderer/core/layout/layout_image.h"
#include "third_party/blink/renderer/core/loader/resource/image_resource_content.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/platform/graphics/unaccelerated_static_bitmap_image.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkSurface.h"

namespace blink {

class LayoutVideoTest : public RenderingTest {};

TEST_F(LayoutVideoTest, PosterSizeWithNormal) {}

TEST_F(LayoutVideoTest, PosterSizeWithZoom) {}

TEST_F(LayoutVideoTest, PosterSizeAfterPlay) {}

// TODO(1190335): Remove this once "default poster image" is not longer
// supported. Blink embedders (such as Webview) can set the default poster image
// for a video using `blink::Settings`. The default poster image should not be
// used to affect the layout of a video, even when a normal poster image would.
TEST_F(LayoutVideoTest, DefaultPosterImageSize) {}

}  // namespace blink