// 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/views/tabs/tab_layout_state.h" #include "base/notreached.h" #include "chrome/browser/ui/tabs/tab_types.h" #include "chrome/browser/ui/views/tabs/tab_strip_layout_types.h" #include "ui/gfx/animation/tween.h" TabLayoutState TabLayoutState::WithOpen(TabOpen open) const { … } TabLayoutState TabLayoutState::WithPinned(TabPinned pinned) const { … } TabLayoutState TabLayoutState::WithActive(TabActive active) const { … } bool TabLayoutState::IsClosed() const { … }