chromium/third_party/blink/renderer/core/html/media/html_video_element_test.cc

// Copyright 2018 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/html/media/html_video_element.h"

#include "cc/layers/layer.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/media/display_type.h"
#include "third_party/blink/public/platform/web_fullscreen_video_status.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/html/media/html_media_test_helper.h"
#include "third_party/blink/renderer/core/html/media/media_video_visibility_tracker.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/layout/geometry/physical_rect.h"
#include "third_party/blink/renderer/core/layout/layout_box_model_object.h"
#include "third_party/blink/renderer/core/loader/empty_clients.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/empty_web_media_player.h"
#include "third_party/blink/renderer/platform/testing/paint_test_configurations.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"

_;
Return;

namespace blink {

namespace {

class HTMLVideoElementMockMediaPlayer : public EmptyWebMediaPlayer {};
}  // namespace

class HTMLVideoElementTest : public PaintTestConfigurations,
                             public RenderingTest {};
INSTANTIATE_PAINT_TEST_SUITE_P();

TEST_P(HTMLVideoElementTest, PictureInPictureInterstitialAndTextContainer) {}

TEST_P(HTMLVideoElementTest, PictureInPictureInterstitial_Reattach) {}

TEST_P(HTMLVideoElementTest, EffectivelyFullscreen_DisplayType) {}

TEST_P(HTMLVideoElementTest, ChangeLayerNeedsCompositingUpdate) {}

TEST_P(HTMLVideoElementTest, HasAvailableVideoFrameChecksWMP) {}

TEST_P(HTMLVideoElementTest, AutoPIPExitPIPTest) {}

// TODO(1190335): Remove this once we no longer support "default poster image"
// Blink embedders (such as Webview) can set the default poster image for a
// video using `blink::Settings`. In some cases we still need to distinguish
// between a "real" poster image and the default poster image.
TEST_P(HTMLVideoElementTest, DefaultPosterImage) {}

TEST_P(HTMLVideoElementTest,
       RecordVideoOcclusionStateCalledWhenVisibilityIsRequested) {}

TEST_P(HTMLVideoElementTest,
       RecordVideoOcclusionStateNotCalledIfVisibilityIsNotRequested) {}

TEST_P(HTMLVideoElementTest,
       RecordVideoOcclusionStateCalledWhenTrackerNotAttached) {}

TEST_P(HTMLVideoElementTest, VideoVisibilityTrackerVideoElementRectDimensions) {}

}  // namespace blink