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_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ |
6 #define ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ | 6 #define ASH_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 IsSystemTrayMenuMaterial(); | 20 static bool IsSystemTrayMenuMaterial(); |
21 | 21 |
22 // Returns true. | 22 // Returns true. |
23 static bool UseMaterialDesignSystemIcons(); | 23 static bool UseMaterialDesignSystemIcons(); |
24 | 24 |
25 private: | 25 private: |
26 // Declarations only. Do not allow construction of an object. | 26 // Declarations only. Do not allow construction of an object. |
27 MaterialDesignController(); | 27 MaterialDesignController(); |
28 ~MaterialDesignController(); | 28 ~MaterialDesignController(); |
29 | 29 |
30 DISALLOW_COPY_AND_ASSIGN(MaterialDesignController); | 30 DISALLOW_COPY_AND_ASSIGN(MaterialDesignController); |
31 }; | 31 }; |
32 | 32 |
33 } // namespace ash | 33 } // namespace ash |
34 | 34 |
35 #endif // ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ | 35 #endif // ASH_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ |
OLD | NEW |