| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ | 5 #ifndef ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ |
| 6 #define ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ | 6 #define ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 | 12 |
| 13 // TODO(estade): deprecated, remove: crbug.com/690957 | 13 // TODO(estade): deprecated, remove: crbug.com/690957 |
| 14 class ASH_EXPORT MaterialDesignController { | 14 class ASH_EXPORT MaterialDesignController { |
| 15 public: | 15 public: |
| 16 // Returns true. | 16 // Returns true. |
| 17 static bool IsShelfMaterial(); | 17 static bool IsShelfMaterial(); |
| 18 | 18 |
| 19 // Returns true. | 19 // Returns true. |
| 20 static bool IsImmersiveModeMaterial(); | |
| 21 | |
| 22 // Returns true. | |
| 23 static bool IsSystemTrayMenuMaterial(); | 20 static bool IsSystemTrayMenuMaterial(); |
| 24 | 21 |
| 25 // Returns true. | 22 // Returns true. |
| 26 static bool UseMaterialDesignSystemIcons(); | 23 static bool UseMaterialDesignSystemIcons(); |
| 27 | 24 |
| 28 private: | 25 private: |
| 29 // Declarations only. Do not allow construction of an object. | 26 // Declarations only. Do not allow construction of an object. |
| 30 MaterialDesignController(); | 27 MaterialDesignController(); |
| 31 ~MaterialDesignController(); | 28 ~MaterialDesignController(); |
| 32 | 29 |
| 33 DISALLOW_COPY_AND_ASSIGN(MaterialDesignController); | 30 DISALLOW_COPY_AND_ASSIGN(MaterialDesignController); |
| 34 }; | 31 }; |
| 35 | 32 |
| 36 } // namespace ash | 33 } // namespace ash |
| 37 | 34 |
| 38 #endif // ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ | 35 #endif // ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ |
| OLD | NEW |