// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/tab_strip/tab_strip_ui_layout.h" #include <algorithm> #include "base/values.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/geometry/size.h" // The test parameter is the web content's viewport size. class TabStripUILayoutAspectRatioTest : public ::testing::TestWithParam<gfx::Size> { … }; TEST_P(TabStripUILayoutAspectRatioTest, ThumbnailHasSameAspectRatioAsViewport) { … } INSTANTIATE_TEST_SUITE_P(…); INSTANTIATE_TEST_SUITE_P(…); TEST(TabStripUILayoutTest, HandlesZeroSize) { … }