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

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

Issue 2738723002: MD Settings: disable by default in M58 (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | 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 #include "chrome/common/chrome_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 #include "extensions/features/features.h" 7 #include "extensions/features/features.h"
8 #include "ppapi/features/features.h" 8 #include "ppapi/features/features.h"
9 9
10 namespace features { 10 namespace features {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 extern const base::Feature kAcknowledgeNtpOverrideOnDeactivate{ 155 extern const base::Feature kAcknowledgeNtpOverrideOnDeactivate{
156 "AcknowledgeNtpOverrideOnDeactivate", base::FEATURE_DISABLED_BY_DEFAULT}; 156 "AcknowledgeNtpOverrideOnDeactivate", base::FEATURE_DISABLED_BY_DEFAULT};
157 #endif 157 #endif
158 158
159 // Enables or disables the Material Design version of chrome://history. 159 // Enables or disables the Material Design version of chrome://history.
160 const base::Feature kMaterialDesignHistory{"MaterialDesignHistory", 160 const base::Feature kMaterialDesignHistory{"MaterialDesignHistory",
161 base::FEATURE_ENABLED_BY_DEFAULT}; 161 base::FEATURE_ENABLED_BY_DEFAULT};
162 162
163 // Enables or disables the Material Design version of chrome://settings. 163 // Enables or disables the Material Design version of chrome://settings.
164 // Also affects chrome://help. 164 // Also affects chrome://help.
165 const base::Feature kMaterialDesignSettings { 165 const base::Feature kMaterialDesignSettings{"MaterialDesignSettings",
166 "MaterialDesignSettings", 166 base::FEATURE_DISABLED_BY_DEFAULT};
167 #if defined(OS_CHROMEOS)
168 base::FEATURE_DISABLED_BY_DEFAULT
169 #else
170 base::FEATURE_ENABLED_BY_DEFAULT
171 #endif
172 };
173 167
174 #if !defined(OS_ANDROID) && !defined(OS_IOS) 168 #if !defined(OS_ANDROID) && !defined(OS_IOS)
175 // Enables media content bitstream remoting, an optimization that can activate 169 // Enables media content bitstream remoting, an optimization that can activate
176 // during Cast Tab Mirroring. When kMediaRemotingEncrypted is disabled, the 170 // during Cast Tab Mirroring. When kMediaRemotingEncrypted is disabled, the
177 // feature will not activate for encrypted content. 171 // feature will not activate for encrypted content.
178 const base::Feature kMediaRemoting{"MediaRemoting", 172 const base::Feature kMediaRemoting{"MediaRemoting",
179 base::FEATURE_DISABLED_BY_DEFAULT}; 173 base::FEATURE_DISABLED_BY_DEFAULT};
180 const base::Feature kMediaRemotingEncrypted{"MediaRemotingEncrypted", 174 const base::Feature kMediaRemotingEncrypted{"MediaRemotingEncrypted",
181 base::FEATURE_DISABLED_BY_DEFAULT}; 175 base::FEATURE_DISABLED_BY_DEFAULT};
182 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 176 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 290 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
297 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 291 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
298 base::FEATURE_ENABLED_BY_DEFAULT}; 292 base::FEATURE_ENABLED_BY_DEFAULT};
299 293
300 // Enables or disables flash component updates on Chrome OS. 294 // Enables or disables flash component updates on Chrome OS.
301 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 295 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
302 base::FEATURE_ENABLED_BY_DEFAULT}; 296 base::FEATURE_ENABLED_BY_DEFAULT};
303 #endif // defined(OS_CHROMEOS) 297 #endif // defined(OS_CHROMEOS)
304 298
305 } // namespace features 299 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698