Chromium Code Reviews| 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(); |
| } |