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

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

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
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 #include "ash/common/material_design/material_design_controller.h" 5 #include "ash/common/material_design/material_design_controller.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 namespace ash { 9 namespace ash {
10 10
11 // static 11 // static
12 bool MaterialDesignController::IsShelfMaterial() { 12 bool MaterialDesignController::IsShelfMaterial() {
13 return true; 13 return true;
14 } 14 }
15 15
16 // static 16 // static
17 bool MaterialDesignController::IsImmersiveModeMaterial() {
18 return true;
19 }
20
21 // static
22 bool MaterialDesignController::IsSystemTrayMenuMaterial() { 17 bool MaterialDesignController::IsSystemTrayMenuMaterial() {
23 return true; 18 return true;
24 } 19 }
25 20
26 // static 21 // static
27 bool MaterialDesignController::UseMaterialDesignSystemIcons() { 22 bool MaterialDesignController::UseMaterialDesignSystemIcons() {
28 return true; 23 return true;
29 } 24 }
30 25
31 } // namespace ash 26 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/material_design/material_design_controller.h ('k') | ash/common/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698