#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 = …;
class MediaControlInputElementImpl final : public MediaControlInputElement { … };
}
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) { … }
}