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

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: 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: 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..5796eb9284de86a60261edd371f3a39fde0a443d 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::IsImmersiveModeEnabled() {
+ return IsMaterialExperimental() || IsMaterialNormal();
tdanderson 2016/09/08 21:19:14 Just call IsMaterial() instead.
yiyix 2016/09/08 22:36:18 Done.
+}
+
+// static
bool MaterialDesignController::IsSystemTrayMenuMaterial() {
return MaterialDesignController::IsMaterialExperimental();
}

Powered by Google App Engine
This is Rietveld 408576698