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

Unified Diff: ash/common/material_design/material_design_controller.h

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.h
diff --git a/ash/common/material_design/material_design_controller.h b/ash/common/material_design/material_design_controller.h
index c15b1ef49649c69b0865daed138193f89f9f0cb7..56adf962f9fcb1def38f3999f0efdbd27a33831c 100644
--- a/ash/common/material_design/material_design_controller.h
+++ b/ash/common/material_design/material_design_controller.h
@@ -43,6 +43,10 @@ class ASH_EXPORT MaterialDesignController {
// Returns true if Material Design features are enabled for Chrome OS shelf.
static bool IsShelfMaterial();
+ // Returns true if Material Design features are enable for Chrome OS immersive
James Cook 2016/09/08 20:33:33 nit: enable -> enabled
yiyix 2016/09/08 22:36:18 Done.
+ // mode.
+ static bool IsImmersiveModeEnabled();
James Cook 2016/09/08 20:33:33 This should be IsImmersiveModeMaterial(). Right no
yiyix 2016/09/08 22:36:18 You are right, this method is poorly named. This n
+
// Returns true if Material Design features are enabled for Chrome OS system
// tray menu.
static bool IsSystemTrayMenuMaterial();

Powered by Google App Engine
This is Rietveld 408576698