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

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

Issue 2326703002: Do not show shelf or top chrome hints while in Ash immersive mode (Closed)
Patch Set: address comments Created 4 years, 3 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/browser_non_client_frame_view_ash_browsertest.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc
index 5537bb88a07d3c73d5829d78ded84383b17f7ef0..657c0f38c792197e43984d3a4638e06923461374 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc
@@ -201,7 +201,7 @@ IN_PROC_BROWSER_TEST_F(BrowserNonClientFrameViewAshTest, ImmersiveFullscreen) {
// as full screen, i.e., no light bar and having an origin of (0,0). In
// non-MD, immersive browser will show a 3 dp light bar on the top.
revealed_lock.reset();
- if (ash::MaterialDesignController::IsShelfMaterial()) {
+ if (ash::MaterialDesignController::IsImmersiveModeMaterial()) {
EXPECT_FALSE(frame_view->ShouldPaint());
EXPECT_FALSE(frame_view->UseImmersiveLightbarHeaderStyle());
EXPECT_EQ(0, frame_view->header_painter_->GetHeaderHeightForPainting());
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698