#include "components/global_media_controls/public/views/media_progress_view.h"
#include "base/i18n/rtl.h"
#include "base/timer/mock_timer.h"
#include "services/media_session/public/mojom/media_session.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/events/keycodes/dom/dom_key.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/test/views_test_base.h"
namespace global_media_controls {
namespace {
constexpr int kWidthInset = …;
}
class MediaProgressViewTest : public views::ViewsTestBase { … };
TEST_F(MediaProgressViewTest, MediaPlaying) { … }
TEST_F(MediaProgressViewTest, MediaPaused) { … }
TEST_F(MediaProgressViewTest, MouseClickEventSeekTo) { … }
TEST_F(MediaProgressViewTest, MouseLongPressEventSeekTo) { … }
TEST_F(MediaProgressViewTest, MouseLongPressEventSeekToForRTL) { … }
TEST_F(MediaProgressViewTest, MouseSeekToForLiveMedia) { … }
TEST_F(MediaProgressViewTest, GestureTapEventSeekTo) { … }
TEST_F(MediaProgressViewTest, GestureScrollEventSeekTo) { … }
TEST_F(MediaProgressViewTest, KeyEventSeekBackward) { … }
TEST_F(MediaProgressViewTest, KeyEventSeekBackwardToBeginning) { … }
TEST_F(MediaProgressViewTest, KeyEventSeekForward) { … }
TEST_F(MediaProgressViewTest, KeyEventSeekForwardToEnd) { … }
TEST_F(MediaProgressViewTest, DragProgressForPlayingMedia) { … }
TEST_F(MediaProgressViewTest, DragProgressForPausedMedia) { … }
TEST_F(MediaProgressViewTest, UpdateProgressColorsForPlaybackRateChanges) { … }
TEST_F(MediaProgressViewTest, MediaProgressAccessibleValue) { … }
}