Index: chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc |
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc b/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc |
index bbd3db83638e230e7cde49adbdb51668ad437425..81850660916817e5c8a3ff77a5413431c4fc2c83 100644 |
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc |
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc |
@@ -132,6 +132,8 @@ TEST_F(ImmersiveModeControllerAshTest, Layout) { |
EXPECT_FALSE(toolbar->visible()); |
// The browser's top chrome is completely offscreen with tapstrip visible. |
EXPECT_TRUE(tabstrip->visible()); |
+ // Top container view should be completely offscreen. |
+ EXPECT_EQ(0, GetBoundsInWidget(browser_view()->top_container()).bottom()); |
// The tab indicators should be flush with the top of the widget. |
EXPECT_EQ(0, GetBoundsInWidget(tabstrip).y()); |
@@ -145,7 +147,6 @@ TEST_F(ImmersiveModeControllerAshTest, Layout) { |
AttemptReveal(); |
EXPECT_TRUE(controller()->IsRevealed()); |
EXPECT_TRUE(tabstrip->visible()); |
- EXPECT_FALSE(tabstrip->IsImmersiveStyle()); |
EXPECT_TRUE(toolbar->visible()); |
// The TopContainerView should be flush with the top edge of the widget. If |
@@ -167,7 +168,6 @@ TEST_F(ImmersiveModeControllerAshTest, Layout) { |
// should still be flush with the top edge of the widget. |
EXPECT_TRUE(controller()->IsRevealed()); |
EXPECT_TRUE(tabstrip->visible()); |
- EXPECT_FALSE(tabstrip->IsImmersiveStyle()); |
EXPECT_TRUE(toolbar->visible()); |
EXPECT_EQ(0, GetBoundsInWidget(browser_view()->top_container()).y()); |
@@ -191,7 +191,6 @@ TEST_F(ImmersiveModeControllerAshTest, Layout) { |
EXPECT_FALSE(controller()->IsEnabled()); |
EXPECT_FALSE(controller()->IsRevealed()); |
EXPECT_TRUE(tabstrip->visible()); |
- EXPECT_FALSE(tabstrip->IsImmersiveStyle()); |
EXPECT_TRUE(toolbar->visible()); |
} |