Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1137)

Unified Diff: chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc

Issue 2690443002: cros-md: Remove the non-MD immersive mode code paths (Closed)
Patch Set: add test coverage Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9fb9c7aaef9e31da74379daba953261b423ea0ac..d93e266bfee26e243ff7d81de06e83aa4f3308c8 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
@@ -138,6 +138,8 @@ TEST_F(ImmersiveModeControllerAshTest, Layout) {
ash::MaterialDesignController::IsImmersiveModeMaterial();
if (!is_using_material_design)
EXPECT_TRUE(tabstrip->IsImmersiveStyle());
+ // 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());

Powered by Google App Engine
This is Rietveld 408576698