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

Unified Diff: ash/common/material_design/material_design_controller.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
« no previous file with comments | « ash/common/material_design/material_design_controller.h ('k') | ash/common/shelf/shelf_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/material_design/material_design_controller.cc
diff --git a/ash/common/material_design/material_design_controller.cc b/ash/common/material_design/material_design_controller.cc
index 41a6cb5e1c143c022e4a2fa1fef05a0f7c9e5e6f..74b9e2423504abdf8e7889592a2d3d39180c5bd2 100644
--- a/ash/common/material_design/material_design_controller.cc
+++ b/ash/common/material_design/material_design_controller.cc
@@ -68,6 +68,11 @@ bool MaterialDesignController::IsShelfMaterial() {
}
// static
+bool MaterialDesignController::IsImmersiveModeMaterial() {
+ return IsMaterial();
+}
+
+// static
bool MaterialDesignController::IsSystemTrayMenuMaterial() {
return MaterialDesignController::IsMaterialExperimental();
}
« no previous file with comments | « ash/common/material_design/material_design_controller.h ('k') | ash/common/shelf/shelf_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698