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

Side by Side Diff: ash/common/material_design/material_design_controller.h

Issue 2690443002: cros-md: Remove the non-MD immersive mode code paths (Closed)
Patch Set: rebase & code comments Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/common/material_design/material_design_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | ash/common/material_design/material_design_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698