#include "chrome/browser/ui/views/frame/browser_view_layout.h"
#include <memory>
#include "base/containers/contains.h"
#include "base/containers/flat_set.h"
#include "base/memory/raw_ptr.h"
#include "base/no_destructor.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/browser_view_layout_delegate.h"
#include "chrome/browser/ui/views/frame/contents_layout_manager.h"
#include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
#include "chrome/browser/ui/views/frame/tab_strip_region_view.h"
#include "chrome/browser/ui/views/infobars/infobar_container_view.h"
#include "chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h"
#include "chrome/browser/ui/views/tabs/tab_strip.h"
#include "chrome/browser/ui/views/tabs/tab_strip_controller.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/controls/separator.h"
#include "ui/views/test/views_test_utils.h"
namespace {
constexpr int kToolbarHeight = …;
class MockBrowserViewLayoutDelegate : public BrowserViewLayoutDelegate { … };
std::unique_ptr<views::View> CreateFixedSizeView(const gfx::Size& size) { … }
class MockImmersiveModeController : public ImmersiveModeController { … };
}
class BrowserViewLayoutTest : public ChromeViewsTestBase { … };
TEST_F(BrowserViewLayoutTest, BrowserViewLayout) { … }
TEST_F(BrowserViewLayoutTest, Layout) { … }
TEST_F(BrowserViewLayoutTest, LayoutDownloadShelf) { … }
TEST_F(BrowserViewLayoutTest, LayoutContentsWithTopControlsSlideBehavior) { … }
TEST_F(BrowserViewLayoutTest, WebUITabStripPushesDownContents) { … }