chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_input_element_test.cc

// Copyright 2017 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/modules/media_controls/elements/media_control_input_element.h"

#include "base/test/metrics/histogram_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/strings/grit/blink_strings.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include "third_party/blink/renderer/core/html/media/html_video_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"

namespace blink {

namespace {

const char* kControlInputElementHistogramName =;
const char* kControlInputElementOverflowHistogramName =;

// Minimalist implementation of the MediaControlInputElement interface in order
// to be able to test it.
class MediaControlInputElementImpl final : public MediaControlInputElement {};

}  // anonymous namespace

class MediaControlInputElementTest : public PageTestBase {};

TEST_F(MediaControlInputElementTest, MaybeRecordDisplayed_IfNotWantedOrNoFit) {}

TEST_F(MediaControlInputElementTest, MaybeRecordDisplayed_WantedAndFit) {}

TEST_F(MediaControlInputElementTest, MaybeRecordDisplayed_TwiceDoesNotRecord) {}

TEST_F(MediaControlInputElementTest, MaybeRecordInteracted_Basic) {}

TEST_F(MediaControlInputElementTest, MaybeRecordInteracted_TwiceDoesNotRecord) {}

TEST_F(MediaControlInputElementTest, ClickRecordsInteraction) {}

TEST_F(MediaControlInputElementTest, OverflowElement_DisplayFallback) {}

TEST_F(MediaControlInputElementTest, OverflowElement_DisplayRequiresWanted) {}

TEST_F(MediaControlInputElementTest, OverflowElement_DisplayAfterInline) {}

TEST_F(MediaControlInputElementTest, ShouldRecordDisplayStates_ReadyState) {}

TEST_F(MediaControlInputElementTest, ShouldRecordDisplayStates_Preload) {}

TEST_F(MediaControlInputElementTest, StyleRecalcForIsWantedAndFit) {}

}  // namespace blink