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

Unified Diff: ui/base/material_design/material_design_controller.h

Issue 2355513002: Remove ability to switch to pre-MD UI from about:flags. (Closed)
Patch Set: some fixes Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/material_design/material_design_controller.h
diff --git a/ui/base/material_design/material_design_controller.h b/ui/base/material_design/material_design_controller.h
index 877333b0194975b7fe529bc9ca583a610ad98f89..b3df2273ccac499b32b0fa1d672c4bfe21164144 100644
--- a/ui/base/material_design/material_design_controller.h
+++ b/ui/base/material_design/material_design_controller.h
@@ -20,8 +20,6 @@ class UI_BASE_EXPORT MaterialDesignController {
// The different material design modes. The order cannot be changed without
// updating references as these are used as array indices.
enum Mode {
- // Classic, non-material design.
- NON_MATERIAL = 0,
// Basic material design.
MATERIAL_NORMAL = 1,
// Material design targeted at mouse/touch hybrid devices.
@@ -34,7 +32,7 @@ class UI_BASE_EXPORT MaterialDesignController {
// Get the current Mode that should be used by the system.
static Mode GetMode();
- // Returns true if the current mode is a material design variant.
+ // Returns true. TODO(estade): remove.
static bool IsModeMaterial();
// Returns true if the current mode is a material design variant and this mode
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_bar_unittest.cc ('k') | ui/base/material_design/material_design_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698