OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_features.h" | 6 #include "content/public/common/content_features.h" |
7 | 7 |
8 namespace features { | 8 namespace features { |
9 | 9 |
10 // All features in alphabetical order. | 10 // All features in alphabetical order. |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 // The Experimental Framework for controlling access to API experiments. | 33 // The Experimental Framework for controlling access to API experiments. |
34 const base::Feature kExperimentalFramework{"ExperimentalFramework", | 34 const base::Feature kExperimentalFramework{"ExperimentalFramework", |
35 base::FEATURE_ENABLED_BY_DEFAULT}; | 35 base::FEATURE_ENABLED_BY_DEFAULT}; |
36 | 36 |
37 // Enable the material design playback UI for media elements. This is always | 37 // Enable the material design playback UI for media elements. This is always |
38 // on for OS_ANDROID, but may be enabled by experiment for other platforms. | 38 // on for OS_ANDROID, but may be enabled by experiment for other platforms. |
39 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", | 39 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", |
40 base::FEATURE_DISABLED_BY_DEFAULT}; | 40 base::FEATURE_DISABLED_BY_DEFAULT}; |
41 | 41 |
| 42 // FeatureList definition for trials to enable the download button on |
| 43 // MediaDocument. |
| 44 const base::Feature kMediaDocumentDownloadButton{ |
| 45 "MediaDocumentDownloadButton", |
| 46 base::FEATURE_DISABLED_BY_DEFAULT |
| 47 }; |
| 48 |
42 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). | 49 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). |
43 // See https://crbug.com/558829 | 50 // See https://crbug.com/558829 |
44 const base::Feature kNonValidatingReloadOnRefreshContent{ | 51 const base::Feature kNonValidatingReloadOnRefreshContent{ |
45 "NonValidatingReloadOnRefreshContent", | 52 "NonValidatingReloadOnRefreshContent", |
46 base::FEATURE_DISABLED_BY_DEFAULT}; | 53 base::FEATURE_DISABLED_BY_DEFAULT}; |
47 | 54 |
48 // An experiment to optimize resource loading IPC for small resources. | 55 // An experiment to optimize resource loading IPC for small resources. |
49 // http://crbug.com/580928 | 56 // http://crbug.com/580928 |
50 const base::Feature kOptimizeIPCForSmallResource{ | 57 const base::Feature kOptimizeIPCForSmallResource{ |
51 "OptimizeForSmallResource", | 58 "OptimizeForSmallResource", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // we will not use replica editor and do a round trip to renderer to synchronize | 96 // we will not use replica editor and do a round trip to renderer to synchronize |
90 // with Blink data. | 97 // with Blink data. |
91 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 98 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; |
92 | 99 |
93 // FeatureList definition for the Seccomp field trial. | 100 // FeatureList definition for the Seccomp field trial. |
94 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 101 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
95 base::FEATURE_DISABLED_BY_DEFAULT}; | 102 base::FEATURE_DISABLED_BY_DEFAULT}; |
96 #endif | 103 #endif |
97 | 104 |
98 } // namespace features | 105 } // namespace features |
OLD | NEW |