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

Side by Side Diff: chrome/common/chrome_features.cc

Issue 2450623002: [MD Bookmarks] Add skeleton for Material Design Bookmarks (Closed)
Patch Set: address comments Created 4 years, 1 month 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 "chrome/common/chrome_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 namespace features { 7 namespace features {
8 8
9 // All features in alphabetical order. 9 // All features in alphabetical order.
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #endif 77 #endif
78 78
79 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) 79 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
80 // Enables showing the "This computer will no longer receive Google Chrome 80 // Enables showing the "This computer will no longer receive Google Chrome
81 // updates" infobar instead of the "will soon stop receiving" infobar on 81 // updates" infobar instead of the "will soon stop receiving" infobar on
82 // deprecated systems. 82 // deprecated systems.
83 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ 83 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{
84 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; 84 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT};
85 #endif 85 #endif
86 86
87 // Enables or disables the Material Design version of chrome://bookmarks.
88 const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks",
89 base::FEATURE_DISABLED_BY_DEFAULT};
90
87 #if defined(ENABLE_EXTENSIONS) 91 #if defined(ENABLE_EXTENSIONS)
88 // Enabled or disabled the Material Design version of chrome://extensions. 92 // Enabled or disabled the Material Design version of chrome://extensions.
89 const base::Feature kMaterialDesignExtensions{ 93 const base::Feature kMaterialDesignExtensions{
90 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT}; 94 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT};
91 #endif 95 #endif
92 96
97 // Enables or disables the Material Design version of chrome://history.
98 const base::Feature kMaterialDesignHistory{"MaterialDesignHistory",
99 base::FEATURE_ENABLED_BY_DEFAULT};
100
101 // Enables or disables the Material Design version of chrome://settings.
102 // Also affects chrome://help.
103 const base::Feature kMaterialDesignSettings{"MaterialDesignSettings",
104 base::FEATURE_DISABLED_BY_DEFAULT};
105
93 // Enables YouTube Flash videos to be overridden. 106 // Enables YouTube Flash videos to be overridden.
94 const base::Feature kOverrideYouTubeFlashEmbed{ 107 const base::Feature kOverrideYouTubeFlashEmbed{
95 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; 108 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT};
96 109
97 // Enables the Print Scaling feature in print preview. 110 // Enables the Print Scaling feature in print preview.
98 #if defined(ENABLE_PRINT_PREVIEW) 111 #if defined(ENABLE_PRINT_PREVIEW)
99 const base::Feature kPrintScaling{"PrintScaling", 112 const base::Feature kPrintScaling{"PrintScaling",
100 base::FEATURE_DISABLED_BY_DEFAULT}; 113 base::FEATURE_DISABLED_BY_DEFAULT};
101 #endif 114 #endif
102 115
103 // Enables or disables push subscriptions keeping Chrome running in the 116 // Enables or disables push subscriptions keeping Chrome running in the
104 // background when closed. 117 // background when closed.
105 const base::Feature kPushMessagingBackgroundMode{ 118 const base::Feature kPushMessagingBackgroundMode{
106 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT}; 119 "PushMessagingBackgroundMode", base::FEATURE_DISABLED_BY_DEFAULT};
107 120
108 // Enables or disables the Material Design version of chrome://history.
109 const base::Feature kMaterialDesignHistory{
110 "MaterialDesignHistory", base::FEATURE_ENABLED_BY_DEFAULT};
111
112 // Enables or disables the Material Design version of chrome://settings.
113 // Also affects chrome://help.
114 const base::Feature kMaterialDesignSettings{
115 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT};
116
117 // Enables the use of native notification centers instead of using the Message 121 // Enables the use of native notification centers instead of using the Message
118 // Center for displaying the toasts. 122 // Center for displaying the toasts.
119 #if defined(OS_MACOSX) 123 #if defined(OS_MACOSX)
120 const base::Feature kNativeNotifications{"NativeNotifications", 124 const base::Feature kNativeNotifications{"NativeNotifications",
121 base::FEATURE_DISABLED_BY_DEFAULT}; 125 base::FEATURE_DISABLED_BY_DEFAULT};
122 #endif // defined(OS_MACOSX) 126 #endif // defined(OS_MACOSX)
123 127
124 #if defined(ENABLE_PLUGINS) 128 #if defined(ENABLE_PLUGINS)
125 // Prefer HTML content by hiding Flash from the list of plugins. 129 // Prefer HTML content by hiding Flash from the list of plugins.
126 // https://crbug.com/626728 130 // https://crbug.com/626728
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Enables or disables PIN quick unlock settings integration. 180 // Enables or disables PIN quick unlock settings integration.
177 const base::Feature kQuickUnlockPin{"QuickUnlockPin", 181 const base::Feature kQuickUnlockPin{"QuickUnlockPin",
178 base::FEATURE_DISABLED_BY_DEFAULT}; 182 base::FEATURE_DISABLED_BY_DEFAULT};
179 183
180 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 184 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
181 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 185 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
182 base::FEATURE_DISABLED_BY_DEFAULT}; 186 base::FEATURE_DISABLED_BY_DEFAULT};
183 #endif // defined(OS_CHROMEOS) 187 #endif // defined(OS_CHROMEOS)
184 188
185 } // namespace features 189 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698