| Index: chrome/browser/ui/views/tabs/tab_strip.cc
|
| diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
|
| index f1145512bf8e02876aa79ba0791294208374c345..871f843f695ed2606d8be327dfbc7e171c62f0d3 100644
|
| --- a/chrome/browser/ui/views/tabs/tab_strip.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab_strip.cc
|
| @@ -1156,6 +1156,8 @@ bool TabStrip::ShouldPaintTab(const Tab* tab, gfx::Rect* clip) {
|
| }
|
|
|
| void TabStrip::SetImmersiveStyle(bool enable) {
|
| + if (immersive_style_ == enable)
|
| + return;
|
| immersive_style_ = enable;
|
| if (immersive_style_) {
|
| // Dominant colors are only updated automatically when the tab strip is
|
| @@ -1387,6 +1389,11 @@ views::View* TabStrip::GetEventHandlerForPoint(const gfx::Point& point) {
|
| return this;
|
| }
|
|
|
| +// static
|
| +int TabStrip::GetImmersiveHeight() {
|
| + return Tab::GetImmersiveHeight();
|
| +}
|
| +
|
| int TabStrip::GetMiniTabCount() const {
|
| int mini_count = 0;
|
| while (mini_count < tab_count() && tab_at(mini_count)->data().mini)
|
|
|