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

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

Issue 2859953002: Reland [Media Router] Custom Controls 3 - add plumbing through MRUI and MRWebUIMessageHandler (Closed)
Patch Set: Fix test failures Created 3 years, 7 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 | « chrome/common/chrome_features.h ('k') | 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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "extensions/features/features.h" 9 #include "extensions/features/features.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // Enables or disables the Material Design version of chrome://settings. 201 // Enables or disables the Material Design version of chrome://settings.
202 // Also affects chrome://help. 202 // Also affects chrome://help.
203 const base::Feature kMaterialDesignSettings{"MaterialDesignSettings", 203 const base::Feature kMaterialDesignSettings{"MaterialDesignSettings",
204 base::FEATURE_ENABLED_BY_DEFAULT}; 204 base::FEATURE_ENABLED_BY_DEFAULT};
205 205
206 #if !defined(OS_ANDROID) && !defined(OS_IOS) 206 #if !defined(OS_ANDROID) && !defined(OS_IOS)
207 // Enables media content bitstream remoting, an optimization that can activate 207 // Enables media content bitstream remoting, an optimization that can activate
208 // during Cast Tab Mirroring. 208 // during Cast Tab Mirroring.
209 const base::Feature kMediaRemoting{"MediaRemoting", 209 const base::Feature kMediaRemoting{"MediaRemoting",
210 base::FEATURE_DISABLED_BY_DEFAULT}; 210 base::FEATURE_DISABLED_BY_DEFAULT};
211
212 // If enabled, replaces the <extensionview> controller in the route details view
213 // of the Media Router dialog with the controller bundled with the WebUI
214 // resources.
215 const base::Feature kMediaRouterUIRouteController{
216 "MediaRouterUIRouteController", base::FEATURE_DISABLED_BY_DEFAULT};
211 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 217 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
212 218
213 // Enables or disables modal permission prompts. 219 // Enables or disables modal permission prompts.
214 const base::Feature kModalPermissionPrompts{"ModalPermissionPrompts", 220 const base::Feature kModalPermissionPrompts{"ModalPermissionPrompts",
215 base::FEATURE_DISABLED_BY_DEFAULT}; 221 base::FEATURE_DISABLED_BY_DEFAULT};
216 222
217 #if defined(OS_WIN) 223 #if defined(OS_WIN)
218 // Enables or disables the ModuleDatabase backend for the conflicts UI. 224 // Enables or disables the ModuleDatabase backend for the conflicts UI.
219 const base::Feature kModuleDatabase{"ModuleDatabase", 225 const base::Feature kModuleDatabase{"ModuleDatabase",
220 base::FEATURE_DISABLED_BY_DEFAULT}; 226 base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 return base::FeatureList::IsEnabled(features::kPrefService) || 352 return base::FeatureList::IsEnabled(features::kPrefService) ||
347 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 353 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
348 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 354 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
349 switches::kMusConfig) == switches::kMash; 355 switches::kMusConfig) == switches::kMash;
350 #else 356 #else
351 false; 357 false;
352 #endif 358 #endif
353 } 359 }
354 360
355 } // namespace features 361 } // namespace features
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698