[email protected] | 9c66adc | 2012-01-05 02:10:16 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
[email protected] | 1a47d7e | 2010-10-15 00:37:24 | [diff] [blame] | 5 | #include "chrome/browser/about_flags.h" |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 6 | |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 7 | #include <iterator> |
| 8 | #include <map> |
Tom McKee | d47f7ed6 | 2020-04-06 13:53:40 | [diff] [blame] | 9 | #include <memory> |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 10 | #include <set> |
[email protected] | 83e9fa70 | 2013-02-25 19:30:44 | [diff] [blame] | 11 | #include <utility> |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 12 | |
Jiaquan He | 20785d5e | 2018-04-30 21:30:14 | [diff] [blame] | 13 | #include "ash/public/cpp/app_list/app_list_features.h" |
Charles Zhao | 7e5fd0e | 2019-10-20 23:20:51 | [diff] [blame] | 14 | #include "ash/public/cpp/app_list/app_list_switches.h" |
minch | ab2ded5ce | 2019-09-06 18:32:28 | [diff] [blame] | 15 | #include "ash/public/cpp/ash_features.h" |
Darren Shen | cd7d584d | 2019-05-15 01:30:35 | [diff] [blame] | 16 | #include "ash/public/cpp/keyboard/keyboard_switches.h" |
Trent Apted | c5e504d | 2017-10-26 23:19:26 | [diff] [blame] | 17 | #include "base/base_switches.h" |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 18 | #include "base/bind.h" |
| 19 | #include "base/callback.h" |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 20 | #include "base/command_line.h" |
asvitkine | 03007d0 | 2015-10-21 22:50:06 | [diff] [blame] | 21 | #include "base/feature_list.h" |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 22 | #include "base/i18n/base_i18n_switches.h" |
[email protected] | 3b63f8f4 | 2011-03-28 01:54:15 | [diff] [blame] | 23 | #include "base/memory/singleton.h" |
Ilya Sherman | 982457e6 | 2017-12-13 02:19:36 | [diff] [blame] | 24 | #include "base/metrics/histogram_functions.h" |
[email protected] | 09f3fde8 | 2014-05-14 15:08:15 | [diff] [blame] | 25 | #include "base/stl_util.h" |
[email protected] | 3ea1b18 | 2013-02-08 22:38:41 | [diff] [blame] | 26 | #include "base/strings/string_number_conversions.h" |
[email protected] | 135cb80 | 2013-06-09 16:44:20 | [diff] [blame] | 27 | #include "base/strings/utf_string_conversions.h" |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 28 | #include "base/values.h" |
Nico Weber | eaa0841 | 2019-08-14 01:24:37 | [diff] [blame] | 29 | #include "build/branding_buildflags.h" |
avi | e4d7b6f | 2015-12-26 00:59:18 | [diff] [blame] | 30 | #include "build/build_config.h" |
Matt Amert | 2df4f145 | 2019-12-09 04:59:49 | [diff] [blame] | 31 | #include "cc/base/features.h" |
[email protected] | 681ccff | 2013-03-18 06:13:52 | [diff] [blame] | 32 | #include "cc/base/switches.h" |
Ahmed Fakhry | 4f567e69 | 2018-10-16 15:51:08 | [diff] [blame] | 33 | #include "chrome/browser/browser_features.h" |
Jon Mann | 5ebbd153 | 2020-04-17 22:12:05 | [diff] [blame] | 34 | #include "chrome/browser/chromeos/android_sms/android_sms_switches.h" |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 35 | #include "chrome/browser/flag_descriptions.h" |
Michael Crouse | 1c9adba | 2020-07-08 17:39:01 | [diff] [blame] | 36 | #include "chrome/browser/lite_video/lite_video_switches.h" |
Tarun Bansal | 0c4a7d4 | 2020-05-11 19:19:33 | [diff] [blame] | 37 | #include "chrome/browser/navigation_predictor/search_engine_preconnector.h" |
Eric Orth | 9a14dca | 2020-04-02 20:07:47 | [diff] [blame] | 38 | #include "chrome/browser/net/stub_resolver_config_reader.h" |
| 39 | #include "chrome/browser/net/system_network_context_manager.h" |
Xing Liu | 1919ec23 | 2019-07-22 20:38:04 | [diff] [blame] | 40 | #include "chrome/browser/notifications/scheduler/public/features.h" |
Josh Simmons | 4a41bc7 | 2020-07-06 19:13:01 | [diff] [blame] | 41 | #include "chrome/browser/performance_hints/performance_hints_features.h" |
Sigurdur Asgeirsson | 68667e1 | 2020-04-29 17:53:29 | [diff] [blame] | 42 | #include "chrome/browser/performance_manager/policies/policy_features.h" |
Illia Klimov | 5ba0f17 | 2020-09-30 21:23:23 | [diff] [blame] | 43 | #include "chrome/browser/permissions/abusive_origin_notifications_permission_revocation_config.h" |
Balazs Engedy | 715b0ec | 2019-12-04 15:11:45 | [diff] [blame] | 44 | #include "chrome/browser/permissions/quiet_notification_permission_ui_config.h" |
Alexandr Ilin | f0500ed3 | 2017-09-27 21:12:36 | [diff] [blame] | 45 | #include "chrome/browser/predictors/loading_predictor_config.h" |
Robert Ogden | e7bbbcb | 2020-03-24 22:37:33 | [diff] [blame] | 46 | #include "chrome/browser/prerender/isolated/isolated_prerender_features.h" |
Robert Ogden | 1261e8f | 2020-06-24 22:45:46 | [diff] [blame] | 47 | #include "chrome/browser/prerender/isolated/isolated_prerender_params.h" |
Sebastien Marchand | d33f7dc | 2018-06-22 22:07:06 | [diff] [blame] | 48 | #include "chrome/browser/resource_coordinator/tab_manager_features.h" |
Ramya Nagarajan | 6d58d18 | 2018-05-31 22:23:30 | [diff] [blame] | 49 | #include "chrome/browser/search/ntp_features.h" |
Yasmin | 71ff267 | 2019-06-20 16:22:49 | [diff] [blame] | 50 | #include "chrome/browser/sharing/click_to_call/feature.h" |
Himanshu Jaju | dbcee23 | 2019-06-17 19:41:49 | [diff] [blame] | 51 | #include "chrome/browser/sharing/features.h" |
Yasmin | 69a132f | 2019-08-07 15:30:36 | [diff] [blame] | 52 | #include "chrome/browser/sharing/shared_clipboard/feature_flags.h" |
Sam Goto | 09d69a1 | 2019-11-20 23:56:56 | [diff] [blame] | 53 | #include "chrome/browser/sharing/sms/sms_flags.h" |
David Roger | 346d667 | 2020-05-04 15:11:09 | [diff] [blame] | 54 | #include "chrome/browser/signin/signin_features.h" |
Charlene Yan | 0724dc56 | 2019-04-12 17:57:41 | [diff] [blame] | 55 | #include "chrome/browser/ui/ui_features.h" |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 56 | #include "chrome/browser/unexpire_flags.h" |
Elly Fong-Jones | 4054f14 | 2020-04-17 17:12:33 | [diff] [blame] | 57 | #include "chrome/browser/unexpire_flags_gen.h" |
Shakti Sahu | 2741f8d | 2020-08-14 03:38:36 | [diff] [blame] | 58 | #include "chrome/browser/video_tutorials/switches.h" |
Scott Violet | 6200d33 | 2018-02-23 21:29:23 | [diff] [blame] | 59 | #include "chrome/common/buildflags.h" |
sdefresne | 9fb6769 | 2015-08-03 18:48:22 | [diff] [blame] | 60 | #include "chrome/common/channel_info.h" |
[email protected] | d208f4d8 | 2011-05-23 21:52:03 | [diff] [blame] | 61 | #include "chrome/common/chrome_content_client.h" |
georgesak | 45ee353 | 2016-01-08 03:39:54 | [diff] [blame] | 62 | #include "chrome/common/chrome_features.h" |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 63 | #include "chrome/common/chrome_switches.h" |
Donn Denman | 5972981 | 2018-01-09 01:27:02 | [diff] [blame] | 64 | #include "components/assist_ranker/predictor_config_definitions.h" |
mathp | 8a74a99 | 2016-08-03 16:21:17 | [diff] [blame] | 65 | #include "components/autofill/core/browser/autofill_experiments.h" |
Mathieu Perreault | a24d0c2 | 2017-11-10 01:22:00 | [diff] [blame] | 66 | #include "components/autofill/core/common/autofill_features.h" |
Jared Saul | d998539f | 2019-03-19 15:11:17 | [diff] [blame] | 67 | #include "components/autofill/core/common/autofill_payments_features.h" |
[email protected] | 58bc1c3 | 2013-12-16 22:52:07 | [diff] [blame] | 68 | #include "components/autofill/core/common/autofill_switches.h" |
csashi | a447acf | 2017-05-19 22:05:29 | [diff] [blame] | 69 | #include "components/autofill/core/common/autofill_util.h" |
Hui(Andy) Wu | fbebf91d2 | 2019-02-01 01:23:54 | [diff] [blame] | 70 | #include "components/autofill_assistant/browser/features.h" |
maxbogue | 26f4022 | 2016-09-16 20:22:18 | [diff] [blame] | 71 | #include "components/browser_sync/browser_sync_switches.h" |
Jenny Blessing | 45326bf | 2019-08-29 23:50:37 | [diff] [blame] | 72 | #include "components/browsing_data/core/features.h" |
[email protected] | 4e6c96e | 2014-05-17 18:41:19 | [diff] [blame] | 73 | #include "components/cloud_devices/common/cloud_devices_switches.h" |
Donn Denman | 63d169f | 2019-03-08 23:34:50 | [diff] [blame] | 74 | #include "components/contextual_search/core/browser/public.h" |
megjablon | 553df4cf | 2017-04-01 01:29:55 | [diff] [blame] | 75 | #include "components/data_reduction_proxy/core/common/data_reduction_proxy_features.h" |
brettw | f195891 | 2015-10-07 19:43:12 | [diff] [blame] | 76 | #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h" |
Aran Gilman | c9a22c57 | 2019-09-06 16:47:50 | [diff] [blame] | 77 | #include "components/dom_distiller/core/dom_distiller_features.h" |
cjhopman | 951bb61 | 2015-04-22 01:42:38 | [diff] [blame] | 78 | #include "components/dom_distiller/core/dom_distiller_switches.h" |
Min Qin | d461ee46 | 2018-03-09 19:39:15 | [diff] [blame] | 79 | #include "components/download/public/common/download_features.h" |
blundell | a5e3240a | 2016-01-05 11:30:43 | [diff] [blame] | 80 | #include "components/error_page/common/error_page_switches.h" |
Tommy Nyquist | c1d6dea1 | 2017-07-26 20:37:23 | [diff] [blame] | 81 | #include "components/feature_engagement/public/feature_constants.h" |
| 82 | #include "components/feature_engagement/public/feature_list.h" |
Theresa | 920e0ed | 2018-03-07 18:12:44 | [diff] [blame] | 83 | #include "components/feed/feed_feature_list.h" |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 84 | #include "components/flags_ui/feature_entry.h" |
sdefresne | 246c564 | 2015-11-16 21:47:29 | [diff] [blame] | 85 | #include "components/flags_ui/feature_entry_macros.h" |
Michael Crouse | 1c9adba | 2020-07-08 17:39:01 | [diff] [blame] | 86 | #include "components/flags_ui/flags_state.h" |
droger | 888be0b | 2015-10-01 14:28:52 | [diff] [blame] | 87 | #include "components/flags_ui/flags_storage.h" |
Nate Fischer | 03103b9 | 2020-06-05 19:30:50 | [diff] [blame] | 88 | #include "components/flags_ui/flags_ui_metrics.h" |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 89 | #include "components/flags_ui/flags_ui_switches.h" |
Sebastien | 6f347c4 | 2019-10-25 19:12:41 | [diff] [blame] | 90 | #include "components/games/core/games_features.h" |
Tanja Gornak | b0985dd | 2018-10-11 17:24:40 | [diff] [blame] | 91 | #include "components/invalidation/impl/invalidation_switches.h" |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 92 | #include "components/language/core/common/language_experiments.h" |
Behnood Momenzadeh | 7411ae9 | 2020-04-29 16:54:18 | [diff] [blame] | 93 | #include "components/lookalikes/core/features.h" |
Pavel Yatsuk | 35829175 | 2020-09-03 18:25:22 | [diff] [blame] | 94 | #include "components/messages/android/messages_feature.h" |
Derek Schuff | 71d9a92 | 2019-04-24 21:36:00 | [diff] [blame] | 95 | #include "components/nacl/common/buildflags.h" |
| 96 | #include "components/nacl/common/nacl_switches.h" |
Matt Menke | 64b9fc7 | 2017-07-29 02:22:45 | [diff] [blame] | 97 | #include "components/network_session_configurator/common/network_features.h" |
mmenke | 68a5021 | 2017-06-12 20:20:31 | [diff] [blame] | 98 | #include "components/network_session_configurator/common/network_switches.h" |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 99 | #include "components/ntp_tiles/features.h" |
chili | ecd2380 | 2016-12-07 10:27:11 | [diff] [blame] | 100 | #include "components/offline_pages/core/offline_page_feature.h" |
jdonnelly | 3d2d65e9 | 2017-02-23 21:33:59 | [diff] [blame] | 101 | #include "components/omnibox/browser/omnibox_field_trial.h" |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 102 | #include "components/omnibox/common/omnibox_features.h" |
Christian Dullweber | 3f91c90c8 | 2020-09-09 10:48:26 | [diff] [blame] | 103 | #include "components/page_info/features.h" |
ckitagawa | 8dad53d | 2020-01-07 16:03:35 | [diff] [blame] | 104 | #include "components/paint_preview/buildflags/buildflags.h" |
| 105 | #include "components/paint_preview/features/features.h" |
pritam.nikam | 906f9ae | 2015-12-07 18:36:39 | [diff] [blame] | 106 | #include "components/password_manager/core/common/password_manager_features.h" |
Mathieu Perreault | 51339b8 | 2017-07-20 17:06:05 | [diff] [blame] | 107 | #include "components/payments/core/features.h" |
Yann Dago | 70afb65d | 2019-08-06 15:50:53 | [diff] [blame] | 108 | #include "components/policy/core/common/features.h" |
Mugdha Lakhani | 3cff533 | 2020-08-05 07:31:20 | [diff] [blame] | 109 | #include "components/prerender/browser/prerender_field_trial.h" |
ryansturm | 28839dee | 2017-05-05 17:34:27 | [diff] [blame] | 110 | #include "components/previews/core/previews_features.h" |
Thanh Le | 5f090efa5 | 2017-12-27 22:39:44 | [diff] [blame] | 111 | #include "components/previews/core/previews_switches.h" |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 112 | #include "components/query_tiles/switches.h" |
Ali Juma | fb3dc1f | 2020-01-07 17:33:47 | [diff] [blame] | 113 | #include "components/safe_browsing/core/features.h" |
Colin Blundell | 7657b40 | 2020-02-25 09:46:50 | [diff] [blame] | 114 | #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" |
Edward Jung | 7c1793af | 2019-06-14 17:33:56 | [diff] [blame] | 115 | #include "components/security_interstitials/core/features.h" |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 116 | #include "components/security_state/core/features.h" |
estark | 04c3307c | 2016-12-20 08:47:17 | [diff] [blame] | 117 | #include "components/security_state/core/security_state.h" |
Jeffrey Cohen | 9f3e609 | 2019-03-21 21:55:01 | [diff] [blame] | 118 | #include "components/send_tab_to_self/features.h" |
erikchen | 34810df0 | 2018-04-05 21:40:38 | [diff] [blame] | 119 | #include "components/services/heap_profiling/public/cpp/switches.h" |
Mihai Sardarescu | 0060dff | 2019-10-22 11:14:58 | [diff] [blame] | 120 | #include "components/signin/core/browser/dice_account_reconcilor_delegate.h" |
Colin Blundell | 3517170e | 2019-07-11 08:16:34 | [diff] [blame] | 121 | #include "components/signin/public/base/signin_buildflags.h" |
| 122 | #include "components/signin/public/base/signin_switches.h" |
Clark DuVall | aadc244c | 2020-06-06 03:47:14 | [diff] [blame] | 123 | #include "components/site_isolation/features.h" |
timvolodine | 34b1ffd | 2016-09-01 12:45:23 | [diff] [blame] | 124 | #include "components/spellcheck/common/spellcheck_features.h" |
Scott Violet | d7983c5 | 2018-03-03 00:24:41 | [diff] [blame] | 125 | #include "components/spellcheck/spellcheck_buildflags.h" |
Rushan Suleymanov | 988ad37 | 2020-07-26 19:10:08 | [diff] [blame] | 126 | #include "components/sync/base/sync_base_switches.h" |
maxbogue | 455a57e3 | 2016-08-14 00:08:32 | [diff] [blame] | 127 | #include "components/sync/driver/sync_driver_switches.h" |
primiano | ccb26c6 | 2016-06-01 21:50:02 | [diff] [blame] | 128 | #include "components/tracing/common/tracing_switches.h" |
Scott Little | b26dc86 | 2020-09-30 18:08:11 | [diff] [blame] | 129 | #include "components/translate/core/browser/translate_manager.h" |
ftang | ee70896 | 2016-05-07 00:39:28 | [diff] [blame] | 130 | #include "components/translate/core/browser/translate_prefs.h" |
Philippe Hamel | 7fdaa45 | 2017-09-29 17:22:49 | [diff] [blame] | 131 | #include "components/translate/core/browser/translate_ranker_impl.h" |
Doug Arnett | c52291a | 2020-05-07 18:52:30 | [diff] [blame] | 132 | #include "components/translate/core/common/translate_util.h" |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 133 | #include "components/ui_devtools/switches.h" |
sdefresne | 9fb6769 | 2015-08-03 18:48:22 | [diff] [blame] | 134 | #include "components/version_info/version_info.h" |
kylechar | 7051c09 | 2018-02-05 20:31:39 | [diff] [blame] | 135 | #include "components/viz/common/features.h" |
kylechar | 0a233f9 | 2019-03-08 16:50:54 | [diff] [blame] | 136 | #include "components/viz/common/switches.h" |
rsesek | a8dcaa9 | 2015-11-23 17:55:09 | [diff] [blame] | 137 | #include "content/public/common/content_features.h" |
brettw | 90e9260 | 2015-10-10 00:12:40 | [diff] [blame] | 138 | #include "content/public/common/content_switches.h" |
reillyg | 6204d73 | 2017-02-13 22:24:56 | [diff] [blame] | 139 | #include "device/base/features.h" |
Adam Langley | 64bc0423 | 2019-03-30 21:05:56 | [diff] [blame] | 140 | #include "device/fido/features.h" |
Qiaofei Ye | beb9a23 | 2020-07-22 23:47:04 | [diff] [blame] | 141 | #include "device/gamepad/public/cpp/gamepad_features.h" |
Scott Violet | c8240b0 | 2018-03-08 22:03:59 | [diff] [blame] | 142 | #include "device/vr/buildflags/buildflags.h" |
| 143 | #include "extensions/buildflags/buildflags.h" |
Andres Calderon Jaramillo | 605253d | 2018-09-05 15:46:35 | [diff] [blame] | 144 | #include "gpu/config/gpu_finch_features.h" |
ericrk | 41a1579e | 2017-02-10 20:56:28 | [diff] [blame] | 145 | #include "gpu/config/gpu_switches.h" |
warx | e993ec3 | 2016-10-18 21:37:47 | [diff] [blame] | 146 | #include "media/audio/audio_features.h" |
[email protected] | e2e8e32 | 2012-09-12 04:37:02 | [diff] [blame] | 147 | #include "media/base/media_switches.h" |
Hirokazu Honda | 8ef07cd | 2020-04-17 03:36:38 | [diff] [blame] | 148 | #include "media/capture/capture_switches.h" |
Scott Violet | a35f9a4 | 2018-03-22 22:00:44 | [diff] [blame] | 149 | #include "media/media_buildflags.h" |
yhirano | bbea627 | 2015-09-17 07:09:03 | [diff] [blame] | 150 | #include "media/midi/midi_switches.h" |
Alex Loiko | 66f63f5c | 2018-11-16 10:21:06 | [diff] [blame] | 151 | #include "media/webrtc/webrtc_switches.h" |
David Benjamin | 570460e | 2018-10-16 06:01:29 | [diff] [blame] | 152 | #include "net/base/features.h" |
Asanka Herath | d37426e | 2019-10-29 22:11:10 | [diff] [blame] | 153 | #include "net/net_buildflags.h" |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 154 | #include "net/nqe/effective_connection_type.h" |
Thanh Le | a98f12f | 2017-12-18 19:35:30 | [diff] [blame] | 155 | #include "net/nqe/network_quality_estimator_params.h" |
Adam Rice | c786ad8a | 2018-05-22 09:49:15 | [diff] [blame] | 156 | #include "net/websockets/websocket_basic_handshake_stream.h" |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 157 | #include "pdf/buildflags.h" |
Scott Violet | 02e38b9 | 2018-03-27 23:42:14 | [diff] [blame] | 158 | #include "ppapi/buildflags/buildflags.h" |
Scott Violet | 318a55f | 2018-03-30 19:08:19 | [diff] [blame] | 159 | #include "printing/buildflags/buildflags.h" |
Robert Sesek | 7d0b49b | 2020-07-08 18:31:27 | [diff] [blame] | 160 | #include "sandbox/policy/features.h" |
| 161 | #include "sandbox/policy/switches.h" |
ke.he | a91facd | 2017-04-12 05:11:50 | [diff] [blame] | 162 | #include "services/device/public/cpp/device_features.h" |
Vicky Min | b02c3e9 | 2020-07-07 20:56:52 | [diff] [blame] | 163 | #include "services/device/public/cpp/serial/serial_switches.h" |
Becca Hughes | ac86cd44 | 2019-01-09 23:49:54 | [diff] [blame] | 164 | #include "services/media_session/public/cpp/features.h" |
Yutaka Hirano | d8789f9 | 2018-01-30 09:59:51 | [diff] [blame] | 165 | #include "services/network/public/cpp/features.h" |
John Abd-El-Malek | 91243b3 | 2018-01-19 06:08:33 | [diff] [blame] | 166 | #include "services/network/public/cpp/network_switches.h" |
Lexi Stavrakos | d9e64e1 | 2020-07-21 21:52:10 | [diff] [blame] | 167 | #include "storage/browser/quota/quota_features.h" |
Takashi SAKAMOTO | 502a8d5e | 2018-05-23 15:26:08 | [diff] [blame] | 168 | #include "third_party/blink/public/common/experiments/memory_ablation_experiment.h" |
Matt Falkenhagen | 5cc65279 | 2018-06-21 10:34:33 | [diff] [blame] | 169 | #include "third_party/blink/public/common/features.h" |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 170 | #include "third_party/blink/public/common/forcedark/forcedark_switches.h" |
Dave Tapuska | 9bcf6cc | 2020-06-25 15:15:01 | [diff] [blame] | 171 | #include "third_party/blink/public/common/switches.h" |
Christian Dullweber | 3cc579a2 | 2018-09-11 10:54:44 | [diff] [blame] | 172 | #include "third_party/leveldatabase/leveldb_features.h" |
Adam Ettenberger | dcf51b4 | 2019-09-23 19:33:41 | [diff] [blame] | 173 | #include "ui/accessibility/accessibility_features.h" |
Chris Hall | e952239e | 2018-11-06 06:49:52 | [diff] [blame] | 174 | #include "ui/accessibility/accessibility_switches.h" |
Trent Apted | 9efc453 | 2017-10-23 11:09:38 | [diff] [blame] | 175 | #include "ui/base/ui_base_features.h" |
[email protected] | c9c73ad4 | 2012-04-18 03:35:59 | [diff] [blame] | 176 | #include "ui/base/ui_base_switches.h" |
loyso | 4345c8e | 2016-02-11 05:16:21 | [diff] [blame] | 177 | #include "ui/compositor/compositor_switches.h" |
Ahmed Fakhry | 15d707e | 2019-02-22 23:54:21 | [diff] [blame] | 178 | #include "ui/display/display_features.h" |
[email protected] | bf3f459 | 2014-03-31 19:50:44 | [diff] [blame] | 179 | #include "ui/display/display_switches.h" |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 180 | #include "ui/events/blink/blink_features.h" |
[email protected] | a6147a2 | 2013-09-26 06:55:09 | [diff] [blame] | 181 | #include "ui/events/event_switches.h" |
[email protected] | 0d3b9dd | 2012-11-14 04:14:48 | [diff] [blame] | 182 | #include "ui/gfx/switches.h" |
Scott Violet | fd6ee11 | 2019-01-10 19:05:32 | [diff] [blame] | 183 | #include "ui/gl/buildflags.h" |
[email protected] | c9e2cbbb | 2012-05-12 21:17:27 | [diff] [blame] | 184 | #include "ui/gl/gl_switches.h" |
chaopeng | d3ca34feb | 2017-04-20 17:11:22 | [diff] [blame] | 185 | #include "ui/native_theme/native_theme_features.h" |
[email protected] | 9a22457 | 2013-05-12 23:08:56 | [diff] [blame] | 186 | |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 187 | #if defined(OS_LINUX) || defined(OS_CHROMEOS) |
Brian Geffon | c3bdd6d | 2019-08-21 22:48:31 | [diff] [blame] | 188 | #include "base/allocator/buildflags.h" |
| 189 | #endif |
| 190 | |
cco3 | 842ece2 | 2015-12-28 23:54:02 | [diff] [blame] | 191 | #if defined(OS_ANDROID) |
Cathy Li | c450408f | 2018-08-02 20:32:54 | [diff] [blame] | 192 | #include "chrome/browser/android/explore_sites/explore_sites_feature.h" |
Henrique Nakashima | 476b0b5 | 2020-01-24 22:28:03 | [diff] [blame] | 193 | #include "chrome/browser/flags/android/chrome_feature_list.h" |
Xing Liu | f84cb1a | 2020-08-10 19:06:35 | [diff] [blame] | 194 | #include "chrome/browser/notifications/chime/android/features.h" |
Robbie McElrath | 38cb3e5a | 2020-04-01 22:45:05 | [diff] [blame] | 195 | #include "components/browser_ui/site_settings/android/features.h" |
Colin Blundell | cdf9087 | 2020-03-11 12:25:51 | [diff] [blame] | 196 | #include "components/external_intents/android/external_intents_feature_list.h" |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 197 | #else // OS_ANDROID |
Derek Cheng | 3447838 | 2018-04-07 00:32:59 | [diff] [blame] | 198 | #include "chrome/browser/media/router/media_router_feature.h" |
Alan Cutter | 2ab7a04 | 2020-09-14 03:57:40 | [diff] [blame] | 199 | #include "chrome/browser/web_applications/components/external_app_install_features.h" |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 200 | #endif // OS_ANDROID |
[email protected] | 3dfb401 | 2014-06-11 07:33:38 | [diff] [blame] | 201 | |
[email protected] | badba1ad | 2012-11-16 17:21:46 | [diff] [blame] | 202 | #if defined(OS_CHROMEOS) |
Evan Stade | 7d0e823 | 2017-10-04 02:01:36 | [diff] [blame] | 203 | #include "ash/public/cpp/ash_switches.h" |
Steven Bennetts | 38e9bde2 | 2019-01-03 17:31:10 | [diff] [blame] | 204 | #include "chromeos/constants/chromeos_features.h" |
| 205 | #include "chromeos/constants/chromeos_switches.h" |
Xiaohui Chen | a3b92031 | 2020-04-21 22:46:23 | [diff] [blame] | 206 | #include "chromeos/services/assistant/public/cpp/features.h" |
xzhou | 938368c | 2016-10-04 04:33:17 | [diff] [blame] | 207 | #include "components/arc/arc_features.h" |
Ricky Liang | 8df4337 | 2020-07-09 09:41:09 | [diff] [blame] | 208 | #include "media/capture/video/chromeos/video_capture_features_chromeos.h" |
[email protected] | 6d98abf | 2013-06-17 23:35:51 | [diff] [blame] | 209 | #include "third_party/cros_system_api/switches/chrome_switches.h" |
Michael Spang | ccfc6f97 | 2019-11-21 18:49:33 | [diff] [blame] | 210 | #include "ui/events/ozone/features.h" |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 211 | #endif // OS_CHROMEOS |
[email protected] | badba1ad | 2012-11-16 17:21:46 | [diff] [blame] | 212 | |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 213 | #if defined(OS_MAC) |
tapted | d1cb0bf | 2016-05-26 03:26:24 | [diff] [blame] | 214 | #include "chrome/browser/ui/browser_dialogs.h" |
Avi Drissman | 9734618 | 2020-07-30 16:36:14 | [diff] [blame] | 215 | #endif // OS_MAC |
tapted | d1cb0bf | 2016-05-26 03:26:24 | [diff] [blame] | 216 | |
brettw | 00899e6 | 2016-11-12 02:10:17 | [diff] [blame] | 217 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
Devlin Cronin | cac45cb | 2018-04-25 04:43:03 | [diff] [blame] | 218 | #include "extensions/common/extension_features.h" |
thestig | b012bc3d | 2014-09-18 22:57:13 | [diff] [blame] | 219 | #include "extensions/common/switches.h" |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 220 | #endif // ENABLE_EXTENSIONS |
thestig | b012bc3d | 2014-09-18 22:57:13 | [diff] [blame] | 221 | |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 222 | #if BUILDFLAG(ENABLE_PDF) |
Lei Zhang | 802201c | 2018-11-14 18:16:28 | [diff] [blame] | 223 | #include "pdf/pdf_features.h" |
| 224 | #endif |
| 225 | |
Daniel Hosseinian | 7b57a42 | 2019-06-11 23:52:32 | [diff] [blame] | 226 | #if BUILDFLAG(ENABLE_PRINTING) |
Alan Screen | 113d014 | 2020-01-31 06:11:21 | [diff] [blame] | 227 | #include "printing/printing_features.h" |
Daniel Hosseinian | 7b57a42 | 2019-06-11 23:52:32 | [diff] [blame] | 228 | #endif |
| 229 | |
alexst | 24a14a32 | 2015-03-10 21:06:09 | [diff] [blame] | 230 | #if defined(USE_OZONE) |
| 231 | #include "ui/ozone/public/ozone_switches.h" |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 232 | #endif // USE_OZONE |
alexst | 24a14a32 | 2015-03-10 21:06:09 | [diff] [blame] | 233 | |
hubbe | e749951 | 2017-04-05 22:35:04 | [diff] [blame] | 234 | #if defined(OS_WIN) |
| 235 | #include "base/win/windows_version.h" |
Bret Sepulveda | 979c3c4 | 2018-03-21 18:56:39 | [diff] [blame] | 236 | #include "chrome/browser/win/titlebar_config.h" |
hubbe | e749951 | 2017-04-05 22:35:04 | [diff] [blame] | 237 | #endif // OS_WIN |
| 238 | |
Collin Baker | 75a2946 | 2019-03-13 19:57:31 | [diff] [blame] | 239 | #if defined(TOOLKIT_VIEWS) |
| 240 | #include "ui/views/animation/installable_ink_drop.h" |
Sajad Maysam | c30d6f8 | 2019-03-19 22:52:50 | [diff] [blame] | 241 | #include "ui/views/views_features.h" |
| 242 | #include "ui/views/views_switches.h" |
Collin Baker | 75a2946 | 2019-03-13 19:57:31 | [diff] [blame] | 243 | #endif // defined(TOOLKIT_VIEWS) |
| 244 | |
sdefresne | 246c564 | 2015-11-16 21:47:29 | [diff] [blame] | 245 | using flags_ui::FeatureEntry; |
Yann Dago | 7802871 | 2019-09-04 15:23:54 | [diff] [blame] | 246 | using flags_ui::kDeprecated; |
Thanh Le | 2c279fbc | 2017-11-21 01:25:40 | [diff] [blame] | 247 | using flags_ui::kOsAndroid; |
| 248 | using flags_ui::kOsCrOS; |
| 249 | using flags_ui::kOsCrOSOwnerOnly; |
| 250 | using flags_ui::kOsLinux; |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 251 | using flags_ui::kOsMac; |
| 252 | using flags_ui::kOsWin; |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 253 | |
sdefresne | 246c564 | 2015-11-16 21:47:29 | [diff] [blame] | 254 | namespace about_flags { |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 255 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 256 | namespace { |
| 257 | |
[email protected] | 9c7453d | 2012-01-21 00:45:40 | [diff] [blame] | 258 | const unsigned kOsAll = kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid; |
[email protected] | f3cd680 | 2013-01-23 20:25:56 | [diff] [blame] | 259 | const unsigned kOsDesktop = kOsMac | kOsWin | kOsLinux | kOsCrOS; |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 260 | |
Jinsuk Kim | 227f5c4 | 2019-02-11 01:04:35 | [diff] [blame] | 261 | #if defined(USE_AURA) || defined(OS_ANDROID) |
mfomitchev | 05cf876 | 2017-03-15 23:46:29 | [diff] [blame] | 262 | const unsigned kOsAura = kOsWin | kOsLinux | kOsCrOS; |
Jinsuk Kim | 227f5c4 | 2019-02-11 01:04:35 | [diff] [blame] | 263 | #endif // USE_AURA || OS_ANDROID |
mfomitchev | 05cf876 | 2017-03-15 23:46:29 | [diff] [blame] | 264 | |
[email protected] | c38e980 | 2014-02-18 21:32:12 | [diff] [blame] | 265 | #if defined(USE_AURA) |
Mohsen Izadi | 8c59ba5 | 2018-04-12 18:52:01 | [diff] [blame] | 266 | const FeatureEntry::Choice kPullToRefreshChoices[] = { |
| 267 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 268 | {flags_ui::kGenericExperimentChoiceDisabled, switches::kPullToRefresh, "0"}, |
| 269 | {flags_ui::kGenericExperimentChoiceEnabled, switches::kPullToRefresh, "1"}, |
| 270 | {flag_descriptions::kPullToRefreshEnabledTouchscreen, |
| 271 | switches::kPullToRefresh, "2"}}; |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 272 | #endif // USE_AURA |
[email protected] | c38e980 | 2014-02-18 21:32:12 | [diff] [blame] | 273 | |
Daniele Castagna | 74ddb9c | 2018-06-21 22:59:02 | [diff] [blame] | 274 | const FeatureEntry::Choice kOverlayStrategiesChoices[] = { |
| 275 | {flag_descriptions::kOverlayStrategiesDefault, "", ""}, |
| 276 | {flag_descriptions::kOverlayStrategiesNone, |
| 277 | switches::kEnableHardwareOverlays, ""}, |
| 278 | {flag_descriptions::kOverlayStrategiesUnoccludedFullscreen, |
| 279 | switches::kEnableHardwareOverlays, "single-fullscreen"}, |
| 280 | {flag_descriptions::kOverlayStrategiesUnoccluded, |
| 281 | switches::kEnableHardwareOverlays, "single-fullscreen,single-on-top"}, |
| 282 | {flag_descriptions::kOverlayStrategiesOccludedAndUnoccluded, |
| 283 | switches::kEnableHardwareOverlays, |
| 284 | "single-fullscreen,single-on-top,underlay"}, |
| 285 | }; |
| 286 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 287 | const FeatureEntry::Choice kTouchTextSelectionStrategyChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 288 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 289 | {flag_descriptions::kTouchSelectionStrategyCharacter, |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 290 | blink::switches::kTouchTextSelectionStrategy, "character"}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 291 | {flag_descriptions::kTouchSelectionStrategyDirection, |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 292 | blink::switches::kTouchTextSelectionStrategy, "direction"}}; |
mfomitchev | 5ad034ec | 2015-04-24 21:57:27 | [diff] [blame] | 293 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 294 | const FeatureEntry::Choice kTraceUploadURL[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 295 | {flags_ui::kGenericExperimentChoiceDisabled, "", ""}, |
| 296 | {flag_descriptions::kTraceUploadUrlChoiceOther, switches::kTraceUploadURL, |
vabr | 777c16b | 2017-03-27 17:39:21 | [diff] [blame] | 297 | "https://performance-insights.appspot.com/upload?tags=flags,Other"}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 298 | {flag_descriptions::kTraceUploadUrlChoiceEmloading, |
| 299 | switches::kTraceUploadURL, |
vabr | 777c16b | 2017-03-27 17:39:21 | [diff] [blame] | 300 | "https://performance-insights.appspot.com/upload?tags=flags,emloading"}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 301 | {flag_descriptions::kTraceUploadUrlChoiceQa, switches::kTraceUploadURL, |
vabr | 777c16b | 2017-03-27 17:39:21 | [diff] [blame] | 302 | "https://performance-insights.appspot.com/upload?tags=flags,QA"}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 303 | {flag_descriptions::kTraceUploadUrlChoiceTesting, switches::kTraceUploadURL, |
vabr | 777c16b | 2017-03-27 17:39:21 | [diff] [blame] | 304 | "https://performance-insights.appspot.com/upload?tags=flags,TestingTeam"}}; |
fmeawad | d27de1d | 2015-10-02 22:32:50 | [diff] [blame] | 305 | |
dtapuska | f65650b | 2016-05-13 17:21:34 | [diff] [blame] | 306 | const FeatureEntry::Choice kPassiveListenersChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 307 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 308 | {flag_descriptions::kPassiveEventListenerTrue, |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 309 | blink::switches::kPassiveListenersDefault, "true"}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 310 | {flag_descriptions::kPassiveEventListenerForceAllTrue, |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 311 | blink::switches::kPassiveListenersDefault, "forcealltrue"}, |
dtapuska | f65650b | 2016-05-13 17:21:34 | [diff] [blame] | 312 | }; |
| 313 | |
ryansturm | 7e309dd | 2017-05-24 16:29:53 | [diff] [blame] | 314 | const FeatureEntry::Choice kDataReductionProxyServerExperiment[] = { |
| 315 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
Thanh Le | 2c279fbc | 2017-11-21 01:25:40 | [diff] [blame] | 316 | {flag_descriptions::kDataReductionProxyServerAlternative1, |
ryansturm | 7e309dd | 2017-05-24 16:29:53 | [diff] [blame] | 317 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
Thanh Le | 2c279fbc | 2017-11-21 01:25:40 | [diff] [blame] | 318 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative1}, |
| 319 | {flag_descriptions::kDataReductionProxyServerAlternative2, |
| 320 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 321 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative2}, |
| 322 | {flag_descriptions::kDataReductionProxyServerAlternative3, |
| 323 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 324 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative3}, |
| 325 | {flag_descriptions::kDataReductionProxyServerAlternative4, |
| 326 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 327 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative4}, |
| 328 | {flag_descriptions::kDataReductionProxyServerAlternative5, |
| 329 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 330 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative5}, |
| 331 | {flag_descriptions::kDataReductionProxyServerAlternative6, |
| 332 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 333 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative6}, |
| 334 | {flag_descriptions::kDataReductionProxyServerAlternative7, |
| 335 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 336 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative7}, |
| 337 | {flag_descriptions::kDataReductionProxyServerAlternative8, |
| 338 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 339 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative8}, |
| 340 | {flag_descriptions::kDataReductionProxyServerAlternative9, |
| 341 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 342 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative9}, |
| 343 | {flag_descriptions::kDataReductionProxyServerAlternative10, |
| 344 | data_reduction_proxy::switches::kDataReductionProxyExperiment, |
| 345 | data_reduction_proxy::switches::kDataReductionProxyServerAlternative10}}; |
ryansturm | 7e309dd | 2017-05-24 16:29:53 | [diff] [blame] | 346 | |
Tarun Bansal | b137fff | 2020-08-07 18:57:21 | [diff] [blame] | 347 | const FeatureEntry::Choice kLiteVideoDefaultDownlinkBandwidthKbps[] = { |
| 348 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 349 | {"100", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 350 | "100"}, |
| 351 | {"150", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 352 | "150"}, |
| 353 | {"200", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 354 | "200"}, |
| 355 | {"250", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 356 | "250"}, |
| 357 | {"300", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 358 | "300"}, |
| 359 | {"350", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 360 | "350"}, |
| 361 | {"400", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 362 | "400"}, |
| 363 | {"450", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 364 | "450"}, |
| 365 | {"500", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 366 | "500"}, |
| 367 | {"600", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 368 | "600"}, |
| 369 | {"700", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 370 | "700"}, |
| 371 | {"800", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 372 | "800"}, |
| 373 | {"900", lite_video::switches::kLiteVideoDefaultDownlinkBandwidthKbps, |
| 374 | "900"}}; |
| 375 | |
Olli Etuaho | 12232119 | 2018-09-07 10:15:29 | [diff] [blame] | 376 | #if defined(OS_WIN) |
| 377 | const FeatureEntry::Choice kUseAngleChoices[] = { |
| 378 | {flag_descriptions::kUseAngleDefault, "", ""}, |
| 379 | {flag_descriptions::kUseAngleGL, switches::kUseANGLE, |
| 380 | gl::kANGLEImplementationOpenGLName}, |
| 381 | {flag_descriptions::kUseAngleD3D11, switches::kUseANGLE, |
| 382 | gl::kANGLEImplementationD3D11Name}, |
| 383 | {flag_descriptions::kUseAngleD3D9, switches::kUseANGLE, |
Nathan Zabriskie | 70c046f | 2019-10-16 01:19:02 | [diff] [blame] | 384 | gl::kANGLEImplementationD3D9Name}, |
| 385 | {flag_descriptions::kUseAngleD3D11on12, switches::kUseANGLE, |
| 386 | gl::kANGLEImplementationD3D11on12Name}}; |
Olli Etuaho | 12232119 | 2018-09-07 10:15:29 | [diff] [blame] | 387 | #endif |
| 388 | |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 389 | #if BUILDFLAG(ENABLE_VR) |
| 390 | const FeatureEntry::Choice kWebXrForceRuntimeChoices[] = { |
| 391 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 392 | {flag_descriptions::kWebXrRuntimeChoiceNone, switches::kWebXrForceRuntime, |
| 393 | switches::kWebXrRuntimeNone}, |
| 394 | |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 395 | #if BUILDFLAG(ENABLE_OPENXR) |
| 396 | {flag_descriptions::kWebXrRuntimeChoiceOpenXR, switches::kWebXrForceRuntime, |
| 397 | switches::kWebXrRuntimeOpenXr}, |
| 398 | #endif // ENABLE_OPENXR |
| 399 | |
| 400 | #if BUILDFLAG(ENABLE_WINDOWS_MR) |
| 401 | {flag_descriptions::kWebXrRuntimeChoiceWindowsMixedReality, |
| 402 | switches::kWebXrForceRuntime, switches::kWebXrRuntimeWMR}, |
| 403 | #endif // ENABLE_WINDOWS_MR |
| 404 | }; |
| 405 | #endif // ENABLE_VR |
| 406 | |
[email protected] | d5874f1 | 2013-12-05 04:30:00 | [diff] [blame] | 407 | #if defined(OS_ANDROID) |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 408 | const FeatureEntry::Choice kReaderModeHeuristicsChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 409 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 410 | {flag_descriptions::kReaderModeHeuristicsMarkup, |
| 411 | switches::kReaderModeHeuristics, |
| 412 | switches::reader_mode_heuristics::kOGArticle}, |
| 413 | {flag_descriptions::kReaderModeHeuristicsAdaboost, |
| 414 | switches::kReaderModeHeuristics, |
| 415 | switches::reader_mode_heuristics::kAdaBoost}, |
| 416 | {flag_descriptions::kReaderModeHeuristicsAlwaysOn, |
| 417 | switches::kReaderModeHeuristics, |
| 418 | switches::reader_mode_heuristics::kAlwaysTrue}, |
| 419 | {flag_descriptions::kReaderModeHeuristicsAlwaysOff, |
| 420 | switches::kReaderModeHeuristics, switches::reader_mode_heuristics::kNone}, |
wychen | 4b6112cc | 2017-07-07 18:15:11 | [diff] [blame] | 421 | {flag_descriptions::kReaderModeHeuristicsAllArticles, |
| 422 | switches::kReaderModeHeuristics, |
| 423 | switches::reader_mode_heuristics::kAllArticles}, |
cjhopman | 951bb61 | 2015-04-22 01:42:38 | [diff] [blame] | 424 | }; |
Matthew Jones | d349741f | 2017-05-26 21:07:52 | [diff] [blame] | 425 | |
Tommy Nyquist | 3c02e59 | 2018-10-18 23:36:44 | [diff] [blame] | 426 | const FeatureEntry::Choice kForceUpdateMenuTypeChoices[] = { |
| 427 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 428 | {flag_descriptions::kUpdateMenuTypeNone, switches::kForceUpdateMenuType, |
| 429 | "none"}, |
| 430 | {flag_descriptions::kUpdateMenuTypeUpdateAvailable, |
| 431 | switches::kForceUpdateMenuType, "update_available"}, |
| 432 | {flag_descriptions::kUpdateMenuTypeUnsupportedOSVersion, |
| 433 | switches::kForceUpdateMenuType, "unsupported_os_version"}, |
Tommy Nyquist | 023d505f | 2019-02-16 02:18:38 | [diff] [blame] | 434 | {flag_descriptions::kUpdateMenuTypeInlineUpdateSuccess, |
| 435 | switches::kForceUpdateMenuType, "inline_update_success"}, |
| 436 | {flag_descriptions::kUpdateMenuTypeInlineUpdateDialogCanceled, |
| 437 | switches::kForceUpdateMenuType, "inline_update_dialog_canceled"}, |
| 438 | {flag_descriptions::kUpdateMenuTypeInlineUpdateDialogFailed, |
| 439 | switches::kForceUpdateMenuType, "inline_update_dialog_failed"}, |
| 440 | {flag_descriptions::kUpdateMenuTypeInlineUpdateDownloadFailed, |
| 441 | switches::kForceUpdateMenuType, "inline_update_download_failed"}, |
| 442 | {flag_descriptions::kUpdateMenuTypeInlineUpdateDownloadCanceled, |
| 443 | switches::kForceUpdateMenuType, "inline_update_download_canceled"}, |
| 444 | {flag_descriptions::kUpdateMenuTypeInlineUpdateInstallFailed, |
| 445 | switches::kForceUpdateMenuType, "inline_update_install_failed"}, |
Tommy Nyquist | 3c02e59 | 2018-10-18 23:36:44 | [diff] [blame] | 446 | }; |
Katie D | 1ca4328b | 2020-02-19 18:08:47 | [diff] [blame] | 447 | #else // !defined(OS_ANDROID) |
| 448 | const FeatureEntry::FeatureParam kReaderModeOfferInSettings[] = { |
| 449 | {switches::kReaderModeDiscoverabilityParamName, |
| 450 | switches::kReaderModeOfferInSettings}}; |
Michael van Ouwerkerk | a5df1ec | 2018-10-11 11:57:40 | [diff] [blame] | 451 | |
Katie D | 1ca4328b | 2020-02-19 18:08:47 | [diff] [blame] | 452 | const FeatureEntry::FeatureVariation kReaderModeDiscoverabilityVariations[] = { |
| 453 | {"available in settings", kReaderModeOfferInSettings, |
| 454 | base::size(kReaderModeOfferInSettings), nullptr}}; |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 455 | #endif // OS_ANDROID |
[email protected] | d5874f1 | 2013-12-05 04:30:00 | [diff] [blame] | 456 | |
Aran Gilman | 85b72c8f | 2019-10-16 17:51:19 | [diff] [blame] | 457 | #if !defined(OS_CHROMEOS) |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 458 | const FeatureEntry::FeatureParam kForceDark_SimpleHsl[] = { |
| 459 | {"inversion_method", "hsl_based"}, |
| 460 | {"image_behavior", "none"}, |
| 461 | {"text_lightness_threshold", "256"}, |
| 462 | {"background_lightness_threshold", "0"}}; |
| 463 | |
| 464 | const FeatureEntry::FeatureParam kForceDark_SimpleCielab[] = { |
| 465 | {"inversion_method", "cielab_based"}, |
| 466 | {"image_behavior", "none"}, |
| 467 | {"text_lightness_threshold", "256"}, |
| 468 | {"background_lightness_threshold", "0"}}; |
| 469 | |
Aran Gilman | 8b3ca41c | 2019-08-12 18:59:04 | [diff] [blame] | 470 | const FeatureEntry::FeatureParam kForceDark_SimpleRgb[] = { |
| 471 | {"inversion_method", "rgb_based"}, |
| 472 | {"image_behavior", "none"}, |
| 473 | {"text_lightness_threshold", "256"}, |
| 474 | {"background_lightness_threshold", "0"}}; |
| 475 | |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 476 | const FeatureEntry::FeatureParam kForceDark_SelectiveImageInversion[] = { |
| 477 | {"inversion_method", "cielab_based"}, |
| 478 | {"image_behavior", "selective"}, |
| 479 | {"text_lightness_threshold", "256"}, |
| 480 | {"background_lightness_threshold", "0"}}; |
| 481 | |
| 482 | const FeatureEntry::FeatureParam kForceDark_SelectiveElementInversion[] = { |
| 483 | {"inversion_method", "cielab_based"}, |
| 484 | {"image_behavior", "none"}, |
| 485 | {"text_lightness_threshold", "150"}, |
| 486 | {"background_lightness_threshold", "205"}}; |
| 487 | |
| 488 | const FeatureEntry::FeatureParam kForceDark_SelectiveGeneralInversion[] = { |
| 489 | {"inversion_method", "cielab_based"}, |
| 490 | {"image_behavior", "selective"}, |
| 491 | {"text_lightness_threshold", "150"}, |
| 492 | {"background_lightness_threshold", "205"}}; |
| 493 | |
| 494 | const FeatureEntry::FeatureVariation kForceDarkVariations[] = { |
| 495 | {"with simple HSL-based inversion", kForceDark_SimpleHsl, |
| 496 | base::size(kForceDark_SimpleHsl), nullptr}, |
| 497 | {"with simple CIELAB-based inversion", kForceDark_SimpleCielab, |
| 498 | base::size(kForceDark_SimpleCielab), nullptr}, |
Aran Gilman | 8b3ca41c | 2019-08-12 18:59:04 | [diff] [blame] | 499 | {"with simple RGB-based inversion", kForceDark_SimpleRgb, |
| 500 | base::size(kForceDark_SimpleRgb), nullptr}, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 501 | {"with selective image inversion", kForceDark_SelectiveImageInversion, |
| 502 | base::size(kForceDark_SelectiveImageInversion), nullptr}, |
| 503 | {"with selective inversion of non-image elements", |
| 504 | kForceDark_SelectiveElementInversion, |
| 505 | base::size(kForceDark_SelectiveElementInversion), nullptr}, |
| 506 | {"with selective inversion of everything", |
| 507 | kForceDark_SelectiveGeneralInversion, |
| 508 | base::size(kForceDark_SelectiveGeneralInversion), nullptr}}; |
Aran Gilman | 85b72c8f | 2019-10-16 17:51:19 | [diff] [blame] | 509 | #endif // !OS_CHROMEOS |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 510 | |
Dominic Farolino | 7d3d6f1 | 2020-06-10 21:59:46 | [diff] [blame] | 511 | const FeatureEntry::FeatureParam kDelayAsyncScriptExecutionFinishedParsing[] = { |
| 512 | {"delay_type", "finished_parsing"}}; |
| 513 | const FeatureEntry::FeatureParam |
| 514 | kDelayAsyncScriptExecutionFirstPaintOrFinishedParsing[] = { |
| 515 | {"delay_type", "first_paint_or_finished_parsing"}}; |
| 516 | |
| 517 | const FeatureEntry::FeatureVariation |
| 518 | kDelayAsyncScriptExecutionFeatureVariations[] = { |
| 519 | {"with delay until finished parsing document", |
| 520 | kDelayAsyncScriptExecutionFinishedParsing, |
| 521 | base::size(kDelayAsyncScriptExecutionFinishedParsing), nullptr}, |
| 522 | {"with delay until first paint or finished parsing document", |
| 523 | kDelayAsyncScriptExecutionFirstPaintOrFinishedParsing, |
| 524 | base::size(kDelayAsyncScriptExecutionFirstPaintOrFinishedParsing), |
| 525 | nullptr}}; |
| 526 | |
Dominic Farolino | 0dc1376 | 2020-08-26 19:54:50 | [diff] [blame] | 527 | const FeatureEntry::FeatureParam |
| 528 | kDelayCompetingLowPriorityRequestsAggressiveFirstPaint[] = { |
| 529 | {"until", "first_paint"}, |
| 530 | {"priority_threshold", "medium"}}; |
| 531 | const FeatureEntry::FeatureParam |
| 532 | kDelayCompetingLowPriorityRequestsAggressiveFirstContentfulPaint[] = { |
| 533 | {"until", "first_contentful_paint"}, |
| 534 | {"priority_threshold", "medium"}}; |
| 535 | const FeatureEntry::FeatureParam |
| 536 | kDelayCompetingLowPriorityRequestsRelaxedFirstPaint[] = { |
| 537 | {"until", "first_paint"}, |
| 538 | {"priority_threshold", "high"}}; |
| 539 | const FeatureEntry::FeatureParam |
| 540 | kDelayCompetingLowPriorityRequestsRelaxedFirstContentfulPaint[] = { |
| 541 | {"until", "first_contentful_paint"}, |
| 542 | {"priority_threshold", "high"}}; |
| 543 | const FeatureEntry::FeatureParam |
| 544 | kDelayCompetingLowPriorityRequestsRelaxedAlways[] = { |
| 545 | {"until", "always"}, |
| 546 | {"priority_threshold", "high"}}; |
| 547 | |
| 548 | const FeatureEntry::FeatureVariation |
| 549 | kDelayCompetingLowPriorityRequestsFeatureVariations[] = { |
| 550 | {"behind medium priority, until first paint", |
| 551 | kDelayCompetingLowPriorityRequestsAggressiveFirstPaint, |
| 552 | base::size(kDelayCompetingLowPriorityRequestsAggressiveFirstPaint), |
| 553 | nullptr}, |
| 554 | {"behind medium priority, until first contentful paint", |
| 555 | kDelayCompetingLowPriorityRequestsAggressiveFirstContentfulPaint, |
| 556 | base::size( |
| 557 | kDelayCompetingLowPriorityRequestsAggressiveFirstContentfulPaint), |
| 558 | nullptr}, |
| 559 | {"behind high priority, until first paint", |
| 560 | kDelayCompetingLowPriorityRequestsRelaxedFirstPaint, |
| 561 | base::size(kDelayCompetingLowPriorityRequestsRelaxedFirstPaint), |
| 562 | nullptr}, |
| 563 | {"behind high priority, until first contentful paint", |
| 564 | kDelayCompetingLowPriorityRequestsRelaxedFirstContentfulPaint, |
| 565 | base::size( |
| 566 | kDelayCompetingLowPriorityRequestsRelaxedFirstContentfulPaint), |
| 567 | nullptr}, |
| 568 | {"behind high priority, always", |
| 569 | kDelayCompetingLowPriorityRequestsRelaxedAlways, |
| 570 | base::size(kDelayCompetingLowPriorityRequestsRelaxedAlways), nullptr}}; |
| 571 | |
Francois Doray | 9bdc723b | 2020-09-09 13:46:29 | [diff] [blame] | 572 | const FeatureEntry::FeatureParam kIntensiveWakeUpThrottlingAfter10Seconds[] = { |
| 573 | {blink::features::kIntensiveWakeUpThrottling_GracePeriodSeconds_Name, |
| 574 | "10"}}; |
Francois Doray | 6cff4e0 | 2020-07-01 01:12:58 | [diff] [blame] | 575 | |
| 576 | const FeatureEntry::FeatureVariation kIntensiveWakeUpThrottlingVariations[] = { |
Francois Doray | 9bdc723b | 2020-09-09 13:46:29 | [diff] [blame] | 577 | {"10 seconds after a tab is hidden (facilitates testing)", |
| 578 | kIntensiveWakeUpThrottlingAfter10Seconds, |
| 579 | base::size(kIntensiveWakeUpThrottlingAfter10Seconds), nullptr}, |
Francois Doray | 6cff4e0 | 2020-07-01 01:12:58 | [diff] [blame] | 580 | }; |
| 581 | |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 582 | #if defined(OS_ANDROID) |
Mei Liang | f169f08 | 2020-02-05 04:41:31 | [diff] [blame] | 583 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_Immediate[] = { |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 584 | {"baseline_tab_suggestions", "true"}, |
| 585 | {"baseline_close_tab_suggestions", "true"}}; |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 586 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_4Hours[] = { |
| 587 | {"close_tab_suggestions_stale_time_ms", "14400000"}}; |
| 588 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_8Hours[] = { |
| 589 | {"close_tab_suggestions_stale_time_ms", "28800000"}}; |
| 590 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_7Days[] = { |
| 591 | {"close_tab_suggestions_stale_time_ms", "604800000"}}; |
David Maunder | 6ad59a0 | 2020-02-10 23:38:49 | [diff] [blame] | 592 | const FeatureEntry::FeatureParam kCloseTabSuggestionsTimeSiteEngagement[] = { |
| 593 | {"close_tab_min_num_tabs", "5"}, |
| 594 | {"close_tab_features_time_last_used_enabled", "true"}, |
| 595 | {"close_tab_features_time_last_used_transform", "MEAN_VARIANCE"}, |
| 596 | {"close_tab_features_time_last_used_threshold", "0.5"}, |
| 597 | {"close_tab_features_site_engagement_enabled", "true"}, |
| 598 | {"close_tab_features_site_engagement_threshold", "90.0"}, |
| 599 | }; |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 600 | const FeatureEntry::FeatureParam kGroupAndCloseTabSuggestions_Immediate[] = { |
| 601 | {"baseline_tab_suggestions", "true"}, |
| 602 | {"baseline_group_tab_suggestions", "true"}, |
| 603 | {"baseline_close_tab_suggestions", "true"}}; |
David Maunder | 6ad59a0 | 2020-02-10 23:38:49 | [diff] [blame] | 604 | |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 605 | const FeatureEntry::FeatureVariation kCloseTabSuggestionsStaleVariations[] = { |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 606 | {"Close Immediate", kCloseTabSuggestionsStale_Immediate, |
Mei Liang | f169f08 | 2020-02-05 04:41:31 | [diff] [blame] | 607 | base::size(kCloseTabSuggestionsStale_Immediate), nullptr}, |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 608 | {"Group+Close Immediate", kGroupAndCloseTabSuggestions_Immediate, |
| 609 | base::size(kGroupAndCloseTabSuggestions_Immediate), nullptr}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 610 | {"4 hours", kCloseTabSuggestionsStale_4Hours, |
| 611 | base::size(kCloseTabSuggestionsStale_4Hours), nullptr}, |
| 612 | {"8 hours", kCloseTabSuggestionsStale_8Hours, |
| 613 | base::size(kCloseTabSuggestionsStale_8Hours), nullptr}, |
| 614 | {"7 days", kCloseTabSuggestionsStale_7Days, |
| 615 | base::size(kCloseTabSuggestionsStale_7Days), nullptr}, |
David Maunder | 6ad59a0 | 2020-02-10 23:38:49 | [diff] [blame] | 616 | {"Time & Site Engagement", kCloseTabSuggestionsTimeSiteEngagement, |
| 617 | base::size(kCloseTabSuggestionsTimeSiteEngagement), nullptr}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 618 | }; |
| 619 | #endif // OS_ANDROID |
| 620 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 621 | const FeatureEntry::Choice kEnableGpuRasterizationChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 622 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 623 | {flags_ui::kGenericExperimentChoiceEnabled, |
| 624 | switches::kEnableGpuRasterization, ""}, |
| 625 | {flags_ui::kGenericExperimentChoiceDisabled, |
| 626 | switches::kDisableGpuRasterization, ""}, |
[email protected] | a23530d | 2014-03-11 06:04:14 | [diff] [blame] | 627 | }; |
| 628 | |
Adrienne Walker | c87477e | 2018-06-06 22:28:21 | [diff] [blame] | 629 | const FeatureEntry::Choice kEnableOopRasterizationChoices[] = { |
| 630 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 631 | {flags_ui::kGenericExperimentChoiceEnabled, |
| 632 | switches::kEnableOopRasterization, ""}, |
| 633 | {flags_ui::kGenericExperimentChoiceDisabled, |
| 634 | switches::kDisableOopRasterization, ""}, |
| 635 | }; |
| 636 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 637 | const FeatureEntry::Choice kExtensionContentVerificationChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 638 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 639 | {flag_descriptions::kExtensionContentVerificationBootstrap, |
| 640 | switches::kExtensionContentVerification, |
| 641 | switches::kExtensionContentVerificationBootstrap}, |
| 642 | {flag_descriptions::kExtensionContentVerificationEnforce, |
| 643 | switches::kExtensionContentVerification, |
| 644 | switches::kExtensionContentVerificationEnforce}, |
| 645 | {flag_descriptions::kExtensionContentVerificationEnforceStrict, |
| 646 | switches::kExtensionContentVerification, |
| 647 | switches::kExtensionContentVerificationEnforceStrict}, |
[email protected] | 6f8ede3 | 2014-05-09 13:58:45 | [diff] [blame] | 648 | }; |
| 649 | |
Peter Kasting | d7742835 | 2018-10-26 15:20:25 | [diff] [blame] | 650 | const FeatureEntry::Choice kTopChromeTouchUiChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 651 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
Peter Kasting | d7742835 | 2018-10-26 15:20:25 | [diff] [blame] | 652 | {flags_ui::kGenericExperimentChoiceAutomatic, switches::kTopChromeTouchUi, |
| 653 | switches::kTopChromeTouchUiAuto}, |
| 654 | {flags_ui::kGenericExperimentChoiceDisabled, switches::kTopChromeTouchUi, |
| 655 | switches::kTopChromeTouchUiDisabled}, |
| 656 | {flags_ui::kGenericExperimentChoiceEnabled, switches::kTopChromeTouchUi, |
| 657 | switches::kTopChromeTouchUiEnabled}}; |
bruthig | 0d89d6a | 2015-06-26 19:37:49 | [diff] [blame] | 658 | |
Mike Wasserman | 2115b16 | 2017-09-19 23:42:37 | [diff] [blame] | 659 | #if defined(OS_CHROMEOS) |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 660 | const char kLacrosSupportInternalName[] = "lacros-support"; |
| 661 | |
reveman | 5be07ac8 | 2017-04-14 01:06:05 | [diff] [blame] | 662 | const FeatureEntry::Choice kUiShowCompositedLayerBordersChoices[] = { |
| 663 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 664 | {flag_descriptions::kUiShowCompositedLayerBordersRenderPass, |
| 665 | cc::switches::kUIShowCompositedLayerBorders, |
| 666 | cc::switches::kCompositedRenderPassBorders}, |
| 667 | {flag_descriptions::kUiShowCompositedLayerBordersSurface, |
| 668 | cc::switches::kUIShowCompositedLayerBorders, |
| 669 | cc::switches::kCompositedSurfaceBorders}, |
| 670 | {flag_descriptions::kUiShowCompositedLayerBordersLayer, |
| 671 | cc::switches::kUIShowCompositedLayerBorders, |
| 672 | cc::switches::kCompositedLayerBorders}, |
| 673 | {flag_descriptions::kUiShowCompositedLayerBordersAll, |
| 674 | cc::switches::kUIShowCompositedLayerBorders, ""}}; |
Daniel Erat | 33054b2 | 2017-06-27 16:18:07 | [diff] [blame] | 675 | |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 676 | #endif // OS_CHROMEOS |
yoshiki | e76455b3 | 2015-07-22 10:31:01 | [diff] [blame] | 677 | |
alemate | ad0c0ac | 2015-09-22 07:43:53 | [diff] [blame] | 678 | #if defined(OS_CHROMEOS) |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 679 | const FeatureEntry::Choice kCrosRegionsModeChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 680 | {flag_descriptions::kCrosRegionsModeDefault, "", ""}, |
| 681 | {flag_descriptions::kCrosRegionsModeOverride, |
| 682 | chromeos::switches::kCrosRegionsMode, |
| 683 | chromeos::switches::kCrosRegionsModeOverride}, |
| 684 | {flag_descriptions::kCrosRegionsModeHide, |
| 685 | chromeos::switches::kCrosRegionsMode, |
| 686 | chromeos::switches::kCrosRegionsModeHide}, |
alemate | ad0c0ac | 2015-09-22 07:43:53 | [diff] [blame] | 687 | }; |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 688 | #endif // OS_CHROMEOS |
alemate | ad0c0ac | 2015-09-22 07:43:53 | [diff] [blame] | 689 | |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 690 | const FeatureEntry::Choice kForceUIDirectionChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 691 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
krb | 6822b60 | 2017-05-02 14:53:21 | [diff] [blame] | 692 | {flag_descriptions::kForceDirectionLtr, switches::kForceUIDirection, |
| 693 | switches::kForceDirectionLTR}, |
| 694 | {flag_descriptions::kForceDirectionRtl, switches::kForceUIDirection, |
| 695 | switches::kForceDirectionRTL}, |
| 696 | }; |
| 697 | |
| 698 | const FeatureEntry::Choice kForceTextDirectionChoices[] = { |
| 699 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 700 | {flag_descriptions::kForceDirectionLtr, switches::kForceTextDirection, |
| 701 | switches::kForceDirectionLTR}, |
| 702 | {flag_descriptions::kForceDirectionRtl, switches::kForceTextDirection, |
| 703 | switches::kForceDirectionRTL}, |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 704 | }; |
| 705 | |
sammiequon | d583776 | 2017-03-16 21:14:59 | [diff] [blame] | 706 | #if defined(OS_CHROMEOS) |
Mattias Nissler | 6bb633f | 2019-02-13 23:41:46 | [diff] [blame] | 707 | const FeatureEntry::Choice kSchedulerConfigurationChoices[] = { |
| 708 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 709 | {flag_descriptions::kSchedulerConfigurationConservative, |
| 710 | switches::kSchedulerConfiguration, |
| 711 | switches::kSchedulerConfigurationConservative}, |
| 712 | {flag_descriptions::kSchedulerConfigurationPerformance, |
| 713 | switches::kSchedulerConfiguration, |
| 714 | switches::kSchedulerConfigurationPerformance}, |
| 715 | }; |
sammiequon | d583776 | 2017-03-16 21:14:59 | [diff] [blame] | 716 | #endif // OS_CHROMEOS |
| 717 | |
twellington | ce51db3 | 2015-12-30 16:24:29 | [diff] [blame] | 718 | #if defined(OS_ANDROID) |
Tomasz Wiszkowski | 5b429a5 | 2020-04-06 18:41:04 | [diff] [blame] | 719 | const FeatureEntry::FeatureParam kCompactSuggestions_SemicompactVariant[] = { |
| 720 | {"omnibox_compact_suggestions_variant", "semi-compact"}}; |
| 721 | |
| 722 | const FeatureEntry::FeatureVariation kCompactSuggestionsVariations[] = { |
| 723 | {"- Semi-compact", kCompactSuggestions_SemicompactVariant, |
| 724 | base::size(kCompactSuggestions_SemicompactVariant), nullptr}, |
| 725 | }; |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 726 | #endif // OS_ANDROID |
jkrcal | b050f15 | 2016-06-21 17:12:11 | [diff] [blame] | 727 | |
oshima | 82d23704 | 2016-02-04 01:00:23 | [diff] [blame] | 728 | const FeatureEntry::Choice kEnableUseZoomForDSFChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 729 | {flag_descriptions::kEnableUseZoomForDsfChoiceDefault, "", ""}, |
| 730 | {flag_descriptions::kEnableUseZoomForDsfChoiceEnabled, |
| 731 | switches::kEnableUseZoomForDSF, "true"}, |
| 732 | {flag_descriptions::kEnableUseZoomForDsfChoiceDisabled, |
| 733 | switches::kEnableUseZoomForDSF, "false"}, |
oshima | 82d23704 | 2016-02-04 01:00:23 | [diff] [blame] | 734 | }; |
| 735 | |
Lukasz Anforowicz | 738a88d | 2018-11-05 19:19:34 | [diff] [blame] | 736 | const FeatureEntry::Choice kSiteIsolationOptOutChoices[] = { |
| 737 | {flag_descriptions::kSiteIsolationOptOutChoiceDefault, "", ""}, |
| 738 | {flag_descriptions::kSiteIsolationOptOutChoiceOptOut, |
| 739 | switches::kDisableSiteIsolation, ""}, |
Nick Carter | 855bc49 | 2018-03-10 00:44:57 | [diff] [blame] | 740 | }; |
| 741 | |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 742 | const FeatureEntry::Choice kForceColorProfileChoices[] = { |
| 743 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
Mason Freed | c71f15a | 2018-09-10 16:53:32 | [diff] [blame] | 744 | {flag_descriptions::kForceColorProfileSRGB, |
| 745 | switches::kForceDisplayColorProfile, "srgb"}, |
| 746 | {flag_descriptions::kForceColorProfileP3, |
| 747 | switches::kForceDisplayColorProfile, "display-p3-d65"}, |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 748 | {flag_descriptions::kForceColorProfileColorSpin, |
Mason Freed | c71f15a | 2018-09-10 16:53:32 | [diff] [blame] | 749 | switches::kForceDisplayColorProfile, "color-spin-gamma24"}, |
Sunny Sachanandani | 71e474a | 2019-06-11 02:32:03 | [diff] [blame] | 750 | {flag_descriptions::kForceColorProfileSCRGBLinear, |
Mason Freed | c71f15a | 2018-09-10 16:53:32 | [diff] [blame] | 751 | switches::kForceDisplayColorProfile, "scrgb-linear"}, |
Sunny Sachanandani | 71e474a | 2019-06-11 02:32:03 | [diff] [blame] | 752 | {flag_descriptions::kForceColorProfileHDR10, |
| 753 | switches::kForceDisplayColorProfile, "hdr10"}, |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 754 | }; |
| 755 | |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 756 | const FeatureEntry::Choice kForceEffectiveConnectionTypeChoices[] = { |
| 757 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 758 | {flag_descriptions::kEffectiveConnectionTypeUnknownDescription, |
Matt Menke | abb7a38 | 2018-03-23 18:25:23 | [diff] [blame] | 759 | network::switches::kForceEffectiveConnectionType, |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 760 | net::kEffectiveConnectionTypeUnknown}, |
| 761 | {flag_descriptions::kEffectiveConnectionTypeOfflineDescription, |
Matt Menke | abb7a38 | 2018-03-23 18:25:23 | [diff] [blame] | 762 | network::switches::kForceEffectiveConnectionType, |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 763 | net::kEffectiveConnectionTypeOffline}, |
| 764 | {flag_descriptions::kEffectiveConnectionTypeSlow2GDescription, |
Matt Menke | abb7a38 | 2018-03-23 18:25:23 | [diff] [blame] | 765 | network::switches::kForceEffectiveConnectionType, |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 766 | net::kEffectiveConnectionTypeSlow2G}, |
Thanh Le | a98f12f | 2017-12-18 19:35:30 | [diff] [blame] | 767 | {flag_descriptions::kEffectiveConnectionTypeSlow2GOnCellularDescription, |
Matt Menke | abb7a38 | 2018-03-23 18:25:23 | [diff] [blame] | 768 | network::switches::kForceEffectiveConnectionType, |
Thanh Le | a98f12f | 2017-12-18 19:35:30 | [diff] [blame] | 769 | net::kEffectiveConnectionTypeSlow2GOnCellular}, |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 770 | {flag_descriptions::kEffectiveConnectionType2GDescription, |
Matt Menke | abb7a38 | 2018-03-23 18:25:23 | [diff] [blame] | 771 | network::switches::kForceEffectiveConnectionType, |
| 772 | net::kEffectiveConnectionType2G}, |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 773 | {flag_descriptions::kEffectiveConnectionType3GDescription, |
Matt Menke | abb7a38 | 2018-03-23 18:25:23 | [diff] [blame] | 774 | network::switches::kForceEffectiveConnectionType, |
| 775 | net::kEffectiveConnectionType3G}, |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 776 | {flag_descriptions::kEffectiveConnectionType4GDescription, |
Matt Menke | abb7a38 | 2018-03-23 18:25:23 | [diff] [blame] | 777 | network::switches::kForceEffectiveConnectionType, |
| 778 | net::kEffectiveConnectionType4G}, |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 779 | }; |
| 780 | |
| 781 | // Ensure that all effective connection types returned by Network Quality |
| 782 | // Estimator (NQE) are also exposed via flags. |
Thanh Le | a98f12f | 2017-12-18 19:35:30 | [diff] [blame] | 783 | static_assert(net::EFFECTIVE_CONNECTION_TYPE_LAST + 2 == |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 784 | base::size(kForceEffectiveConnectionTypeChoices), |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 785 | "ECT enum value is not handled."); |
| 786 | static_assert(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN == 0, |
| 787 | "ECT enum value is not handled."); |
| 788 | static_assert(net::EFFECTIVE_CONNECTION_TYPE_4G + 1 == |
| 789 | net::EFFECTIVE_CONNECTION_TYPE_LAST, |
| 790 | "ECT enum value is not handled."); |
| 791 | |
Robert Ogden | 974d4f79 | 2020-03-27 22:33:09 | [diff] [blame] | 792 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitNone[] = { |
| 793 | {"max_srp_prefetches", "-1"}}; |
| 794 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitZero[] = { |
| 795 | {"max_srp_prefetches", "0"}}; |
| 796 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitOne[] = { |
| 797 | {"max_srp_prefetches", "1"}}; |
| 798 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitTwo[] = { |
| 799 | {"max_srp_prefetches", "2"}}; |
| 800 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitThree[] = { |
| 801 | {"max_srp_prefetches", "3"}}; |
| 802 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitFour[] = { |
| 803 | {"max_srp_prefetches", "4"}}; |
| 804 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitFive[] = { |
| 805 | {"max_srp_prefetches", "5"}}; |
| 806 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitTen[] = { |
| 807 | {"max_srp_prefetches", "10"}}; |
| 808 | const FeatureEntry::FeatureParam kIsolatedPrerenderPrefetchLimitFifteen[] = { |
| 809 | {"max_srp_prefetches", "15"}}; |
| 810 | |
| 811 | const FeatureEntry::FeatureVariation |
| 812 | kIsolatedPrerenderFeatureWithPrefetchLimit[] = { |
| 813 | {"Unlimited Prefetches", kIsolatedPrerenderPrefetchLimitNone, |
| 814 | base::size(kIsolatedPrerenderPrefetchLimitNone), nullptr}, |
| 815 | {"Zero Prefetches", kIsolatedPrerenderPrefetchLimitZero, |
| 816 | base::size(kIsolatedPrerenderPrefetchLimitZero), nullptr}, |
| 817 | {"One Prefetch", kIsolatedPrerenderPrefetchLimitOne, |
| 818 | base::size(kIsolatedPrerenderPrefetchLimitOne), nullptr}, |
| 819 | {"Two Prefetches", kIsolatedPrerenderPrefetchLimitTwo, |
| 820 | base::size(kIsolatedPrerenderPrefetchLimitTwo), nullptr}, |
| 821 | {"Three Prefetches", kIsolatedPrerenderPrefetchLimitThree, |
| 822 | base::size(kIsolatedPrerenderPrefetchLimitThree), nullptr}, |
| 823 | {"Four Prefetches", kIsolatedPrerenderPrefetchLimitFour, |
| 824 | base::size(kIsolatedPrerenderPrefetchLimitFour), nullptr}, |
| 825 | {"Five Prefetches", kIsolatedPrerenderPrefetchLimitFive, |
| 826 | base::size(kIsolatedPrerenderPrefetchLimitFive), nullptr}, |
| 827 | {"Ten Prefetches", kIsolatedPrerenderPrefetchLimitTen, |
| 828 | base::size(kIsolatedPrerenderPrefetchLimitTen), nullptr}, |
| 829 | {"Fifteen Prefetches", kIsolatedPrerenderPrefetchLimitFifteen, |
| 830 | base::size(kIsolatedPrerenderPrefetchLimitFifteen), nullptr}, |
| 831 | }; |
| 832 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 833 | const FeatureEntry::Choice kMemlogModeChoices[] = { |
erikchen | 1404643 | 2017-08-17 19:55:59 | [diff] [blame] | 834 | {flags_ui::kGenericExperimentChoiceDisabled, "", ""}, |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 835 | {flag_descriptions::kMemlogModeMinimal, heap_profiling::kMemlogMode, |
| 836 | heap_profiling::kMemlogModeMinimal}, |
| 837 | {flag_descriptions::kMemlogModeAll, heap_profiling::kMemlogMode, |
| 838 | heap_profiling::kMemlogModeAll}, |
| 839 | {flag_descriptions::kMemlogModeBrowser, heap_profiling::kMemlogMode, |
| 840 | heap_profiling::kMemlogModeBrowser}, |
| 841 | {flag_descriptions::kMemlogModeGpu, heap_profiling::kMemlogMode, |
| 842 | heap_profiling::kMemlogModeGpu}, |
| 843 | {flag_descriptions::kMemlogModeAllRenderers, heap_profiling::kMemlogMode, |
| 844 | heap_profiling::kMemlogModeAllRenderers}, |
| 845 | {flag_descriptions::kMemlogModeRendererSampling, |
| 846 | heap_profiling::kMemlogMode, heap_profiling::kMemlogModeRendererSampling}, |
erikchen | 0a5dd69 | 2017-12-12 00:53:10 | [diff] [blame] | 847 | }; |
erikchen | 1404643 | 2017-08-17 19:55:59 | [diff] [blame] | 848 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 849 | const FeatureEntry::Choice kMemlogStackModeChoices[] = { |
| 850 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 851 | {flag_descriptions::kMemlogStackModeNative, |
| 852 | heap_profiling::kMemlogStackMode, heap_profiling::kMemlogStackModeNative}, |
| 853 | {flag_descriptions::kMemlogStackModeNativeWithThreadNames, |
erikchen | 34810df0 | 2018-04-05 21:40:38 | [diff] [blame] | 854 | heap_profiling::kMemlogStackMode, |
| 855 | heap_profiling::kMemlogStackModeNativeWithThreadNames}, |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 856 | {flag_descriptions::kMemlogStackModePseudo, |
| 857 | heap_profiling::kMemlogStackMode, heap_profiling::kMemlogStackModePseudo}, |
| 858 | {flag_descriptions::kMemlogStackModeMixed, heap_profiling::kMemlogStackMode, |
erikchen | 34810df0 | 2018-04-05 21:40:38 | [diff] [blame] | 859 | heap_profiling::kMemlogStackModeMixed}, |
Erik Chen | 3303fd023 | 2018-01-11 20:29:05 | [diff] [blame] | 860 | }; |
| 861 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 862 | const FeatureEntry::Choice kMemlogSamplingRateChoices[] = { |
| 863 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 864 | {flag_descriptions::kMemlogSamplingRate10KB, |
| 865 | heap_profiling::kMemlogSamplingRate, |
| 866 | heap_profiling::kMemlogSamplingRate10KB}, |
| 867 | {flag_descriptions::kMemlogSamplingRate50KB, |
| 868 | heap_profiling::kMemlogSamplingRate, |
| 869 | heap_profiling::kMemlogSamplingRate50KB}, |
| 870 | {flag_descriptions::kMemlogSamplingRate100KB, |
| 871 | heap_profiling::kMemlogSamplingRate, |
| 872 | heap_profiling::kMemlogSamplingRate100KB}, |
| 873 | {flag_descriptions::kMemlogSamplingRate500KB, |
| 874 | heap_profiling::kMemlogSamplingRate, |
| 875 | heap_profiling::kMemlogSamplingRate500KB}, |
| 876 | {flag_descriptions::kMemlogSamplingRate1MB, |
| 877 | heap_profiling::kMemlogSamplingRate, |
| 878 | heap_profiling::kMemlogSamplingRate1MB}, |
| 879 | {flag_descriptions::kMemlogSamplingRate5MB, |
| 880 | heap_profiling::kMemlogSamplingRate, |
| 881 | heap_profiling::kMemlogSamplingRate5MB}, |
| 882 | }; |
| 883 | |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 884 | #if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || \ |
| 885 | defined(OS_WIN) |
manuk | da8584b | 2019-07-19 19:42:06 | [diff] [blame] | 886 | const FeatureEntry::FeatureParam kOmniboxDocumentProviderServerScoring[] = { |
| 887 | {"DocumentUseServerScore", "true"}, |
| 888 | {"DocumentUseClientScore", "false"}, |
| 889 | {"DocumentCapScorePerRank", "false"}, |
| 890 | {"DocumentBoostOwned", "false"}, |
| 891 | }; |
| 892 | const FeatureEntry::FeatureParam |
| 893 | kOmniboxDocumentProviderServerScoringCappedByRank[] = { |
| 894 | {"DocumentUseServerScore", "true"}, |
| 895 | {"DocumentUseClientScore", "false"}, |
| 896 | {"DocumentCapScorePerRank", "true"}, |
| 897 | {"DocumentBoostOwned", "true"}, |
| 898 | }; |
| 899 | const FeatureEntry::FeatureParam kOmniboxDocumentProviderClientScoring[] = { |
| 900 | {"DocumentUseServerScore", "false"}, |
| 901 | {"DocumentUseClientScore", "true"}, |
| 902 | {"DocumentCapScorePerRank", "false"}, |
| 903 | {"DocumentBoostOwned", "false"}, |
| 904 | }; |
| 905 | const FeatureEntry::FeatureParam |
| 906 | kOmniboxDocumentProviderServerAndClientScoring[] = { |
| 907 | {"DocumentUseServerScore", "true"}, |
| 908 | {"DocumentUseClientScore", "true"}, |
| 909 | {"DocumentCapScorePerRank", "false"}, |
| 910 | {"DocumentBoostOwned", "false"}, |
| 911 | }; |
| 912 | |
| 913 | const FeatureEntry::FeatureVariation kOmniboxDocumentProviderVariations[] = { |
| 914 | {"server scores", kOmniboxDocumentProviderServerScoring, |
| 915 | base::size(kOmniboxDocumentProviderServerScoring), nullptr}, |
| 916 | {"server scores capped by rank", |
| 917 | kOmniboxDocumentProviderServerScoringCappedByRank, |
| 918 | base::size(kOmniboxDocumentProviderServerScoringCappedByRank), nullptr}, |
| 919 | {"client scores", kOmniboxDocumentProviderClientScoring, |
| 920 | base::size(kOmniboxDocumentProviderClientScoring), nullptr}, |
| 921 | {"server and client scores", kOmniboxDocumentProviderServerAndClientScoring, |
| 922 | base::size(kOmniboxDocumentProviderServerAndClientScoring), nullptr}}; |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 923 | |
| 924 | // The variations include 13 of the 16 possible permutations of "Title UI", |
| 925 | // "2-Line UI", "Title AC", and "Non-Prefix AC". The remaining 3 permutations |
| 926 | // would effectively be no-ops. |
| 927 | // - Title UI: Displays suggestion titles in the omnibox. |
| 928 | // E.g. en.wikipe | [dia.org/wiki/Space_Shuttle] (Space Shuttle - Wikipedia) |
| 929 | // - 2-Line UI: Stretches the omnibox vertically to fit 2 lines and displays |
| 930 | // titles on a 2nd line |
| 931 | // E.g. en.wikipe | [dia.org/wiki/Space_Shuttle] |
| 932 | // Space Shuttle - Wikipedia |
| 933 | // - Title AC: Autocompletes suggestions when the input matches the title. |
| 934 | // E.g. Space Sh | [ttle - Wikipedia] (en.wikipedia.org/wiki/Space_Shuttle) |
| 935 | // - Non-Prefix AC: Autocompletes suggestions when the input is not necessarily |
| 936 | // a prefix. |
| 937 | // E.g. [en.wikipe dia.org/] wiki/Spac | [e_Shuttle] (Space Shuttle - |
| 938 | // Wikipedia) |
| 939 | const FeatureEntry::FeatureVariation kOmniboxRichAutocompletionVariations[] = { |
| 940 | { |
| 941 | "Title UI", |
| 942 | (FeatureEntry::FeatureParam[]){ |
| 943 | {"RichAutocompletionShowTitles", "true"}}, |
| 944 | 1, |
| 945 | nullptr, |
| 946 | }, |
| 947 | // Skipping "2-Line UI" as that would be a no-op |
| 948 | { |
| 949 | "Title UI & 2-Line UI", |
| 950 | (FeatureEntry::FeatureParam[]){ |
| 951 | {"RichAutocompletionShowTitles", "true"}, |
| 952 | {"RichAutocompletionTwoLineOmnibox", "true"}}, |
| 953 | 2, |
| 954 | nullptr, |
| 955 | }, |
| 956 | { |
| 957 | "Title AC", |
| 958 | (FeatureEntry::FeatureParam[]){ |
| 959 | {"RichAutocompletionAutocompleteTitles", "true"}}, |
| 960 | 1, |
| 961 | nullptr, |
| 962 | }, |
| 963 | { |
| 964 | "Title UI & Title AC", |
| 965 | (FeatureEntry::FeatureParam[]){ |
| 966 | {"RichAutocompletionShowTitles", "true"}, |
| 967 | {"RichAutocompletionAutocompleteTitles", "true"}}, |
| 968 | 2, |
| 969 | nullptr, |
| 970 | }, |
| 971 | { |
| 972 | "2-Line UI & Title AC", |
| 973 | (FeatureEntry::FeatureParam[]){ |
| 974 | {"RichAutocompletionTwoLineOmnibox", "true"}, |
| 975 | {"RichAutocompletionAutocompleteTitles", "true"}}, |
| 976 | 2, |
| 977 | nullptr, |
| 978 | }, |
| 979 | { |
| 980 | "Title UI , 2-Line UI, & Title AC", |
| 981 | (FeatureEntry::FeatureParam[]){ |
| 982 | {"RichAutocompletionShowTitles", "true"}, |
| 983 | {"RichAutocompletionAutocompleteTitles", "true"}, |
| 984 | {"RichAutocompletionTwoLineOmnibox", "true"}}, |
| 985 | 3, |
| 986 | nullptr, |
| 987 | }, |
| 988 | { |
| 989 | "Non-Prefix AC", |
| 990 | (FeatureEntry::FeatureParam[]){ |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 991 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 992 | 1, |
| 993 | nullptr, |
| 994 | }, |
| 995 | { |
| 996 | "Title UI & Non-Prefix AC", |
| 997 | (FeatureEntry::FeatureParam[]){ |
| 998 | {"RichAutocompletionShowTitles", "true"}, |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 999 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 1000 | 2, |
| 1001 | nullptr, |
| 1002 | }, |
| 1003 | // Skipping "2-Line UI & Non-Prefix AC" as that would be a no-op |
| 1004 | { |
| 1005 | "Title UI, 2-Line UI, & Non-Prefix AC", |
| 1006 | (FeatureEntry::FeatureParam[]){ |
| 1007 | {"RichAutocompletionShowTitles", "true"}, |
| 1008 | {"RichAutocompletionTwoLineOmnibox", "true"}, |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 1009 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 1010 | 3, |
| 1011 | nullptr, |
| 1012 | }, |
| 1013 | { |
| 1014 | "Title AC & Non-Prefix AC", |
| 1015 | (FeatureEntry::FeatureParam[]){ |
| 1016 | {"RichAutocompletionAutocompleteTitles", "true"}, |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 1017 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 1018 | 2, |
| 1019 | nullptr, |
| 1020 | }, |
| 1021 | { |
| 1022 | "Title UI, Title AC, & Non-Prefix AC", |
| 1023 | (FeatureEntry::FeatureParam[]){ |
| 1024 | {"RichAutocompletionShowTitles", "true"}, |
| 1025 | {"RichAutocompletionAutocompleteTitles", "true"}, |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 1026 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 1027 | 3, |
| 1028 | nullptr, |
| 1029 | }, |
| 1030 | { |
| 1031 | "2-Line UI, Title AC, & Non-Prefix AC", |
| 1032 | (FeatureEntry::FeatureParam[]){ |
| 1033 | {"RichAutocompletionTwoLineOmnibox", "true"}, |
| 1034 | {"RichAutocompletionAutocompleteTitles", "true"}, |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 1035 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 1036 | 3, |
| 1037 | nullptr, |
| 1038 | }, |
| 1039 | { |
| 1040 | "Title UI, 2-Line UI, Title AC, & Non-Prefix AC", |
| 1041 | (FeatureEntry::FeatureParam[]){ |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 1042 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 1043 | {"RichAutocompletionShowTitles", "true"}, |
| 1044 | {"RichAutocompletionAutocompleteTitles", "true"}, |
| 1045 | {"RichAutocompletionTwoLineOmnibox", "true"}}, |
| 1046 | 4, |
| 1047 | nullptr, |
| 1048 | }}; |
| 1049 | |
manuk | 55bdd97 | 2020-07-17 01:06:22 | [diff] [blame] | 1050 | const FeatureEntry::FeatureVariation |
| 1051 | kOmniboxRichAutocompletionMinCharVariations[] = { |
| 1052 | { |
| 1053 | "Title 0 / Non Prefix 0", |
| 1054 | (FeatureEntry::FeatureParam[]){ |
| 1055 | {"RichAutocompletionAutocompleteTitlesMinChar", "0"}, |
| 1056 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "0"}}, |
| 1057 | 2, |
| 1058 | nullptr, |
| 1059 | }, |
| 1060 | { |
| 1061 | "Title 0 / Non Prefix 3", |
| 1062 | (FeatureEntry::FeatureParam[]){ |
| 1063 | {"RichAutocompletionAutocompleteTitlesMinChar", "0"}, |
| 1064 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "3"}}, |
| 1065 | 2, |
| 1066 | nullptr, |
| 1067 | }, |
| 1068 | { |
| 1069 | "Title 0 / Non Prefix 5", |
| 1070 | (FeatureEntry::FeatureParam[]){ |
| 1071 | {"RichAutocompletionAutocompleteTitlesMinChar", "0"}, |
| 1072 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}, |
| 1073 | 2, |
| 1074 | nullptr, |
| 1075 | }, |
| 1076 | { |
| 1077 | "Title 3 / Non Prefix 3", |
| 1078 | (FeatureEntry::FeatureParam[]){ |
| 1079 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| 1080 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "3"}}, |
| 1081 | 2, |
| 1082 | nullptr, |
| 1083 | }, |
| 1084 | { |
| 1085 | "Title 3 / Non Prefix 5", |
| 1086 | (FeatureEntry::FeatureParam[]){ |
| 1087 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| 1088 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}, |
| 1089 | 2, |
| 1090 | nullptr, |
| 1091 | }, |
| 1092 | { |
| 1093 | "Title 5 / Non Prefix 5", |
| 1094 | (FeatureEntry::FeatureParam[]){ |
| 1095 | {"RichAutocompletionAutocompleteTitlesMinChar", "5"}, |
| 1096 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}, |
| 1097 | 2, |
| 1098 | nullptr, |
| 1099 | }}; |
| 1100 | |
manuk | 2a83741 | 2020-07-30 20:57:56 | [diff] [blame] | 1101 | const FeatureEntry::FeatureVariation |
| 1102 | kOmniboxRichAutocompletionShowAdditionalTextVariations[] = { |
| 1103 | { |
| 1104 | "Show Additional Text", |
| 1105 | (FeatureEntry::FeatureParam[]){}, |
| 1106 | 0, |
| 1107 | nullptr, |
| 1108 | }, |
| 1109 | { |
| 1110 | "Hide Additional Text", |
| 1111 | (FeatureEntry::FeatureParam[]){ |
| 1112 | {"RichAutocompletionAutocompleteShowAdditionalText", "false"}}, |
| 1113 | 1, |
| 1114 | nullptr, |
| 1115 | }}; |
| 1116 | |
manukh | 848a025 | 2020-09-30 19:14:14 | [diff] [blame] | 1117 | const FeatureEntry::FeatureVariation |
| 1118 | kOmniboxRichAutocompletionSplitVariations[] = { |
| 1119 | { |
| 1120 | "Titles & URLs, min char 5", |
| 1121 | (FeatureEntry::FeatureParam[]){ |
| 1122 | {"RichAutocompletionSplitTitleCompletion", "true"}, |
| 1123 | {"RichAutocompletionSplitUrlCompletion", "true"}, |
| 1124 | {"RichAutocompletionSplitCompletionMinChar", "5"}}, |
| 1125 | 3, |
| 1126 | nullptr, |
| 1127 | }, |
| 1128 | { |
| 1129 | "Titles & URLs, min char 3", |
| 1130 | (FeatureEntry::FeatureParam[]){ |
| 1131 | {"RichAutocompletionSplitTitleCompletion", "true"}, |
| 1132 | {"RichAutocompletionSplitUrlCompletion", "true"}, |
| 1133 | {"RichAutocompletionSplitCompletionMinChar", "3"}}, |
| 1134 | 3, |
| 1135 | nullptr, |
| 1136 | }, |
| 1137 | { |
| 1138 | "Titles, min char 5", |
| 1139 | (FeatureEntry::FeatureParam[]){ |
| 1140 | {"RichAutocompletionSplitTitleCompletion", "true"}, |
| 1141 | {"RichAutocompletionSplitCompletionMinChar", "5"}}, |
| 1142 | 2, |
| 1143 | nullptr, |
| 1144 | }, |
| 1145 | { |
| 1146 | "Titles, min char 3", |
| 1147 | (FeatureEntry::FeatureParam[]){ |
| 1148 | {"RichAutocompletionSplitTitleCompletion", "true"}, |
| 1149 | {"RichAutocompletionSplitCompletionMinChar", "3"}}, |
| 1150 | 2, |
| 1151 | nullptr, |
| 1152 | }}; |
| 1153 | |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 1154 | // A limited number of combinations of the above variations that are most |
| 1155 | // promising. |
| 1156 | const FeatureEntry::FeatureVariation |
| 1157 | kOmniboxRichAutocompletionPromisingVariations[] = { |
| 1158 | { |
| 1159 | "Aggressive - Title, Non-Prefix, min 0/0", |
| 1160 | (FeatureEntry::FeatureParam[]){ |
| 1161 | {"RichAutocompletionAutocompleteTitles", "true"}, |
| 1162 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}}, |
| 1163 | 2, |
| 1164 | nullptr, |
| 1165 | }, |
| 1166 | { |
| 1167 | "Aggressive Moderate - Title, Non-Prefix, min 3/5", |
| 1168 | (FeatureEntry::FeatureParam[]){ |
| 1169 | {"RichAutocompletionAutocompleteTitles", "true"}, |
| 1170 | {"RichAutocompletionAutocompleteNonPrefixAll", "true"}, |
| 1171 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| 1172 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}, |
| 1173 | 4, |
| 1174 | nullptr, |
| 1175 | }, |
| 1176 | { |
| 1177 | "Conservative Moderate - Title, Shortcut Non-Prefix, min 3/5", |
| 1178 | (FeatureEntry::FeatureParam[]){ |
| 1179 | {"RichAutocompletionAutocompleteTitles", "true"}, |
| 1180 | {"RichAutocompletionAutocompleteNonPrefixShortcutProvider", |
| 1181 | "true"}, |
| 1182 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| 1183 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}, |
| 1184 | 4, |
| 1185 | nullptr, |
| 1186 | }, |
| 1187 | { |
| 1188 | "Conservative - Title, min 3", |
| 1189 | (FeatureEntry::FeatureParam[]){ |
| 1190 | {"RichAutocompletionAutocompleteTitles", "true"}, |
| 1191 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}}, |
| 1192 | 2, |
| 1193 | nullptr, |
| 1194 | }, |
| 1195 | }; |
| 1196 | |
manukh | 61e78251 | 2020-10-01 17:33:45 | [diff] [blame] | 1197 | const FeatureEntry::FeatureVariation kOmniboxBookmarkPathsVariations[] = { |
| 1198 | { |
| 1199 | "Default UI (Title - URL)", |
| 1200 | (FeatureEntry::FeatureParam[]){}, |
| 1201 | 0, |
| 1202 | nullptr, |
| 1203 | }, |
| 1204 | { |
| 1205 | "Replace title (Path/Title - URL)", |
| 1206 | (FeatureEntry::FeatureParam[]){ |
| 1207 | {"OmniboxBookmarkPathsUiReplaceTitle", "true"}}, |
| 1208 | 1, |
| 1209 | nullptr, |
| 1210 | }, |
| 1211 | { |
| 1212 | "Replace URL (Title - Path)", |
| 1213 | (FeatureEntry::FeatureParam[]){ |
| 1214 | {"OmniboxBookmarkPathsUiReplaceUrl", "true"}}, |
| 1215 | 1, |
| 1216 | nullptr, |
| 1217 | }, |
| 1218 | { |
| 1219 | "Append after title (Title : Path - URL)", |
| 1220 | (FeatureEntry::FeatureParam[]){ |
| 1221 | {"OmniboxBookmarkPathsUiAppendAfterTitle", "true"}}, |
| 1222 | 1, |
| 1223 | nullptr, |
| 1224 | }, |
| 1225 | { |
| 1226 | "Dynamic Replace URL (Title - Path|URL)", |
| 1227 | (FeatureEntry::FeatureParam[]){ |
| 1228 | {"OmniboxBookmarkPathsUiDynamicReplaceUrl", "true"}}, |
| 1229 | 1, |
| 1230 | nullptr, |
| 1231 | }, |
| 1232 | }; |
| 1233 | |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 1234 | #endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || |
| 1235 | // defined(OS_WIN) |
manuk | da8584b | 2019-07-19 19:42:06 | [diff] [blame] | 1236 | |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 1237 | const FeatureEntry::FeatureParam kOmniboxOnFocusSuggestionsParamSERP[] = { |
Tommy Li | 7b1a02b | 2020-04-21 15:20:35 | [diff] [blame] | 1238 | {"ZeroSuggestVariant:6:*", "RemoteSendUrl"}, |
| 1239 | {"ZeroSuggestVariant:9:*", "RemoteSendUrl"}}; |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 1240 | #if defined(OS_ANDROID) |
Tomasz Wiszkowski | 3cd360b | 2019-10-22 18:08:18 | [diff] [blame] | 1241 | const FeatureEntry::FeatureParam kOmniboxNTPZPSLocal[] = { |
Tomasz Wiszkowski | eb98d04 | 2019-10-30 22:14:15 | [diff] [blame] | 1242 | {"ZeroSuggestVariant:1:*", "Local"}, |
Tomasz Wiszkowski | 3cd360b | 2019-10-22 18:08:18 | [diff] [blame] | 1243 | {"ZeroSuggestVariant:7:*", "Local"}, |
| 1244 | {"ZeroSuggestVariant:8:*", "Local"}}; |
Tomasz Wiszkowski | 3cd360b | 2019-10-22 18:08:18 | [diff] [blame] | 1245 | const FeatureEntry::FeatureParam kOmniboxNTPZPSRemote[] = { |
Tomasz Wiszkowski | eb98d04 | 2019-10-30 22:14:15 | [diff] [blame] | 1246 | {"ZeroSuggestVariant:1:*", "RemoteNoUrl"}, |
Tomasz Wiszkowski | 3cd360b | 2019-10-22 18:08:18 | [diff] [blame] | 1247 | {"ZeroSuggestVariant:7:*", "RemoteNoUrl"}, |
| 1248 | {"ZeroSuggestVariant:8:*", "RemoteNoUrl"}}; |
Tomasz Wiszkowski | 8622552 | 2020-05-21 01:25:58 | [diff] [blame] | 1249 | const FeatureEntry::FeatureParam kOmniboxNTPZPSRemoteLocal[] = { |
| 1250 | {"ZeroSuggestVariant:1:*", "RemoteNoUrl,Local"}, |
| 1251 | {"ZeroSuggestVariant:7:*", "RemoteNoUrl,Local"}, |
| 1252 | {"ZeroSuggestVariant:8:*", "RemoteNoUrl,Local"}}; |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 1253 | #else // !defined(OS_ANDROID) |
Moe Ahmadi | 5d7ccba | 2020-03-25 21:22:38 | [diff] [blame] | 1254 | const FeatureEntry::FeatureParam kNTPOmniboxZPSRemoteLocal[] = { |
| 1255 | {"ZeroSuggestVariant:1:*", "RemoteNoUrl,Local"}, |
| 1256 | {"ZeroSuggestVariant:7:*", "RemoteNoUrl,Local"}}; |
| 1257 | const FeatureEntry::FeatureParam kNTPOmniboxRealboxZPSRemoteLocal[] = { |
| 1258 | {"ZeroSuggestVariant:1:*", "RemoteNoUrl,Local"}, |
| 1259 | {"ZeroSuggestVariant:7:*", "RemoteNoUrl,Local"}, |
| 1260 | {"ZeroSuggestVariant:15:*", "RemoteNoUrl,Local"}}; |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 1261 | #endif // defined(OS_ANDROID) |
| 1262 | |
Moe Ahmadi | d0ce5de | 2019-08-30 21:55:02 | [diff] [blame] | 1263 | const FeatureEntry::FeatureVariation kOmniboxOnFocusSuggestionsVariations[] = { |
Tommy Li | ffe4c9b | 2019-09-11 19:07:30 | [diff] [blame] | 1264 | {"SERP - RemoteSendURL", kOmniboxOnFocusSuggestionsParamSERP, |
Moe Ahmadi | 046df56 | 2019-09-27 00:19:38 | [diff] [blame] | 1265 | base::size(kOmniboxOnFocusSuggestionsParamSERP), |
Tommy Li | ffe4c9b | 2019-09-11 19:07:30 | [diff] [blame] | 1266 | "t3315869" /* variation_id */}, |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 1267 | #if defined(OS_ANDROID) |
| 1268 | {"ZPS on NTP: Local History", kOmniboxNTPZPSLocal, |
| 1269 | base::size(kOmniboxNTPZPSLocal), nullptr}, |
| 1270 | {"ZPS on NTP: Remote History", kOmniboxNTPZPSRemote, |
Tomasz Wiszkowski | 2ad07003 | 2020-02-18 21:06:40 | [diff] [blame] | 1271 | base::size(kOmniboxNTPZPSRemote), /* variation_id */ "t3314248"}, |
Tomasz Wiszkowski | bd9bc91 | 2020-03-13 02:01:54 | [diff] [blame] | 1272 | {"ZPS on NTP: Extended Remote History", kOmniboxNTPZPSRemote, |
| 1273 | base::size(kOmniboxNTPZPSRemote), /* variation_id */ "t3317456"}, |
Tomasz Wiszkowski | 2ad07003 | 2020-02-18 21:06:40 | [diff] [blame] | 1274 | {"ZPS on NTP: Onboarding", kOmniboxNTPZPSRemote, |
| 1275 | base::size(kOmniboxNTPZPSRemote), /* variation_id */ "t3316638"}, |
Tomasz Wiszkowski | 8622552 | 2020-05-21 01:25:58 | [diff] [blame] | 1276 | {"ZPS on NTP: PZPS, Remote, Local", kOmniboxNTPZPSRemoteLocal, |
| 1277 | base::size(kOmniboxNTPZPSRemoteLocal), /* variation_id */ "t3317569"}, |
Tomasz Wiszkowski | cfcd106 | 2020-06-09 19:05:39 | [diff] [blame] | 1278 | {"Contextual Web", kOmniboxNTPZPSRemoteLocal, |
| 1279 | base::size(kOmniboxNTPZPSRemoteLocal), /* variation_id */ "t3317605"}, |
Tomasz Wiszkowski | 54351fc | 2020-09-28 18:23:10 | [diff] [blame] | 1280 | {"Trending Queries", kOmniboxNTPZPSRemoteLocal, |
| 1281 | base::size(kOmniboxNTPZPSRemoteLocal), /* variation_id */ "t3317858"}, |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 1282 | #else // !defined(OS_ANDROID) |
Moe Ahmadi | 5d7ccba | 2020-03-25 21:22:38 | [diff] [blame] | 1283 | {"NTP Omnibox - Remote History, Local History", kNTPOmniboxZPSRemoteLocal, |
Moe Ahmadi | eb87d03 | 2020-07-09 16:51:08 | [diff] [blame] | 1284 | base::size(kNTPOmniboxZPSRemoteLocal), nullptr /* variation_id */}, |
Moe Ahmadi | 5d7ccba | 2020-03-25 21:22:38 | [diff] [blame] | 1285 | {"NTP Omnibox - Remote History + PZPS, Local History", |
| 1286 | kNTPOmniboxZPSRemoteLocal, base::size(kNTPOmniboxZPSRemoteLocal), |
| 1287 | "t3317462" /* variation_id */}, |
| 1288 | {"NTP Omnibox/Realbox - Remote History, Local History", |
| 1289 | kNTPOmniboxRealboxZPSRemoteLocal, |
Moe Ahmadi | eb87d03 | 2020-07-09 16:51:08 | [diff] [blame] | 1290 | base::size(kNTPOmniboxRealboxZPSRemoteLocal), nullptr /* variation_id */}, |
Moe Ahmadi | 5d7ccba | 2020-03-25 21:22:38 | [diff] [blame] | 1291 | {"NTP Omnibox/Realbox - Remote History + PZPS, Local History", |
| 1292 | kNTPOmniboxRealboxZPSRemoteLocal, |
| 1293 | base::size(kNTPOmniboxRealboxZPSRemoteLocal), |
| 1294 | "t3317462" /* variation_id */}, |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 1295 | #endif // defined(OS_ANDROID) |
Tommy Li | b5ceddc | 2019-09-04 22:56:47 | [diff] [blame] | 1296 | }; |
Moe Ahmadi | d0ce5de | 2019-08-30 21:55:02 | [diff] [blame] | 1297 | |
Tommy Li | 8d7ec26a | 2020-09-22 17:46:02 | [diff] [blame] | 1298 | const FeatureEntry::FeatureVariation |
| 1299 | kOmniboxOnFocusSuggestionsContextualWebVariations[] = { |
| 1300 | {"GOC Only", {}, 0, "t3317583"}, |
| 1301 | {"GOC, pSuggest Fallback", {}, 0, "t3317692"}, |
| 1302 | {"GOC, pSuggest Backfill", {}, 0, "t3317694"}, |
| 1303 | {"GOC, Default Hidden", {}, 0, "t3317834"}, |
| 1304 | }; |
| 1305 | |
manuk | fdd9740 | 2020-07-22 18:19:17 | [diff] [blame] | 1306 | const FeatureEntry::FeatureVariation kMaxZeroSuggestMatchesVariations[] = { |
| 1307 | { |
| 1308 | "5", |
| 1309 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "5"}}, |
| 1310 | 1, |
| 1311 | nullptr, |
| 1312 | }, |
| 1313 | { |
| 1314 | "6", |
| 1315 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "6"}}, |
| 1316 | 1, |
| 1317 | nullptr, |
| 1318 | }, |
| 1319 | { |
| 1320 | "7", |
| 1321 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "7"}}, |
| 1322 | 1, |
| 1323 | nullptr, |
| 1324 | }, |
| 1325 | { |
| 1326 | "8", |
| 1327 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "8"}}, |
| 1328 | 1, |
| 1329 | nullptr, |
| 1330 | }, |
| 1331 | { |
| 1332 | "9", |
| 1333 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "9"}}, |
| 1334 | 1, |
| 1335 | nullptr, |
| 1336 | }, |
| 1337 | { |
| 1338 | "10", |
| 1339 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "10"}}, |
| 1340 | 1, |
| 1341 | nullptr, |
| 1342 | }, |
| 1343 | { |
| 1344 | "11", |
| 1345 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "11"}}, |
| 1346 | 1, |
| 1347 | nullptr, |
| 1348 | }, |
| 1349 | { |
| 1350 | "12", |
| 1351 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "12"}}, |
| 1352 | 1, |
| 1353 | nullptr, |
| 1354 | }, |
| 1355 | { |
| 1356 | "13", |
| 1357 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "13"}}, |
| 1358 | 1, |
| 1359 | nullptr, |
| 1360 | }, |
| 1361 | { |
| 1362 | "14", |
| 1363 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "14"}}, |
| 1364 | 1, |
| 1365 | nullptr, |
| 1366 | }, |
| 1367 | { |
| 1368 | "15", |
| 1369 | (FeatureEntry::FeatureParam[]){{"MaxZeroSuggestMatches", "15"}}, |
| 1370 | 1, |
| 1371 | nullptr, |
| 1372 | }, |
| 1373 | }; |
| 1374 | |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1375 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches3[] = { |
| 1376 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "3"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1377 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches4[] = { |
| 1378 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "4"}}; |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1379 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches5[] = { |
| 1380 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "5"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1381 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches6[] = { |
| 1382 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "6"}}; |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1383 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches7[] = { |
| 1384 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "7"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1385 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches8[] = { |
| 1386 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "8"}}; |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1387 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches9[] = { |
| 1388 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "9"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1389 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches10[] = { |
| 1390 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "10"}}; |
| 1391 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches12[] = { |
| 1392 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "12"}}; |
| 1393 | |
| 1394 | const FeatureEntry::FeatureVariation |
| 1395 | kOmniboxUIMaxAutocompleteMatchesVariations[] = { |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1396 | {"3 matches", kOmniboxUIMaxAutocompleteMatches3, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1397 | base::size(kOmniboxUIMaxAutocompleteMatches3), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1398 | {"4 matches", kOmniboxUIMaxAutocompleteMatches4, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1399 | base::size(kOmniboxUIMaxAutocompleteMatches4), nullptr}, |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1400 | {"5 matches", kOmniboxUIMaxAutocompleteMatches5, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1401 | base::size(kOmniboxUIMaxAutocompleteMatches5), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1402 | {"6 matches", kOmniboxUIMaxAutocompleteMatches6, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1403 | base::size(kOmniboxUIMaxAutocompleteMatches6), nullptr}, |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1404 | {"7 matches", kOmniboxUIMaxAutocompleteMatches7, |
| 1405 | base::size(kOmniboxUIMaxAutocompleteMatches7), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1406 | {"8 matches", kOmniboxUIMaxAutocompleteMatches8, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1407 | base::size(kOmniboxUIMaxAutocompleteMatches8), nullptr}, |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1408 | {"9 matches", kOmniboxUIMaxAutocompleteMatches9, |
| 1409 | base::size(kOmniboxUIMaxAutocompleteMatches9), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1410 | {"10 matches", kOmniboxUIMaxAutocompleteMatches10, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1411 | base::size(kOmniboxUIMaxAutocompleteMatches10), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1412 | {"12 matches", kOmniboxUIMaxAutocompleteMatches12, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1413 | base::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1414 | |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 1415 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches2[] = { |
| 1416 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "2"}}; |
| 1417 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches3[] = { |
| 1418 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "3"}}; |
| 1419 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches4[] = { |
| 1420 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "4"}}; |
| 1421 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches5[] = { |
| 1422 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "5"}}; |
| 1423 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches6[] = { |
| 1424 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "6"}}; |
| 1425 | |
| 1426 | const FeatureEntry::FeatureVariation kOmniboxMaxURLMatchesVariations[] = { |
| 1427 | {"2 matches", kOmniboxMaxURLMatches2, base::size(kOmniboxMaxURLMatches2), |
| 1428 | nullptr}, |
| 1429 | {"3 matches", kOmniboxMaxURLMatches3, base::size(kOmniboxMaxURLMatches3), |
| 1430 | nullptr}, |
| 1431 | {"4 matches", kOmniboxMaxURLMatches4, base::size(kOmniboxMaxURLMatches4), |
| 1432 | nullptr}, |
| 1433 | {"5 matches", kOmniboxMaxURLMatches5, base::size(kOmniboxMaxURLMatches5), |
| 1434 | nullptr}, |
| 1435 | {"6 matches", kOmniboxMaxURLMatches6, base::size(kOmniboxMaxURLMatches6), |
| 1436 | nullptr}}; |
| 1437 | |
manukh | d187041 | 2020-09-15 03:42:14 | [diff] [blame] | 1438 | const FeatureEntry::FeatureVariation |
| 1439 | kOmniboxDynamicMaxAutocompleteVariations[] = { |
| 1440 | { |
| 1441 | "9 suggestions if 0 or less URLs", |
| 1442 | (FeatureEntry::FeatureParam[]){ |
| 1443 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "0"}, |
| 1444 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}, |
| 1445 | 2, |
| 1446 | nullptr, |
| 1447 | }, |
| 1448 | { |
| 1449 | "9 suggestions if 1 or less URLs", |
| 1450 | (FeatureEntry::FeatureParam[]){ |
| 1451 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "1"}, |
| 1452 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}, |
| 1453 | 2, |
| 1454 | nullptr, |
| 1455 | }, |
| 1456 | { |
| 1457 | "9 suggestions if 2 or less URLs", |
| 1458 | (FeatureEntry::FeatureParam[]){ |
| 1459 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "2"}, |
| 1460 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}, |
| 1461 | 2, |
| 1462 | nullptr, |
| 1463 | }, |
| 1464 | { |
| 1465 | "10 suggestions if 0 or less URLs", |
| 1466 | (FeatureEntry::FeatureParam[]){ |
| 1467 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "0"}, |
| 1468 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}, |
| 1469 | 2, |
| 1470 | nullptr, |
| 1471 | }, |
| 1472 | { |
| 1473 | "10 suggestions if 1 or less URLs", |
| 1474 | (FeatureEntry::FeatureParam[]){ |
| 1475 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "1"}, |
| 1476 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}, |
| 1477 | 2, |
| 1478 | nullptr, |
| 1479 | }, |
| 1480 | { |
| 1481 | "10 suggestions if 2 or less URLs", |
| 1482 | (FeatureEntry::FeatureParam[]){ |
| 1483 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "2"}, |
| 1484 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}, |
| 1485 | 2, |
| 1486 | nullptr, |
| 1487 | }}; |
| 1488 | |
| 1489 | const FeatureEntry::FeatureVariation kOmniboxBubbleUrlSuggestionsVariations[] = |
| 1490 | {{ |
| 1491 | "Gap 200, Buffer 100", |
| 1492 | (FeatureEntry::FeatureParam[]){ |
| 1493 | {"OmniboxBubbleUrlSuggestionsAbsoluteGap", "200"}, |
| 1494 | {"OmniboxBubbleUrlSuggestionsRelativeGap", "1"}, |
| 1495 | {"OmniboxBubbleUrlSuggestionsAbsoluteBuffer", "100"}, |
| 1496 | {"OmniboxBubbleUrlSuggestionsRelativeBuffer", "1"}}, |
| 1497 | 4, |
| 1498 | nullptr, |
| 1499 | }, |
| 1500 | { |
| 1501 | "Gap 200, Buffer 200", |
| 1502 | (FeatureEntry::FeatureParam[]){ |
| 1503 | {"OmniboxBubbleUrlSuggestionsAbsoluteGap", "200"}, |
| 1504 | {"OmniboxBubbleUrlSuggestionsRelativeGap", "1"}, |
| 1505 | {"OmniboxBubbleUrlSuggestionsAbsoluteBuffer", "200"}, |
| 1506 | {"OmniboxBubbleUrlSuggestionsRelativeBuffer", "1"}}, |
| 1507 | 4, |
| 1508 | nullptr, |
| 1509 | }, |
| 1510 | { |
| 1511 | "Gap 400, Buffer 200", |
| 1512 | (FeatureEntry::FeatureParam[]){ |
| 1513 | {"OmniboxBubbleUrlSuggestionsAbsoluteGap", "400"}, |
| 1514 | {"OmniboxBubbleUrlSuggestionsRelativeGap", "1"}, |
| 1515 | {"OmniboxBubbleUrlSuggestionsAbsoluteBuffer", "200"}, |
| 1516 | {"OmniboxBubbleUrlSuggestionsRelativeBuffer", "1"}}, |
| 1517 | 4, |
| 1518 | nullptr, |
| 1519 | }}; |
manuk | 4e2979d | 2020-07-08 23:29:28 | [diff] [blame] | 1520 | |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 1521 | const FeatureEntry::FeatureParam kMarkHttpAsDangerous[] = { |
| 1522 | {security_state::features::kMarkHttpAsFeatureParameterName, |
| 1523 | security_state::features::kMarkHttpAsParameterDangerous}}; |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 1524 | const FeatureEntry::FeatureParam kMarkHttpAsWarningAndDangerousOnFormEdits[] = { |
| 1525 | {security_state::features::kMarkHttpAsFeatureParameterName, |
| 1526 | security_state::features:: |
| 1527 | kMarkHttpAsParameterWarningAndDangerousOnFormEdits}}; |
Livvie Lin | 15ed6e2e | 2019-10-08 20:00:56 | [diff] [blame] | 1528 | const FeatureEntry::FeatureParam kMarkHttpAsDangerWarning[] = { |
| 1529 | {security_state::features::kMarkHttpAsFeatureParameterName, |
| 1530 | security_state::features::kMarkHttpAsParameterDangerWarning}}; |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 1531 | |
Caroline Rising | a14701de | 2019-03-18 18:54:55 | [diff] [blame] | 1532 | // The "Enabled" state for this feature is "0" and representing setting A. |
| 1533 | const FeatureEntry::FeatureParam kTabHoverCardsSettingB[] = { |
| 1534 | {features::kTabHoverCardsFeatureParameterName, "1"}}; |
| 1535 | const FeatureEntry::FeatureParam kTabHoverCardsSettingC[] = { |
| 1536 | {features::kTabHoverCardsFeatureParameterName, "2"}}; |
| 1537 | |
| 1538 | const FeatureEntry::FeatureVariation kTabHoverCardsFeatureVariations[] = { |
| 1539 | {"B", kTabHoverCardsSettingB, base::size(kTabHoverCardsSettingB), nullptr}, |
| 1540 | {"C", kTabHoverCardsSettingC, base::size(kTabHoverCardsSettingC), nullptr}}; |
| 1541 | |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 1542 | const FeatureEntry::FeatureVariation kMarkHttpAsFeatureVariations[] = { |
| 1543 | {"(mark as actively dangerous)", kMarkHttpAsDangerous, |
Joe DeBlasio | 20e01fd | 2018-12-20 19:59:30 | [diff] [blame] | 1544 | base::size(kMarkHttpAsDangerous), nullptr}, |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 1545 | {"(mark with a Not Secure warning and dangerous on form edits)", |
| 1546 | kMarkHttpAsWarningAndDangerousOnFormEdits, |
Livvie Lin | 15ed6e2e | 2019-10-08 20:00:56 | [diff] [blame] | 1547 | base::size(kMarkHttpAsWarningAndDangerousOnFormEdits), nullptr}, |
| 1548 | {"(mark with a grey triangle icon)", kMarkHttpAsDangerWarning, |
| 1549 | base::size(kMarkHttpAsDangerWarning), nullptr}}; |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 1550 | |
Moe Ahmadi | 113a087 | 2020-08-10 21:07:40 | [diff] [blame] | 1551 | const FeatureEntry::FeatureParam kPromoBrowserCommandUnknownCommandParam[] = { |
| 1552 | {features::kPromoBrowserCommandIdParam, "0"}}; |
Martin Šrámek | 68790eb | 2020-08-13 01:32:43 | [diff] [blame] | 1553 | const FeatureEntry::FeatureParam |
| 1554 | kPromoBrowserCommandOpenSafetyCheckCommandParam[] = { |
| 1555 | {features::kPromoBrowserCommandIdParam, "1"}}; |
Bettina | 00567c8 | 2020-09-30 21:50:25 | [diff] [blame] | 1556 | const FeatureEntry::FeatureParam |
| 1557 | kPromoBrowserCommandOpenSafeBrowsingSettingsCommandParam[] = { |
| 1558 | {features::kPromoBrowserCommandIdParam, "2"}}; |
Moe Ahmadi | 113a087 | 2020-08-10 21:07:40 | [diff] [blame] | 1559 | const FeatureEntry::FeatureVariation kPromoBrowserCommandsVariations[] = { |
| 1560 | {"- Unknown Command", kPromoBrowserCommandUnknownCommandParam, |
Esmael El-Moslimany | 989a4fc | 2020-08-28 00:29:23 | [diff] [blame] | 1561 | base::size(kPromoBrowserCommandUnknownCommandParam), nullptr}, |
Martin Šrámek | 68790eb | 2020-08-13 01:32:43 | [diff] [blame] | 1562 | {"- Open Safety Check", kPromoBrowserCommandOpenSafetyCheckCommandParam, |
Bettina | 00567c8 | 2020-09-30 21:50:25 | [diff] [blame] | 1563 | base::size(kPromoBrowserCommandOpenSafetyCheckCommandParam), nullptr}, |
| 1564 | {"- Open Safe Browsing Settings", |
| 1565 | kPromoBrowserCommandOpenSafeBrowsingSettingsCommandParam, |
| 1566 | base::size(kPromoBrowserCommandOpenSafeBrowsingSettingsCommandParam), |
| 1567 | nullptr}}; |
Tibor Goldschwendt | 08c6b88 | 2020-10-01 03:09:32 | [diff] [blame] | 1568 | #if !defined(OS_ANDROID) |
| 1569 | const FeatureEntry::FeatureVariation kNtpShoppingTasksModuleVariations[] = { |
| 1570 | {"- Real Data", {}, 0, "t4445867" /* variation_id */}, |
| 1571 | {"- Fake Data", {}, 0, "t4445868" /* variation_id */}, |
| 1572 | }; |
| 1573 | #endif // !defined(OS_ANDROID) |
Moe Ahmadi | 113a087 | 2020-08-10 21:07:40 | [diff] [blame] | 1574 | |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 1575 | #if defined(OS_ANDROID) |
| 1576 | const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishHeuristic[] = { |
| 1577 | {language::kOverrideModelKey, language::kOverrideModelHeuristicValue}, |
| 1578 | {language::kEnforceRankerKey, "false"}}; |
| 1579 | const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishGeo[] = { |
| 1580 | {language::kOverrideModelKey, language::kOverrideModelGeoValue}, |
| 1581 | {language::kEnforceRankerKey, "false"}}; |
Alexandre Frechette | bbcefff | 2018-11-06 18:44:58 | [diff] [blame] | 1582 | const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishBackoff[] = { |
| 1583 | {language::kOverrideModelKey, language::kOverrideModelDefaultValue}, |
| 1584 | {language::kEnforceRankerKey, "false"}, |
| 1585 | {language::kBackoffThresholdKey, "0"}}; |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 1586 | const FeatureEntry::FeatureVariation |
| 1587 | kTranslateForceTriggerOnEnglishVariations[] = { |
| 1588 | {"(Heuristic model without Ranker)", |
| 1589 | kTranslateForceTriggerOnEnglishHeuristic, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1590 | base::size(kTranslateForceTriggerOnEnglishHeuristic), nullptr}, |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 1591 | {"(Geo model without Ranker)", kTranslateForceTriggerOnEnglishGeo, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1592 | base::size(kTranslateForceTriggerOnEnglishGeo), nullptr}, |
Alexandre Frechette | bbcefff | 2018-11-06 18:44:58 | [diff] [blame] | 1593 | {"(Zero threshold)", kTranslateForceTriggerOnEnglishBackoff, |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 1594 | base::size(kTranslateForceTriggerOnEnglishBackoff), nullptr}}; |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 1595 | #endif // defined(OS_ANDROID) |
| 1596 | |
Scott Little | b26dc86 | 2020-09-30 18:08:11 | [diff] [blame] | 1597 | const FeatureEntry::FeatureParam kOverridePrefsForHrefTranslateForceAuto[] = { |
| 1598 | {translate::kForceAutoTranslateKey, "true"}}; |
| 1599 | |
| 1600 | const FeatureEntry::FeatureVariation |
| 1601 | kOverrideLanguagePrefsForHrefTranslateVariations[] = { |
| 1602 | {"(Force automatic translation of blocked languages for hrefTranslate)", |
| 1603 | kOverridePrefsForHrefTranslateForceAuto, |
| 1604 | base::size(kOverridePrefsForHrefTranslateForceAuto), nullptr}}; |
| 1605 | |
| 1606 | const FeatureEntry::FeatureVariation |
| 1607 | kOverrideSitePrefsForHrefTranslateVariations[] = { |
| 1608 | {"(Force automatic translation of blocked sites for hrefTranslate)", |
| 1609 | kOverridePrefsForHrefTranslateForceAuto, |
| 1610 | base::size(kOverridePrefsForHrefTranslateForceAuto), nullptr}}; |
| 1611 | |
Dan Harrington | 541db9e | 2018-07-30 18:36:30 | [diff] [blame] | 1612 | #if defined(OS_ANDROID) |
Cathy Li | c450408f | 2018-08-02 20:32:54 | [diff] [blame] | 1613 | const FeatureEntry::FeatureParam kExploreSitesExperimental = { |
| 1614 | chrome::android::explore_sites::kExploreSitesVariationParameterName, |
| 1615 | chrome::android::explore_sites::kExploreSitesVariationExperimental}; |
Angel Alvarez | 8e7b791 | 2019-07-01 19:36:07 | [diff] [blame] | 1616 | const FeatureEntry::FeatureParam kExploreSitesDenseTitleBottom[] = { |
Angel Alvarez | 8e7b791 | 2019-07-01 19:36:07 | [diff] [blame] | 1617 | {chrome::android::explore_sites::kExploreSitesDenseVariationParameterName, |
| 1618 | chrome::android::explore_sites:: |
| 1619 | kExploreSitesDenseVariationDenseTitleBottom}, |
Cathy Li | 8611b894 | 2020-01-14 23:52:57 | [diff] [blame] | 1620 | }; |
Angel Alvarez | 8e7b791 | 2019-07-01 19:36:07 | [diff] [blame] | 1621 | const FeatureEntry::FeatureParam kExploreSitesDenseTitleRight[] = { |
Angel Alvarez | 8e7b791 | 2019-07-01 19:36:07 | [diff] [blame] | 1622 | {chrome::android::explore_sites::kExploreSitesDenseVariationParameterName, |
| 1623 | chrome::android::explore_sites:: |
| 1624 | kExploreSitesDenseVariationDenseTitleRight}, |
Cathy Li | 8611b894 | 2020-01-14 23:52:57 | [diff] [blame] | 1625 | }; |
Cathy Li | c450408f | 2018-08-02 20:32:54 | [diff] [blame] | 1626 | const FeatureEntry::FeatureVariation kExploreSitesVariations[] = { |
Cathy Li | 170e86c | 2019-01-03 19:04:52 | [diff] [blame] | 1627 | {"Experimental", &kExploreSitesExperimental, 1, nullptr}, |
Angel Alvarez | 8e7b791 | 2019-07-01 19:36:07 | [diff] [blame] | 1628 | {"Dense Title Bottom", kExploreSitesDenseTitleBottom, |
| 1629 | base::size(kExploreSitesDenseTitleBottom), nullptr}, |
| 1630 | {"Dense Title Right", kExploreSitesDenseTitleRight, |
| 1631 | base::size(kExploreSitesDenseTitleRight), nullptr}}; |
Donn Denman | c0a33cbf | 2020-02-27 15:26:05 | [diff] [blame] | 1632 | const FeatureEntry::FeatureParam kLongpressResolvePreserveTap = { |
| 1633 | contextual_search::kLongpressResolveParamName, |
| 1634 | contextual_search::kLongpressResolvePreserveTap}; |
| 1635 | const FeatureEntry::FeatureVariation kLongpressResolveVariations[] = { |
| 1636 | {"and preserve Tap behavior", &kLongpressResolvePreserveTap, 1, nullptr}, |
| 1637 | }; |
Donn Denman | 6be77d4 | 2019-05-04 15:55:42 | [diff] [blame] | 1638 | |
Dan Harrington | 541db9e | 2018-07-30 18:36:30 | [diff] [blame] | 1639 | #endif // defined(OS_ANDROID) |
| 1640 | |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 1641 | const FeatureEntry::FeatureParam kResamplingInputEventsLSQEnabled[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1642 | {"predictor", features::kPredictorNameLsq}}; |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 1643 | const FeatureEntry::FeatureParam kResamplingInputEventsKalmanEnabled[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1644 | {"predictor", features::kPredictorNameKalman}}; |
Axel Antoine | 3cef0da2 | 2019-07-09 23:33:48 | [diff] [blame] | 1645 | const FeatureEntry::FeatureParam kResamplingInputEventsLinearFirstEnabled[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1646 | {"predictor", features::kPredictorNameLinearFirst}}; |
Axel Antoine | 3cef0da2 | 2019-07-09 23:33:48 | [diff] [blame] | 1647 | const FeatureEntry::FeatureParam kResamplingInputEventsLinearSecondEnabled[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1648 | {"predictor", features::kPredictorNameLinearSecond}}; |
Ella Ge | 33bb1d4d | 2019-08-21 17:31:29 | [diff] [blame] | 1649 | const FeatureEntry::FeatureParam |
| 1650 | kResamplingInputEventsLinearResamplingEnabled[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1651 | {"predictor", features::kPredictorNameLinearResampling}}; |
Luis Sanchez Padilla | 6182738 | 2019-06-24 20:20:50 | [diff] [blame] | 1652 | |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 1653 | const FeatureEntry::FeatureVariation kResamplingInputEventsFeatureVariations[] = |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1654 | {{features::kPredictorNameLsq, kResamplingInputEventsLSQEnabled, |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 1655 | base::size(kResamplingInputEventsLSQEnabled), nullptr}, |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1656 | {features::kPredictorNameKalman, kResamplingInputEventsKalmanEnabled, |
Luis Sanchez Padilla | 6182738 | 2019-06-24 20:20:50 | [diff] [blame] | 1657 | base::size(kResamplingInputEventsKalmanEnabled), nullptr}, |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1658 | {features::kPredictorNameLinearFirst, |
Axel Antoine | 3cef0da2 | 2019-07-09 23:33:48 | [diff] [blame] | 1659 | kResamplingInputEventsLinearFirstEnabled, |
| 1660 | base::size(kResamplingInputEventsLinearFirstEnabled), nullptr}, |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1661 | {features::kPredictorNameLinearSecond, |
Axel Antoine | 3cef0da2 | 2019-07-09 23:33:48 | [diff] [blame] | 1662 | kResamplingInputEventsLinearSecondEnabled, |
Ella Ge | 33bb1d4d | 2019-08-21 17:31:29 | [diff] [blame] | 1663 | base::size(kResamplingInputEventsLinearSecondEnabled), nullptr}, |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1664 | {features::kPredictorNameLinearResampling, |
Ella Ge | 33bb1d4d | 2019-08-21 17:31:29 | [diff] [blame] | 1665 | kResamplingInputEventsLinearResamplingEnabled, |
| 1666 | base::size(kResamplingInputEventsLinearResamplingEnabled), nullptr}}; |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 1667 | |
Axel Antoine | 12df7118 | 2019-07-25 18:11:21 | [diff] [blame] | 1668 | const FeatureEntry::FeatureParam kFilteringPredictionEmptyFilterEnabled[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1669 | {"filter", features::kFilterNameEmpty}}; |
Axel Antoine | 954fc3e | 2019-08-13 21:42:54 | [diff] [blame] | 1670 | const FeatureEntry::FeatureParam kFilteringPredictionOneEuroFilterEnabled[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1671 | {"filter", features::kFilterNameOneEuro}}; |
Axel Antoine | 12df7118 | 2019-07-25 18:11:21 | [diff] [blame] | 1672 | |
| 1673 | const FeatureEntry::FeatureVariation kFilteringPredictionFeatureVariations[] = { |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1674 | {features::kFilterNameEmpty, kFilteringPredictionEmptyFilterEnabled, |
Axel Antoine | 954fc3e | 2019-08-13 21:42:54 | [diff] [blame] | 1675 | base::size(kFilteringPredictionEmptyFilterEnabled), nullptr}, |
Mario Bianucci | 926a2d9 | 2020-07-28 02:04:32 | [diff] [blame] | 1676 | {features::kFilterNameOneEuro, kFilteringPredictionOneEuroFilterEnabled, |
Axel Antoine | 954fc3e | 2019-08-13 21:42:54 | [diff] [blame] | 1677 | base::size(kFilteringPredictionOneEuroFilterEnabled), nullptr}}; |
Axel Antoine | 12df7118 | 2019-07-25 18:11:21 | [diff] [blame] | 1678 | |
Jian Li | ade8283 | 2018-09-06 22:31:41 | [diff] [blame] | 1679 | #if defined(OS_ANDROID) |
| 1680 | const FeatureEntry::FeatureParam kBottomOfflineIndicatorEnabled[] = { |
| 1681 | {"bottom_offline_indicator", "true"}}; |
| 1682 | |
| 1683 | const FeatureEntry::FeatureVariation kOfflineIndicatorFeatureVariations[] = { |
| 1684 | {"(bottom)", kBottomOfflineIndicatorEnabled, |
| 1685 | base::size(kBottomOfflineIndicatorEnabled), nullptr}}; |
| 1686 | #endif // OS_ANDROID |
| 1687 | |
Matt Simmons | 2048b2a | 2018-12-20 20:12:56 | [diff] [blame] | 1688 | #if defined(OS_ANDROID) |
Matt Simmons | ce31496 | 2019-08-02 17:55:22 | [diff] [blame] | 1689 | const FeatureEntry::FeatureParam kTabSwitcherOnReturn_Immediate[] = { |
| 1690 | {"tab_switcher_on_return_time_ms", "0"}}; |
| 1691 | const FeatureEntry::FeatureParam kTabSwitcherOnReturn_1Minute[] = { |
| 1692 | {"tab_switcher_on_return_time_ms", "60000"}}; |
Matt Simmons | 2048b2a | 2018-12-20 20:12:56 | [diff] [blame] | 1693 | const FeatureEntry::FeatureParam kTabSwitcherOnReturn_30Minutes[] = { |
| 1694 | {"tab_switcher_on_return_time_ms", "1800000"}}; |
| 1695 | const FeatureEntry::FeatureParam kTabSwitcherOnReturn_60Minutes[] = { |
| 1696 | {"tab_switcher_on_return_time_ms", "3600000"}}; |
| 1697 | const FeatureEntry::FeatureVariation kTabSwitcherOnReturnVariations[] = { |
Matt Simmons | ce31496 | 2019-08-02 17:55:22 | [diff] [blame] | 1698 | {"Immediate", kTabSwitcherOnReturn_Immediate, |
| 1699 | base::size(kTabSwitcherOnReturn_30Minutes), nullptr}, |
| 1700 | {"1 minute", kTabSwitcherOnReturn_1Minute, |
| 1701 | base::size(kTabSwitcherOnReturn_30Minutes), nullptr}, |
Matt Simmons | 2048b2a | 2018-12-20 20:12:56 | [diff] [blame] | 1702 | {"30 minutes", kTabSwitcherOnReturn_30Minutes, |
| 1703 | base::size(kTabSwitcherOnReturn_30Minutes), nullptr}, |
| 1704 | {"60 minutes", kTabSwitcherOnReturn_60Minutes, |
| 1705 | base::size(kTabSwitcherOnReturn_60Minutes), nullptr}, |
| 1706 | }; |
| 1707 | #endif // OS_ANDROID |
| 1708 | |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 1709 | #if defined(OS_ANDROID) |
| 1710 | const FeatureEntry::FeatureParam kTabGridLayoutAndroid_NewTabVariation[] = { |
Wei-Yin Chen (陳威尹) | 7081986 | 2020-01-16 09:19:59 | [diff] [blame] | 1711 | {"tab_grid_layout_android_new_tab", "NewTabVariation"}, |
| 1712 | {"allow_to_refetch", "true"}}; |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 1713 | |
Yue Zhang | cd0aec6 | 2020-01-16 01:00:39 | [diff] [blame] | 1714 | const FeatureEntry::FeatureParam kTabGridLayoutAndroid_NewTabTile[] = { |
| 1715 | {"tab_grid_layout_android_new_tab_tile", "NewTabTile"}}; |
| 1716 | |
Mei Liang | dc9585c | 2020-08-17 00:45:30 | [diff] [blame] | 1717 | const FeatureEntry::FeatureParam kTabGridLayoutAndroid_TallNTV[] = { |
| 1718 | {"thumbnail_aspect_ratio", "0.85"}, |
| 1719 | {"allow_to_refetch", "true"}, |
Mei Liang | 2cc375f | 2020-09-04 00:42:51 | [diff] [blame] | 1720 | {"tab_grid_layout_android_new_tab", "NewTabVariation"}, |
| 1721 | {"enable_launch_polish", "true"}}; |
Wei-Yin Chen (陳威尹) | 7081986 | 2020-01-16 09:19:59 | [diff] [blame] | 1722 | |
Wei-Yin Chen (陳威尹) | 1452b17 | 2020-02-06 22:00:15 | [diff] [blame] | 1723 | const FeatureEntry::FeatureParam kTabGridLayoutAndroid_SearchChip[] = { |
| 1724 | {"enable_search_term_chip", "true"}}; |
| 1725 | |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 1726 | const FeatureEntry::FeatureVariation kTabGridLayoutAndroidVariations[] = { |
| 1727 | {"New Tab Variation", kTabGridLayoutAndroid_NewTabVariation, |
| 1728 | base::size(kTabGridLayoutAndroid_NewTabVariation), nullptr}, |
Yue Zhang | cd0aec6 | 2020-01-16 01:00:39 | [diff] [blame] | 1729 | {"New Tab Tile", kTabGridLayoutAndroid_NewTabTile, |
| 1730 | base::size(kTabGridLayoutAndroid_NewTabTile), nullptr}, |
Mei Liang | dc9585c | 2020-08-17 00:45:30 | [diff] [blame] | 1731 | {"Tall NTV", kTabGridLayoutAndroid_TallNTV, |
| 1732 | base::size(kTabGridLayoutAndroid_TallNTV), nullptr}, |
Wei-Yin Chen (陳威尹) | 1452b17 | 2020-02-06 22:00:15 | [diff] [blame] | 1733 | {"Search term chip", kTabGridLayoutAndroid_SearchChip, |
| 1734 | base::size(kTabGridLayoutAndroid_SearchChip), nullptr}, |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 1735 | }; |
Wei-Yin Chen (陳威尹) | 7081986 | 2020-01-16 09:19:59 | [diff] [blame] | 1736 | |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 1737 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurface[] = { |
Xi Han | 57e5f045 | 2020-09-18 15:09:48 | [diff] [blame] | 1738 | {"start_surface_variation", "single"}, |
| 1739 | {"hide_incognito_switch", "true"}}; |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 1740 | |
gogerald | be55ba4 | 2020-04-30 21:59:29 | [diff] [blame] | 1741 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurface_V2[] = { |
| 1742 | {"start_surface_variation", "single"}, |
| 1743 | {"show_last_active_tab_only", "true"}, |
| 1744 | {"exclude_mv_tiles", "true"}, |
Yue Zhang | 4d8e185 | 2020-05-13 17:27:18 | [diff] [blame] | 1745 | {"show_stack_tab_switcher", "true"}, |
| 1746 | {"open_ntp_instead_of_start", "true"}}; |
gogerald | be55ba4 | 2020-04-30 21:59:29 | [diff] [blame] | 1747 | |
gogerald | a7037aa | 2020-03-21 02:32:31 | [diff] [blame] | 1748 | const FeatureEntry::FeatureParam |
| 1749 | kStartSurfaceAndroid_SingleSurfaceWithoutMvTiles[] = { |
| 1750 | {"start_surface_variation", "single"}, |
| 1751 | {"exclude_mv_tiles", "true"}, |
| 1752 | {"hide_switch_when_no_incognito_tabs", "true"}}; |
| 1753 | |
gogerald | 8cfee54 | 2020-04-02 18:34:46 | [diff] [blame] | 1754 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurfaceSingleTab[] = |
| 1755 | {{"start_surface_variation", "single"}, |
| 1756 | {"show_last_active_tab_only", "true"}, |
| 1757 | {"hide_switch_when_no_incognito_tabs", "true"}}; |
| 1758 | |
gogerald | 83a88224 | 2020-05-05 03:41:22 | [diff] [blame] | 1759 | const FeatureEntry::FeatureParam |
| 1760 | kStartSurfaceAndroid_SingleSurfaceSingleTabStack[] = { |
| 1761 | {"start_surface_variation", "single"}, |
| 1762 | {"show_last_active_tab_only", "true"}, |
| 1763 | {"show_stack_tab_switcher", "true"}}; |
| 1764 | |
Xi Han | ccb6091 | 2020-06-18 17:55:56 | [diff] [blame] | 1765 | const FeatureEntry::FeatureParam |
| 1766 | kStartSurfaceAndroid_SingleSurfaceSingleTabWithoutMvTiles[] = { |
| 1767 | {"start_surface_variation", "single"}, |
| 1768 | {"show_last_active_tab_only", "true"}, |
Xi Han | 57e5f045 | 2020-09-18 15:09:48 | [diff] [blame] | 1769 | {"exclude_mv_tiles", "true"}, |
| 1770 | {"hide_incognito_switch", "true"}}; |
Xi Han | ccb6091 | 2020-06-18 17:55:56 | [diff] [blame] | 1771 | |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 1772 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_TwoPanesSurface[] = { |
| 1773 | {"start_surface_variation", "twopanes"}}; |
| 1774 | |
Matt Simmons | 5ac41b1 | 2019-09-16 23:51:56 | [diff] [blame] | 1775 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_TasksOnly[] = { |
| 1776 | {"start_surface_variation", "tasksonly"}}; |
| 1777 | |
Wei-Yin Chen (陳威尹) | 97511e2 | 2020-01-24 00:02:40 | [diff] [blame] | 1778 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_OmniboxOnly[] = { |
gogerald | a7037aa | 2020-03-21 02:32:31 | [diff] [blame] | 1779 | {"start_surface_variation", "omniboxonly"}, |
| 1780 | {"hide_switch_when_no_incognito_tabs", "true"}}; |
Wei-Yin Chen (陳威尹) | 97511e2 | 2020-01-24 00:02:40 | [diff] [blame] | 1781 | |
Wei-Yin Chen (陳威尹) | e96c78d | 2020-05-14 22:26:18 | [diff] [blame] | 1782 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_OmniboxOnly_Quick[] = { |
| 1783 | {"start_surface_variation", "omniboxonly"}, |
| 1784 | {"omnibox_scroll_mode", "quick"}, |
| 1785 | {"hide_switch_when_no_incognito_tabs", "true"}}; |
| 1786 | |
| 1787 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_OmniboxOnly_Pinned[] = { |
| 1788 | {"start_surface_variation", "omniboxonly"}, |
| 1789 | {"omnibox_scroll_mode", "pinned"}, |
| 1790 | {"hide_switch_when_no_incognito_tabs", "true"}}; |
| 1791 | |
Yue Zhang | a7dd8f3 | 2020-06-25 21:15:03 | [diff] [blame] | 1792 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_TrendyTerms[] = { |
| 1793 | {"start_surface_variation", "trendyterms"}, |
Wei-Yin Chen (陳威尹) | 37d20b2a | 2020-07-08 02:24:31 | [diff] [blame] | 1794 | {"trendy_enabled", "true"}, |
| 1795 | {"trendy_success_min_period_ms", "30000"}, |
| 1796 | {"trendy_failure_min_period_ms", "10000"}, |
| 1797 | {"omnibox_scroll_mode", "quick"}, |
Yue Zhang | a7dd8f3 | 2020-06-25 21:15:03 | [diff] [blame] | 1798 | {"hide_switch_when_no_incognito_tabs", "true"}}; |
| 1799 | |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 1800 | const FeatureEntry::FeatureVariation kStartSurfaceAndroidVariations[] = { |
| 1801 | {"Single Surface", kStartSurfaceAndroid_SingleSurface, |
| 1802 | base::size(kStartSurfaceAndroid_SingleSurface), nullptr}, |
gogerald | be55ba4 | 2020-04-30 21:59:29 | [diff] [blame] | 1803 | {"Single Surface V2", kStartSurfaceAndroid_SingleSurface_V2, |
| 1804 | base::size(kStartSurfaceAndroid_SingleSurface_V2), nullptr}, |
gogerald | a7037aa | 2020-03-21 02:32:31 | [diff] [blame] | 1805 | {"Single Surface without MV Tiles", |
| 1806 | kStartSurfaceAndroid_SingleSurfaceWithoutMvTiles, |
| 1807 | base::size(kStartSurfaceAndroid_SingleSurfaceWithoutMvTiles), nullptr}, |
Xi Han | ccb6091 | 2020-06-18 17:55:56 | [diff] [blame] | 1808 | {"Single Surface + Single Tab", kStartSurfaceAndroid_SingleSurfaceSingleTab, |
gogerald | 8cfee54 | 2020-04-02 18:34:46 | [diff] [blame] | 1809 | base::size(kStartSurfaceAndroid_SingleSurfaceSingleTab), nullptr}, |
Xi Han | ccb6091 | 2020-06-18 17:55:56 | [diff] [blame] | 1810 | {"Single Surface + Single Tab + Tabs Stack", |
gogerald | 83a88224 | 2020-05-05 03:41:22 | [diff] [blame] | 1811 | kStartSurfaceAndroid_SingleSurfaceSingleTabStack, |
| 1812 | base::size(kStartSurfaceAndroid_SingleSurfaceSingleTabStack), nullptr}, |
Xi Han | ccb6091 | 2020-06-18 17:55:56 | [diff] [blame] | 1813 | {"Single Surface + Single Tab without MV Tiles", |
| 1814 | kStartSurfaceAndroid_SingleSurfaceSingleTabWithoutMvTiles, |
| 1815 | base::size(kStartSurfaceAndroid_SingleSurfaceSingleTabWithoutMvTiles), |
| 1816 | nullptr}, |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 1817 | {"Two Panes Surface", kStartSurfaceAndroid_TwoPanesSurface, |
Mia Glaese | 4595eb8 | 2019-08-30 18:07:20 | [diff] [blame] | 1818 | base::size(kStartSurfaceAndroid_TwoPanesSurface), nullptr}, |
Matt Simmons | 5ac41b1 | 2019-09-16 23:51:56 | [diff] [blame] | 1819 | {"Tasks Only", kStartSurfaceAndroid_TasksOnly, |
Wei-Yin Chen (陳威尹) | 97511e2 | 2020-01-24 00:02:40 | [diff] [blame] | 1820 | base::size(kStartSurfaceAndroid_TasksOnly), nullptr}, |
| 1821 | {"Omnibox Only", kStartSurfaceAndroid_OmniboxOnly, |
Wei-Yin Chen (陳威尹) | e96c78d | 2020-05-14 22:26:18 | [diff] [blame] | 1822 | base::size(kStartSurfaceAndroid_OmniboxOnly), nullptr}, |
| 1823 | {"Omnibox Only, Quick", kStartSurfaceAndroid_OmniboxOnly_Quick, |
| 1824 | base::size(kStartSurfaceAndroid_OmniboxOnly_Quick), nullptr}, |
| 1825 | {"Omnibox Only, Pinned", kStartSurfaceAndroid_OmniboxOnly_Pinned, |
Yue Zhang | a7dd8f3 | 2020-06-25 21:15:03 | [diff] [blame] | 1826 | base::size(kStartSurfaceAndroid_OmniboxOnly_Pinned), nullptr}, |
Wei-Yin Chen (陳威尹) | 37d20b2a | 2020-07-08 02:24:31 | [diff] [blame] | 1827 | {"Trendy Terms, Quick", kStartSurfaceAndroid_TrendyTerms, |
Yue Zhang | a7dd8f3 | 2020-06-25 21:15:03 | [diff] [blame] | 1828 | base::size(kStartSurfaceAndroid_TrendyTerms), nullptr}}; |
Yue Zhang | 922416a | 2020-05-12 00:20:45 | [diff] [blame] | 1829 | |
| 1830 | const FeatureEntry::FeatureParam kConditionalTabStripAndroid_Immediate[] = { |
| 1831 | {"conditional_tab_strip_session_time_ms", "0"}}; |
| 1832 | const FeatureEntry::FeatureParam kConditionalTabStripAndroid_60Minutes[] = { |
| 1833 | {"conditional_tab_strip_session_time_ms", "3600000"}}; |
| 1834 | const FeatureEntry::FeatureVariation kConditionalTabStripAndroidVariations[] = { |
| 1835 | {"Immediate", kConditionalTabStripAndroid_Immediate, |
| 1836 | base::size(kConditionalTabStripAndroid_Immediate), nullptr}, |
| 1837 | {"60 minutes", kConditionalTabStripAndroid_60Minutes, |
| 1838 | base::size(kConditionalTabStripAndroid_60Minutes), nullptr}, |
| 1839 | }; |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 1840 | #endif // OS_ANDROID |
| 1841 | |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 1842 | #if defined(OS_ANDROID) |
| 1843 | const FeatureEntry::FeatureParam |
| 1844 | kAutofillUseMobileLabelDisambiguationShowAll[] = { |
| 1845 | {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName, |
| 1846 | autofill::features:: |
| 1847 | kAutofillUseMobileLabelDisambiguationParameterShowAll}}; |
| 1848 | const FeatureEntry::FeatureParam |
| 1849 | kAutofillUseMobileLabelDisambiguationShowOne[] = { |
| 1850 | {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName, |
| 1851 | autofill::features:: |
| 1852 | kAutofillUseMobileLabelDisambiguationParameterShowOne}}; |
| 1853 | |
| 1854 | const FeatureEntry::FeatureVariation |
| 1855 | kAutofillUseMobileLabelDisambiguationVariations[] = { |
| 1856 | {"(show all)", kAutofillUseMobileLabelDisambiguationShowAll, |
| 1857 | base::size(kAutofillUseMobileLabelDisambiguationShowAll), nullptr}, |
| 1858 | {"(show one)", kAutofillUseMobileLabelDisambiguationShowOne, |
| 1859 | base::size(kAutofillUseMobileLabelDisambiguationShowOne), nullptr}}; |
| 1860 | #endif // defined(OS_ANDROID) |
| 1861 | |
Wenyu Fu | a369f155 | 2020-05-01 00:54:45 | [diff] [blame] | 1862 | #if defined(OS_ANDROID) |
| 1863 | const FeatureEntry::FeatureParam kHomepagePromoCardLarge[] = { |
| 1864 | {"promo-card-variation", "Large"}}; |
| 1865 | const FeatureEntry::FeatureParam kHomepagePromoCardCompact[] = { |
| 1866 | {"promo-card-variation", "Compact"}}; |
| 1867 | const FeatureEntry::FeatureParam kHomepagePromoCardSlim[] = { |
| 1868 | {"promo-card-variation", "Slim"}}; |
Wenyu Fu | c9e213f | 2020-07-07 20:04:37 | [diff] [blame] | 1869 | const FeatureEntry::FeatureParam kHomepagePromoCardSuppressing[] = { |
| 1870 | {"promo-card-variation", "Compact"}, |
| 1871 | {"suppressing_sign_in_promo", "true"}}; |
Wenyu Fu | a369f155 | 2020-05-01 00:54:45 | [diff] [blame] | 1872 | |
| 1873 | const FeatureEntry::FeatureVariation kHomepagePromoCardVariations[] = { |
| 1874 | {"Large", kHomepagePromoCardLarge, base::size(kHomepagePromoCardLarge), |
| 1875 | nullptr}, |
| 1876 | {"Compact", kHomepagePromoCardCompact, |
| 1877 | base::size(kHomepagePromoCardCompact), nullptr}, |
| 1878 | {"Slim", kHomepagePromoCardSlim, base::size(kHomepagePromoCardSlim), |
Wenyu Fu | c9e213f | 2020-07-07 20:04:37 | [diff] [blame] | 1879 | nullptr}, |
| 1880 | {"Compact_SuppressingSignInPromo", kHomepagePromoCardSuppressing, |
| 1881 | base::size(kHomepagePromoCardSuppressing), nullptr}}; |
Wenyu Fu | a369f155 | 2020-05-01 00:54:45 | [diff] [blame] | 1882 | #endif // defined(OS_ANDROID) |
| 1883 | |
Yu Su | 50dfedd5 | 2020-06-19 02:34:49 | [diff] [blame] | 1884 | #if defined(OS_ANDROID) |
| 1885 | const FeatureEntry::FeatureParam kContextMenuShopSimilarProducts[] = { |
| 1886 | {"lensShopVariation", "ShopSimilarProducts"}}; |
| 1887 | const FeatureEntry::FeatureParam kContextMenuShopImageWithGoogleLens[] = { |
| 1888 | {"lensShopVariation", "ShopImageWithGoogleLens"}}; |
| 1889 | const FeatureEntry::FeatureParam kContextMenuSearchSimilarProducts[] = { |
| 1890 | {"lensShopVariation", "SearchSimilarProducts"}}; |
Ben Goldberger | fc6035f | 2020-08-14 02:47:06 | [diff] [blame] | 1891 | const FeatureEntry::FeatureParam |
| 1892 | kContextMenuShopImageWithGoogleLensShoppyImage[] = { |
| 1893 | {"lensShopVariation", "ShopImageWithGoogleLensShoppyImage"}}; |
Yu Su | 50dfedd5 | 2020-06-19 02:34:49 | [diff] [blame] | 1894 | |
| 1895 | const FeatureEntry::FeatureVariation |
| 1896 | kContextMenuShopWithGoogleLensShopVariations[] = { |
| 1897 | {"ShopSimilarProducts", kContextMenuShopSimilarProducts, |
| 1898 | base::size(kContextMenuShopSimilarProducts), nullptr}, |
| 1899 | {"ShopImageWithGoogleLens", kContextMenuShopImageWithGoogleLens, |
| 1900 | base::size(kContextMenuShopImageWithGoogleLens), nullptr}, |
| 1901 | {"SearchSimilarProducts", kContextMenuSearchSimilarProducts, |
Ben Goldberger | fc6035f | 2020-08-14 02:47:06 | [diff] [blame] | 1902 | base::size(kContextMenuSearchSimilarProducts), nullptr}, |
| 1903 | {"ShopImageWithGoogleLensShoppyImage", |
| 1904 | kContextMenuShopImageWithGoogleLensShoppyImage, |
| 1905 | base::size(kContextMenuShopImageWithGoogleLensShoppyImage), nullptr}}; |
Yu Su | 50dfedd5 | 2020-06-19 02:34:49 | [diff] [blame] | 1906 | #endif // defined(OS_ANDROID) |
| 1907 | |
Scott Little | df79081b | 2019-05-29 23:03:39 | [diff] [blame] | 1908 | const FeatureEntry::FeatureParam kLazyFrameLoadingAutomatic[] = { |
| 1909 | {"automatic-lazy-load-frames-enabled", "true"}, |
Scott Little | 0fc50ca | 2019-08-08 16:27:47 | [diff] [blame] | 1910 | {"restrict-lazy-load-frames-to-data-saver-only", "false"}, |
Scott Little | df79081b | 2019-05-29 23:03:39 | [diff] [blame] | 1911 | }; |
| 1912 | |
| 1913 | const FeatureEntry::FeatureVariation kLazyFrameLoadingVariations[] = { |
| 1914 | {"(Automatically lazily load where safe even if not marked " |
| 1915 | "'loading=lazy')", |
| 1916 | kLazyFrameLoadingAutomatic, base::size(kLazyFrameLoadingAutomatic), |
| 1917 | nullptr}}; |
| 1918 | |
| 1919 | const FeatureEntry::FeatureParam kLazyImageLoadingAutomatic[] = { |
| 1920 | {"automatic-lazy-load-images-enabled", "true"}, |
Scott Little | 0fc50ca | 2019-08-08 16:27:47 | [diff] [blame] | 1921 | {"restrict-lazy-load-images-to-data-saver-only", "false"}, |
Scott Little | df79081b | 2019-05-29 23:03:39 | [diff] [blame] | 1922 | }; |
| 1923 | |
| 1924 | const FeatureEntry::FeatureVariation kLazyImageLoadingVariations[] = { |
| 1925 | {"(Automatically lazily load where safe even if not marked " |
| 1926 | "'loading=lazy')", |
| 1927 | kLazyImageLoadingAutomatic, base::size(kLazyImageLoadingAutomatic), |
| 1928 | nullptr}}; |
| 1929 | |
Xing Liu | 1919ec23 | 2019-07-22 20:38:04 | [diff] [blame] | 1930 | const FeatureEntry::Choice kNotificationSchedulerChoices[] = { |
| 1931 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1932 | {flag_descriptions:: |
| 1933 | kNotificationSchedulerImmediateBackgroundTaskDescription, |
| 1934 | notifications::switches::kNotificationSchedulerImmediateBackgroundTask, |
| 1935 | ""}, |
| 1936 | }; |
| 1937 | |
Brandon Wylie | b57a5dc | 2019-08-14 02:13:11 | [diff] [blame] | 1938 | #if defined(OS_ANDROID) |
Theresa Wellington | c412e9b | 2019-09-23 18:16:30 | [diff] [blame] | 1939 | |
Brandon Wylie | 5fe339c3 | 2020-02-06 01:20:31 | [diff] [blame] | 1940 | const FeatureEntry::FeatureParam kOmniboxAssistantVoiceSearchGreyMic[] = { |
| 1941 | {"min_agsa_version", "10.95"}, |
| 1942 | {"min_android_sdk", "21"}, |
| 1943 | {"min_memory_mb", "1024"}, |
| 1944 | {"enabled_locales", ""}, |
| 1945 | {"colorful_mic", "false"}}; |
| 1946 | |
| 1947 | const FeatureEntry::FeatureParam kOmniboxAssistantVoiceSearchColorfulMic[] = { |
| 1948 | {"min_agsa_version", "10.95"}, |
| 1949 | {"min_android_sdk", "21"}, |
| 1950 | {"min_memory_mb", "1024"}, |
| 1951 | {"enabled_locales", ""}, |
| 1952 | {"colorful_mic", "true"}}; |
Brandon Wylie | 7c6b5b4 | 2020-01-29 23:05:53 | [diff] [blame] | 1953 | |
| 1954 | const FeatureEntry::FeatureVariation kOmniboxAssistantVoiceSearchVariations[] = |
| 1955 | { |
Brandon Wylie | 5fe339c3 | 2020-02-06 01:20:31 | [diff] [blame] | 1956 | {"(grey mic)", kOmniboxAssistantVoiceSearchGreyMic, |
| 1957 | base::size(kOmniboxAssistantVoiceSearchGreyMic), nullptr}, |
| 1958 | {"(colorful mic)", kOmniboxAssistantVoiceSearchColorfulMic, |
| 1959 | base::size(kOmniboxAssistantVoiceSearchColorfulMic), nullptr}, |
Brandon Wylie | 7c6b5b4 | 2020-01-29 23:05:53 | [diff] [blame] | 1960 | }; |
| 1961 | |
Brandon Wylie | b57a5dc | 2019-08-14 02:13:11 | [diff] [blame] | 1962 | const FeatureEntry::FeatureParam |
| 1963 | kOmniboxSearchEngineLogoRoundedEdgesVariationConstant[] = { |
| 1964 | {"rounded_edges", "true"}}; |
Brandon Wylie | 75195f35 | 2019-09-05 00:13:16 | [diff] [blame] | 1965 | const FeatureEntry::FeatureParam |
| 1966 | kOmniboxSearchEngineLogoLoupeEverywhereVariationConstant[] = { |
| 1967 | {"loupe_everywhere", "true"}}; |
Brandon Wylie | b57a5dc | 2019-08-14 02:13:11 | [diff] [blame] | 1968 | const FeatureEntry::FeatureVariation |
| 1969 | kOmniboxSearchEngineLogoFeatureVariations[] = { |
| 1970 | {"(rounded edges)", |
| 1971 | kOmniboxSearchEngineLogoRoundedEdgesVariationConstant, |
| 1972 | base::size(kOmniboxSearchEngineLogoRoundedEdgesVariationConstant), |
Brandon Wylie | 75195f35 | 2019-09-05 00:13:16 | [diff] [blame] | 1973 | nullptr}, |
| 1974 | {"(loupe everywhere)", |
| 1975 | kOmniboxSearchEngineLogoLoupeEverywhereVariationConstant, |
| 1976 | base::size(kOmniboxSearchEngineLogoLoupeEverywhereVariationConstant), |
Brandon Wylie | b57a5dc | 2019-08-14 02:13:11 | [diff] [blame] | 1977 | nullptr}}; |
Gang Wu | c0173f1 | 2020-05-27 06:10:15 | [diff] [blame] | 1978 | |
| 1979 | const FeatureEntry::FeatureParam |
| 1980 | kOmniboxImageSearchSuggestionThumbnailVariationConstant[] = { |
| 1981 | {"ImageSearchSuggestionThumbnail", "true"}}; |
| 1982 | const FeatureEntry::FeatureVariation |
| 1983 | kOmniboxImageSearchSuggestionThumbnailVariation[] = { |
| 1984 | {"(with thumbnail)", |
| 1985 | kOmniboxImageSearchSuggestionThumbnailVariationConstant, |
| 1986 | base::size(kOmniboxImageSearchSuggestionThumbnailVariationConstant), |
| 1987 | nullptr}}; |
Gang Wu | 4c1a423 | 2020-08-25 21:42:36 | [diff] [blame] | 1988 | |
| 1989 | const FeatureEntry::FeatureParam kTabbedAppOverflowMenuRegroupBackward[] = { |
| 1990 | {"action_bar", "backward_button"}}; |
| 1991 | const FeatureEntry::FeatureParam kTabbedAppOverflowMenuRegroupShare[] = { |
| 1992 | {"action_bar", "share_button"}}; |
| 1993 | const FeatureEntry::FeatureVariation kTabbedAppOverflowMenuRegroupVariations[] = |
| 1994 | {{"(backward button)", kTabbedAppOverflowMenuRegroupBackward, |
| 1995 | base::size(kTabbedAppOverflowMenuRegroupBackward), nullptr}, |
| 1996 | {"(share button)", kTabbedAppOverflowMenuRegroupShare, |
| 1997 | base::size(kTabbedAppOverflowMenuRegroupShare), nullptr}}; |
Gang Wu | 8b0e482 | 2020-09-25 22:06:27 | [diff] [blame] | 1998 | const FeatureEntry::FeatureParam |
| 1999 | kTabbedAppOverflowMenuThreeButtonActionbarAction[] = { |
| 2000 | {"three_button_action_bar", "action_chip_view"}}; |
| 2001 | const FeatureEntry::FeatureParam |
| 2002 | kTabbedAppOverflowMenuThreeButtonActionbarDestination[] = { |
| 2003 | {"three_button_action_bar", "destination_chip_view"}}; |
| 2004 | const FeatureEntry::FeatureVariation |
| 2005 | kTabbedAppOverflowMenuThreeButtonActionbarVariations[] = { |
| 2006 | {"(three button with action chip view)", |
| 2007 | kTabbedAppOverflowMenuThreeButtonActionbarAction, |
| 2008 | base::size(kTabbedAppOverflowMenuThreeButtonActionbarAction), nullptr}, |
| 2009 | {"(three button with destination chip view)", |
| 2010 | kTabbedAppOverflowMenuThreeButtonActionbarDestination, |
| 2011 | base::size(kTabbedAppOverflowMenuThreeButtonActionbarDestination), |
| 2012 | nullptr}}; |
Brandon Wylie | b57a5dc | 2019-08-14 02:13:11 | [diff] [blame] | 2013 | #endif // OS_ANDROID |
| 2014 | |
Ce Chen | c8d803a | 2020-04-27 09:31:33 | [diff] [blame] | 2015 | const FeatureEntry::FeatureVariation |
Ce Chen | c8d803a | 2020-04-27 09:31:33 | [diff] [blame] | 2016 | kOmniboxOnDeviceHeadSuggestNonIncognitoExperimentVariations[] = { |
| 2017 | { |
| 2018 | "relevance-1000", |
| 2019 | (FeatureEntry::FeatureParam[]){ |
| 2020 | {OmniboxFieldTrial::kOnDeviceHeadSuggestMaxScoreForNonUrlInput, |
| 2021 | "1000"}, |
| 2022 | {OmniboxFieldTrial::kOnDeviceHeadSuggestDemoteMode, |
| 2023 | "decrease-relevances"}}, |
| 2024 | 2, |
| 2025 | nullptr, |
| 2026 | }, |
| 2027 | { |
| 2028 | "request-delay-100ms", |
| 2029 | (FeatureEntry::FeatureParam[]){ |
| 2030 | {OmniboxFieldTrial::kOnDeviceHeadSuggestDelaySuggestRequestMs, |
| 2031 | "100"}}, |
| 2032 | 1, |
| 2033 | nullptr, |
| 2034 | }, |
| 2035 | { |
| 2036 | "delay-100ms-relevance-1000", |
| 2037 | (FeatureEntry::FeatureParam[]){ |
| 2038 | {OmniboxFieldTrial::kOnDeviceHeadSuggestDelaySuggestRequestMs, |
| 2039 | "100"}, |
| 2040 | {OmniboxFieldTrial::kOnDeviceHeadSuggestMaxScoreForNonUrlInput, |
| 2041 | "1000"}, |
| 2042 | {OmniboxFieldTrial::kOnDeviceHeadSuggestDemoteMode, |
| 2043 | "decrease-relevances"}}, |
| 2044 | 3, |
| 2045 | nullptr, |
| 2046 | }, |
| 2047 | { |
| 2048 | "request-delay-200ms", |
| 2049 | (FeatureEntry::FeatureParam[]){ |
| 2050 | {OmniboxFieldTrial::kOnDeviceHeadSuggestDelaySuggestRequestMs, |
| 2051 | "200"}}, |
| 2052 | 1, |
| 2053 | nullptr, |
| 2054 | }, |
| 2055 | { |
| 2056 | "delay-200ms-relevance-1000", |
| 2057 | (FeatureEntry::FeatureParam[]){ |
| 2058 | {OmniboxFieldTrial::kOnDeviceHeadSuggestDelaySuggestRequestMs, |
| 2059 | "200"}, |
| 2060 | {OmniboxFieldTrial::kOnDeviceHeadSuggestMaxScoreForNonUrlInput, |
| 2061 | "1000"}, |
| 2062 | {OmniboxFieldTrial::kOnDeviceHeadSuggestDemoteMode, |
| 2063 | "decrease-relevances"}}, |
| 2064 | 3, |
| 2065 | nullptr, |
| 2066 | }}; |
Ce Chen | 104a538 | 2019-12-10 01:09:05 | [diff] [blame] | 2067 | |
Andy Paicu | 629b4402 | 2019-11-06 17:03:30 | [diff] [blame] | 2068 | const FeatureEntry::FeatureParam |
Balazs Engedy | 0dc1ad1 | 2019-12-03 17:34:14 | [diff] [blame] | 2069 | kQuietNotificationPromptsWithAdaptiveActivation[] = { |
Balazs Engedy | 715b0ec | 2019-12-04 15:11:45 | [diff] [blame] | 2070 | {QuietNotificationPermissionUiConfig::kEnableAdaptiveActivation, |
Balazs Engedy | ed2c217 | 2019-12-05 00:06:03 | [diff] [blame] | 2071 | "true"}, |
Balazs Engedy | 2f4fe78 | 2020-05-26 20:22:17 | [diff] [blame] | 2072 | {QuietNotificationPermissionUiConfig::kEnableAbusiveRequestBlocking, |
| 2073 | "true"}, |
Balazs Engedy | 5d39ff9 | 2020-05-28 22:24:12 | [diff] [blame] | 2074 | {QuietNotificationPermissionUiConfig::kEnableAbusiveRequestWarning, |
| 2075 | "true"}, |
Balazs Engedy | ed2c217 | 2019-12-05 00:06:03 | [diff] [blame] | 2076 | {QuietNotificationPermissionUiConfig::kEnableCrowdDenyTriggering, |
Andy Paicu | d71a7248 | 2020-01-13 21:57:04 | [diff] [blame] | 2077 | "true"}, |
| 2078 | {QuietNotificationPermissionUiConfig::kCrowdDenyHoldBackChance, "0"}}; |
Andy Paicu | 629b4402 | 2019-11-06 17:03:30 | [diff] [blame] | 2079 | |
Balazs Engedy | 0dc1ad1 | 2019-12-03 17:34:14 | [diff] [blame] | 2080 | // The default "Enabled" option has the semantics of showing the quiet UI |
| 2081 | // (animated location bar indicator on Desktop, and mini-infobars on Android), |
| 2082 | // but only when the user directly turns it on in Settings. In addition to that, |
| 2083 | // expose an option to also enable adaptively turning on the quiet UI after |
Balazs Engedy | ed2c217 | 2019-12-05 00:06:03 | [diff] [blame] | 2084 | // three consecutive denies or based on crowd deny verdicts. |
Kamila | 2724bd70 | 2019-09-10 16:08:58 | [diff] [blame] | 2085 | const FeatureEntry::FeatureVariation kQuietNotificationPromptsVariations[] = { |
Balazs Engedy | 0dc1ad1 | 2019-12-03 17:34:14 | [diff] [blame] | 2086 | {"(with adaptive activation)", |
| 2087 | kQuietNotificationPromptsWithAdaptiveActivation, |
| 2088 | base::size(kQuietNotificationPromptsWithAdaptiveActivation), nullptr}, |
Kamila | 2724bd70 | 2019-09-10 16:08:58 | [diff] [blame] | 2089 | }; |
Andy Paicu | 4d675fe | 2019-08-22 15:30:06 | [diff] [blame] | 2090 | |
Archana Simha | 6e7503db | 2019-12-10 03:52:58 | [diff] [blame] | 2091 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 2092 | const FeatureEntry::FeatureParam kExtensionsCheckup_Startup_Performance[] = { |
| 2093 | {extensions_features::kExtensionsCheckupBannerMessageParameter, |
| 2094 | extensions_features::kPerformanceMessage}, |
| 2095 | {extensions_features::kExtensionsCheckupEntryPointParameter, |
| 2096 | extensions_features::kStartupEntryPoint}}; |
| 2097 | const FeatureEntry::FeatureParam kExtensionsCheckup_Startup_Privacy[] = { |
| 2098 | {extensions_features::kExtensionsCheckupBannerMessageParameter, |
| 2099 | extensions_features::kPrivacyMessage}, |
| 2100 | {extensions_features::kExtensionsCheckupEntryPointParameter, |
| 2101 | extensions_features::kStartupEntryPoint}}; |
| 2102 | const FeatureEntry::FeatureParam kExtensionsCheckup_Startup_Neutral[] = { |
| 2103 | {extensions_features::kExtensionsCheckupBannerMessageParameter, |
| 2104 | extensions_features::kNeutralMessage}, |
| 2105 | {extensions_features::kExtensionsCheckupEntryPointParameter, |
| 2106 | extensions_features::kStartupEntryPoint}}; |
| 2107 | const FeatureEntry::FeatureParam kExtensionsCheckup_Promo_Performance[] = { |
| 2108 | {extensions_features::kExtensionsCheckupBannerMessageParameter, |
| 2109 | extensions_features::kPerformanceMessage}, |
| 2110 | {extensions_features::kExtensionsCheckupEntryPointParameter, |
| 2111 | extensions_features::kNtpPromoEntryPoint}}; |
| 2112 | const FeatureEntry::FeatureParam kExtensionsCheckup_Promo_Privacy[] = { |
| 2113 | {extensions_features::kExtensionsCheckupBannerMessageParameter, |
| 2114 | extensions_features::kPrivacyMessage}, |
| 2115 | {extensions_features::kExtensionsCheckupEntryPointParameter, |
| 2116 | extensions_features::kNtpPromoEntryPoint}}; |
| 2117 | const FeatureEntry::FeatureParam kExtensionsCheckup_Promo_Neutral[] = { |
| 2118 | {extensions_features::kExtensionsCheckupBannerMessageParameter, |
| 2119 | extensions_features::kNeutralMessage}, |
| 2120 | {extensions_features::kExtensionsCheckupEntryPointParameter, |
| 2121 | extensions_features::kNtpPromoEntryPoint}}; |
| 2122 | |
| 2123 | const FeatureEntry::FeatureVariation kExtensionsCheckupVariations[] = { |
| 2124 | {"On Startup - Performance Focused Message", |
| 2125 | kExtensionsCheckup_Startup_Performance, |
| 2126 | base::size(kExtensionsCheckup_Startup_Performance), nullptr}, |
| 2127 | {"On Startup - Privacy Focused Message", kExtensionsCheckup_Startup_Privacy, |
| 2128 | base::size(kExtensionsCheckup_Startup_Privacy), nullptr}, |
| 2129 | {"On Startup - Neutral Focused Message", kExtensionsCheckup_Startup_Neutral, |
| 2130 | base::size(kExtensionsCheckup_Startup_Neutral), nullptr}, |
| 2131 | {"NTP Promo - Performance Focused Message", |
| 2132 | kExtensionsCheckup_Promo_Performance, |
| 2133 | base::size(kExtensionsCheckup_Promo_Performance), nullptr}, |
| 2134 | {"NTP Promo - Privacy Focused Message", kExtensionsCheckup_Promo_Privacy, |
| 2135 | base::size(kExtensionsCheckup_Promo_Privacy), nullptr}, |
| 2136 | {"NTP Promo - Neutral Focused Message", kExtensionsCheckup_Promo_Neutral, |
| 2137 | base::size(kExtensionsCheckup_Promo_Neutral), nullptr}}; |
| 2138 | #endif // ENABLE_EXTENSIONS |
| 2139 | |
Arthur Hemery | 2fbd78e | 2019-10-17 18:31:19 | [diff] [blame] | 2140 | // TODO(crbug.com/991082,1015377): Remove after proper support for back-forward |
| 2141 | // cache is implemented. |
Alexander Timin | 45cc3fe | 2019-11-15 22:54:16 | [diff] [blame] | 2142 | const FeatureEntry::FeatureParam kBackForwardCache_ForceCaching[] = { |
| 2143 | {"TimeToLiveInBackForwardCacheInSeconds", "300"}, |
Rakina Zata Amni | 95a2a91d | 2020-07-14 12:41:44 | [diff] [blame] | 2144 | {"should_ignore_blocklists", "true"}, |
| 2145 | {"enable_same_site", "true"}}; |
| 2146 | |
| 2147 | // With this, back-forward cache will be enabled on eligible pages when doing |
| 2148 | // same-site navigations (instead of only cross-site navigations). |
| 2149 | const FeatureEntry::FeatureParam kBackForwardCache_SameSite[] = { |
| 2150 | {"enable_same_site", "true"}}; |
Alexander Timin | 6d24bd2f | 2019-09-17 19:52:03 | [diff] [blame] | 2151 | |
| 2152 | const FeatureEntry::FeatureVariation kBackForwardCacheVariations[] = { |
Rakina Zata Amni | 95a2a91d | 2020-07-14 12:41:44 | [diff] [blame] | 2153 | {"same-site support (experimental)", kBackForwardCache_SameSite, |
| 2154 | base::size(kBackForwardCache_SameSite), nullptr}, |
| 2155 | {"force caching all pages (experimental)", kBackForwardCache_ForceCaching, |
Alexander Timin | 45cc3fe | 2019-11-15 22:54:16 | [diff] [blame] | 2156 | base::size(kBackForwardCache_ForceCaching), nullptr}, |
Alexander Timin | 6d24bd2f | 2019-09-17 19:52:03 | [diff] [blame] | 2157 | }; |
| 2158 | |
Michael van Ouwerkerk | 99d7e56 | 2019-12-03 17:14:36 | [diff] [blame] | 2159 | const FeatureEntry::FeatureParam kSharingDeviceExpirationHours_0[] = { |
| 2160 | {"SharingDeviceExpirationHours", "0"}}; |
| 2161 | const FeatureEntry::FeatureParam kSharingDeviceExpirationHours_12[] = { |
| 2162 | {"SharingDeviceExpirationHours", "12"}}; |
| 2163 | const FeatureEntry::FeatureParam kSharingDeviceExpirationHours_24[] = { |
| 2164 | {"SharingDeviceExpirationHours", "24"}}; |
| 2165 | const FeatureEntry::FeatureParam kSharingDeviceExpirationHours_48[] = { |
| 2166 | {"SharingDeviceExpirationHours", "48"}}; |
| 2167 | const FeatureEntry::FeatureParam kSharingDeviceExpirationHours_96[] = { |
| 2168 | {"SharingDeviceExpirationHours", "96"}}; |
| 2169 | const FeatureEntry::FeatureParam kSharingDeviceExpirationHours_240[] = { |
| 2170 | {"SharingDeviceExpirationHours", "240"}}; |
| 2171 | const FeatureEntry::FeatureVariation kSharingDeviceExpirationVariations[] = { |
| 2172 | {"0 hours", kSharingDeviceExpirationHours_0, |
| 2173 | base::size(kSharingDeviceExpirationHours_0), nullptr}, |
| 2174 | {"12 hours", kSharingDeviceExpirationHours_12, |
| 2175 | base::size(kSharingDeviceExpirationHours_12), nullptr}, |
| 2176 | {"1 day", kSharingDeviceExpirationHours_24, |
| 2177 | base::size(kSharingDeviceExpirationHours_24), nullptr}, |
| 2178 | {"2 days", kSharingDeviceExpirationHours_48, |
| 2179 | base::size(kSharingDeviceExpirationHours_48), nullptr}, |
| 2180 | {"4 days", kSharingDeviceExpirationHours_96, |
| 2181 | base::size(kSharingDeviceExpirationHours_96), nullptr}, |
| 2182 | {"10 days", kSharingDeviceExpirationHours_240, |
| 2183 | base::size(kSharingDeviceExpirationHours_240), nullptr}, |
| 2184 | }; |
| 2185 | |
Xiaocheng Hu | 66795f0 | 2020-04-25 00:26:47 | [diff] [blame] | 2186 | const FeatureEntry::FeatureParam |
| 2187 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure2250[] = { |
| 2188 | {"lcp-limit-in-ms", "2250"}, |
| 2189 | {"intervention-mode", "failure"}}; |
| 2190 | const FeatureEntry::FeatureParam |
| 2191 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure2000[] = { |
| 2192 | {"lcp-limit-in-ms", "2000"}, |
| 2193 | {"intervention-mode", "failure"}}; |
| 2194 | const FeatureEntry::FeatureParam |
| 2195 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1750[] = { |
| 2196 | {"lcp-limit-in-ms", "1750"}, |
| 2197 | {"intervention-mode", "failure"}}; |
| 2198 | const FeatureEntry::FeatureParam |
| 2199 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1500[] = { |
| 2200 | {"lcp-limit-in-ms", "1500"}, |
| 2201 | {"intervention-mode", "failure"}}; |
| 2202 | const FeatureEntry::FeatureParam |
| 2203 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1250[] = { |
| 2204 | {"lcp-limit-in-ms", "1250"}, |
| 2205 | {"intervention-mode", "failure"}}; |
| 2206 | const FeatureEntry::FeatureParam |
| 2207 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1000[] = { |
| 2208 | {"lcp-limit-in-ms", "1000"}, |
| 2209 | {"intervention-mode", "failure"}}; |
| 2210 | const FeatureEntry::FeatureParam |
| 2211 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap2250[] = { |
| 2212 | {"lcp-limit-in-ms", "2250"}, |
| 2213 | {"intervention-mode", "swap"}}; |
| 2214 | const FeatureEntry::FeatureParam |
| 2215 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap2000[] = { |
| 2216 | {"lcp-limit-in-ms", "2000"}, |
| 2217 | {"intervention-mode", "swap"}}; |
| 2218 | const FeatureEntry::FeatureParam |
| 2219 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1750[] = { |
| 2220 | {"lcp-limit-in-ms", "1750"}, |
| 2221 | {"intervention-mode", "swap"}}; |
| 2222 | const FeatureEntry::FeatureParam |
| 2223 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1500[] = { |
| 2224 | {"lcp-limit-in-ms", "1500"}, |
| 2225 | {"intervention-mode", "swap"}}; |
| 2226 | const FeatureEntry::FeatureParam |
| 2227 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1250[] = { |
| 2228 | {"lcp-limit-in-ms", "1250"}, |
| 2229 | {"intervention-mode", "swap"}}; |
| 2230 | const FeatureEntry::FeatureParam |
| 2231 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1000[] = { |
| 2232 | {"lcp-limit-in-ms", "1000"}, |
| 2233 | {"intervention-mode", "swap"}}; |
Xiaocheng Hu | 2f9620b | 2020-04-22 17:11:16 | [diff] [blame] | 2234 | const FeatureEntry::FeatureVariation |
| 2235 | kAlignFontDisplayAutoTimeoutWithLCPGoalVariations[] = { |
Xiaocheng Hu | 66795f0 | 2020-04-25 00:26:47 | [diff] [blame] | 2236 | {"switch to failure after 2250ms since navigation", |
| 2237 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure2250, |
| 2238 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalFailure2250), |
| 2239 | nullptr}, |
| 2240 | {"switch to failure after 2000ms since navigation", |
| 2241 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure2000, |
| 2242 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalFailure2000), |
| 2243 | nullptr}, |
| 2244 | {"switch to failure after 1750ms since navigation", |
| 2245 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1750, |
| 2246 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1750), |
| 2247 | nullptr}, |
| 2248 | {"switch to failure after 1500ms since navigation", |
| 2249 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1500, |
| 2250 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1500), |
| 2251 | nullptr}, |
| 2252 | {"switch to failure after 1250ms since navigation", |
| 2253 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1250, |
| 2254 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1250), |
| 2255 | nullptr}, |
| 2256 | {"switch to failure after 1000ms since navigation", |
| 2257 | kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1000, |
| 2258 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalFailure1000), |
| 2259 | nullptr}, |
| 2260 | {"switch to swap after 2250ms since navigation", |
| 2261 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap2250, |
| 2262 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalSwap2250), nullptr}, |
| 2263 | {"switch to swap after 2000ms since navigation", |
| 2264 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap2000, |
| 2265 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalSwap2000), nullptr}, |
| 2266 | {"switch to swap after 1750ms since navigation", |
| 2267 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1750, |
| 2268 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1750), nullptr}, |
| 2269 | {"switch to swap after 1500ms since navigation", |
| 2270 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1500, |
| 2271 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1500), nullptr}, |
| 2272 | {"switch to swap after 1250ms since navigation", |
| 2273 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1250, |
| 2274 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1250), nullptr}, |
| 2275 | {"switch to swap after 1000ms since navigation", |
| 2276 | kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1000, |
| 2277 | base::size(kAlignFontDisplayAutoTimeoutWithLCPGoalSwap1000), nullptr}, |
Xiaocheng Hu | 2f9620b | 2020-04-22 17:11:16 | [diff] [blame] | 2278 | }; |
| 2279 | |
Charles Zhao | 9d1b8def | 2019-10-16 22:32:39 | [diff] [blame] | 2280 | #if defined(OS_CHROMEOS) |
Charles Zhao | 7e5fd0e | 2019-10-20 23:20:51 | [diff] [blame] | 2281 | const FeatureEntry::Choice kEnableCrOSActionRecorderChoices[] = { |
| 2282 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2283 | {ash::switches::kCrOSActionRecorderWithHash, |
| 2284 | ash::switches::kEnableCrOSActionRecorder, |
| 2285 | ash::switches::kCrOSActionRecorderWithHash}, |
| 2286 | {ash::switches::kCrOSActionRecorderWithoutHash, |
| 2287 | ash::switches::kEnableCrOSActionRecorder, |
| 2288 | ash::switches::kCrOSActionRecorderWithoutHash}, |
Charles Zhao | b66d8f2 | 2020-03-02 00:43:45 | [diff] [blame] | 2289 | {ash::switches::kCrOSActionRecorderCopyToDownloadDir, |
| 2290 | ash::switches::kEnableCrOSActionRecorder, |
| 2291 | ash::switches::kCrOSActionRecorderCopyToDownloadDir}, |
| 2292 | {ash::switches::kCrOSActionRecorderDisabled, |
| 2293 | ash::switches::kEnableCrOSActionRecorder, |
| 2294 | ash::switches::kCrOSActionRecorderDisabled}, |
charleszhao | 3981075 | 2020-04-30 06:40:05 | [diff] [blame] | 2295 | {ash::switches::kCrOSActionRecorderStructuredDisabled, |
| 2296 | ash::switches::kEnableCrOSActionRecorder, |
| 2297 | ash::switches::kCrOSActionRecorderStructuredDisabled}, |
Charles Zhao | 7e5fd0e | 2019-10-20 23:20:51 | [diff] [blame] | 2298 | }; |
Charles Zhao | 9d1b8def | 2019-10-16 22:32:39 | [diff] [blame] | 2299 | #endif // defined(OS_CHROMEOS) |
| 2300 | |
Ayu Ishii | dbdd5c9 | 2020-03-20 23:40:52 | [diff] [blame] | 2301 | #if defined(OS_ANDROID) |
| 2302 | const FeatureEntry::Choice kWebOtpBackendChoices[] = { |
| 2303 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2304 | {flag_descriptions::kWebOtpBackendSmsVerification, switches::kWebOtpBackend, |
| 2305 | switches::kWebOtpBackendSmsVerification}, |
| 2306 | {flag_descriptions::kWebOtpBackendUserConsent, switches::kWebOtpBackend, |
| 2307 | switches::kWebOtpBackendUserConsent}, |
| 2308 | }; |
Xing Liu | 06f2fa0 | 2020-04-30 02:45:19 | [diff] [blame] | 2309 | |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2310 | const FeatureEntry::Choice kQueryTilesCountryChoices[] = { |
| 2311 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2312 | {flag_descriptions::kQueryTilesCountryCodeUS, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2313 | query_tiles::switches::kQueryTilesCountryCode, "US"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2314 | {flag_descriptions::kQueryTilesCountryCodeIndia, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2315 | query_tiles::switches::kQueryTilesCountryCode, "IN"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2316 | {flag_descriptions::kQueryTilesCountryCodeBrazil, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2317 | query_tiles::switches::kQueryTilesCountryCode, "BR"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2318 | {flag_descriptions::kQueryTilesCountryCodeNigeria, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2319 | query_tiles::switches::kQueryTilesCountryCode, "NG"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2320 | {flag_descriptions::kQueryTilesCountryCodeIndonesia, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2321 | query_tiles::switches::kQueryTilesCountryCode, "ID"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2322 | }; |
Xing Liu | 06f2fa0 | 2020-04-30 02:45:19 | [diff] [blame] | 2323 | |
Ayu Ishii | dbdd5c9 | 2020-03-20 23:40:52 | [diff] [blame] | 2324 | #endif // defined(OS_ANDROID) |
| 2325 | |
Lily Chen | 17c5797 | 2020-04-22 19:27:44 | [diff] [blame] | 2326 | // The choices for --enable-experimental-cookie-features. This really should |
| 2327 | // just be a SINGLE_VALUE_TYPE, but it is misleading to have the choices be |
| 2328 | // labeled "Disabled"/"Enabled". So instead this is made to be a |
| 2329 | // MULTI_VALUE_TYPE with choices "Default"/"Enabled". |
| 2330 | const FeatureEntry::Choice kEnableExperimentalCookieFeaturesChoices[] = { |
| 2331 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2332 | {flags_ui::kGenericExperimentChoiceEnabled, |
| 2333 | switches::kEnableExperimentalCookieFeatures, ""}, |
| 2334 | }; |
| 2335 | |
yjliu | 8f78e8b | 2020-07-22 20:51:21 | [diff] [blame] | 2336 | #if defined(OS_CHROMEOS) |
| 2337 | const FeatureEntry::Choice kFrameThrottleFpsChoices[] = { |
| 2338 | {flag_descriptions::kFrameThrottleFpsDefault, "", ""}, |
| 2339 | {flag_descriptions::kFrameThrottleFps5, ash::switches::kFrameThrottleFps, |
| 2340 | "5"}, |
| 2341 | {flag_descriptions::kFrameThrottleFps10, ash::switches::kFrameThrottleFps, |
| 2342 | "10"}, |
| 2343 | {flag_descriptions::kFrameThrottleFps15, ash::switches::kFrameThrottleFps, |
| 2344 | "15"}, |
| 2345 | {flag_descriptions::kFrameThrottleFps20, ash::switches::kFrameThrottleFps, |
| 2346 | "20"}, |
| 2347 | {flag_descriptions::kFrameThrottleFps25, ash::switches::kFrameThrottleFps, |
| 2348 | "25"}, |
| 2349 | {flag_descriptions::kFrameThrottleFps30, ash::switches::kFrameThrottleFps, |
| 2350 | "30"}}; |
| 2351 | #endif // defined(OS_CHROMEOS) |
| 2352 | |
Milica Selakovic | c99e8f01 | 2020-06-04 17:18:43 | [diff] [blame] | 2353 | #if defined(OS_ANDROID) |
Maxim Kolosovskiy | 411dc874 | 2020-07-25 11:50:14 | [diff] [blame] | 2354 | // The variations of --password-change-in-settings. |
| 2355 | const FeatureEntry::FeatureParam |
| 2356 | kPasswordChangeInSettingsVariationWithForcedWarningForEverySite[] = { |
| 2357 | {password_manager::features:: |
| 2358 | kPasswordChangeInSettingsWithForcedWarningForEverySite, |
| 2359 | "true"}}; |
| 2360 | |
| 2361 | const FeatureEntry::FeatureVariation |
| 2362 | kPasswordChangeInSettingsFeatureVariations[] = { |
| 2363 | {"Force leak warnings for every site in settings.", |
| 2364 | kPasswordChangeInSettingsVariationWithForcedWarningForEverySite, |
| 2365 | base::size( |
| 2366 | kPasswordChangeInSettingsVariationWithForcedWarningForEverySite), |
| 2367 | nullptr}}; |
| 2368 | |
Milica Selakovic | c99e8f01 | 2020-06-04 17:18:43 | [diff] [blame] | 2369 | // The variations of --password-change-support. |
| 2370 | const FeatureEntry::FeatureParam |
| 2371 | kPasswordChangeVariationWithForcedDialogAfterEverySuccessfulSubmission[] = { |
| 2372 | {password_manager::features:: |
| 2373 | kPasswordChangeWithForcedDialogAfterEverySuccessfulSubmission, |
| 2374 | "true"}}; |
| 2375 | |
| 2376 | const FeatureEntry::FeatureVariation kPasswordChangeFeatureVariations[] = { |
| 2377 | {"Force dialog after every successful form submission.", |
| 2378 | kPasswordChangeVariationWithForcedDialogAfterEverySuccessfulSubmission, |
| 2379 | base::size( |
| 2380 | kPasswordChangeVariationWithForcedDialogAfterEverySuccessfulSubmission), |
| 2381 | nullptr}}; |
| 2382 | #endif // defined(OS_ANDROID) |
| 2383 | |
David Black | 12709a38 | 2020-06-30 04:03:00 | [diff] [blame] | 2384 | #if defined(OS_CHROMEOS) |
| 2385 | constexpr char kAssistantBetterOnboardingInternalName[] = |
| 2386 | "enable-assistant-better-onboarding"; |
| 2387 | constexpr char kAssistantTimersV2InternalName[] = "enable-assistant-timers-v2"; |
wutao | a34fd068 | 2020-08-18 21:33:49 | [diff] [blame] | 2388 | |
| 2389 | constexpr char kAmbientModeInternalName[] = "enable-ambient-mode"; |
David Black | 12709a38 | 2020-06-30 04:03:00 | [diff] [blame] | 2390 | #endif // OS_CHROMEOS |
| 2391 | |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 2392 | #if defined(OS_ANDROID) |
| 2393 | // The variations of --metrics-settings-android. |
| 2394 | const FeatureEntry::FeatureParam kMetricsSettingsAndroidAlternativeOne[] = { |
| 2395 | {"fre", "1"}}; |
| 2396 | |
| 2397 | const FeatureEntry::FeatureParam kMetricsSettingsAndroidAlternativeTwo[] = { |
| 2398 | {"fre", "2"}}; |
| 2399 | |
| 2400 | const FeatureEntry::FeatureVariation kMetricsSettingsAndroidVariations[] = { |
| 2401 | {"Alternative FRE 1", kMetricsSettingsAndroidAlternativeOne, |
| 2402 | base::size(kMetricsSettingsAndroidAlternativeOne), nullptr}, |
| 2403 | {"Alternative FRE 2", kMetricsSettingsAndroidAlternativeTwo, |
| 2404 | base::size(kMetricsSettingsAndroidAlternativeTwo), nullptr}, |
| 2405 | }; |
| 2406 | #endif // defined(OS_ANDROID) |
| 2407 | |
[email protected] | 4bc5050c | 2010-11-18 17:55:54 | [diff] [blame] | 2408 | // RECORDING USER METRICS FOR FLAGS: |
| 2409 | // ----------------------------------------------------------------------------- |
asvitkine | ab33c92 | 2016-08-30 20:34:19 | [diff] [blame] | 2410 | // The first line of the entry is the internal name. |
[email protected] | 4bc5050c | 2010-11-18 17:55:54 | [diff] [blame] | 2411 | // |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 2412 | // To add a new entry, add to the end of kFeatureEntries. There are two |
| 2413 | // distinct types of entries: |
| 2414 | // . SINGLE_VALUE: entry is either on or off. Use the SINGLE_VALUE_TYPE |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 2415 | // macro for this type supplying the command line to the macro. |
[email protected] | 28e35af | 2011-02-09 12:56:22 | [diff] [blame] | 2416 | // . MULTI_VALUE: a list of choices, the first of which should correspond to a |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 2417 | // deactivated state for this lab (i.e. no command line option). To specify |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 2418 | // this type of entry use the macro MULTI_VALUE_TYPE supplying it the |
[email protected] | 28e35af | 2011-02-09 12:56:22 | [diff] [blame] | 2419 | // array of choices. |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 2420 | // See the documentation of FeatureEntry for details on the fields. |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 2421 | // |
asvitkine | ab33c92 | 2016-08-30 20:34:19 | [diff] [blame] | 2422 | // Usage of about:flags is logged on startup via the "Launch.FlagsAtStartup" |
| 2423 | // UMA histogram. This histogram shows the number of startups with a given flag |
| 2424 | // enabled. If you'd like to see user counts instead, make sure to switch to |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 2425 | // "count users" view on the dashboard. When adding new entries, the enum |
Wei-Yin Chen (陳威尹) | 8068345 | 2017-10-02 19:08:25 | [diff] [blame] | 2426 | // "LoginCustomFlags" must be updated in histograms/enums.xml. See note in |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 2427 | // enums.xml and don't forget to run AboutFlagsHistogramTest unit test to |
| 2428 | // calculate and verify checksum. |
[email protected] | 4b66a7d | 2014-08-15 17:13:31 | [diff] [blame] | 2429 | // |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 2430 | // When adding a new choice, add it to the end of the list. |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 2431 | const FeatureEntry kFeatureEntries[] = { |
Elly Fong-Jones | 4054f14 | 2020-04-17 17:12:33 | [diff] [blame] | 2432 | // Include generated flags for flag unexpiry; see //docs/flag_expiry.md and |
| 2433 | // //tools/flags/generate_unexpire_flags.py. |
| 2434 | #include "chrome/browser/unexpire_flags_gen.inc" |
Corentin Wallez | e660b15 | 2020-07-15 16:07:54 | [diff] [blame] | 2435 | {"ignore-gpu-blocklist", flag_descriptions::kIgnoreGpuBlocklistName, |
| 2436 | flag_descriptions::kIgnoreGpuBlocklistDescription, kOsAll, |
| 2437 | SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlocklist)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2438 | {"disable-accelerated-2d-canvas", |
| 2439 | flag_descriptions::kAccelerated2dCanvasName, |
| 2440 | flag_descriptions::kAccelerated2dCanvasDescription, kOsAll, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 2441 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)}, |
brettw | 5f9c164 | 2017-05-14 17:12:48 | [diff] [blame] | 2442 | {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2443 | flag_descriptions::kCompositedLayerBordersDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2444 | SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)}, |
Daniele Castagna | 74ddb9c | 2018-06-21 22:59:02 | [diff] [blame] | 2445 | {"overlay-strategies", flag_descriptions::kOverlayStrategiesName, |
| 2446 | flag_descriptions::kOverlayStrategiesDescription, kOsAll, |
| 2447 | MULTI_VALUE_TYPE(kOverlayStrategiesChoices)}, |
Daniele Castagna | ac71d89 | 2020-07-07 17:30:37 | [diff] [blame] | 2448 | {"tint-composited-content", flag_descriptions::kTintCompositedContentName, |
| 2449 | flag_descriptions::kTintCompositedContentDescription, kOsAll, |
| 2450 | SINGLE_VALUE_TYPE(switches::kTintCompositedContent)}, |
pwarren | 87867167 | 2019-12-13 19:18:16 | [diff] [blame] | 2451 | {"show-overdraw-feedback", flag_descriptions::kShowOverdrawFeedbackName, |
| 2452 | flag_descriptions::kShowOverdrawFeedbackDescription, kOsAll, |
| 2453 | SINGLE_VALUE_TYPE(switches::kShowOverdrawFeedback)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2454 | {"ui-disable-partial-swap", flag_descriptions::kUiPartialSwapName, |
| 2455 | flag_descriptions::kUiPartialSwapDescription, kOsAll, |
reveman | 9413cff | 2017-01-18 03:05:48 | [diff] [blame] | 2456 | SINGLE_DISABLE_VALUE_TYPE(switches::kUIDisablePartialSwap)}, |
Per Åhgren | cef4426 | 2019-11-20 10:54:51 | [diff] [blame] | 2457 | {"enable-webrtc-capture-multi-channel-audio-processing", |
| 2458 | flag_descriptions::kWebrtcCaptureMultiChannelApmName, |
| 2459 | flag_descriptions::kWebrtcCaptureMultiChannelApmDescription, kOsAll, |
| 2460 | FEATURE_VALUE_TYPE(features::kWebRtcEnableCaptureMultiChannelApm)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2461 | {"disable-webrtc-hw-decoding", flag_descriptions::kWebrtcHwDecodingName, |
| 2462 | flag_descriptions::kWebrtcHwDecodingDescription, kOsAndroid | kOsCrOS, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 2463 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2464 | {"disable-webrtc-hw-encoding", flag_descriptions::kWebrtcHwEncodingName, |
| 2465 | flag_descriptions::kWebrtcHwEncodingDescription, kOsAndroid | kOsCrOS, |
braveyao | e29be16 | 2017-01-17 18:53:35 | [diff] [blame] | 2466 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)}, |
Aran Gilman | 766c2ad | 2019-04-18 00:15:41 | [diff] [blame] | 2467 | #if !defined(OS_ANDROID) |
| 2468 | {"enable-reader-mode", flag_descriptions::kEnableReaderModeName, |
| 2469 | flag_descriptions::kEnableReaderModeDescription, kOsDesktop, |
Katie D | 1ca4328b | 2020-02-19 18:08:47 | [diff] [blame] | 2470 | FEATURE_WITH_PARAMS_VALUE_TYPE(dom_distiller::kReaderMode, |
| 2471 | kReaderModeDiscoverabilityVariations, |
| 2472 | "ReaderMode")}, |
Aran Gilman | 766c2ad | 2019-04-18 00:15:41 | [diff] [blame] | 2473 | #endif // !defined(OS_ANDROID) |
Tomas Popela | 253a583 | 2019-01-14 17:22:10 | [diff] [blame] | 2474 | #if defined(WEBRTC_USE_PIPEWIRE) |
| 2475 | {"enable-webrtc-pipewire-capturer", |
| 2476 | flag_descriptions::kWebrtcPipeWireCapturerName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 2477 | flag_descriptions::kWebrtcPipeWireCapturerDescription, kOsLinux, |
Tomas Popela | 253a583 | 2019-01-14 17:22:10 | [diff] [blame] | 2478 | FEATURE_VALUE_TYPE(features::kWebRtcPipeWireCapturer)}, |
| 2479 | #endif // defined(WEBRTC_USE_PIPEWIRE) |
Elad Alon | 85e0d0be | 2018-06-26 10:38:37 | [diff] [blame] | 2480 | #if !defined(OS_ANDROID) |
| 2481 | {"enable-webrtc-remote-event-log", |
| 2482 | flag_descriptions::kWebRtcRemoteEventLogName, |
| 2483 | flag_descriptions::kWebRtcRemoteEventLogDescription, kOsDesktop, |
| 2484 | FEATURE_VALUE_TYPE(features::kWebRtcRemoteEventLog)}, |
| 2485 | #endif |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2486 | {"enable-webrtc-srtp-aes-gcm", flag_descriptions::kWebrtcSrtpAesGcmName, |
| 2487 | flag_descriptions::kWebrtcSrtpAesGcmDescription, kOsAll, |
jbauch | b9782202 | 2017-03-23 21:57:07 | [diff] [blame] | 2488 | SINGLE_VALUE_TYPE(switches::kEnableWebRtcSrtpAesGcm)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2489 | {"enable-webrtc-stun-origin", flag_descriptions::kWebrtcStunOriginName, |
| 2490 | flag_descriptions::kWebrtcStunOriginDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2491 | SINGLE_VALUE_TYPE(switches::kEnableWebRtcStunOrigin)}, |
Alex Loiko | b5fb128 | 2018-08-14 10:04:40 | [diff] [blame] | 2492 | {"enable-webrtc-hybrid-agc", flag_descriptions::kWebrtcHybridAgcName, |
| 2493 | flag_descriptions::kWebrtcHybridAgcDescription, kOsAll, |
| 2494 | FEATURE_VALUE_TYPE(features::kWebRtcHybridAgc)}, |
Qingsi Wang | ec2dbf94 | 2018-11-03 05:33:04 | [diff] [blame] | 2495 | {"enable-webrtc-hide-local-ips-with-mdns", |
| 2496 | flag_descriptions::kWebrtcHideLocalIpsWithMdnsName, |
| 2497 | flag_descriptions::kWebrtcHideLocalIpsWithMdnsDecription, kOsDesktop, |
Antonio Gomes | b471857 | 2019-09-11 02:55:48 | [diff] [blame] | 2498 | FEATURE_VALUE_TYPE(blink::features::kWebRtcHideLocalIpsWithMdns)}, |
Sergey Silkin | c33244f | 2020-01-31 17:21:30 | [diff] [blame] | 2499 | {"enable-webrtc-use-min-max-vea-dimensions", |
| 2500 | flag_descriptions::kWebrtcUseMinMaxVEADimensionsName, |
| 2501 | flag_descriptions::kWebrtcUseMinMaxVEADimensionsDescription, kOsAll, |
| 2502 | FEATURE_VALUE_TYPE(blink::features::kWebRtcUseMinMaxVEADimensions)}, |
ymalik | 3edbd8d0 | 2016-03-16 23:37:01 | [diff] [blame] | 2503 | #if defined(OS_ANDROID) |
Sarath Singapati | 83aef1c | 2017-11-16 15:54:52 | [diff] [blame] | 2504 | {"clear-old-browsing-data", flag_descriptions::kClearOldBrowsingDataName, |
| 2505 | flag_descriptions::kClearOldBrowsingDataDescription, kOsAndroid, |
| 2506 | FEATURE_VALUE_TYPE(features::kClearOldBrowsingData)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2507 | #endif // OS_ANDROID |
Derek Schuff | 71d9a92 | 2019-04-24 21:36:00 | [diff] [blame] | 2508 | #if BUILDFLAG(ENABLE_NACL) |
| 2509 | {"enable-nacl", flag_descriptions::kNaclName, |
| 2510 | flag_descriptions::kNaclDescription, kOsAll, |
| 2511 | SINGLE_VALUE_TYPE(switches::kEnableNaCl)}, |
| 2512 | #endif // ENABLE_NACL |
brettw | 00899e6 | 2016-11-12 02:10:17 | [diff] [blame] | 2513 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2514 | {"extension-apis", flag_descriptions::kExperimentalExtensionApisName, |
| 2515 | flag_descriptions::kExperimentalExtensionApisDescription, kOsDesktop, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2516 | SINGLE_VALUE_TYPE(extensions::switches::kEnableExperimentalExtensionApis)}, |
Archana Simha | 6e7503db | 2019-12-10 03:52:58 | [diff] [blame] | 2517 | {"extension-checkup", flag_descriptions::kExtensionsCheckupName, |
| 2518 | flag_descriptions::kExtensionsCheckupDescription, kOsDesktop, |
| 2519 | FEATURE_WITH_PARAMS_VALUE_TYPE(extensions_features::kExtensionsCheckup, |
| 2520 | kExtensionsCheckupVariations, |
| 2521 | "ExtensionsCheckup")}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2522 | {"extensions-on-chrome-urls", |
| 2523 | flag_descriptions::kExtensionsOnChromeUrlsName, |
| 2524 | flag_descriptions::kExtensionsOnChromeUrlsDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2525 | SINGLE_VALUE_TYPE(extensions::switches::kExtensionsOnChromeURLs)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2526 | #endif // ENABLE_EXTENSIONS |
Shivani Sharma | 2d5b4b6b | 2019-01-08 16:07:16 | [diff] [blame] | 2527 | {"enable-history-manipulation-intervention", |
| 2528 | flag_descriptions::kHistoryManipulationIntervention, |
| 2529 | flag_descriptions::kHistoryManipulationInterventionDescription, kOsAll, |
| 2530 | FEATURE_VALUE_TYPE(features::kHistoryManipulationIntervention)}, |
[email protected] | 333bdc5 | 2013-07-16 00:37:04 | [diff] [blame] | 2531 | #if defined(OS_ANDROID) |
Donn Denman | 140a0856 | 2020-03-09 18:23:19 | [diff] [blame] | 2532 | {"contextual-search-debug", flag_descriptions::kContextualSearchDebugName, |
| 2533 | flag_descriptions::kContextualSearchDebugDescription, kOsAndroid, |
| 2534 | FEATURE_VALUE_TYPE(chrome::android::kContextualSearchDebug)}, |
Donn Denman | 4315f26 | 2019-03-02 02:47:41 | [diff] [blame] | 2535 | {"contextual-search-definitions", |
| 2536 | flag_descriptions::kContextualSearchDefinitionsName, |
| 2537 | flag_descriptions::kContextualSearchDefinitionsDescription, kOsAndroid, |
| 2538 | FEATURE_VALUE_TYPE(chrome::android::kContextualSearchDefinitions)}, |
Donn Denman | 6be77d4 | 2019-05-04 15:55:42 | [diff] [blame] | 2539 | {"contextual-search-longpress-resolve", |
| 2540 | flag_descriptions::kContextualSearchLongpressResolveName, |
| 2541 | flag_descriptions::kContextualSearchLongpressResolveDescription, |
| 2542 | kOsAndroid, |
Donn Denman | c0a33cbf | 2020-02-27 15:26:05 | [diff] [blame] | 2543 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2544 | chrome::android::kContextualSearchLongpressResolve, |
| 2545 | kLongpressResolveVariations, |
| 2546 | "ContextualSearchLongpressResolve")}, |
Donn Denman | 8e58ead | 2017-11-04 01:44:01 | [diff] [blame] | 2547 | {"contextual-search-ml-tap-suppression", |
| 2548 | flag_descriptions::kContextualSearchMlTapSuppressionName, |
| 2549 | flag_descriptions::kContextualSearchMlTapSuppressionDescription, |
| 2550 | kOsAndroid, |
| 2551 | FEATURE_VALUE_TYPE(chrome::android::kContextualSearchMlTapSuppression)}, |
Donn Denman | 5972981 | 2018-01-09 01:27:02 | [diff] [blame] | 2552 | {"contextual-search-ranker-query", |
| 2553 | flag_descriptions::kContextualSearchRankerQueryName, |
| 2554 | flag_descriptions::kContextualSearchRankerQueryDescription, kOsAndroid, |
| 2555 | FEATURE_VALUE_TYPE(assist_ranker::kContextualSearchRankerQuery)}, |
| 2556 | {"contextual-search-second-tap", |
| 2557 | flag_descriptions::kContextualSearchSecondTapName, |
| 2558 | flag_descriptions::kContextualSearchSecondTapDescription, kOsAndroid, |
| 2559 | FEATURE_VALUE_TYPE(chrome::android::kContextualSearchSecondTap)}, |
Donn Denman | 58a1da4 | 2020-01-27 23:40:38 | [diff] [blame] | 2560 | {"contextual-search-translations", |
| 2561 | flag_descriptions::kContextualSearchTranslationsName, |
| 2562 | flag_descriptions::kContextualSearchTranslationsDescription, kOsAndroid, |
| 2563 | FEATURE_VALUE_TYPE(chrome::android::kContextualSearchTranslations)}, |
Jordan Demeulenaere | 9404ba23 | 2019-07-01 12:57:16 | [diff] [blame] | 2564 | {"direct-actions", flag_descriptions::kDirectActionsName, |
| 2565 | flag_descriptions::kDirectActionsDescription, kOsAndroid, |
| 2566 | FEATURE_VALUE_TYPE(chrome::android::kDirectActions)}, |
Cathy Li | 2fb32bf8 | 2018-06-06 18:55:40 | [diff] [blame] | 2567 | {"explore-sites", flag_descriptions::kExploreSitesName, |
| 2568 | flag_descriptions::kExploreSitesDescription, kOsAndroid, |
Cathy Li | c450408f | 2018-08-02 20:32:54 | [diff] [blame] | 2569 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kExploreSites, |
| 2570 | kExploreSitesVariations, |
Sebastien | ffb6105 | 2019-08-21 01:20:42 | [diff] [blame] | 2571 | "ExploreSites InitialCountries")}, |
Donn Denman | c42123c | 2020-03-19 01:44:24 | [diff] [blame] | 2572 | {"related-searches", flag_descriptions::kRelatedSearchesName, |
| 2573 | flag_descriptions::kRelatedSearchesDescription, kOsAndroid, |
| 2574 | FEATURE_VALUE_TYPE(chrome::android::kRelatedSearches)}, |
Alex Hawker | 0062f525 | 2020-07-29 21:41:07 | [diff] [blame] | 2575 | {"bento-offline", flag_descriptions::kBentoOfflineName, |
| 2576 | flag_descriptions::kBentoOfflineDescription, kOsAndroid, |
| 2577 | FEATURE_VALUE_TYPE(chrome::android::kBentoOffline)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2578 | #endif // OS_ANDROID |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2579 | {"show-autofill-type-predictions", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2580 | flag_descriptions::kShowAutofillTypePredictionsName, |
| 2581 | flag_descriptions::kShowAutofillTypePredictionsDescription, kOsAll, |
Mathieu Perreault | a24d0c2 | 2017-11-10 01:22:00 | [diff] [blame] | 2582 | FEATURE_VALUE_TYPE(autofill::features::kAutofillShowTypePredictions)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2583 | {"smooth-scrolling", flag_descriptions::kSmoothScrollingName, |
| 2584 | flag_descriptions::kSmoothScrollingDescription, |
skobes | 4dd88f3 | 2016-01-06 22:56:22 | [diff] [blame] | 2585 | // Mac has a separate implementation with its own setting to disable. |
| 2586 | kOsLinux | kOsCrOS | kOsWin | kOsAndroid, |
ymalik | 985f5e7 | 2016-02-18 20:10:12 | [diff] [blame] | 2587 | ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSmoothScrolling, |
| 2588 | switches::kDisableSmoothScrolling)}, |
Sam Goto | 09d69a1 | 2019-11-20 23:56:56 | [diff] [blame] | 2589 | {"sms-receiver-cross-device", |
| 2590 | flag_descriptions::kSmsReceiverCrossDeviceName, |
| 2591 | flag_descriptions::kSmsReceiverCrossDeviceDescription, kOsAll, |
| 2592 | FEATURE_VALUE_TYPE(kSmsReceiverCrossDevice)}, |
David Bokan | 432978d | 2019-08-15 18:18:52 | [diff] [blame] | 2593 | {"fractional-scroll-offsets", |
| 2594 | flag_descriptions::kFractionalScrollOffsetsName, |
| 2595 | flag_descriptions::kFractionalScrollOffsetsDescription, kOsAll, |
| 2596 | FEATURE_VALUE_TYPE(features::kFractionalScrollOffsets)}, |
mfomitchev | 05cf876 | 2017-03-15 23:46:29 | [diff] [blame] | 2597 | #if defined(USE_AURA) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2598 | {"overlay-scrollbars", flag_descriptions::kOverlayScrollbarsName, |
| 2599 | flag_descriptions::kOverlayScrollbarsDescription, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2600 | // Uses the system preference on Mac (a different implementation). |
| 2601 | // On Android, this is always enabled. |
chaopeng | d3ca34feb | 2017-04-20 17:11:22 | [diff] [blame] | 2602 | kOsAura, FEATURE_VALUE_TYPE(features::kOverlayScrollbar)}, |
chaopeng | e8aa016b | 2017-08-24 15:20:19 | [diff] [blame] | 2603 | {"overlay-scrollbars-flash-after-scroll-update", |
| 2604 | flag_descriptions::kOverlayScrollbarsFlashAfterAnyScrollUpdateName, |
| 2605 | flag_descriptions::kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription, |
| 2606 | kOsAura, |
| 2607 | FEATURE_VALUE_TYPE(features::kOverlayScrollbarFlashAfterAnyScrollUpdate)}, |
chaopeng | 34367802 | 2017-08-24 18:45:00 | [diff] [blame] | 2608 | {"overlay-scrollbars-flash-when-mouse-enter", |
| 2609 | flag_descriptions::kOverlayScrollbarsFlashWhenMouseEnterName, |
| 2610 | flag_descriptions::kOverlayScrollbarsFlashWhenMouseEnterDescription, |
| 2611 | kOsAura, |
| 2612 | FEATURE_VALUE_TYPE(features::kOverlayScrollbarFlashWhenMouseEnter)}, |
mfomitchev | 05cf876 | 2017-03-15 23:46:29 | [diff] [blame] | 2613 | #endif // USE_AURA |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2614 | {"enable-quic", flag_descriptions::kQuicName, |
| 2615 | flag_descriptions::kQuicDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2616 | ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, switches::kDisableQuic)}, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2617 | {"disable-javascript-harmony-shipping", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2618 | flag_descriptions::kJavascriptHarmonyShippingName, |
| 2619 | flag_descriptions::kJavascriptHarmonyShippingDescription, kOsAll, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 2620 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableJavaScriptHarmonyShipping)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2621 | {"enable-javascript-harmony", flag_descriptions::kJavascriptHarmonyName, |
| 2622 | flag_descriptions::kJavascriptHarmonyDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2623 | SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)}, |
Andreas Haas | b400d91 | 2019-08-28 18:54:10 | [diff] [blame] | 2624 | {"enable-experimental-webassembly-features", |
| 2625 | flag_descriptions::kExperimentalWebAssemblyFeaturesName, |
| 2626 | flag_descriptions::kExperimentalWebAssemblyFeaturesDescription, kOsAll, |
| 2627 | SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebAssemblyFeatures)}, |
Clemens Hammacher | 0c8a15a | 2018-04-27 13:45:32 | [diff] [blame] | 2628 | {"enable-webassembly-baseline", flag_descriptions::kEnableWasmBaselineName, |
| 2629 | flag_descriptions::kEnableWasmBaselineDescription, kOsAll, |
| 2630 | FEATURE_VALUE_TYPE(features::kWebAssemblyBaseline)}, |
Clemens Backes | 50e0ecd | 2020-01-20 10:43:24 | [diff] [blame] | 2631 | {"enable-webassembly-lazy-compilation", |
| 2632 | flag_descriptions::kEnableWasmLazyCompilationName, |
| 2633 | flag_descriptions::kEnableWasmLazyCompilationDescription, kOsAll, |
| 2634 | FEATURE_VALUE_TYPE(features::kWebAssemblyLazyCompilation)}, |
Deepti Gandluri | 11734cc4 | 2019-05-02 18:00:20 | [diff] [blame] | 2635 | {"enable-webassembly-simd", flag_descriptions::kEnableWasmSimdName, |
| 2636 | flag_descriptions::kEnableWasmSimdDescription, kOsAll, |
| 2637 | FEATURE_VALUE_TYPE(features::kWebAssemblySimd)}, |
Ben Smith | 24c1e5c | 2018-06-20 01:09:02 | [diff] [blame] | 2638 | {"enable-webassembly-threads", flag_descriptions::kEnableWasmThreadsName, |
| 2639 | flag_descriptions::kEnableWasmThreadsDescription, kOsAll, |
| 2640 | FEATURE_VALUE_TYPE(features::kWebAssemblyThreads)}, |
Clemens Backes | 963eb37be | 2020-01-10 11:56:49 | [diff] [blame] | 2641 | {"enable-webassembly-tiering", flag_descriptions::kEnableWasmTieringName, |
| 2642 | flag_descriptions::kEnableWasmTieringDescription, kOsAll, |
| 2643 | FEATURE_VALUE_TYPE(features::kWebAssemblyTiering)}, |
Michael Hablich | 896d5266 | 2017-10-23 15:59:57 | [diff] [blame] | 2644 | {"enable-future-v8-vm-features", flag_descriptions::kV8VmFutureName, |
| 2645 | flag_descriptions::kV8VmFutureDescription, kOsAll, |
| 2646 | FEATURE_VALUE_TYPE(features::kV8VmFuture)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2647 | {"enable-gpu-rasterization", flag_descriptions::kGpuRasterizationName, |
| 2648 | flag_descriptions::kGpuRasterizationDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2649 | MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)}, |
Adrienne Walker | c87477e | 2018-06-06 22:28:21 | [diff] [blame] | 2650 | {"enable-oop-rasterization", flag_descriptions::kOopRasterizationName, |
| 2651 | flag_descriptions::kOopRasterizationDescription, kOsAll, |
| 2652 | MULTI_VALUE_TYPE(kEnableOopRasterizationChoices)}, |
Khushal Sagar | 5d9d4f2 | 2020-05-28 15:42:13 | [diff] [blame] | 2653 | {"enable-oop-rasterization-ddl", |
| 2654 | flag_descriptions::kOopRasterizationDDLName, |
| 2655 | flag_descriptions::kOopRasterizationDDLDescription, kOsAll, |
| 2656 | FEATURE_VALUE_TYPE(features::kOopRasterizationDDL)}, |
asvitkine | ab33c92 | 2016-08-30 20:34:19 | [diff] [blame] | 2657 | {"enable-experimental-web-platform-features", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2658 | flag_descriptions::kExperimentalWebPlatformFeaturesName, |
| 2659 | flag_descriptions::kExperimentalWebPlatformFeaturesDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2660 | SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)}, |
Anita Woodruff | bfcd1e5 | 2018-07-16 12:00:51 | [diff] [blame] | 2661 | #if defined(OS_ANDROID) |
| 2662 | {"enable-app-notification-status-messaging", |
| 2663 | flag_descriptions::kAppNotificationStatusMessagingName, |
| 2664 | flag_descriptions::kAppNotificationStatusMessagingDescription, kOsAndroid, |
Robbie McElrath | 38cb3e5a | 2020-04-01 22:45:05 | [diff] [blame] | 2665 | FEATURE_VALUE_TYPE(browser_ui::kAppNotificationStatusMessaging)}, |
Anita Woodruff | bfcd1e5 | 2018-07-16 12:00:51 | [diff] [blame] | 2666 | #endif // OS_ANDROID |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2667 | {"silent-debugger-extension-api", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2668 | flag_descriptions::kSilentDebuggerExtensionApiName, |
| 2669 | flag_descriptions::kSilentDebuggerExtensionApiDescription, kOsDesktop, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2670 | SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)}, |
brettw | 41446f6 | 2016-11-14 23:23:23 | [diff] [blame] | 2671 | #if BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_ANDROID) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2672 | {"enable-android-spellchecker", |
| 2673 | flag_descriptions::kEnableAndroidSpellcheckerDescription, |
| 2674 | flag_descriptions::kEnableAndroidSpellcheckerDescription, kOsAndroid, |
timvolodine | be9a264 | 2017-01-23 20:10:23 | [diff] [blame] | 2675 | FEATURE_VALUE_TYPE(spellcheck::kAndroidSpellCheckerNonLowEnd)}, |
skym | 7248671 | 2016-10-18 20:37:47 | [diff] [blame] | 2676 | #endif // ENABLE_SPELLCHECK && OS_ANDROID |
Peter Kasting | d7742835 | 2018-10-26 15:20:25 | [diff] [blame] | 2677 | {"top-chrome-touch-ui", flag_descriptions::kTopChromeTouchUiName, |
| 2678 | flag_descriptions::kTopChromeTouchUiDescription, kOsDesktop, |
| 2679 | MULTI_VALUE_TYPE(kTopChromeTouchUiChoices)}, |
Peter Boström | 92add81d | 2019-08-12 22:14:24 | [diff] [blame] | 2680 | #if BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) |
| 2681 | {"webui-tab-strip", flag_descriptions::kWebUITabStripName, |
| 2682 | flag_descriptions::kWebUITabStripDescription, kOsDesktop, |
Collin Baker | 33a13f5 | 2019-12-13 00:30:23 | [diff] [blame] | 2683 | FEATURE_VALUE_TYPE(features::kWebUITabStrip)}, |
Peter Boström | 92add81d | 2019-08-12 22:14:24 | [diff] [blame] | 2684 | #endif // BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) |
Collin Baker | 0b940c8e | 2020-08-07 18:53:48 | [diff] [blame] | 2685 | #if BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) && defined(OS_CHROMEOS) |
| 2686 | { |
| 2687 | "webui-tab-strip-tab-drag-integration", |
| 2688 | flag_descriptions::kWebUITabStripTabDragIntegrationName, |
| 2689 | flag_descriptions::kWebUITabStripTabDragIntegrationDescription, |
| 2690 | kOsCrOS, |
| 2691 | FEATURE_VALUE_TYPE(ash::features::kWebUITabStripTabDragIntegration), |
| 2692 | }, |
| 2693 | #endif // BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) && defined(OS_CHROMEOS) |
Yining Wang | dedf076 | 2019-02-19 20:20:29 | [diff] [blame] | 2694 | {"focus-mode", flag_descriptions::kFocusMode, |
| 2695 | flag_descriptions::kFocusModeDescription, kOsDesktop, |
| 2696 | FEATURE_VALUE_TYPE(features::kFocusMode)}, |
[email protected] | 0b60afa | 2012-04-19 17:36:39 | [diff] [blame] | 2697 | #if defined(OS_CHROMEOS) |
Daniele Castagna | 893d822e | 2019-03-08 21:37:11 | [diff] [blame] | 2698 | {"disable-explicit-dma-fences", |
| 2699 | flag_descriptions::kDisableExplicitDmaFencesName, |
| 2700 | flag_descriptions::kDisableExplicitDmaFencesDescription, kOsCrOS, |
| 2701 | SINGLE_VALUE_TYPE(switches::kDisableExplicitDmaFences)}, |
Miguel Casas | f15028b1 | 2019-10-23 12:52:32 | [diff] [blame] | 2702 | // TODO(crbug.com/1012846): Remove this flag and provision when HDR is fully |
| 2703 | // supported on ChromeOS. |
Miguel Casas | 8821b098 | 2020-07-02 12:28:49 | [diff] [blame] | 2704 | {"use-hdr-transfer-function", |
| 2705 | flag_descriptions::kUseHDRTransferFunctionName, |
| 2706 | flag_descriptions::kUseHDRTransferFunctionDescription, kOsCrOS, |
| 2707 | FEATURE_VALUE_TYPE(display::features::kUseHDRTransferFunction)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2708 | #endif // OS_CHROMEOS |
mfomitchev | dc04e07 | 2017-02-10 22:21:40 | [diff] [blame] | 2709 | #if defined(OS_CHROMEOS) |
Ahmed | fae13af5 | 2020-03-25 20:07:28 | [diff] [blame] | 2710 | {"ash-limit-alt-tab-to-active-desk", |
| 2711 | flag_descriptions::kLimitAltTabToActiveDeskName, |
| 2712 | flag_descriptions::kLimitAltTabToActiveDeskDescription, kOsCrOS, |
| 2713 | FEATURE_VALUE_TYPE(ash::features::kLimitAltTabToActiveDesk)}, |
Ahmed Fakhry | 039882f | 2020-06-16 21:56:21 | [diff] [blame] | 2714 | {"ash-limit-shelf-items-to-active-desk", |
| 2715 | flag_descriptions::kLimitShelfItemsToActiveDeskName, |
| 2716 | flag_descriptions::kLimitShelfItemsToActiveDeskDescription, kOsCrOS, |
| 2717 | FEATURE_VALUE_TYPE(ash::features::kPerDeskShelf)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2718 | {"ash-enable-unified-desktop", |
| 2719 | flag_descriptions::kAshEnableUnifiedDesktopName, |
| 2720 | flag_descriptions::kAshEnableUnifiedDesktopDescription, kOsCrOS, |
rjkroege | 03f3d6b | 2016-09-09 21:27:59 | [diff] [blame] | 2721 | SINGLE_VALUE_TYPE(switches::kEnableUnifiedDesktop)}, |
chinsenj | 978a780 | 2020-09-15 02:15:02 | [diff] [blame] | 2722 | {"ash-enable-interactive-window-cycle-list", |
| 2723 | flag_descriptions::kInteractiveWindowCycleList, |
| 2724 | flag_descriptions::kInteractiveWindowCycleListDescription, kOsCrOS, |
| 2725 | FEATURE_VALUE_TYPE(ash::features::kInteractiveWindowCycleList)}, |
Ryan Hansberry | 7c6c2b2 | 2019-06-18 21:07:14 | [diff] [blame] | 2726 | {"bluetooth-aggressive-appearance-filter", |
| 2727 | flag_descriptions::kBluetoothAggressiveAppearanceFilterName, |
| 2728 | flag_descriptions::kBluetoothAggressiveAppearanceFilterDescription, |
| 2729 | kOsCrOS, |
| 2730 | FEATURE_VALUE_TYPE( |
| 2731 | chromeos::features::kBluetoothAggressiveAppearanceFilter)}, |
Michael Sun | 1b15a30 | 2020-04-07 02:57:29 | [diff] [blame] | 2732 | {"bluetooth-fix-a2dp-packet-size", |
| 2733 | flag_descriptions::kBluetoothFixA2dpPacketSizeName, |
| 2734 | flag_descriptions::kBluetoothFixA2dpPacketSizeDescription, kOsCrOS, |
| 2735 | FEATURE_VALUE_TYPE(chromeos::features::kBluetoothFixA2dpPacketSize)}, |
Hsin-Yu Chao | 771fcd5 | 2020-03-17 17:35:10 | [diff] [blame] | 2736 | {"bluetooth-next-handsfree-profile", |
| 2737 | flag_descriptions::kBluetoothNextHandsfreeProfileName, |
| 2738 | flag_descriptions::kBluetoothNextHandsfreeProfileDescription, kOsCrOS, |
| 2739 | FEATURE_VALUE_TYPE(chromeos::features::kBluetoothNextHandsfreeProfile)}, |
Max Li | 6f2e814 | 2019-10-23 13:34:11 | [diff] [blame] | 2740 | {"cryptauth-v2-device-activity-status", |
| 2741 | flag_descriptions::kCryptAuthV2DeviceActivityStatusName, |
| 2742 | flag_descriptions::kCryptAuthV2DeviceActivityStatusDescription, kOsCrOS, |
| 2743 | FEATURE_VALUE_TYPE(chromeos::features::kCryptAuthV2DeviceActivityStatus)}, |
Josh Nohle | 12948a1 | 2019-10-10 21:06:16 | [diff] [blame] | 2744 | {"cryptauth-v2-devicesync", flag_descriptions::kCryptAuthV2DeviceSyncName, |
| 2745 | flag_descriptions::kCryptAuthV2DeviceSyncDescription, kOsCrOS, |
| 2746 | FEATURE_VALUE_TYPE(chromeos::features::kCryptAuthV2DeviceSync)}, |
Josh Nohle | 2f82dcc | 2018-12-17 23:11:23 | [diff] [blame] | 2747 | {"cryptauth-v2-enrollment", flag_descriptions::kCryptAuthV2EnrollmentName, |
Josh Nohle | 8d67051 | 2019-08-09 13:47:14 | [diff] [blame] | 2748 | flag_descriptions::kCryptAuthV2EnrollmentDescription, kOsCrOS, |
Josh Nohle | 2f82dcc | 2018-12-17 23:11:23 | [diff] [blame] | 2749 | FEATURE_VALUE_TYPE(chromeos::features::kCryptAuthV2Enrollment)}, |
Josh Nohle | 115bc289 | 2019-12-18 18:26:34 | [diff] [blame] | 2750 | {"disable-cryptauth-v1-devicesync", |
| 2751 | flag_descriptions::kDisableCryptAuthV1DeviceSyncName, |
| 2752 | flag_descriptions::kDisableCryptAuthV1DeviceSyncDescription, kOsCrOS, |
| 2753 | FEATURE_VALUE_TYPE(chromeos::features::kDisableCryptAuthV1DeviceSync)}, |
Giovanni Ortuño Urquidi | 3e5e207 | 2019-09-25 06:50:20 | [diff] [blame] | 2754 | {"disable-office-editing-component-app", |
| 2755 | flag_descriptions::kDisableOfficeEditingComponentAppName, |
| 2756 | flag_descriptions::kDisableOfficeEditingComponentAppDescription, kOsCrOS, |
| 2757 | FEATURE_VALUE_TYPE(chromeos::features::kDisableOfficeEditingComponentApp)}, |
Kyle Horimoto | 7854a03 | 2019-04-03 02:51:07 | [diff] [blame] | 2758 | {"updated_cellular_activation_ui", |
| 2759 | flag_descriptions::kUpdatedCellularActivationUiName, |
| 2760 | flag_descriptions::kUpdatedCellularActivationUiDescription, kOsCrOS, |
| 2761 | FEATURE_VALUE_TYPE(chromeos::features::kUpdatedCellularActivationUi)}, |
Kyle Horimoto | 874554a | 2019-01-31 00:52:09 | [diff] [blame] | 2762 | {"use_messages_staging_url", flag_descriptions::kUseMessagesStagingUrlName, |
Jon Mann | c9d088c | 2019-08-14 18:14:21 | [diff] [blame] | 2763 | flag_descriptions::kUseMessagesStagingUrlDescription, kOsCrOS, |
Kyle Horimoto | 874554a | 2019-01-31 00:52:09 | [diff] [blame] | 2764 | FEATURE_VALUE_TYPE(chromeos::features::kUseMessagesStagingUrl)}, |
Jon Mann | 5ebbd153 | 2020-04-17 22:12:05 | [diff] [blame] | 2765 | {"use-custom-messages-domain", |
| 2766 | flag_descriptions::kUseCustomMessagesDomainName, |
| 2767 | flag_descriptions::kUseCustomMessagesDomainDescription, kOsCrOS, |
| 2768 | ORIGIN_LIST_VALUE_TYPE(switches::kCustomAndroidMessagesDomain, "")}, |
Thanh Nguyen | a4c93344 | 2019-05-11 03:43:55 | [diff] [blame] | 2769 | {"disable-cancel-all-touches", |
| 2770 | flag_descriptions::kDisableCancelAllTouchesName, |
| 2771 | flag_descriptions::kDisableCancelAllTouchesDescription, kOsCrOS, |
| 2772 | SINGLE_VALUE_TYPE(switches::kDisableCancelAllTouches)}, |
Alex Newcomer | e5a362c | 2019-05-02 19:31:35 | [diff] [blame] | 2773 | { |
| 2774 | "enable-background-blur", |
| 2775 | flag_descriptions::kEnableBackgroundBlurName, |
| 2776 | flag_descriptions::kEnableBackgroundBlurDescription, |
| 2777 | kOsCrOS, |
minch | ab2ded5ce | 2019-09-06 18:32:28 | [diff] [blame] | 2778 | FEATURE_VALUE_TYPE(ash::features::kEnableBackgroundBlur), |
Alex Newcomer | e5a362c | 2019-05-02 19:31:35 | [diff] [blame] | 2779 | }, |
Alex Newcomer | d7b0cc4 | 2018-05-25 22:58:48 | [diff] [blame] | 2780 | {"enable-notification-indicator", |
| 2781 | flag_descriptions::kNotificationIndicatorName, |
| 2782 | flag_descriptions::kNotificationIndicatorDescription, kOsCrOS, |
| 2783 | FEATURE_VALUE_TYPE(features::kNotificationIndicator)}, |
Daniel Zhang | 0139907 | 2018-08-16 22:28:20 | [diff] [blame] | 2784 | {"enable-app-list-search-autocomplete", |
| 2785 | flag_descriptions::kEnableAppListSearchAutocompleteName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 2786 | flag_descriptions::kEnableAppListSearchAutocompleteDescription, kOsCrOS, |
Mostyn Bramley-Moore | 177b931d | 2018-09-24 22:53:24 | [diff] [blame] | 2787 | FEATURE_VALUE_TYPE(app_list_features::kEnableAppListSearchAutocomplete)}, |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 2788 | {kLacrosSupportInternalName, flag_descriptions::kLacrosSupportName, |
James Cook | ac2473be | 2020-04-28 00:54:18 | [diff] [blame] | 2789 | flag_descriptions::kLacrosSupportDescription, kOsCrOS, |
| 2790 | FEATURE_VALUE_TYPE(chromeos::features::kLacrosSupport)}, |
Ahmed Fakhry | 15d707e | 2019-02-22 23:54:21 | [diff] [blame] | 2791 | {"list-all-display-modes", flag_descriptions::kListAllDisplayModesName, |
| 2792 | flag_descriptions::kListAllDisplayModesDescription, kOsCrOS, |
| 2793 | FEATURE_VALUE_TYPE(display::features::kListAllDisplayModes)}, |
James Cook | f9d34d2 | 2017-10-04 16:39:35 | [diff] [blame] | 2794 | {"instant-tethering", flag_descriptions::kTetherName, |
| 2795 | flag_descriptions::kTetherDescription, kOsCrOS, |
Kyle Horimoto | e543c97d | 2018-07-10 17:57:45 | [diff] [blame] | 2796 | FEATURE_VALUE_TYPE(chromeos::features::kInstantTethering)}, |
Mitsuru Oshima | daf5457 | 2020-04-07 14:47:59 | [diff] [blame] | 2797 | { |
| 2798 | "new-shortcut-mapping", |
| 2799 | flag_descriptions::kEnableNewShortcutMappingName, |
| 2800 | flag_descriptions::kEnableNewShortcutMappingDescription, |
| 2801 | kOsCrOS, |
| 2802 | FEATURE_VALUE_TYPE(features::kNewShortcutMapping), |
| 2803 | }, |
Toni Barzic | 7e93fa5 | 2020-01-29 01:35:47 | [diff] [blame] | 2804 | {"shelf-hide-buttons-in-tablet", |
| 2805 | flag_descriptions::kHideShelfControlsInTabletModeName, |
| 2806 | flag_descriptions::kHideShelfControlsInTabletModeDescription, kOsCrOS, |
| 2807 | FEATURE_VALUE_TYPE(ash::features::kHideShelfControlsInTabletMode)}, |
Andrew Xu | 5db072c | 2020-05-01 00:14:01 | [diff] [blame] | 2808 | {"shelf-app-scaling", flag_descriptions::kShelfAppScalingName, |
| 2809 | flag_descriptions::kShelfAppScalingDescription, kOsCrOS, |
Andrew Xu | ec9de8e | 2020-05-07 18:24:26 | [diff] [blame] | 2810 | FEATURE_VALUE_TYPE(ash::features::kShelfAppScaling)}, |
Manu Cornet | eb3c7d3 | 2019-06-20 08:04:44 | [diff] [blame] | 2811 | {"shelf-hotseat", flag_descriptions::kShelfHotseatName, |
| 2812 | flag_descriptions::kShelfHotseatDescription, kOsCrOS, |
Vladislav Kaznacheev | f91dfa7 | 2019-12-17 19:43:21 | [diff] [blame] | 2813 | FEATURE_VALUE_TYPE(chromeos::features::kShelfHotseat)}, |
Manu Cornet | d7ef7c5 | 2018-05-01 22:08:23 | [diff] [blame] | 2814 | {"shelf-hover-previews", flag_descriptions::kShelfHoverPreviewsName, |
| 2815 | flag_descriptions::kShelfHoverPreviewsDescription, kOsCrOS, |
| 2816 | SINGLE_VALUE_TYPE(chromeos::switches::kShelfHoverPreviews)}, |
Kyle Horimoto | 63a6bd4 | 2019-09-16 23:47:52 | [diff] [blame] | 2817 | {"show-bluetooth-debug-log-toggle", |
| 2818 | flag_descriptions::kShowBluetoothDebugLogToggleName, |
| 2819 | flag_descriptions::kShowBluetoothDebugLogToggleDescription, kOsCrOS, |
| 2820 | FEATURE_VALUE_TYPE(chromeos::features::kShowBluetoothDebugLogToggle)}, |
Alberto Herrera | aecc8551 | 2019-06-13 21:14:25 | [diff] [blame] | 2821 | {"show-bluetooth-device-battery", |
| 2822 | flag_descriptions::kShowBluetoothDeviceBatteryName, |
| 2823 | flag_descriptions::kShowBluetoothDeviceBatteryDescription, kOsCrOS, |
| 2824 | FEATURE_VALUE_TYPE(chromeos::features::kShowBluetoothDeviceBattery)}, |
James Cook | 0ba192bf | 2017-12-01 20:53:11 | [diff] [blame] | 2825 | {"show-taps", flag_descriptions::kShowTapsName, |
| 2826 | flag_descriptions::kShowTapsDescription, kOsCrOS, |
| 2827 | SINGLE_VALUE_TYPE(ash::switches::kShowTaps)}, |
James Cook | f9d34d2 | 2017-10-04 16:39:35 | [diff] [blame] | 2828 | {"show-touch-hud", flag_descriptions::kShowTouchHudName, |
James Cook | 0ba192bf | 2017-12-01 20:53:11 | [diff] [blame] | 2829 | flag_descriptions::kShowTouchHudDescription, kOsCrOS, |
James Cook | f9d34d2 | 2017-10-04 16:39:35 | [diff] [blame] | 2830 | SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)}, |
Brian Geffon | 134e77c5 | 2019-07-30 21:49:58 | [diff] [blame] | 2831 | {"trim-on-memory-pressure", flag_descriptions::kTrimOnMemoryPressureName, |
| 2832 | flag_descriptions::kTrimOnMemoryPressureDescription, kOsCrOS, |
Brian Geffon | 158e33c | 2019-08-23 21:16:29 | [diff] [blame] | 2833 | FEATURE_VALUE_TYPE(performance_manager::features::kTrimOnMemoryPressure)}, |
Ahmed Mehfooz | ac33a0c | 2020-04-01 01:33:18 | [diff] [blame] | 2834 | {"system-tray-mic-gain", flag_descriptions::kSystemTrayMicGainName, |
| 2835 | flag_descriptions::kSystemTrayMicGainDescription, kOsCrOS, |
| 2836 | FEATURE_VALUE_TYPE(ash::features::kSystemTrayMicGainSetting)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2837 | #endif // OS_CHROMEOS |
Ted Meyer | a594452 | 2020-08-13 00:29:36 | [diff] [blame] | 2838 | |
| 2839 | #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
| 2840 | { |
| 2841 | "enable-accelerated-video-decode", |
| 2842 | flag_descriptions::kAcceleratedVideoDecodeName, |
| 2843 | flag_descriptions::kAcceleratedVideoDecodeDescription, |
| 2844 | kOsLinux, |
| 2845 | SINGLE_VALUE_TYPE(switches::kEnableAcceleratedVideoDecode), |
| 2846 | }, |
| 2847 | #else |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2848 | { |
dvadym | 415215b | 2016-02-09 12:05:03 | [diff] [blame] | 2849 | "disable-accelerated-video-decode", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2850 | flag_descriptions::kAcceleratedVideoDecodeName, |
| 2851 | flag_descriptions::kAcceleratedVideoDecodeDescription, |
sandersd | 49e9c1b | 2016-12-21 22:04:25 | [diff] [blame] | 2852 | kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
dvadym | 415215b | 2016-02-09 12:05:03 | [diff] [blame] | 2853 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2854 | }, |
Ted Meyer | a594452 | 2020-08-13 00:29:36 | [diff] [blame] | 2855 | #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
Hirokazu Honda | 732d3e62 | 2019-06-12 01:13:44 | [diff] [blame] | 2856 | { |
| 2857 | "disable-accelerated-video-encode", |
| 2858 | flag_descriptions::kAcceleratedVideoEncodeName, |
| 2859 | flag_descriptions::kAcceleratedVideoEncodeDescription, |
| 2860 | kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
| 2861 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoEncode), |
| 2862 | }, |
Mike Wasserman | 2115b16 | 2017-09-19 23:42:37 | [diff] [blame] | 2863 | #if defined(OS_CHROMEOS) |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2864 | { |
Hirokazu Honda | 8ef07cd | 2020-04-17 03:36:38 | [diff] [blame] | 2865 | "zero-copy-video-capture", |
| 2866 | flag_descriptions::kZeroCopyVideoCaptureName, |
| 2867 | flag_descriptions::kZeroCopyVideoCaptureDescription, |
| 2868 | kOsCrOS, |
| 2869 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 2870 | switches::kVideoCaptureUseGpuMemoryBuffer, |
| 2871 | "1", |
| 2872 | switches::kDisableVideoCaptureUseGpuMemoryBuffer, |
| 2873 | "1"), |
| 2874 | }, |
| 2875 | { |
Becca Hughes | ac86cd44 | 2019-01-09 23:49:54 | [diff] [blame] | 2876 | "ash-debug-shortcuts", |
| 2877 | flag_descriptions::kDebugShortcutsName, |
| 2878 | flag_descriptions::kDebugShortcutsDescription, |
| 2879 | kOsAll, |
dvadym | 415215b | 2016-02-09 12:05:03 | [diff] [blame] | 2880 | SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts), |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2881 | }, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2882 | {"ui-slow-animations", flag_descriptions::kUiSlowAnimationsName, |
| 2883 | flag_descriptions::kUiSlowAnimationsDescription, kOsCrOS, |
reveman | 6e8fc78 | 2017-01-10 20:26:16 | [diff] [blame] | 2884 | SINGLE_VALUE_TYPE(switches::kUISlowAnimations)}, |
reveman | 5be07ac8 | 2017-04-14 01:06:05 | [diff] [blame] | 2885 | {"ui-show-composited-layer-borders", |
| 2886 | flag_descriptions::kUiShowCompositedLayerBordersName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 2887 | flag_descriptions::kUiShowCompositedLayerBordersDescription, kOsCrOS, |
reveman | 5be07ac8 | 2017-04-14 01:06:05 | [diff] [blame] | 2888 | MULTI_VALUE_TYPE(kUiShowCompositedLayerBordersChoices)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2889 | #endif // OS_CHROMEOS |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2890 | {"debug-packed-apps", flag_descriptions::kDebugPackedAppName, |
| 2891 | flag_descriptions::kDebugPackedAppDescription, kOsDesktop, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2892 | SINGLE_VALUE_TYPE(switches::kDebugPackedApps)}, |
Behnood Momenzadeh | 5c944ff9b0 | 2020-06-04 18:35:35 | [diff] [blame] | 2893 | {"use-lookalikes-for-navigation-suggestions", |
| 2894 | flag_descriptions::kUseLookalikesForNavigationSuggestionsName, |
| 2895 | flag_descriptions::kUseLookalikesForNavigationSuggestionsDescription, |
| 2896 | kOsAll, |
| 2897 | FEATURE_VALUE_TYPE(net::features::kUseLookalikesForNavigationSuggestions)}, |
Vadym Doroshenko | a063a51 | 2019-12-12 17:59:07 | [diff] [blame] | 2898 | {"username-first-flow", flag_descriptions::kUsernameFirstFlowName, |
| 2899 | flag_descriptions::kUsernameFirstFlowDescription, kOsAll, |
| 2900 | FEATURE_VALUE_TYPE(password_manager::features::kUsernameFirstFlow)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2901 | {"enable-show-autofill-signatures", |
brettw | 5f9c164 | 2017-05-14 17:12:48 | [diff] [blame] | 2902 | flag_descriptions::kShowAutofillSignaturesName, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2903 | flag_descriptions::kShowAutofillSignaturesDescription, kOsAll, |
kolos | ad36993 | 2017-02-23 13:29:41 | [diff] [blame] | 2904 | SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2905 | {"wallet-service-use-sandbox", |
| 2906 | flag_descriptions::kWalletServiceUseSandboxName, |
| 2907 | flag_descriptions::kWalletServiceUseSandboxDescription, |
| 2908 | kOsAndroid | kOsDesktop, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2909 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 2910 | autofill::switches::kWalletServiceUseSandbox, |
| 2911 | "1", |
| 2912 | autofill::switches::kWalletServiceUseSandbox, |
| 2913 | "0")}, |
Ovidio Henriquez | 3d729f6 | 2020-02-07 00:43:29 | [diff] [blame] | 2914 | {"enable-web-bluetooth-new-permissions-backend", |
| 2915 | flag_descriptions::kWebBluetoothNewPermissionsBackendName, |
| 2916 | flag_descriptions::kWebBluetoothNewPermissionsBackendDescription, |
| 2917 | kOsAndroid | kOsDesktop, |
| 2918 | FEATURE_VALUE_TYPE(features::kWebBluetoothNewPermissionsBackend)}, |
Jinsuk Kim | 227f5c4 | 2019-02-11 01:04:35 | [diff] [blame] | 2919 | #if defined(USE_AURA) || defined(OS_ANDROID) |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2920 | {"overscroll-history-navigation", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2921 | flag_descriptions::kOverscrollHistoryNavigationName, |
Jinsuk Kim | 227f5c4 | 2019-02-11 01:04:35 | [diff] [blame] | 2922 | flag_descriptions::kOverscrollHistoryNavigationDescription, |
| 2923 | kOsAura | kOsAndroid, |
Mohsen Izadi | f015d42 | 2018-10-26 06:11:39 | [diff] [blame] | 2924 | FEATURE_VALUE_TYPE(features::kOverscrollHistoryNavigation)}, |
Jinsuk Kim | 28493f0 | 2020-09-15 08:55:09 | [diff] [blame] | 2925 | #if !defined(OS_ANDROID) |
Mohsen Izadi | 93faac1 | 2017-07-29 04:45:15 | [diff] [blame] | 2926 | {"pull-to-refresh", flag_descriptions::kPullToRefreshName, |
| 2927 | flag_descriptions::kPullToRefreshDescription, kOsAura, |
Mohsen Izadi | 8c59ba5 | 2018-04-12 18:52:01 | [diff] [blame] | 2928 | MULTI_VALUE_TYPE(kPullToRefreshChoices)}, |
Jinsuk Kim | 68c3034 | 2019-07-11 08:09:37 | [diff] [blame] | 2929 | #endif // OS_ANDROID |
Jinsuk Kim | 227f5c4 | 2019-02-11 01:04:35 | [diff] [blame] | 2930 | #endif // USE_AURA || OS_ANDROID |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2931 | {"enable-touch-drag-drop", flag_descriptions::kTouchDragDropName, |
| 2932 | flag_descriptions::kTouchDragDropDescription, kOsWin | kOsCrOS, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2933 | ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop, |
| 2934 | switches::kDisableTouchDragDrop)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2935 | {"touch-selection-strategy", flag_descriptions::kTouchSelectionStrategyName, |
| 2936 | flag_descriptions::kTouchSelectionStrategyDescription, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2937 | kOsAndroid, // TODO(mfomitchev): Add CrOS/Win/Linux support soon. |
| 2938 | MULTI_VALUE_TYPE(kTouchTextSelectionStrategyChoices)}, |
brettw | 5f9c164 | 2017-05-14 17:12:48 | [diff] [blame] | 2939 | {"trace-upload-url", flag_descriptions::kTraceUploadUrlName, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2940 | flag_descriptions::kTraceUploadUrlDescription, kOsAll, |
fmeawad | d27de1d | 2015-10-02 22:32:50 | [diff] [blame] | 2941 | MULTI_VALUE_TYPE(kTraceUploadURL)}, |
pritam.nikam | 2dfdae10 | 2015-07-14 13:51:11 | [diff] [blame] | 2942 | {"enable-suggestions-with-substring-match", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2943 | flag_descriptions::kSuggestionsWithSubStringMatchName, |
| 2944 | flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll, |
Tommy Martino | 38d9155 | 2019-03-16 03:50:20 | [diff] [blame] | 2945 | FEATURE_VALUE_TYPE(autofill::features::kAutofillTokenPrefixMatching)}, |
[email protected] | 86459e2c | 2013-04-10 13:39:24 | [diff] [blame] | 2946 | #if defined(OS_CHROMEOS) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2947 | {"enable-virtual-keyboard", flag_descriptions::kVirtualKeyboardName, |
| 2948 | flag_descriptions::kVirtualKeyboardDescription, kOsCrOS, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2949 | SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2950 | #endif // OS_CHROMEOS |
thestig | 4888f29 | 2016-10-07 23:57:55 | [diff] [blame] | 2951 | #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2952 | {"device-discovery-notifications", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2953 | flag_descriptions::kDeviceDiscoveryNotificationsName, |
| 2954 | flag_descriptions::kDeviceDiscoveryNotificationsDescription, kOsDesktop, |
Gavin Williams | 432407c | 2020-08-24 22:31:40 | [diff] [blame] | 2955 | SINGLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications)}, |
thestig | 4888f29 | 2016-10-07 23:57:55 | [diff] [blame] | 2956 | #endif // BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
rbpotter | 0d1dee17 | 2020-08-11 02:39:29 | [diff] [blame] | 2957 | {"force-enable-devices-page", |
| 2958 | flag_descriptions::kForceEnableDevicesPageName, |
| 2959 | flag_descriptions::kForceEnableDevicesPageDescription, kOsDesktop, |
| 2960 | FEATURE_VALUE_TYPE(features::kForceEnableDevicesPage)}, |
Jiajia Qin | db252e9 | 2019-01-28 11:47:48 | [diff] [blame] | 2961 | #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) |
| 2962 | {"enable-webgl2-compute-context", |
| 2963 | flag_descriptions::kWebGL2ComputeContextName, |
| 2964 | flag_descriptions::kWebGL2ComputeContextDescription, |
| 2965 | kOsWin | kOsLinux | kOsCrOS, |
| 2966 | SINGLE_VALUE_TYPE(switches::kEnableWebGL2ComputeContext)}, |
| 2967 | #endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2968 | {"enable-webgl-draft-extensions", |
| 2969 | flag_descriptions::kWebglDraftExtensionsName, |
| 2970 | flag_descriptions::kWebglDraftExtensionsDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2971 | SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)}, |
[email protected] | 0e38c325 | 2013-08-14 22:18:51 | [diff] [blame] | 2972 | #if defined(OS_ANDROID) |
csashi | df20b10 | 2017-04-04 01:53:24 | [diff] [blame] | 2973 | {"enable-android-autofill-accessibility", |
| 2974 | flag_descriptions::kAndroidAutofillAccessibilityName, |
| 2975 | flag_descriptions::kAndroidAutofillAccessibilityDescription, kOsAndroid, |
| 2976 | FEATURE_VALUE_TYPE(features::kAndroidAutofillAccessibility)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 2977 | #endif // OS_ANDROID |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2978 | {"enable-zero-copy", flag_descriptions::kZeroCopyName, |
| 2979 | flag_descriptions::kZeroCopyDescription, kOsAll, |
Dave Tapuska | 9bcf6cc | 2020-06-25 15:15:01 | [diff] [blame] | 2980 | ENABLE_DISABLE_VALUE_TYPE(blink::switches::kEnableZeroCopy, |
| 2981 | blink::switches::kDisableZeroCopy)}, |
Peng Huang | 7002168 | 2019-09-18 19:42:28 | [diff] [blame] | 2982 | {"enable-vulkan", flag_descriptions::kEnableVulkanName, |
Peng Huang | 463e690 | 2020-04-03 15:37:05 | [diff] [blame] | 2983 | flag_descriptions::kEnableVulkanDescription, |
| 2984 | kOsWin | kOsLinux | kOsAndroid, FEATURE_VALUE_TYPE(features::kVulkan)}, |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 2985 | #if defined(OS_MAC) |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2986 | {"disable-hosted-app-shim-creation", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2987 | flag_descriptions::kHostedAppShimCreationName, |
| 2988 | flag_descriptions::kHostedAppShimCreationDescription, kOsMac, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 2989 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableHostedAppShimCreation)}, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2990 | {"enable-hosted-app-quit-notification", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 2991 | flag_descriptions::kHostedAppQuitNotificationName, |
| 2992 | flag_descriptions::kHostedAppQuitNotificationDescription, kOsMac, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 2993 | SINGLE_VALUE_TYPE(switches::kHostedAppQuitNotification)}, |
Avi Drissman | 9734618 | 2020-07-30 16:36:14 | [diff] [blame] | 2994 | #endif // OS_MAC |
[email protected] | dfb66c52 | 2013-10-22 19:46:32 | [diff] [blame] | 2995 | #if defined(OS_ANDROID) |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 2996 | {"translate-force-trigger-on-english", |
| 2997 | flag_descriptions::kTranslateForceTriggerOnEnglishName, |
| 2998 | flag_descriptions::kTranslateForceTriggerOnEnglishDescription, kOsAndroid, |
David Benjamin | bf1f48f | 2018-11-14 23:14:50 | [diff] [blame] | 2999 | FEATURE_WITH_PARAMS_VALUE_TYPE(language::kOverrideTranslateTriggerInIndia, |
| 3000 | kTranslateForceTriggerOnEnglishVariations, |
| 3001 | "OverrideTranslateTriggerInIndia")}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 3002 | #endif // OS_ANDROID |
Haohao Wang | 5b525f72 | 2019-05-18 15:37:52 | [diff] [blame] | 3003 | |
Scott Little | b26dc86 | 2020-09-30 18:08:11 | [diff] [blame] | 3004 | {"override-language-prefs-for-href-translate", |
| 3005 | flag_descriptions::kOverrideLanguagePrefsForHrefTranslateName, |
| 3006 | flag_descriptions::kOverrideLanguagePrefsForHrefTranslateDescription, |
| 3007 | kOsAll, |
| 3008 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3009 | translate::kOverrideLanguagePrefsForHrefTranslate, |
| 3010 | kOverrideLanguagePrefsForHrefTranslateVariations, |
| 3011 | "OverrideLanguagePrefsForHrefTranslate")}, |
| 3012 | {"override-site-prefs-for-href-translate", |
| 3013 | flag_descriptions::kOverrideSitePrefsForHrefTranslateName, |
| 3014 | flag_descriptions::kOverrideSitePrefsForHrefTranslateDescription, kOsAll, |
| 3015 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3016 | translate::kOverrideSitePrefsForHrefTranslate, |
| 3017 | kOverrideSitePrefsForHrefTranslateVariations, |
| 3018 | "OverrideSitePrefsForHrefTranslate")}, |
| 3019 | |
Evan Stade | 4d8df16 | 2018-06-07 16:59:25 | [diff] [blame] | 3020 | #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) && !defined(OS_CHROMEOS) |
brettw | 5f9c164 | 2017-05-14 17:12:48 | [diff] [blame] | 3021 | {"enable-native-notifications", |
| 3022 | flag_descriptions::kNotificationsNativeFlagName, |
Finnur Thorarinsson | 5fcad49 | 2018-03-08 22:27:33 | [diff] [blame] | 3023 | flag_descriptions::kNotificationsNativeFlagDescription, |
| 3024 | kOsMac | kOsLinux | kOsWin, |
miguelg | aeda9faf3 | 2016-10-18 17:57:14 | [diff] [blame] | 3025 | FEATURE_VALUE_TYPE(features::kNativeNotifications)}, |
tonikitoo | 09fb058 | 2017-04-07 17:00:22 | [diff] [blame] | 3026 | #endif // ENABLE_NATIVE_NOTIFICATIONS |
[email protected] | d5874f1 | 2013-12-05 04:30:00 | [diff] [blame] | 3027 | #if defined(OS_ANDROID) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3028 | {"reader-mode-heuristics", flag_descriptions::kReaderModeHeuristicsName, |
| 3029 | flag_descriptions::kReaderModeHeuristicsDescription, kOsAndroid, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3030 | MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 3031 | #endif // OS_ANDROID |
mdjones | 3bdeeaa3 | 2016-10-10 16:25:00 | [diff] [blame] | 3032 | #if defined(OS_ANDROID) |
Jeffrey Cohen | 8589139 | 2020-02-14 20:24:30 | [diff] [blame] | 3033 | {"share-button-in-top-toolbar", |
| 3034 | flag_descriptions::kShareButtonInTopToolbarName, |
| 3035 | flag_descriptions::kShareButtonInTopToolbarDescription, kOsAndroid, |
| 3036 | FEATURE_VALUE_TYPE(chrome::android::kShareButtonInTopToolbar)}, |
Gayane Petrosyan | 311a76d1 | 2020-07-15 00:27:49 | [diff] [blame] | 3037 | {"chrome-share-highlights-android", |
| 3038 | flag_descriptions::kChromeShareHighlightsAndroidName, |
| 3039 | flag_descriptions::kChromeShareHighlightsAndroidDescription, kOsAndroid, |
| 3040 | FEATURE_VALUE_TYPE(chrome::android::kChromeShareHighlightsAndroid)}, |
Tanya Gupta | 569eadf | 2020-05-21 21:30:06 | [diff] [blame] | 3041 | {"chrome-share-qr-code", flag_descriptions::kChromeShareQRCodeName, |
| 3042 | flag_descriptions::kChromeShareQRCodeDescription, kOsAndroid, |
| 3043 | FEATURE_VALUE_TYPE(chrome::android::kChromeShareQRCode)}, |
Jeffrey Cohen | 5f2a9fe | 2019-12-11 01:23:42 | [diff] [blame] | 3044 | {"chrome-share-screenshot", flag_descriptions::kChromeShareScreenshotName, |
| 3045 | flag_descriptions::kChromeShareScreenshotDescription, kOsAndroid, |
| 3046 | FEATURE_VALUE_TYPE(chrome::android::kChromeShareScreenshot)}, |
Kyle Milka | 987a035 | 2019-09-28 00:51:53 | [diff] [blame] | 3047 | {"chrome-sharing-hub", flag_descriptions::kChromeSharingHubName, |
| 3048 | flag_descriptions::kChromeSharingHubDescription, kOsAndroid, |
| 3049 | FEATURE_VALUE_TYPE(chrome::android::kChromeSharingHub)}, |
Sophey Dong | 692f056f | 2020-05-13 18:12:11 | [diff] [blame] | 3050 | {"chrome-sharing-hub-v1-5", flag_descriptions::kChromeSharingHubV15Name, |
| 3051 | flag_descriptions::kChromeSharingHubV15Description, kOsAndroid, |
| 3052 | FEATURE_VALUE_TYPE(chrome::android::kChromeSharingHubV15)}, |
David Bokan | 5a32e4d | 2019-08-14 15:37:46 | [diff] [blame] | 3053 | {"request-unbuffered-dispatch", |
| 3054 | flag_descriptions::kRequestUnbufferedDispatchName, |
| 3055 | flag_descriptions::kRequestUnbufferedDispatchDescription, kOsAndroid, |
| 3056 | FEATURE_VALUE_TYPE(features::kRequestUnbufferedDispatch)}, |
mdjones | 3bdeeaa3 | 2016-10-10 16:25:00 | [diff] [blame] | 3057 | #endif // OS_ANDROID |
Catherine Chung | d4d2436 | 2017-06-09 21:12:12 | [diff] [blame] | 3058 | {"in-product-help-demo-mode-choice", |
| 3059 | flag_descriptions::kInProductHelpDemoModeChoiceName, |
| 3060 | flag_descriptions::kInProductHelpDemoModeChoiceDescription, kOsAll, |
Tommy Nyquist | f5f0bccb | 2017-06-01 20:56:21 | [diff] [blame] | 3061 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
Tommy Nyquist | c1d6dea1 | 2017-07-26 20:37:23 | [diff] [blame] | 3062 | feature_engagement::kIPHDemoMode, |
| 3063 | feature_engagement::kIPHDemoModeChoiceVariations, |
Tommy Nyquist | ba7195e2 | 2017-06-13 00:05:04 | [diff] [blame] | 3064 | "IPH_DemoMode")}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3065 | {"disable-threaded-scrolling", flag_descriptions::kThreadedScrollingName, |
| 3066 | flag_descriptions::kThreadedScrollingDescription, kOsAll, |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 3067 | SINGLE_DISABLE_VALUE_TYPE(blink::switches::kDisableThreadedScrolling)}, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3068 | {"extension-content-verification", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3069 | flag_descriptions::kExtensionContentVerificationName, |
| 3070 | flag_descriptions::kExtensionContentVerificationDescription, kOsDesktop, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3071 | MULTI_VALUE_TYPE(kExtensionContentVerificationChoices)}, |
yoshiki iguchi | 4a10c5f | 2017-11-29 20:16:54 | [diff] [blame] | 3072 | #if defined(OS_CHROMEOS) |
Megumi Hattori | 5a0d418 | 2018-03-06 11:09:50 | [diff] [blame] | 3073 | {"enable-lock-screen-notification", |
| 3074 | flag_descriptions::kLockScreenNotificationName, |
| 3075 | flag_descriptions::kLockScreenNotificationDescription, kOsCrOS, |
| 3076 | FEATURE_VALUE_TYPE(ash::features::kLockScreenNotifications)}, |
yoshiki iguchi | 4a10c5f | 2017-11-29 20:16:54 | [diff] [blame] | 3077 | #endif // OS_CHROMEOS |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3078 | {"reduced-referrer-granularity", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3079 | flag_descriptions::kReducedReferrerGranularityName, |
| 3080 | flag_descriptions::kReducedReferrerGranularityDescription, kOsAll, |
Minggang Wang | 1daff4ec | 2020-08-13 05:06:17 | [diff] [blame] | 3081 | FEATURE_VALUE_TYPE(blink::features::kReducedReferrerGranularity)}, |
kelvinp | 3b73f509 | 2014-10-07 21:49:39 | [diff] [blame] | 3082 | #if defined(OS_CHROMEOS) |
Fergus Dall | b0ce74a | 2020-08-03 06:55:02 | [diff] [blame] | 3083 | {"crostini-use-dlc", flag_descriptions::kCrostiniUseDlcName, |
| 3084 | flag_descriptions::kCrostiniUseDlcDescription, kOsCrOS, |
| 3085 | FEATURE_VALUE_TYPE(chromeos::features::kCrostiniUseDlc)}, |
David Munro | 2304311 | 2020-09-24 12:33:54 | [diff] [blame] | 3086 | {"crostini-enable-dlc", flag_descriptions::kCrostiniEnableDlcName, |
| 3087 | flag_descriptions::kCrostiniEnableDlcDescription, kOsCrOS, |
| 3088 | FEATURE_VALUE_TYPE(chromeos::features::kCrostiniEnableDlc)}, |
danielng | 7bfe0ff | 2020-06-09 02:18:30 | [diff] [blame] | 3089 | {"pluginvm-show-camera-permissions", |
| 3090 | flag_descriptions::kPluginVmShowCameraPermissionsName, |
| 3091 | flag_descriptions::kPluginVmShowCameraPermissionsDescription, kOsCrOS, |
| 3092 | FEATURE_VALUE_TYPE(chromeos::features::kPluginVmShowCameraPermissions)}, |
Dmitry Torokhov | 4a7d01a | 2020-06-16 21:02:21 | [diff] [blame] | 3093 | {"pluginvm-show-microphone-permissions", |
| 3094 | flag_descriptions::kPluginVmShowMicrophonePermissionsName, |
| 3095 | flag_descriptions::kPluginVmShowMicrophonePermissionsDescription, kOsCrOS, |
| 3096 | FEATURE_VALUE_TYPE( |
| 3097 | chromeos::features::kPluginVmShowMicrophonePermissions)}, |
Jason Lin | be0c1b4 | 2020-09-29 03:21:04 | [diff] [blame] | 3098 | {"vm-camera-mic-indicators-and-notifications", |
| 3099 | flag_descriptions::kVmCameraMicIndicatorsAndNotificationsName, |
| 3100 | flag_descriptions::kVmCameraMicIndicatorsAndNotificationsDescription, |
| 3101 | kOsCrOS, |
| 3102 | FEATURE_VALUE_TYPE( |
| 3103 | chromeos::features::kVmCameraMicIndicatorsAndNotifications)}, |
Brian Geffon | c3bdd6d | 2019-08-21 22:48:31 | [diff] [blame] | 3104 | #if BUILDFLAG(USE_TCMALLOC) |
| 3105 | {"dynamic-tcmalloc-tuning", flag_descriptions::kDynamicTcmallocName, |
Brian Geffon | 3ee34f3 | 2020-06-22 22:33:59 | [diff] [blame] | 3106 | flag_descriptions::kDynamicTcmallocDescription, kOsCrOS, |
Brian Geffon | 158e33c | 2019-08-23 21:16:29 | [diff] [blame] | 3107 | FEATURE_VALUE_TYPE(performance_manager::features::kDynamicTcmallocTuning)}, |
Brian Geffon | c3bdd6d | 2019-08-21 22:48:31 | [diff] [blame] | 3108 | #endif // BUILDFLAG(USE_TCMALLOC) |
Brian Geffon | 3ee34f3 | 2020-06-22 22:33:59 | [diff] [blame] | 3109 | #endif // OS_CHROMEOS |
mathp | f43ced4 | 2016-08-04 18:28:23 | [diff] [blame] | 3110 | #if defined(OS_ANDROID) |
Alex Moshchuk | 07e1bb4 | 2019-03-08 04:44:08 | [diff] [blame] | 3111 | {"enable-site-isolation-for-password-sites", |
| 3112 | flag_descriptions::kSiteIsolationForPasswordSitesName, |
| 3113 | flag_descriptions::kSiteIsolationForPasswordSitesDescription, kOsAndroid, |
Clark DuVall | aadc244c | 2020-06-06 03:47:14 | [diff] [blame] | 3114 | FEATURE_VALUE_TYPE( |
| 3115 | site_isolation::features::kSiteIsolationForPasswordSites)}, |
Nick Carter | 855bc49 | 2018-03-10 00:44:57 | [diff] [blame] | 3116 | {"enable-site-per-process", flag_descriptions::kStrictSiteIsolationName, |
Lukasz Anforowicz | 4284042 | 2018-11-05 21:49:22 | [diff] [blame] | 3117 | flag_descriptions::kStrictSiteIsolationDescription, kOsAndroid, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3118 | SINGLE_VALUE_TYPE(switches::kSitePerProcess)}, |
Aaron Colwell | 5235f35 | 2019-07-25 20:10:24 | [diff] [blame] | 3119 | {"enable-process-sharing-with-default-site-instances", |
| 3120 | flag_descriptions::kProcessSharingWithDefaultSiteInstancesName, |
| 3121 | flag_descriptions::kProcessSharingWithDefaultSiteInstancesDescription, |
| 3122 | kOsAndroid, |
| 3123 | FEATURE_VALUE_TYPE(features::kProcessSharingWithDefaultSiteInstances)}, |
Nate Chapin | c710f62 | 2019-04-26 19:25:29 | [diff] [blame] | 3124 | {"enable-process-sharing-with-strict-site-instances", |
| 3125 | flag_descriptions::kProcessSharingWithStrictSiteInstancesName, |
| 3126 | flag_descriptions::kProcessSharingWithStrictSiteInstancesDescription, |
| 3127 | kOsAndroid, |
| 3128 | FEATURE_VALUE_TYPE(features::kProcessSharingWithStrictSiteInstances)}, |
Lukasz Anforowicz | 4284042 | 2018-11-05 21:49:22 | [diff] [blame] | 3129 | #endif |
Lukasz Anforowicz | d2e16e6 | 2019-03-28 19:06:59 | [diff] [blame] | 3130 | {"isolate-origins", flag_descriptions::kIsolateOriginsName, |
| 3131 | flag_descriptions::kIsolateOriginsDescription, kOsAll, |
| 3132 | ORIGIN_LIST_VALUE_TYPE(switches::kIsolateOrigins, "")}, |
Nick Carter | 855bc49 | 2018-03-10 00:44:57 | [diff] [blame] | 3133 | {"site-isolation-trial-opt-out", |
Lukasz Anforowicz | 738a88d | 2018-11-05 19:19:34 | [diff] [blame] | 3134 | flag_descriptions::kSiteIsolationOptOutName, |
| 3135 | flag_descriptions::kSiteIsolationOptOutDescription, kOsAll, |
| 3136 | MULTI_VALUE_TYPE(kSiteIsolationOptOutChoices)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3137 | {"enable-use-zoom-for-dsf", flag_descriptions::kEnableUseZoomForDsfName, |
| 3138 | flag_descriptions::kEnableUseZoomForDsfDescription, kOsAll, |
oshima | 82d23704 | 2016-02-04 01:00:23 | [diff] [blame] | 3139 | MULTI_VALUE_TYPE(kEnableUseZoomForDSFChoices)}, |
Doug Arnett | 620ff54 | 2018-02-06 17:54:22 | [diff] [blame] | 3140 | {"allow-previews", flag_descriptions::kPreviewsAllowedName, |
| 3141 | flag_descriptions::kPreviewsAllowedDescription, kOsAll, |
| 3142 | FEATURE_VALUE_TYPE(previews::features::kPreviews)}, |
Ryan Sturm | 97a5cd4 | 2018-06-27 20:51:43 | [diff] [blame] | 3143 | {"ignore-previews-blocklist", |
Aaron Colwell | 762bc168 | 2020-06-08 19:01:14 | [diff] [blame] | 3144 | flag_descriptions::kIgnorePreviewsBlocklistName, |
| 3145 | flag_descriptions::kIgnorePreviewsBlocklistDescription, kOsAll, |
| 3146 | SINGLE_VALUE_TYPE(previews::switches::kIgnorePreviewsBlocklist)}, |
ryansturm | 7e309dd | 2017-05-24 16:29:53 | [diff] [blame] | 3147 | {"enable-data-reduction-proxy-server-experiment", |
| 3148 | flag_descriptions::kEnableDataReductionProxyServerExperimentName, |
| 3149 | flag_descriptions::kEnableDataReductionProxyServerExperimentDescription, |
| 3150 | kOsAll, MULTI_VALUE_TYPE(kDataReductionProxyServerExperiment)}, |
Sean Harrison | 9dc405a5 | 2019-08-27 18:23:10 | [diff] [blame] | 3151 | {"enable-subresource-redirect", |
| 3152 | flag_descriptions::kEnableSubresourceRedirectName, |
| 3153 | flag_descriptions::kEnableSubresourceRedirectDescription, kOsAll, |
rajendrant | d5db55f | 2019-10-19 01:56:59 | [diff] [blame] | 3154 | FEATURE_VALUE_TYPE(blink::features::kSubresourceRedirect)}, |
megjablon | 3b9a0891b | 2016-11-11 01:19:31 | [diff] [blame] | 3155 | #if defined(OS_ANDROID) |
ryansturm | 28839dee | 2017-05-05 17:34:27 | [diff] [blame] | 3156 | {"enable-offline-previews", flag_descriptions::kEnableOfflinePreviewsName, |
| 3157 | flag_descriptions::kEnableOfflinePreviewsDescription, kOsAndroid, |
| 3158 | FEATURE_VALUE_TYPE(previews::features::kOfflinePreviews)}, |
megjablon | 3b9a0891b | 2016-11-11 01:19:31 | [diff] [blame] | 3159 | #endif // OS_ANDROID |
Tarun Bansal | 56c9293 | 2019-04-01 17:58:36 | [diff] [blame] | 3160 | #if defined(OS_CHROMEOS) || defined(OS_LINUX) |
| 3161 | {"enable-save-data", flag_descriptions::kEnableSaveDataName, |
Tarun Bansal | 0c4a7d4 | 2020-05-11 19:19:33 | [diff] [blame] | 3162 | flag_descriptions::kEnableSaveDataDescription, kOsCrOS | kOsLinux, |
Tarun Bansal | 56c9293 | 2019-04-01 17:58:36 | [diff] [blame] | 3163 | SINGLE_VALUE_TYPE( |
| 3164 | data_reduction_proxy::switches::kEnableDataReductionProxy)}, |
Tarun Bansal | 0c4a7d4 | 2020-05-11 19:19:33 | [diff] [blame] | 3165 | {"enable-navigation-predictor", |
| 3166 | flag_descriptions::kEnableNavigationPredictorName, |
| 3167 | flag_descriptions::kEnableNavigationPredictorDescription, |
| 3168 | kOsCrOS | kOsLinux, |
| 3169 | FEATURE_VALUE_TYPE(blink::features::kNavigationPredictor)}, |
| 3170 | #endif // OS_CHROMEOS || OS_LINUX |
| 3171 | {"enable-preconnect-to-search", |
| 3172 | flag_descriptions::kEnablePreconnectToSearchName, |
| 3173 | flag_descriptions::kEnablePreconnectToSearchDescription, kOsAll, |
| 3174 | FEATURE_VALUE_TYPE(features::kPreconnectToSearch)}, |
Doug Arnett | 08b4067b | 2017-10-12 20:14:44 | [diff] [blame] | 3175 | {"enable-noscript-previews", flag_descriptions::kEnableNoScriptPreviewsName, |
| 3176 | flag_descriptions::kEnableNoScriptPreviewsDescription, kOsAll, |
| 3177 | FEATURE_VALUE_TYPE(previews::features::kNoScriptPreviews)}, |
Doug Arnett | aa0bf20 | 2018-08-27 19:42:11 | [diff] [blame] | 3178 | {"enable-resource-loading-hints", |
| 3179 | flag_descriptions::kEnableResourceLoadingHintsName, |
| 3180 | flag_descriptions::kEnableResourceLoadingHintsDescription, kOsAll, |
| 3181 | FEATURE_VALUE_TYPE(previews::features::kResourceLoadingHints)}, |
Robert Ogden | e976feb | 2019-09-03 22:20:29 | [diff] [blame] | 3182 | {"enable-previews-coin-flip", |
| 3183 | flag_descriptions::kEnablePreviewsCoinFlipName, |
| 3184 | flag_descriptions::kEnablePreviewsCoinFlipDescription, kOsAll, |
| 3185 | FEATURE_VALUE_TYPE(previews::features::kCoinFlipHoldback)}, |
Robert Ogden | 26de997 | 2020-03-27 21:00:25 | [diff] [blame] | 3186 | {"enable-google-srp-isolated-prerender-probing", |
| 3187 | flag_descriptions::kEnableSRPIsolatedPrerenderProbingName, |
| 3188 | flag_descriptions::kEnableSRPIsolatedPrerenderProbingDescription, kOsAll, |
| 3189 | FEATURE_VALUE_TYPE(features::kIsolatePrerendersMustProbeOrigin)}, |
Robert Ogden | e7bbbcb | 2020-03-24 22:37:33 | [diff] [blame] | 3190 | {"enable-google-srp-isolated-prerenders", |
| 3191 | flag_descriptions::kEnableSRPIsolatedPrerendersName, |
| 3192 | flag_descriptions::kEnableSRPIsolatedPrerendersDescription, kOsAll, |
Robert Ogden | 974d4f79 | 2020-03-27 22:33:09 | [diff] [blame] | 3193 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kIsolatePrerenders, |
| 3194 | kIsolatedPrerenderFeatureWithPrefetchLimit, |
| 3195 | "Prefetch Limit")}, |
Robert Ogden | 1261e8f | 2020-06-24 22:45:46 | [diff] [blame] | 3196 | {"enable-google-srp-isolated-prerender-nsp", |
| 3197 | flag_descriptions::kEnableSRPIsolatedPrerendersNSPName, |
| 3198 | flag_descriptions::kEnableSRPIsolatedPrerendersNSPDescription, kOsAll, |
| 3199 | SINGLE_VALUE_TYPE(kIsolatedPrerenderEnableNSPCmdLineFlag)}, |
brettw | 5f9c164 | 2017-05-14 17:12:48 | [diff] [blame] | 3200 | {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3201 | flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3202 | SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3203 | {"bypass-app-banner-engagement-checks", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3204 | flag_descriptions::kBypassAppBannerEngagementChecksName, |
| 3205 | flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3206 | SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)}, |
Alan Cutter | e50ce41 | 2019-07-12 05:26:08 | [diff] [blame] | 3207 | {"enable-desktop-pwas-local-updating", |
| 3208 | flag_descriptions::kDesktopPWAsLocalUpdatingName, |
| 3209 | flag_descriptions::kDesktopPWAsLocalUpdatingDescription, kOsDesktop, |
| 3210 | FEATURE_VALUE_TYPE(features::kDesktopPWAsLocalUpdating)}, |
Rahul Singh | 4eabd6d | 2020-05-01 23:43:19 | [diff] [blame] | 3211 | // TODO(https://crbug.com/1069293): Add macOS and Linux implementations. |
| 3212 | {"enable-desktop-pwas-app-icon-shortcuts-menu", |
| 3213 | flag_descriptions::kDesktopPWAsAppIconShortcutsMenuName, |
| 3214 | flag_descriptions::kDesktopPWAsAppIconShortcutsMenuDescription, kOsWin, |
| 3215 | FEATURE_VALUE_TYPE(features::kDesktopPWAsAppIconShortcutsMenu)}, |
Alan Cutter | 121812d | 2020-01-09 05:03:37 | [diff] [blame] | 3216 | {"enable-desktop-pwas-tab-strip", |
| 3217 | flag_descriptions::kDesktopPWAsTabStripName, |
| 3218 | flag_descriptions::kDesktopPWAsTabStripDescription, kOsDesktop, |
| 3219 | FEATURE_VALUE_TYPE(features::kDesktopPWAsTabStrip)}, |
Alan Cutter | 8a7d3ed | 2020-05-12 01:29:34 | [diff] [blame] | 3220 | {"enable-desktop-pwas-tab-strip-link-capturing", |
| 3221 | flag_descriptions::kDesktopPWAsTabStripLinkCapturingName, |
| 3222 | flag_descriptions::kDesktopPWAsTabStripLinkCapturingDescription, |
| 3223 | kOsDesktop, |
| 3224 | FEATURE_VALUE_TYPE(features::kDesktopPWAsTabStripLinkCapturing)}, |
Alexey Baskakov | 1d533167 | 2020-02-27 07:49:17 | [diff] [blame] | 3225 | {"enable-desktop-pwas-without-extensions", |
| 3226 | flag_descriptions::kDesktopPWAsWithoutExtensionsName, |
| 3227 | flag_descriptions::kDesktopPWAsWithoutExtensionsDescription, kOsDesktop, |
| 3228 | FEATURE_VALUE_TYPE(features::kDesktopPWAsWithoutExtensions)}, |
Alan Cutter | d3d65a1 | 2020-09-15 04:11:11 | [diff] [blame] | 3229 | {"enable-desktop-pwas-migration-user-display-mode-clean-up", |
| 3230 | flag_descriptions::kDesktopPWAsMigrationUserDisplayModeCleanUpName, |
| 3231 | flag_descriptions::kDesktopPWAsMigrationUserDisplayModeCleanUpDescription, |
| 3232 | kOsDesktop, |
| 3233 | FEATURE_VALUE_TYPE(features::kDesktopPWAsMigrationUserDisplayModeCleanUp)}, |
Carlos Frias | 5ddded6 | 2020-05-27 23:38:18 | [diff] [blame] | 3234 | {"enable-desktop-pwas-run-on-os-login", |
| 3235 | flag_descriptions::kDesktopPWAsRunOnOsLoginName, |
| 3236 | flag_descriptions::kDesktopPWAsRunOnOsLoginDescription, kOsDesktop, |
| 3237 | FEATURE_VALUE_TYPE(features::kDesktopPWAsRunOnOsLogin)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3238 | {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, |
| 3239 | flag_descriptions::kSyncSandboxDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3240 | SINGLE_VALUE_TYPE_AND_VALUE( |
| 3241 | switches::kSyncServiceURL, |
| 3242 | "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, |
thakis | 678822e | 2017-04-20 17:20:34 | [diff] [blame] | 3243 | #if !defined(OS_ANDROID) |
mfoltz | ac0030f | 2016-10-28 21:16:52 | [diff] [blame] | 3244 | {"load-media-router-component-extension", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3245 | flag_descriptions::kLoadMediaRouterComponentExtensionName, |
| 3246 | flag_descriptions::kLoadMediaRouterComponentExtensionDescription, |
| 3247 | kOsDesktop, |
mfoltz | ac0030f | 2016-10-28 21:16:52 | [diff] [blame] | 3248 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 3249 | switches::kLoadMediaRouterComponentExtension, |
| 3250 | "1", |
| 3251 | switches::kLoadMediaRouterComponentExtension, |
| 3252 | "0")}, |
Derek Cheng | d24c68c | 2018-03-12 19:09:32 | [diff] [blame] | 3253 | {"media-router-cast-allow-all-ips", |
| 3254 | flag_descriptions::kMediaRouterCastAllowAllIPsName, |
| 3255 | flag_descriptions::kMediaRouterCastAllowAllIPsDescription, kOsDesktop, |
Derek Cheng | 3447838 | 2018-04-07 00:32:59 | [diff] [blame] | 3256 | FEATURE_VALUE_TYPE(media_router::kCastAllowAllIPsFeature)}, |
Takumi Fujimoto | d1da5b9 | 2019-06-07 00:35:48 | [diff] [blame] | 3257 | {"cast-media-route-provider", |
| 3258 | flag_descriptions::kCastMediaRouteProviderName, |
| 3259 | flag_descriptions::kCastMediaRouteProviderDescription, kOsDesktop, |
| 3260 | FEATURE_VALUE_TYPE(media_router::kCastMediaRouteProvider)}, |
John Williams | e5a683b | 2020-07-28 03:01:48 | [diff] [blame] | 3261 | {"global-media-controls-cast-start-stop", |
| 3262 | flag_descriptions::kGlobalMediaControlsCastStartStopName, |
| 3263 | flag_descriptions::kGlobalMediaControlsCastStartStopDescription, |
| 3264 | kOsWin | kOsMac | kOsLinux, |
| 3265 | FEATURE_VALUE_TYPE(media_router::kGlobalMediaControlsCastStartStop)}, |
Takumi Fujimoto | bf466ac | 2020-08-18 20:55:15 | [diff] [blame] | 3266 | {"allow-all-sites-to-initiate-mirroring", |
| 3267 | flag_descriptions::kAllowAllSitesToInitiateMirroringName, |
| 3268 | flag_descriptions::kAllowAllSitesToInitiateMirroringDescription, |
| 3269 | kOsDesktop, |
| 3270 | FEATURE_VALUE_TYPE(media_router::kAllowAllSitesToInitiateMirroring)}, |
Alan Cutter | 2ab7a04 | 2020-09-14 03:57:40 | [diff] [blame] | 3271 | {"enable-migrate-default-chrome-app-to-web-apps-gsuite", |
| 3272 | flag_descriptions::kEnableMigrateDefaultChromeAppToWebAppsGSuiteName, |
| 3273 | flag_descriptions:: |
| 3274 | kEnableMigrateDefaultChromeAppToWebAppsGSuiteDescription, |
| 3275 | kOsDesktop, |
| 3276 | FEATURE_VALUE_TYPE(web_app::kMigrateDefaultChromeAppToWebAppsGSuite)}, |
| 3277 | {"enable-migrate-default-chrome-app-to-web-apps-non-gsuite", |
| 3278 | flag_descriptions::kEnableMigrateDefaultChromeAppToWebAppsNonGSuiteName, |
| 3279 | flag_descriptions:: |
| 3280 | kEnableMigrateDefaultChromeAppToWebAppsNonGSuiteDescription, |
| 3281 | kOsDesktop, |
| 3282 | FEATURE_VALUE_TYPE(web_app::kMigrateDefaultChromeAppToWebAppsNonGSuite)}, |
thakis | 678822e | 2017-04-20 17:20:34 | [diff] [blame] | 3283 | #endif // !OS_ANDROID |
estade | b5efbab6 | 2015-04-28 18:07:42 | [diff] [blame] | 3284 | #if defined(OS_ANDROID) |
csashi | a447acf | 2017-05-19 22:05:29 | [diff] [blame] | 3285 | {"autofill-keyboard-accessory-view", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3286 | flag_descriptions::kAutofillAccessoryViewName, |
| 3287 | flag_descriptions::kAutofillAccessoryViewDescription, kOsAndroid, |
Friedrich Horschig | 704b0f5 | 2020-09-11 10:54:55 | [diff] [blame] | 3288 | FEATURE_VALUE_TYPE(autofill::features::kAutofillKeyboardAccessory)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 3289 | #endif // OS_ANDROID |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 3290 | #if defined(OS_MAC) |
Greg Kerr | f46f3187 | 2019-08-08 20:22:44 | [diff] [blame] | 3291 | {"mac-syscall-sandbox", flag_descriptions::kMacSyscallSandboxName, |
| 3292 | flag_descriptions::kMacSyscallSandboxDescription, kOsMac, |
| 3293 | FEATURE_VALUE_TYPE(features::kMacSyscallSandbox)}, |
Greg Kerr | 32483d1c | 2018-12-18 02:29:14 | [diff] [blame] | 3294 | {"mac-v2-gpu-sandbox", flag_descriptions::kMacV2GPUSandboxName, |
| 3295 | flag_descriptions::kMacV2GPUSandboxDescription, kOsMac, |
| 3296 | FEATURE_VALUE_TYPE(features::kMacV2GPUSandbox)}, |
Avi Drissman | 9734618 | 2020-07-30 16:36:14 | [diff] [blame] | 3297 | #endif // OS_MAC |
Hoch Hochkeppel | 6695ffa | 2020-08-17 18:10:27 | [diff] [blame] | 3298 | #if defined(OS_CHROMEOS) || defined(OS_WIN) |
| 3299 | {"web-share", flag_descriptions::kWebShareName, |
| 3300 | flag_descriptions::kWebShareDescription, kOsWin | kOsCrOS, |
| 3301 | FEATURE_VALUE_TYPE(features::kWebShare)}, |
| 3302 | #endif // OS_CHROMEOS || OS_WIN |
Will Cassella | 40837ba | 2019-07-01 21:32:00 | [diff] [blame] | 3303 | #if BUILDFLAG(ENABLE_VR) |
Will Cassella | a1a4d111 | 2019-12-27 20:52:31 | [diff] [blame] | 3304 | {"webxr-incubations", flag_descriptions::kWebXrIncubationsName, |
| 3305 | flag_descriptions::kWebXrIncubationsDescription, kOsAll, |
| 3306 | FEATURE_VALUE_TYPE(features::kWebXrIncubations)}, |
Patrick To | 2afc116 | 2020-06-03 18:19:30 | [diff] [blame] | 3307 | {"webxr-multi-gpu", flag_descriptions::kWebXrMultiGpuName, |
| 3308 | flag_descriptions::kWebXrMultiGpuDescription, kOsDesktop, |
| 3309 | FEATURE_VALUE_TYPE(blink::features::kWebXrMultiGpu)}, |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 3310 | {"webxr-runtime", flag_descriptions::kWebXrForceRuntimeName, |
| 3311 | flag_descriptions::kWebXrForceRuntimeDescription, kOsDesktop, |
| 3312 | MULTI_VALUE_TYPE(kWebXrForceRuntimeChoices)}, |
cjgrant | 373c068 | 2017-03-21 20:50:48 | [diff] [blame] | 3313 | #endif // ENABLE_VR |
kcwu | 31f1024 | 2015-06-29 14:58:22 | [diff] [blame] | 3314 | #if defined(OS_CHROMEOS) |
henryhsu | b5ab150 | 2015-07-30 07:22:46 | [diff] [blame] | 3315 | {"disable-accelerated-mjpeg-decode", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3316 | flag_descriptions::kAcceleratedMjpegDecodeName, |
| 3317 | flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 3318 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, |
kcwu | 31f1024 | 2015-06-29 14:58:22 | [diff] [blame] | 3319 | #endif // OS_CHROMEOS |
Joe Downing | 8cbbc19 | 2018-05-14 17:37:07 | [diff] [blame] | 3320 | {"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName, |
| 3321 | flag_descriptions::kSystemKeyboardLockDescription, kOsDesktop, |
| 3322 | FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)}, |
kkimlabs | 5d14d9a | 2015-08-01 23:17:14 | [diff] [blame] | 3323 | #if defined(OS_ANDROID) |
petewil | 2abcf04 | 2017-04-10 21:45:00 | [diff] [blame] | 3324 | {"offline-pages-load-signal-collecting", |
| 3325 | flag_descriptions::kOfflinePagesLoadSignalCollectingName, |
| 3326 | flag_descriptions::kOfflinePagesLoadSignalCollectingDescription, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3327 | kOsAndroid, |
petewil | 2abcf04 | 2017-04-10 21:45:00 | [diff] [blame] | 3328 | FEATURE_VALUE_TYPE( |
| 3329 | offline_pages::kOfflinePagesLoadSignalCollectingFeature)}, |
Yafei Duan | 36b4b5b | 2018-08-07 00:40:03 | [diff] [blame] | 3330 | {"offline-pages-live-page-sharing", |
| 3331 | flag_descriptions::kOfflinePagesLivePageSharingName, |
| 3332 | flag_descriptions::kOfflinePagesLivePageSharingDescription, kOsAndroid, |
| 3333 | FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesLivePageSharingFeature)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3334 | {"offline-pages-prefetching", |
| 3335 | flag_descriptions::kOfflinePagesPrefetchingName, |
| 3336 | flag_descriptions::kOfflinePagesPrefetchingDescription, kOsAndroid, |
dewittj | 60defc8 | 2017-03-18 02:58:31 | [diff] [blame] | 3337 | FEATURE_VALUE_TYPE(offline_pages::kPrefetchingOfflinePagesFeature)}, |
Candice Sy | 74fa7a35 | 2018-03-30 23:46:49 | [diff] [blame] | 3338 | {"offline-pages-failed-download", |
| 3339 | flag_descriptions::kOfflinePagesDescriptiveFailStatusName, |
| 3340 | flag_descriptions::kOfflinePagesDescriptiveFailStatusDescription, |
| 3341 | kOsAndroid, |
| 3342 | FEATURE_VALUE_TYPE( |
| 3343 | offline_pages::kOfflinePagesDescriptiveFailStatusFeature)}, |
Candice Sy | 229768e0 | 2017-12-21 00:19:22 | [diff] [blame] | 3344 | {"offline-pages-pending-download", |
| 3345 | flag_descriptions::kOfflinePagesDescriptivePendingStatusName, |
| 3346 | flag_descriptions::kOfflinePagesDescriptivePendingStatusDescription, |
| 3347 | kOsAndroid, |
| 3348 | FEATURE_VALUE_TYPE( |
| 3349 | offline_pages::kOfflinePagesDescriptivePendingStatusFeature)}, |
Pete Williamson | 7845dff | 2017-09-20 11:06:19 | [diff] [blame] | 3350 | {"offline-pages-resource-based-snapshot", |
| 3351 | flag_descriptions::kOfflinePagesResourceBasedSnapshotName, |
| 3352 | flag_descriptions::kOfflinePagesResourceBasedSnapshotDescription, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3353 | kOsAndroid, |
Pete Williamson | 7845dff | 2017-09-20 11:06:19 | [diff] [blame] | 3354 | FEATURE_VALUE_TYPE( |
| 3355 | offline_pages::kOfflinePagesResourceBasedSnapshotFeature)}, |
Collin Baker | 17f92a5 | 2017-07-19 21:41:25 | [diff] [blame] | 3356 | {"offline-pages-renovations", |
| 3357 | flag_descriptions::kOfflinePagesRenovationsName, |
| 3358 | flag_descriptions::kOfflinePagesRenovationsDescription, kOsAndroid, |
| 3359 | FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesRenovationsFeature)}, |
Carlos Knippschild | 7ebb8230 | 2018-03-22 20:59:42 | [diff] [blame] | 3360 | {"offline-pages-in-downloads-home-open-in-cct", |
| 3361 | flag_descriptions::kOfflinePagesInDownloadHomeOpenInCctName, |
| 3362 | flag_descriptions::kOfflinePagesInDownloadHomeOpenInCctDescription, |
| 3363 | kOsAndroid, |
| 3364 | FEATURE_VALUE_TYPE( |
| 3365 | offline_pages::kOfflinePagesInDownloadHomeOpenInCctFeature)}, |
Cathy Li | e0d8876 | 2018-04-12 08:03:01 | [diff] [blame] | 3366 | {"offline-pages-alternate-dino-page", |
| 3367 | flag_descriptions::kOfflinePagesShowAlternateDinoPageName, |
| 3368 | flag_descriptions::kOfflinePagesShowAlternateDinoPageDescription, |
| 3369 | kOsAndroid, |
| 3370 | FEATURE_VALUE_TYPE( |
| 3371 | offline_pages::kOfflinePagesShowAlternateDinoPageFeature)}, |
Jian Li | ade8283 | 2018-09-06 22:31:41 | [diff] [blame] | 3372 | {"offline-indicator-choice", flag_descriptions::kOfflineIndicatorChoiceName, |
| 3373 | flag_descriptions::kOfflineIndicatorChoiceDescription, kOsAndroid, |
David Benjamin | bf1f48f | 2018-11-14 23:14:50 | [diff] [blame] | 3374 | FEATURE_WITH_PARAMS_VALUE_TYPE(offline_pages::kOfflineIndicatorFeature, |
| 3375 | kOfflineIndicatorFeatureVariations, |
| 3376 | "OfflineIndicator")}, |
Jian Li | ade8283 | 2018-09-06 22:31:41 | [diff] [blame] | 3377 | {"offline-indicator-always-http-probe", |
| 3378 | flag_descriptions::kOfflineIndicatorAlwaysHttpProbeName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3379 | flag_descriptions::kOfflineIndicatorAlwaysHttpProbeDescription, kOsAndroid, |
Jian Li | ade8283 | 2018-09-06 22:31:41 | [diff] [blame] | 3380 | FEATURE_VALUE_TYPE( |
| 3381 | offline_pages::kOfflineIndicatorAlwaysHttpProbeFeature)}, |
Sinan Sahin | 18cc52c | 2019-09-12 23:07:15 | [diff] [blame] | 3382 | {"offline-indicator-v2", flag_descriptions::kOfflineIndicatorV2Name, |
| 3383 | flag_descriptions::kOfflineIndicatorV2Description, kOsAndroid, |
| 3384 | FEATURE_VALUE_TYPE(chrome::android::kOfflineIndicatorV2)}, |
Mark Lieu | faa1b76 | 2019-01-08 19:37:28 | [diff] [blame] | 3385 | {"on-the-fly-mhtml-hash-computation", |
| 3386 | flag_descriptions::kOnTheFlyMhtmlHashComputationName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3387 | flag_descriptions::kOnTheFlyMhtmlHashComputationDescription, kOsAndroid, |
Mark Lieu | faa1b76 | 2019-01-08 19:37:28 | [diff] [blame] | 3388 | FEATURE_VALUE_TYPE(offline_pages::kOnTheFlyMhtmlHashComputationFeature)}, |
Shakti Sahu | 1f8a942 | 2020-03-12 05:50:50 | [diff] [blame] | 3389 | {"query-tiles", flag_descriptions::kQueryTilesName, |
| 3390 | flag_descriptions::kQueryTilesDescription, kOsAndroid, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 3391 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTiles)}, |
Shakti Sahu | aaf8a8c | 2020-04-30 23:40:27 | [diff] [blame] | 3392 | {"query-tiles-omnibox", flag_descriptions::kQueryTilesOmniboxName, |
| 3393 | flag_descriptions::kQueryTilesOmniboxDescription, kOsAndroid, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 3394 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesInOmnibox)}, |
Hesen Zhang | 7bdc5ca | 2020-09-03 06:29:02 | [diff] [blame] | 3395 | {"query-tiles-local-ordering", |
| 3396 | flag_descriptions::kQueryTilesLocalOrderingName, |
| 3397 | flag_descriptions::kQueryTilesLocalOrderingDescription, kOsAndroid, |
| 3398 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesLocalOrdering)}, |
Shakti Sahu | 8fe5edd | 2020-05-14 18:57:13 | [diff] [blame] | 3399 | {"query-tiles-single-tier", flag_descriptions::kQueryTilesSingleTierName, |
| 3400 | flag_descriptions::kQueryTilesSingleTierDescription, kOsAndroid, |
| 3401 | SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesSingleTier)}, |
Shakti Sahu | dfb4099 | 2020-05-12 14:54:54 | [diff] [blame] | 3402 | {"query-tiles-enable-query-editing", |
| 3403 | flag_descriptions::kQueryTilesEnableQueryEditingName, |
| 3404 | flag_descriptions::kQueryTilesEnableQueryEditingDescription, kOsAndroid, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 3405 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesEnableQueryEditing)}, |
Min Qin | eac94ae | 2020-08-14 06:38:45 | [diff] [blame] | 3406 | {"query-tiles-enable-trending", |
| 3407 | flag_descriptions::kQueryTilesEnableTrendingName, |
| 3408 | flag_descriptions::kQueryTilesEnableTrendingDescription, kOsAndroid, |
| 3409 | SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesEnableTrending)}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 3410 | {"query-tiles-country-code", flag_descriptions::kQueryTilesCountryCode, |
| 3411 | flag_descriptions::kQueryTilesCountryCodeDescription, kOsAndroid, |
| 3412 | MULTI_VALUE_TYPE(kQueryTilesCountryChoices)}, |
Shakti Sahu | 8fe5edd | 2020-05-14 18:57:13 | [diff] [blame] | 3413 | {"query-tiles-instant-fetch", |
| 3414 | flag_descriptions::kQueryTilesInstantFetchName, |
Xing Liu | 06f2fa0 | 2020-04-30 02:45:19 | [diff] [blame] | 3415 | flag_descriptions::kQueryTilesInstantFetchDescription, kOsAndroid, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 3416 | SINGLE_VALUE_TYPE( |
| 3417 | query_tiles::switches::kQueryTilesInstantBackgroundTask)}, |
Shakti Sahu | 2741f8d | 2020-08-14 03:38:36 | [diff] [blame] | 3418 | {"video-tutorials", flag_descriptions::kVideoTutorialsName, |
| 3419 | flag_descriptions::kVideoTutorialsDescription, kOsAndroid, |
| 3420 | FEATURE_VALUE_TYPE(video_tutorials::features::kVideoTutorials)}, |
Jazz Xu | 32261b54 | 2019-06-13 20:11:27 | [diff] [blame] | 3421 | {"android-picture-in-picture-api", |
| 3422 | flag_descriptions::kAndroidPictureInPictureAPIName, |
| 3423 | flag_descriptions::kAndroidPictureInPictureAPIDescription, kOsAndroid, |
| 3424 | FEATURE_VALUE_TYPE(media::kPictureInPictureAPI)}, |
David Trainor | a38e60e | 2020-08-04 23:43:25 | [diff] [blame] | 3425 | {"reengagement-notification", |
| 3426 | flag_descriptions::kReengagementNotificationName, |
| 3427 | flag_descriptions::kReengagementNotificationDescription, kOsAndroid, |
| 3428 | FEATURE_VALUE_TYPE(chrome::android::kReengagementNotification)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 3429 | #endif // OS_ANDROID |
bmcquade | ed75dc7 | 2016-04-12 19:41:23 | [diff] [blame] | 3430 | {"disallow-doc-written-script-loads", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3431 | flag_descriptions::kDisallowDocWrittenScriptsUiName, |
| 3432 | flag_descriptions::kDisallowDocWrittenScriptsUiDescription, kOsAll, |
bmcquade | 43544d7 | 2015-08-06 03:39:21 | [diff] [blame] | 3433 | // NOTE: if we want to add additional experiment entries for other |
| 3434 | // features controlled by kBlinkSettings, we'll need to add logic to |
| 3435 | // merge the flag values. |
shivanisha | a96778d | 2016-10-19 17:18:57 | [diff] [blame] | 3436 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 3437 | blink::switches::kBlinkSettings, |
shivanisha | a96778d | 2016-10-19 17:18:57 | [diff] [blame] | 3438 | "disallowFetchForDocWrittenScriptsInMainFrame=true", |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 3439 | blink::switches::kBlinkSettings, |
shivanisha | a96778d | 2016-10-19 17:18:57 | [diff] [blame] | 3440 | "disallowFetchForDocWrittenScriptsInMainFrame=false")}, |
georgesak | 169749ab | 2015-08-10 19:10:19 | [diff] [blame] | 3441 | #if defined(OS_WIN) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3442 | {"use-winrt-midi-api", flag_descriptions::kUseWinrtMidiApiName, |
| 3443 | flag_descriptions::kUseWinrtMidiApiDescription, kOsWin, |
shaochuan | 2d34003 | 2016-10-29 07:26:00 | [diff] [blame] | 3444 | FEATURE_VALUE_TYPE(midi::features::kMidiManagerWinrt)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 3445 | #endif // OS_WIN |
alemate | ad0c0ac | 2015-09-22 07:43:53 | [diff] [blame] | 3446 | #if defined(OS_CHROMEOS) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3447 | {"cros-regions-mode", flag_descriptions::kCrosRegionsModeName, |
| 3448 | flag_descriptions::kCrosRegionsModeDescription, kOsCrOS, |
alemate | ad0c0ac | 2015-09-22 07:43:53 | [diff] [blame] | 3449 | MULTI_VALUE_TYPE(kCrosRegionsModeChoices)}, |
| 3450 | #endif // OS_CHROMEOS |
jdonnelly | dcb7f07 | 2016-06-02 16:09:58 | [diff] [blame] | 3451 | #if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID) |
| 3452 | {"enable-autofill-credit-card-upload", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3453 | flag_descriptions::kAutofillCreditCardUploadName, |
| 3454 | flag_descriptions::kAutofillCreditCardUploadDescription, kOsAll, |
Anne Lim | 2716ba9 | 2018-08-28 01:47:27 | [diff] [blame] | 3455 | FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)}, |
skym | 7248671 | 2016-10-18 20:37:47 | [diff] [blame] | 3456 | #endif // TOOLKIT_VIEWS || OS_ANDROID |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3457 | {"force-ui-direction", flag_descriptions::kForceUiDirectionName, |
| 3458 | flag_descriptions::kForceUiDirectionDescription, kOsAll, |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 3459 | MULTI_VALUE_TYPE(kForceUIDirectionChoices)}, |
krb | 6822b60 | 2017-05-02 14:53:21 | [diff] [blame] | 3460 | {"force-text-direction", flag_descriptions::kForceTextDirectionName, |
| 3461 | flag_descriptions::kForceTextDirectionDescription, kOsAll, |
| 3462 | MULTI_VALUE_TYPE(kForceTextDirectionChoices)}, |
xhwang | fa2d9d47 | 2015-12-18 23:31:18 | [diff] [blame] | 3463 | #if defined(OS_ANDROID) |
Tommy Nyquist | 3c02e59 | 2018-10-18 23:36:44 | [diff] [blame] | 3464 | {"force-update-menu-type", flag_descriptions::kUpdateMenuTypeName, |
| 3465 | flag_descriptions::kUpdateMenuTypeDescription, kOsAndroid, |
| 3466 | MULTI_VALUE_TYPE(kForceUpdateMenuTypeChoices)}, |
Tommy Nyquist | 26ffb64 | 2019-02-20 20:31:52 | [diff] [blame] | 3467 | {"enable-inline-update-flow", flag_descriptions::kInlineUpdateFlowName, |
| 3468 | flag_descriptions::kInlineUpdateFlowDescription, kOsAndroid, |
| 3469 | FEATURE_VALUE_TYPE(chrome::android::kInlineUpdateFlow)}, |
twellington | ce0b29ba | 2017-04-19 21:01:17 | [diff] [blame] | 3470 | {"update-menu-item-custom-summary", |
| 3471 | flag_descriptions::kUpdateMenuItemCustomSummaryName, |
| 3472 | flag_descriptions::kUpdateMenuItemCustomSummaryDescription, kOsAndroid, |
| 3473 | SINGLE_VALUE_TYPE_AND_VALUE( |
| 3474 | switches::kForceShowUpdateMenuItemCustomSummary, |
| 3475 | "Custom Summary")}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3476 | {"force-show-update-menu-badge", flag_descriptions::kUpdateMenuBadgeName, |
| 3477 | flag_descriptions::kUpdateMenuBadgeDescription, kOsAndroid, |
twellington | ce51db3 | 2015-12-30 16:24:29 | [diff] [blame] | 3478 | SINGLE_VALUE_TYPE(switches::kForceShowUpdateMenuBadge)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3479 | {"set-market-url-for-testing", |
| 3480 | flag_descriptions::kSetMarketUrlForTestingName, |
| 3481 | flag_descriptions::kSetMarketUrlForTestingDescription, kOsAndroid, |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 3482 | SINGLE_VALUE_TYPE_AND_VALUE(switches::kMarketUrlForTesting, |
| 3483 | "https://play.google.com/store/apps/" |
| 3484 | "details?id=com.android.chrome")}, |
twellington | ce51db3 | 2015-12-30 16:24:29 | [diff] [blame] | 3485 | #endif // OS_ANDROID |
Steven Valdez | 89a44ea9 | 2019-05-01 15:18:49 | [diff] [blame] | 3486 | {"enable-tls13-early-data", flag_descriptions::kEnableTLS13EarlyDataName, |
| 3487 | flag_descriptions::kEnableTLS13EarlyDataDescription, kOsAll, |
| 3488 | FEATURE_VALUE_TYPE(net::features::kEnableTLS13EarlyData)}, |
Adam Langley | f66f28d2 | 2020-02-05 18:10:38 | [diff] [blame] | 3489 | {"post-quantum-cecpq2", flag_descriptions::kPostQuantumCECPQ2Name, |
| 3490 | flag_descriptions::kPostQuantumCECPQ2Description, kOsAll, |
| 3491 | FEATURE_VALUE_TYPE(net::features::kPostQuantumCECPQ2)}, |
treib | 58464e9 | 2016-02-24 11:34:44 | [diff] [blame] | 3492 | #if defined(OS_ANDROID) |
Pete Williamson | 27269d4 | 2020-01-15 19:02:33 | [diff] [blame] | 3493 | {"interest-feed-feedback", flag_descriptions::kInterestFeedFeedbackName, |
| 3494 | flag_descriptions::kInterestFeedFeedbackDescription, kOsAndroid, |
| 3495 | FEATURE_VALUE_TYPE(feed::kInterestFeedFeedback)}, |
Ian Wells | 34ce148 | 2020-04-03 17:36:16 | [diff] [blame] | 3496 | {"interest-feed-v2", flag_descriptions::kInterestFeedV2Name, |
| 3497 | flag_descriptions::kInterestFeedV2Description, kOsAndroid, |
| 3498 | FEATURE_VALUE_TYPE(feed::kInterestFeedV2)}, |
Vincent Boisselle | 35fc534 | 2020-05-09 02:29:00 | [diff] [blame] | 3499 | {"report-feed-user-actions", flag_descriptions::kReportFeedUserActionsName, |
| 3500 | flag_descriptions::kReportFeedUserActionsDescription, kOsAndroid, |
| 3501 | FEATURE_VALUE_TYPE(feed::kReportFeedUserActions)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3502 | {"offlining-recent-pages", flag_descriptions::kOffliningRecentPagesName, |
| 3503 | flag_descriptions::kOffliningRecentPagesDescription, kOsAndroid, |
dimich | 1b3ad9bd | 2016-03-09 00:34:12 | [diff] [blame] | 3504 | FEATURE_VALUE_TYPE(offline_pages::kOffliningRecentPagesFeature)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3505 | {"offline-pages-ct", flag_descriptions::kOfflinePagesCtName, |
| 3506 | flag_descriptions::kOfflinePagesCtDescription, kOsAndroid, |
dewittj | 54fd4951 | 2016-06-17 18:25:26 | [diff] [blame] | 3507 | FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesCTFeature)}, |
Cathy Li | 2ea68bf | 2017-07-06 03:27:08 | [diff] [blame] | 3508 | {"offline-pages-ct-v2", flag_descriptions::kOfflinePagesCtV2Name, |
| 3509 | flag_descriptions::kOfflinePagesCtV2Description, kOsAndroid, |
| 3510 | FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesCTV2Feature)}, |
Cathy Li | 7311d79 | 2018-04-05 00:34:16 | [diff] [blame] | 3511 | {"offline-pages-ct-suppress-completed-notification", |
| 3512 | flag_descriptions::kOfflinePagesCTSuppressNotificationsName, |
| 3513 | flag_descriptions::kOfflinePagesCTSuppressNotificationsDescription, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3514 | kOsAndroid, |
Cathy Li | 7311d79 | 2018-04-05 00:34:16 | [diff] [blame] | 3515 | FEATURE_VALUE_TYPE( |
| 3516 | offline_pages::kOfflinePagesCTSuppressNotificationsFeature)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 3517 | #endif // OS_ANDROID |
nikhil | 17ef14e2 | 2017-12-13 07:35:31 | [diff] [blame] | 3518 | {"PasswordImport", flag_descriptions::kPasswordImportName, |
Vaclav Brozek | 999f75a | 2017-12-05 11:15:14 | [diff] [blame] | 3519 | flag_descriptions::kPasswordImportDescription, kOsAll, |
Vaclav Brozek | d8a3f54 | 2017-11-16 14:21:13 | [diff] [blame] | 3520 | FEATURE_VALUE_TYPE(password_manager::features::kPasswordImport)}, |
Aran Gilman | 85b72c8f | 2019-10-16 17:51:19 | [diff] [blame] | 3521 | #if !defined(OS_CHROMEOS) |
| 3522 | // TODO(https://crbug.com/1011696): Investigate crash reports and re-enable |
| 3523 | // for ChromeOS. |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 3524 | {"enable-force-dark", flag_descriptions::kForceWebContentsDarkModeName, |
Aran Gilman | 85b72c8f | 2019-10-16 17:51:19 | [diff] [blame] | 3525 | flag_descriptions::kForceWebContentsDarkModeDescription, |
| 3526 | kOsWin | kOsLinux | kOsMac | kOsAndroid, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 3527 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kForceWebContentsDarkMode, |
| 3528 | kForceDarkVariations, |
| 3529 | "ForceDarkVariations")}, |
Aran Gilman | 85b72c8f | 2019-10-16 17:51:19 | [diff] [blame] | 3530 | #endif // !OS_CHROMEOS |
Ivana Zuzic | a4cf480 | 2019-07-10 19:02:32 | [diff] [blame] | 3531 | #if defined(OS_ANDROID) |
Brandon Wylie | 744f343 | 2020-05-13 22:38:32 | [diff] [blame] | 3532 | {"enable-android-dark-search", flag_descriptions::kAndroidDarkSearchName, |
| 3533 | flag_descriptions::kAndroidDarkSearchDescription, kOsAndroid, |
| 3534 | FEATURE_VALUE_TYPE(features::kAndroidDarkSearch)}, |
| 3535 | |
Brandon Wylie | 3c77d44 | 2020-01-31 22:41:49 | [diff] [blame] | 3536 | {"enable-android-night-mode-tab-reparenting", |
| 3537 | flag_descriptions::kAndroidNightModeTabReparentingName, |
| 3538 | flag_descriptions::kAndroidNightModeTabReparentingDescription, kOsAndroid, |
| 3539 | FEATURE_VALUE_TYPE(chrome::android::kAndroidNightModeTabReparenting)}, |
Becky Zhou | 6558414 | 2019-01-10 18:22:29 | [diff] [blame] | 3540 | #endif // OS_ANDROID |
Chris Hall | 4a4225f6 | 2019-01-18 03:07:16 | [diff] [blame] | 3541 | {"enable-experimental-accessibility-language-detection", |
| 3542 | flag_descriptions::kExperimentalAccessibilityLanguageDetectionName, |
| 3543 | flag_descriptions::kExperimentalAccessibilityLanguageDetectionDescription, |
Chris Hall | 2e490ec | 2019-08-08 02:14:14 | [diff] [blame] | 3544 | kOsAll, |
Chris Hall | 4a4225f6 | 2019-01-18 03:07:16 | [diff] [blame] | 3545 | SINGLE_VALUE_TYPE( |
| 3546 | ::switches::kEnableExperimentalAccessibilityLanguageDetection)}, |
Chris Hall | 4f3ca558 | 2019-11-19 02:55:49 | [diff] [blame] | 3547 | {"enable-experimental-accessibility-language-detection-dynamic", |
| 3548 | flag_descriptions::kExperimentalAccessibilityLanguageDetectionDynamicName, |
| 3549 | flag_descriptions:: |
| 3550 | kExperimentalAccessibilityLanguageDetectionDynamicDescription, |
| 3551 | kOsAll, |
| 3552 | SINGLE_VALUE_TYPE( |
| 3553 | ::switches::kEnableExperimentalAccessibilityLanguageDetectionDynamic)}, |
Chris Hall | e952239e | 2018-11-06 06:49:52 | [diff] [blame] | 3554 | #if defined(OS_CHROMEOS) |
fukino | 1b5ebe95 | 2017-04-07 05:35:30 | [diff] [blame] | 3555 | {"enable-encryption-migration", |
| 3556 | flag_descriptions::kEnableEncryptionMigrationName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3557 | flag_descriptions::kEnableEncryptionMigrationDescription, kOsCrOS, |
fukino | 3e769db | 2017-04-21 02:25:17 | [diff] [blame] | 3558 | ENABLE_DISABLE_VALUE_TYPE( |
| 3559 | chromeos::switches::kEnableEncryptionMigration, |
| 3560 | chromeos::switches::kDisableEncryptionMigration)}, |
John Palmer | 3ace5a7 | 2020-03-11 05:57:51 | [diff] [blame] | 3561 | {"enable-cros-ime-assist-autocorrect", |
| 3562 | flag_descriptions::kImeAssistAutocorrectName, |
| 3563 | flag_descriptions::kImeAssistAutocorrectDescription, kOsCrOS, |
John Palmer | deed183 | 2020-03-20 02:35:19 | [diff] [blame] | 3564 | FEATURE_VALUE_TYPE(chromeos::features::kAssistAutoCorrect)}, |
Jing Wang | 1c45fe39 | 2020-03-05 01:10:23 | [diff] [blame] | 3565 | {"enable-cros-ime-assist-personal-info", |
| 3566 | flag_descriptions::kImeAssistPersonalInfoName, |
| 3567 | flag_descriptions::kImeAssistPersonalInfoDescription, kOsCrOS, |
| 3568 | FEATURE_VALUE_TYPE(chromeos::features::kAssistPersonalInfo)}, |
My Nguyen | c5f0def | 2020-03-29 23:22:15 | [diff] [blame] | 3569 | {"enable-cros-ime-emoji-suggest-addition", |
| 3570 | flag_descriptions::kImeEmojiSuggestAdditionName, |
| 3571 | flag_descriptions::kImeEmojiSuggestAdditionDescription, kOsCrOS, |
| 3572 | FEATURE_VALUE_TYPE(chromeos::features::kEmojiSuggestAddition)}, |
Leo Zhang | 49c34d2 | 2019-04-02 09:57:59 | [diff] [blame] | 3573 | {"enable-cros-ime-input-logic-fst", |
| 3574 | flag_descriptions::kImeInputLogicFstName, |
| 3575 | flag_descriptions::kImeInputLogicFstDescription, kOsCrOS, |
| 3576 | FEATURE_VALUE_TYPE(chromeos::features::kImeInputLogicFst)}, |
David Vallet | f4c8834 | 2019-12-03 01:43:26 | [diff] [blame] | 3577 | {"enable-cros-ime-input-logic-hmm", |
| 3578 | flag_descriptions::kImeInputLogicHmmName, |
| 3579 | flag_descriptions::kImeInputLogicHmmDescription, kOsCrOS, |
| 3580 | FEATURE_VALUE_TYPE(chromeos::features::kImeInputLogicHmm)}, |
Yingbing Wu | 5ec5de0 | 2020-05-14 02:50:17 | [diff] [blame] | 3581 | {"enable-cros-ime-input-logic-mozc", |
| 3582 | flag_descriptions::kImeInputLogicMozcName, |
| 3583 | flag_descriptions::kImeInputLogicMozcDescription, kOsCrOS, |
| 3584 | FEATURE_VALUE_TYPE(chromeos::features::kImeInputLogicMozc)}, |
Yingbing Wu | 09cd99a | 2020-02-14 09:14:24 | [diff] [blame] | 3585 | {"enable-cros-ime-mozc-proto", flag_descriptions::kImeMozcProtoName, |
| 3586 | flag_descriptions::kImeMozcProtoDescription, kOsCrOS, |
| 3587 | FEATURE_VALUE_TYPE(chromeos::features::kImeMozcProto)}, |
Leo Zhang | 6f0c63a | 2020-05-19 07:36:42 | [diff] [blame] | 3588 | {"enable-cros-ime-sandbox", flag_descriptions::kImeServiceSandboxName, |
| 3589 | flag_descriptions::kImeServiceSandboxDescription, kOsCrOS, |
| 3590 | FEATURE_VALUE_TYPE(chromeos::features::kEnableImeSandbox)}, |
My Nguyen | 2194c5b | 2020-07-15 02:22:33 | [diff] [blame] | 3591 | {"enable-cros-language-settings-update", |
| 3592 | flag_descriptions::kCrosLanguageSettingsUpdateName, |
| 3593 | flag_descriptions::kCrosLanguageSettingsUpdateDescription, kOsCrOS, |
| 3594 | FEATURE_VALUE_TYPE(chromeos::features::kLanguageSettingsUpdate)}, |
Darren Shen | ddfbd2e | 2020-09-16 23:07:02 | [diff] [blame] | 3595 | {"enable-cros-system-latin-physical-typing", |
| 3596 | flag_descriptions::kSystemLatinPhysicalTypingName, |
| 3597 | flag_descriptions::kSystemLatinPhysicalTypingDescription, kOsCrOS, |
| 3598 | FEATURE_VALUE_TYPE(chromeos::features::kSystemLatinPhysicalTyping)}, |
My Nguyen | 614dbcc | 2019-10-29 03:52:32 | [diff] [blame] | 3599 | {"enable-cros-virtual-keyboard-bordered-key", |
| 3600 | flag_descriptions::kVirtualKeyboardBorderedKeyName, |
| 3601 | flag_descriptions::kVirtualKeyboardBorderedKeyDescription, kOsCrOS, |
| 3602 | FEATURE_VALUE_TYPE(chromeos::features::kVirtualKeyboardBorderedKey)}, |
Rose Garcia | 26e2ae3 | 2019-06-25 00:57:54 | [diff] [blame] | 3603 | {"enable-experimental-accessibility-switch-access-text", |
| 3604 | flag_descriptions::kExperimentalAccessibilitySwitchAccessTextName, |
| 3605 | flag_descriptions::kExperimentalAccessibilitySwitchAccessTextDescription, |
| 3606 | kOsCrOS, |
| 3607 | SINGLE_VALUE_TYPE( |
| 3608 | ::switches::kEnableExperimentalAccessibilitySwitchAccessText)}, |
Anastasia Helfinstein | b4efe14 | 2020-09-25 05:15:42 | [diff] [blame] | 3609 | {"enable-switch-access-point-scanning", |
| 3610 | flag_descriptions::kSwitchAccessPointScanningName, |
| 3611 | flag_descriptions::kSwitchAccessPointScanningDescription, kOsCrOS, |
| 3612 | SINGLE_VALUE_TYPE(::switches::kEnableSwitchAccessPointScanning)}, |
Akihiro Ota | 02ec6bed | 2020-01-21 22:27:22 | [diff] [blame] | 3613 | {"enable-experimental-accessibility-chromevox-annotations", |
| 3614 | flag_descriptions::kExperimentalAccessibilityChromeVoxAnnotationsName, |
| 3615 | flag_descriptions:: |
| 3616 | kExperimentalAccessibilityChromeVoxAnnotationsDescription, |
| 3617 | kOsCrOS, |
| 3618 | SINGLE_VALUE_TYPE( |
| 3619 | ::switches::kEnableExperimentalAccessibilityChromeVoxAnnotations)}, |
Katie D | 9b7ec72b | 2020-06-02 18:02:36 | [diff] [blame] | 3620 | {"enable-experimental-accessibility-cursor-colors", |
| 3621 | flag_descriptions::kExperimentalAccessibilityCursorColorsName, |
| 3622 | flag_descriptions::kExperimentalAccessibilityCursorColorsDescription, |
| 3623 | kOsCrOS, FEATURE_VALUE_TYPE(features::kAccessibilityCursorColor)}, |
Jon Flatley | 8c78558 | 2019-06-05 00:33:42 | [diff] [blame] | 3624 | {"enable-experimental-kernel-vm-support", |
| 3625 | flag_descriptions::kKernelnextVMsName, |
| 3626 | flag_descriptions::kKernelnextVMsDescription, kOsCrOS, |
| 3627 | FEATURE_VALUE_TYPE(features::kKernelnextVMs)}, |
Akihiro Ota | 3d5699e | 2020-04-28 17:33:37 | [diff] [blame] | 3628 | {"enable-experimental-accessibility-chromevox-tutorial", |
| 3629 | flag_descriptions::kExperimentalAccessibilityChromeVoxTutorialName, |
| 3630 | flag_descriptions::kExperimentalAccessibilityChromeVoxTutorialDescription, |
| 3631 | kOsCrOS, |
| 3632 | SINGLE_VALUE_TYPE( |
| 3633 | ::switches::kEnableExperimentalAccessibilityChromeVoxTutorial)}, |
Josiah K | 6b5eefd | 2020-09-23 03:27:56 | [diff] [blame] | 3634 | {"enable-experimental-accessibility-magnifier-new-focus-following", |
| 3635 | flag_descriptions:: |
| 3636 | kExperimentalAccessibilityMagnifierNewFocusFollowingName, |
| 3637 | flag_descriptions:: |
| 3638 | kExperimentalAccessibilityMagnifierNewFocusFollowingDescription, |
| 3639 | kOsCrOS, |
| 3640 | SINGLE_VALUE_TYPE( |
| 3641 | ::switches:: |
| 3642 | kEnableExperimentalAccessibilityMagnifierNewFocusFollowing)}, |
skym | 7248671 | 2016-10-18 20:37:47 | [diff] [blame] | 3643 | #endif // OS_CHROMEOS |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 3644 | #if defined(OS_MAC) |
Sidney San Martín | 678fd411 | 2019-03-30 00:13:05 | [diff] [blame] | 3645 | {"enable-immersive-fullscreen-toolbar", |
| 3646 | flag_descriptions::kImmersiveFullscreenName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3647 | flag_descriptions::kImmersiveFullscreenDescription, kOsMac, |
Sidney San Martín | 678fd411 | 2019-03-30 00:13:05 | [diff] [blame] | 3648 | FEATURE_VALUE_TYPE(features::kImmersiveFullscreen)}, |
Avi Drissman | 9734618 | 2020-07-30 16:36:14 | [diff] [blame] | 3649 | #endif // OS_MAC |
Christian Dullweber | 3cc579a2 | 2018-09-11 10:54:44 | [diff] [blame] | 3650 | {"rewrite-leveldb-on-deletion", |
| 3651 | flag_descriptions::kRewriteLevelDBOnDeletionName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3652 | flag_descriptions::kRewriteLevelDBOnDeletionDescription, kOsAll, |
| 3653 | FEATURE_VALUE_TYPE(leveldb::kLevelDBRewriteFeature)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3654 | {"passive-listener-default", |
| 3655 | flag_descriptions::kPassiveEventListenerDefaultName, |
| 3656 | flag_descriptions::kPassiveEventListenerDefaultDescription, kOsAll, |
dtapuska | f65650b | 2016-05-13 17:21:34 | [diff] [blame] | 3657 | MULTI_VALUE_TYPE(kPassiveListenersChoices)}, |
Sarthak Shah | d641e55 | 2019-09-19 01:17:26 | [diff] [blame] | 3658 | {"enable-experimental-fling-animation", |
| 3659 | flag_descriptions::kExperimentalFlingAnimationName, |
Sarthak Shah | 364c198 | 2019-11-26 23:49:38 | [diff] [blame] | 3660 | flag_descriptions::kExperimentalFlingAnimationDescription, kOsAll, |
Sarthak Shah | d641e55 | 2019-09-19 01:17:26 | [diff] [blame] | 3661 | FEATURE_VALUE_TYPE(features::kExperimentalFlingAnimation)}, |
Danyao Wang | 47a0f31 | 2019-05-09 20:52:24 | [diff] [blame] | 3662 | {"enable-web-payments-experimental-features", |
| 3663 | flag_descriptions::kWebPaymentsExperimentalFeaturesName, |
| 3664 | flag_descriptions::kWebPaymentsExperimentalFeaturesDescription, kOsAll, |
| 3665 | FEATURE_VALUE_TYPE(payments::features::kWebPaymentsExperimentalFeatures)}, |
Liquan (Max) Gu | 5f122397 | 2019-12-13 21:07:10 | [diff] [blame] | 3666 | {"enable-web-payments-minimal-ui", |
| 3667 | flag_descriptions::kWebPaymentsMinimalUIName, |
Rouslan Solomakhin | 391b2498 | 2020-02-27 16:38:32 | [diff] [blame] | 3668 | flag_descriptions::kWebPaymentsMinimalUIDescription, kOsAll, |
| 3669 | FEATURE_VALUE_TYPE(features::kWebPaymentsMinimalUI)}, |
Liquan (Max) Gu | 8fcb919 | 2020-05-20 16:22:18 | [diff] [blame] | 3670 | {"enable-debug-for-store-billing", |
| 3671 | flag_descriptions::kAppStoreBillingDebugName, |
| 3672 | flag_descriptions::kAppStoreBillingDebugDescription, kOsAll, |
| 3673 | FEATURE_VALUE_TYPE(payments::features::kAppStoreBillingDebug)}, |
Rouslan Solomakhin | e73fa785 | 2020-08-28 10:33:46 | [diff] [blame] | 3674 | {"enable-debug-for-secure-payment-confirmation", |
| 3675 | flag_descriptions::kSecurePaymentConfirmationDebugName, |
| 3676 | flag_descriptions::kSecurePaymentConfirmationDebugDescription, kOsAll, |
| 3677 | FEATURE_VALUE_TYPE(features::kSecurePaymentConfirmationDebug)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3678 | {"fill-on-account-select", flag_descriptions::kFillOnAccountSelectName, |
| 3679 | flag_descriptions::kFillOnAccountSelectDescription, kOsAll, |
vabr | 6bf3a25 | 2016-06-20 14:26:40 | [diff] [blame] | 3680 | FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, |
azurewei | 588a471 | 2016-09-05 14:18:02 | [diff] [blame] | 3681 | #if defined(OS_CHROMEOS) |
Ryo Hashimoto | 8f4b30ced | 2019-04-08 12:14:19 | [diff] [blame] | 3682 | {"arc-custom-tabs-experiment", |
| 3683 | flag_descriptions::kArcCustomTabsExperimentName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3684 | flag_descriptions::kArcCustomTabsExperimentDescription, kOsCrOS, |
Ryo Hashimoto | 8f4b30ced | 2019-04-08 12:14:19 | [diff] [blame] | 3685 | FEATURE_VALUE_TYPE(arc::kCustomTabsExperimentFeature)}, |
Naoki Fukino | 153de8a | 2019-01-22 08:37:54 | [diff] [blame] | 3686 | {"arc-documents-provider", flag_descriptions::kArcDocumentsProviderName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3687 | flag_descriptions::kArcDocumentsProviderDescription, kOsCrOS, |
Naoki Fukino | 153de8a | 2019-01-22 08:37:54 | [diff] [blame] | 3688 | FEATURE_VALUE_TYPE(arc::kEnableDocumentsProviderInFilesAppFeature)}, |
Satoshi Niwa | 8b1d528 | 2018-10-24 04:53:03 | [diff] [blame] | 3689 | {"arc-file-picker-experiment", |
| 3690 | flag_descriptions::kArcFilePickerExperimentName, |
| 3691 | flag_descriptions::kArcFilePickerExperimentDescription, kOsCrOS, |
| 3692 | FEATURE_VALUE_TYPE(arc::kFilePickerExperimentFeature)}, |
Lev Rumyantsev | 6eddc80 | 2019-08-27 19:41:21 | [diff] [blame] | 3693 | {"arc-native-bridge-toggle", flag_descriptions::kArcNativeBridgeToggleName, |
| 3694 | flag_descriptions::kArcNativeBridgeToggleDescription, kOsCrOS, |
| 3695 | FEATURE_VALUE_TYPE(arc::kNativeBridgeToggleFeature)}, |
Josh Horwich | c50d5b2 | 2020-07-07 22:32:18 | [diff] [blame] | 3696 | {"arc-native-bridge-64bit-support-experiment", |
| 3697 | flag_descriptions::kArcNativeBridge64BitSupportExperimentName, |
| 3698 | flag_descriptions::kArcNativeBridge64BitSupportExperimentDescription, |
| 3699 | kOsCrOS, |
| 3700 | FEATURE_VALUE_TYPE(arc::kNativeBridge64BitSupportExperimentFeature)}, |
lgcheng | ecd1c1a6 | 2018-01-09 02:59:46 | [diff] [blame] | 3701 | {"arc-usb-host", flag_descriptions::kArcUsbHostName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3702 | flag_descriptions::kArcUsbHostDescription, kOsCrOS, |
lgcheng | ecd1c1a6 | 2018-01-09 02:59:46 | [diff] [blame] | 3703 | FEATURE_VALUE_TYPE(arc::kUsbHostFeature)}, |
Yusuke Sato | 7e790eb | 2019-06-06 00:21:04 | [diff] [blame] | 3704 | {"arc-usb-storage-ui", flag_descriptions::kArcUsbStorageUIName, |
| 3705 | flag_descriptions::kArcUsbStorageUIDescription, kOsCrOS, |
| 3706 | FEATURE_VALUE_TYPE(arc::kUsbStorageUIFeature)}, |
skym | 7248671 | 2016-10-18 20:37:47 | [diff] [blame] | 3707 | #endif // OS_CHROMEOS |
Wenjie Shi | d3824519 | 2019-07-11 16:20:50 | [diff] [blame] | 3708 | #if defined(OS_WIN) |
| 3709 | {"enable-winrt-sensor-implementation", |
| 3710 | flag_descriptions::kWinrtSensorsImplementationName, |
| 3711 | flag_descriptions::kWinrtSensorsImplementationDescription, kOsWin, |
| 3712 | FEATURE_VALUE_TYPE(features::kWinrtSensorsImplementation)}, |
| 3713 | #endif |
Mikhail Pozdnyakov | 73373a6 | 2017-08-24 17:31:25 | [diff] [blame] | 3714 | {"enable-generic-sensor-extra-classes", |
| 3715 | flag_descriptions::kEnableGenericSensorExtraClassesName, |
| 3716 | flag_descriptions::kEnableGenericSensorExtraClassesDescription, kOsAll, |
| 3717 | FEATURE_VALUE_TYPE(features::kGenericSensorExtraClasses)}, |
altimin | 1fca2be | 2016-10-12 21:06:43 | [diff] [blame] | 3718 | {"expensive-background-timer-throttling", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3719 | flag_descriptions::kExpensiveBackgroundTimerThrottlingName, |
| 3720 | flag_descriptions::kExpensiveBackgroundTimerThrottlingDescription, kOsAll, |
altimin | 1fca2be | 2016-10-12 21:06:43 | [diff] [blame] | 3721 | FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)}, |
xdai | 05509b8 | 2016-12-19 23:48:14 | [diff] [blame] | 3722 | |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 3723 | #if defined(OS_CHROMEOS) |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 3724 | {ui_devtools::switches::kEnableUiDevTools, |
| 3725 | flag_descriptions::kUiDevToolsName, |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 3726 | flag_descriptions::kUiDevToolsDescription, kOsCrOS, |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 3727 | SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)}, |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 3728 | #endif // defined(OS_CHROMEOS) |
| 3729 | |
Jared Saul | fafb058b | 2017-12-11 22:08:26 | [diff] [blame] | 3730 | {"enable-autofill-credit-card-ablation-experiment", |
| 3731 | flag_descriptions::kEnableAutofillCreditCardAblationExperimentDisplayName, |
| 3732 | flag_descriptions::kEnableAutofillCreditCardAblationExperimentDescription, |
| 3733 | kOsAll, |
Anne Lim | 2716ba9 | 2018-08-28 01:47:27 | [diff] [blame] | 3734 | FEATURE_VALUE_TYPE( |
| 3735 | autofill::features::kAutofillCreditCardAblationExperiment)}, |
tmartino | cd41473 | 2018-02-12 19:01:01 | [diff] [blame] | 3736 | |
kcarattini | db5f41b | 2017-01-18 13:24:06 | [diff] [blame] | 3737 | #if defined(OS_ANDROID) |
Fabio Tirelo | 918089a | 2018-10-22 21:24:08 | [diff] [blame] | 3738 | {"enable-autofill-manual-fallback", |
| 3739 | flag_descriptions::kAutofillManualFallbackAndroidName, |
| 3740 | flag_descriptions::kAutofillManualFallbackAndroidDescription, kOsAndroid, |
| 3741 | FEATURE_VALUE_TYPE(autofill::features::kAutofillManualFallbackAndroid)}, |
| 3742 | |
Fabio Tirelo | 315e6592 | 2018-09-05 03:35:49 | [diff] [blame] | 3743 | {"enable-autofill-refresh-style", |
| 3744 | flag_descriptions::kEnableAutofillRefreshStyleName, |
| 3745 | flag_descriptions::kEnableAutofillRefreshStyleDescription, kOsAndroid, |
| 3746 | FEATURE_VALUE_TYPE(autofill::features::kAutofillRefreshStyleAndroid)}, |
kcarattini | db5f41b | 2017-01-18 13:24:06 | [diff] [blame] | 3747 | #endif |
| 3748 | |
malaykeshav | b43ccf2 | 2017-01-20 21:24:57 | [diff] [blame] | 3749 | #if defined(OS_CHROMEOS) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3750 | {"enable-touchscreen-calibration", |
| 3751 | flag_descriptions::kTouchscreenCalibrationName, |
| 3752 | flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS, |
malaykeshav | b43ccf2 | 2017-01-20 21:24:57 | [diff] [blame] | 3753 | SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)}, |
Rouslan Solomakhin | bed1af2 | 2017-06-09 18:40:57 | [diff] [blame] | 3754 | #endif // defined(OS_CHROMEOS) |
yamaguchi | d99a64b | 2017-05-12 15:33:49 | [diff] [blame] | 3755 | #if defined(OS_CHROMEOS) |
Naoki Fukino | 7cd1d10 | 2018-07-17 13:21:26 | [diff] [blame] | 3756 | {"android-files-in-files-app", |
Naoki Fukino | 008a002 | 2018-05-23 18:33:00 | [diff] [blame] | 3757 | flag_descriptions::kShowAndroidFilesInFilesAppName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3758 | flag_descriptions::kShowAndroidFilesInFilesAppDescription, kOsCrOS, |
Naoki Fukino | 7cd1d10 | 2018-07-17 13:21:26 | [diff] [blame] | 3759 | ENABLE_DISABLE_VALUE_TYPE( |
| 3760 | chromeos::switches::kShowAndroidFilesInFilesApp, |
| 3761 | chromeos::switches::kHideAndroidFilesInFilesApp)}, |
Christopher Lam | 2853001 | 2019-07-11 04:05:12 | [diff] [blame] | 3762 | {"camera-system-web-app", flag_descriptions::kCameraSystemWebAppName, |
| 3763 | flag_descriptions::kCameraSystemWebAppDescription, kOsCrOS, |
| 3764 | FEATURE_VALUE_TYPE(chromeos::features::kCameraSystemWebApp)}, |
Ben Wells | 7238dd0 | 2019-05-02 08:20:32 | [diff] [blame] | 3765 | {"crostini-gpu-support", flag_descriptions::kCrostiniGpuSupportName, |
| 3766 | flag_descriptions::kCrostiniGpuSupportDescription, kOsCrOS, |
| 3767 | FEATURE_VALUE_TYPE(chromeos::features::kCrostiniGpuSupport)}, |
Ricky Liang | 8df4337 | 2020-07-09 09:41:09 | [diff] [blame] | 3768 | {"disable-camera-frame-rotation-at-source", |
| 3769 | flag_descriptions::kDisableCameraFrameRotationAtSourceName, |
| 3770 | flag_descriptions::kDisableCameraFrameRotationAtSourceDescription, kOsCrOS, |
| 3771 | FEATURE_VALUE_TYPE(media::features::kDisableCameraFrameRotationAtSource)}, |
Austin Tankiang | 3d35686 | 2020-10-01 06:26:15 | [diff] [blame] | 3772 | {"drive-fs-bidirectional-native-messaging", |
| 3773 | flag_descriptions::kDriveFsBidirectionalNativeMessagingName, |
| 3774 | flag_descriptions::kDriveFsBidirectionalNativeMessagingDescription, |
| 3775 | kOsCrOS, |
| 3776 | FEATURE_VALUE_TYPE( |
| 3777 | chromeos::features::kDriveFsBidirectionalNativeMessaging)}, |
[email protected] | ba2cbce7 | 2020-08-28 14:13:49 | [diff] [blame] | 3778 | {"files-app-copy-image", flag_descriptions::kFilesAppCopyImageName, |
| 3779 | flag_descriptions::kFilesAppCopyImageDescription, kOsCrOS, |
| 3780 | FEATURE_VALUE_TYPE(chromeos::features::kEnableFilesAppCopyImage)}, |
Wei Lee | 72e92f4 | 2020-09-22 07:07:38 | [diff] [blame] | 3781 | {"files-camera-folder", flag_descriptions::kFilesCameraFolderName, |
| 3782 | flag_descriptions::kFilesCameraFolderDescription, kOsCrOS, |
| 3783 | FEATURE_VALUE_TYPE(chromeos::features::kFilesCameraFolder)}, |
Naoki Fukino | 4652939 | 2020-08-11 11:46:09 | [diff] [blame] | 3784 | {"files-filters-in-recents", flag_descriptions::kFiltersInRecentsName, |
| 3785 | flag_descriptions::kFiltersInRecentsDescription, kOsCrOS, |
| 3786 | FEATURE_VALUE_TYPE(chromeos::features::kFiltersInRecents)}, |
Austin Tankiang | 4f97363 | 2019-08-12 08:33:23 | [diff] [blame] | 3787 | {"files-ng", flag_descriptions::kFilesNGName, |
| 3788 | flag_descriptions::kFilesNGDescription, kOsCrOS, |
| 3789 | FEATURE_VALUE_TYPE(chromeos::features::kFilesNG)}, |
Omid Tourzan | bf2a0dcf | 2020-09-10 08:53:55 | [diff] [blame] | 3790 | {"files-single-partition-format", |
| 3791 | flag_descriptions::kFilesSinglePartitionFormatName, |
| 3792 | flag_descriptions::kFilesSinglePartitionFormatDescription, kOsCrOS, |
| 3793 | FEATURE_VALUE_TYPE(chromeos::features::kFilesSinglePartitionFormat)}, |
Josh Simmons | 7888f7d | 2020-08-07 04:47:52 | [diff] [blame] | 3794 | {"files-swa", flag_descriptions::kFilesSWAName, |
| 3795 | flag_descriptions::kFilesSWADescription, kOsCrOS, |
| 3796 | FEATURE_VALUE_TYPE(chromeos::features::kFilesSWA)}, |
Omid Tourzan | 9f39a47 | 2020-05-26 03:58:35 | [diff] [blame] | 3797 | {"files-transfer-details", flag_descriptions::kFilesTransferDetailsName, |
| 3798 | flag_descriptions::kFilesTransferDetailsDescription, kOsCrOS, |
| 3799 | FEATURE_VALUE_TYPE(chromeos::features::kFilesTransferDetails)}, |
François Degros | 0caa0d2 | 2020-08-13 02:22:32 | [diff] [blame] | 3800 | {"files-zip-mount", flag_descriptions::kFilesZipMountName, |
| 3801 | flag_descriptions::kFilesZipMountDescription, kOsCrOS, |
| 3802 | FEATURE_VALUE_TYPE(chromeos::features::kFilesZipMount)}, |
| 3803 | {"files-zip-pack", flag_descriptions::kFilesZipPackName, |
| 3804 | flag_descriptions::kFilesZipPackDescription, kOsCrOS, |
| 3805 | FEATURE_VALUE_TYPE(chromeos::features::kFilesZipPack)}, |
| 3806 | {"files-zip-unpack", flag_descriptions::kFilesZipUnpackName, |
| 3807 | flag_descriptions::kFilesZipUnpackDescription, kOsCrOS, |
| 3808 | FEATURE_VALUE_TYPE(chromeos::features::kFilesZipUnpack)}, |
Naoki Fukino | adbc2f4 | 2020-02-07 20:26:49 | [diff] [blame] | 3809 | {"files-unified-media-view", flag_descriptions::kUnifiedMediaViewName, |
| 3810 | flag_descriptions::kUnifiedMediaViewDescription, kOsCrOS, |
| 3811 | FEATURE_VALUE_TYPE(chromeos::features::kUnifiedMediaView)}, |
Anand K. Mistry | 6f5e1c9 | 2020-02-19 23:56:03 | [diff] [blame] | 3812 | {"smbfs-file-shares", flag_descriptions::kSmbfsFileSharesName, |
| 3813 | flag_descriptions::kSmbfsFileSharesName, kOsCrOS, |
| 3814 | FEATURE_VALUE_TYPE(features::kSmbFs)}, |
yamaguchi | d99a64b | 2017-05-12 15:33:49 | [diff] [blame] | 3815 | #endif // OS_CHROMEOS |
malaykeshav | b43ccf2 | 2017-01-20 21:24:57 | [diff] [blame] | 3816 | |
rbpotter | 5f0e96f | 2017-01-25 22:04:36 | [diff] [blame] | 3817 | #if defined(OS_WIN) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3818 | {"gdi-text-printing", flag_descriptions::kGdiTextPrinting, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3819 | flag_descriptions::kGdiTextPrintingDescription, kOsWin, |
rbpotter | 58bc882e | 2017-02-01 03:44:24 | [diff] [blame] | 3820 | FEATURE_VALUE_TYPE(features::kGdiTextPrinting)}, |
rbpotter | 58bc882e | 2017-02-01 03:44:24 | [diff] [blame] | 3821 | #endif // defined(OS_WIN) |
xutan | bc97977 | 2017-01-31 20:41:26 | [diff] [blame] | 3822 | |
Richard Machado | f7f8bda | 2020-08-03 19:07:08 | [diff] [blame] | 3823 | #if defined(OS_WIN) || defined(OS_MAC) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3824 | {"new-usb-backend", flag_descriptions::kNewUsbBackendName, |
Richard Machado | f7f8bda | 2020-08-03 19:07:08 | [diff] [blame] | 3825 | flag_descriptions::kNewUsbBackendDescription, kOsWin | kOsMac, |
reillyg | 6204d73 | 2017-02-13 22:24:56 | [diff] [blame] | 3826 | FEATURE_VALUE_TYPE(device::kNewUsbBackend)}, |
Richard Machado | f7f8bda | 2020-08-03 19:07:08 | [diff] [blame] | 3827 | #endif // defined(OS_WIN) || defined(OS_MAC) |
toyoshim | 0f1c3f3 | 2017-02-10 10:03:32 | [diff] [blame] | 3828 | |
Orin Jaworski | e999b4f | 2019-01-18 04:16:04 | [diff] [blame] | 3829 | #if defined(OS_ANDROID) |
Tomasz Wiszkowski | 8a0e0dc4 | 2020-02-19 00:06:37 | [diff] [blame] | 3830 | {"omnibox-adaptive-suggestions-count", |
| 3831 | flag_descriptions::kOmniboxAdaptiveSuggestionsCountName, |
| 3832 | flag_descriptions::kOmniboxAdaptiveSuggestionsCountDescription, kOsAndroid, |
| 3833 | FEATURE_VALUE_TYPE(omnibox::kAdaptiveSuggestionsCount)}, |
Brandon Wylie | 1299ff8 | 2020-01-23 02:13:37 | [diff] [blame] | 3834 | {"omnibox-assistant-voice-search", |
| 3835 | flag_descriptions::kOmniboxAssistantVoiceSearchName, |
| 3836 | flag_descriptions::kOmniboxAssistantVoiceSearchDescription, kOsAndroid, |
Brandon Wylie | 7c6b5b4 | 2020-01-29 23:05:53 | [diff] [blame] | 3837 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxAssistantVoiceSearch, |
| 3838 | kOmniboxAssistantVoiceSearchVariations, |
| 3839 | "OmniboxAssistantVoiceSearch")}, |
Tomasz Wiszkowski | 70fb35f | 2020-02-27 00:39:19 | [diff] [blame] | 3840 | {"omnibox-compact-suggestions", |
| 3841 | flag_descriptions::kOmniboxCompactSuggestionsName, |
| 3842 | flag_descriptions::kOmniboxCompactSuggestionsDescription, kOsAndroid, |
Tomasz Wiszkowski | 5b429a5 | 2020-04-06 18:41:04 | [diff] [blame] | 3843 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kCompactSuggestions, |
| 3844 | kCompactSuggestionsVariations, |
| 3845 | "OmniboxCompactSuggestions")}, |
Tomasz Wiszkowski | 70fb35f | 2020-02-27 00:39:19 | [diff] [blame] | 3846 | {"omnibox-deferred-keyboard-popup", |
| 3847 | flag_descriptions::kOmniboxDeferredKeyboardPopupName, |
| 3848 | flag_descriptions::kOmniboxDeferredKeyboardPopupDescription, kOsAndroid, |
| 3849 | FEATURE_VALUE_TYPE(omnibox::kDeferredKeyboardPopup)}, |
Filip Gorski | b116dee | 2020-08-20 14:12:10 | [diff] [blame] | 3850 | {"omnibox-most-visited-tiles", |
| 3851 | flag_descriptions::kOmniboxMostVisitedTilesName, |
| 3852 | flag_descriptions::kOmniboxMostVisitedTilesDescription, kOsAndroid, |
| 3853 | FEATURE_VALUE_TYPE(omnibox::kMostVisitedTiles)}, |
Brandon Wylie | f8dd4e8 | 2019-07-11 16:39:57 | [diff] [blame] | 3854 | {"omnibox-search-engine-logo", |
| 3855 | flag_descriptions::kOmniboxSearchEngineLogoName, |
| 3856 | flag_descriptions::kOmniboxSearchEngineLogoDescription, kOsAndroid, |
Brandon Wylie | b57a5dc | 2019-08-14 02:13:11 | [diff] [blame] | 3857 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxSearchEngineLogo, |
| 3858 | kOmniboxSearchEngineLogoFeatureVariations, |
| 3859 | "OmniboxSearchEngineLogo")}, |
Filip Gorski | 0527984 | 2020-06-12 12:49:02 | [diff] [blame] | 3860 | {"omnibox-search-ready-incognito", |
| 3861 | flag_descriptions::kOmniboxSearchReadyIncognitoName, |
| 3862 | flag_descriptions::kOmniboxSearchReadyIncognitoDescription, kOsAndroid, |
| 3863 | FEATURE_VALUE_TYPE(omnibox::kOmniboxSearchReadyIncognito)}, |
Filip Gorski | 927709ea | 2020-04-30 15:58:37 | [diff] [blame] | 3864 | {"omnibox-suggestions-recycler-view", |
| 3865 | flag_descriptions::kOmniboxSuggestionsRecyclerViewName, |
| 3866 | flag_descriptions::kOmniboxSuggestionsRecyclerViewDescription, kOsAndroid, |
| 3867 | FEATURE_VALUE_TYPE(omnibox::kOmniboxSuggestionsRecyclerView)}, |
Tomasz Wiszkowski | 5ec4f53 | 2020-05-19 21:28:10 | [diff] [blame] | 3868 | {"omnibox-suggestions-wrap-around", |
| 3869 | flag_descriptions::kOmniboxSuggestionsWrapAroundName, |
| 3870 | flag_descriptions::kOmniboxSuggestionsWrapAroundDescription, kOsAndroid, |
| 3871 | FEATURE_VALUE_TYPE(omnibox::kOmniboxSuggestionsWrapAround)}, |
Gang Wu | a4a8531 | 2020-06-20 05:14:13 | [diff] [blame] | 3872 | {"omnibox-tab-switch-suggestions", |
| 3873 | flag_descriptions::kOmniboxTabSwitchSuggestionsName, |
| 3874 | flag_descriptions::kOmniboxTabSwitchSuggestionsDescription, kOsAndroid, |
| 3875 | FEATURE_VALUE_TYPE(omnibox::kOmniboxTabSwitchSuggestions)}, |
Orin Jaworski | e999b4f | 2019-01-18 04:16:04 | [diff] [blame] | 3876 | #endif // defined(OS_ANDROID) |
Tomasz Wiszkowski | c87dff1 | 2019-01-15 02:57:51 | [diff] [blame] | 3877 | |
Tommy Li | 19e27ede | 2020-08-14 22:52:40 | [diff] [blame] | 3878 | {"omnibox-clobber-triggers-contextual-web-zero-suggest", |
| 3879 | flag_descriptions::kOmniboxClobberTriggersContextualWebZeroSuggestName, |
| 3880 | flag_descriptions:: |
| 3881 | kOmniboxClobberTriggersContextualWebZeroSuggestDescription, |
Tommy Li | e79c84b | 2020-09-22 20:27:31 | [diff] [blame] | 3882 | kOsDesktop, |
| 3883 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3884 | omnibox::kClobberTriggersContextualWebZeroSuggest, |
| 3885 | // On-clobber has the same variations and forcing IDs as on-focus. |
| 3886 | kOmniboxOnFocusSuggestionsContextualWebVariations, |
| 3887 | "OmniboxGoogleOnContent")}, |
Tommy Li | 354a0e4 | 2020-07-30 16:46:14 | [diff] [blame] | 3888 | |
Ce Chen | c8d803a | 2020-04-27 09:31:33 | [diff] [blame] | 3889 | {"omnibox-on-device-head-suggestions-incognito", |
| 3890 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsIncognitoName, |
| 3891 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsIncognitoDescription, |
Ce Chen | d565f71f | 2020-08-12 01:15:53 | [diff] [blame] | 3892 | kOsAll, FEATURE_VALUE_TYPE(omnibox::kOnDeviceHeadProviderIncognito)}, |
Ce Chen | c8d803a | 2020-04-27 09:31:33 | [diff] [blame] | 3893 | |
| 3894 | {"omnibox-on-device-head-suggestions-non-incognito", |
| 3895 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsNonIncognitoName, |
| 3896 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsNonIncognitoDescription, |
| 3897 | kOsAll, |
| 3898 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3899 | omnibox::kOnDeviceHeadProviderNonIncognito, |
| 3900 | kOmniboxOnDeviceHeadSuggestNonIncognitoExperimentVariations, |
| 3901 | "OmniboxOnDeviceHeadSuggestNonIncognito")}, |
Tommy Li | e845429 | 2019-08-30 20:06:15 | [diff] [blame] | 3902 | |
Moe Ahmadi | d0ce5de | 2019-08-30 21:55:02 | [diff] [blame] | 3903 | {"omnibox-on-focus-suggestions", |
| 3904 | flag_descriptions::kOmniboxOnFocusSuggestionsName, |
| 3905 | flag_descriptions::kOmniboxOnFocusSuggestionsDescription, kOsAll, |
| 3906 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOnFocusSuggestions, |
| 3907 | kOmniboxOnFocusSuggestionsVariations, |
| 3908 | "OmniboxBundledExperimentV1")}, |
| 3909 | |
Tommy Li | 5578402 | 2020-04-28 20:58:18 | [diff] [blame] | 3910 | {"omnibox-on-focus-suggestions-contextual-web", |
| 3911 | flag_descriptions::kOmniboxOnFocusSuggestionsContextualWebName, |
| 3912 | flag_descriptions::kOmniboxOnFocusSuggestionsContextualWebDescription, |
Tommy Li | 8d7ec26a | 2020-09-22 17:46:02 | [diff] [blame] | 3913 | kOsAll, |
| 3914 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3915 | omnibox::kOnFocusSuggestionsContextualWeb, |
| 3916 | kOmniboxOnFocusSuggestionsContextualWebVariations, |
| 3917 | "OmniboxGoogleOnContent")}, |
Tommy Li | 5578402 | 2020-04-28 20:58:18 | [diff] [blame] | 3918 | |
Moe Ahmadi | 9236f82 | 2020-08-20 19:25:50 | [diff] [blame] | 3919 | {"omnibox-local-zero-suggest-frecency-ranking", |
| 3920 | flag_descriptions::kOmniboxLocalZeroSuggestFrecencyRankingName, |
| 3921 | flag_descriptions::kOmniboxLocalZeroSuggestFrecencyRankingDescription, |
| 3922 | kOsAll, |
| 3923 | FEATURE_VALUE_TYPE(omnibox::kOmniboxLocalZeroSuggestFrecencyRanking)}, |
| 3924 | |
Justin Donnelly | f270348 | 2019-10-24 21:42:15 | [diff] [blame] | 3925 | {"omnibox-experimental-suggest-scoring", |
| 3926 | flag_descriptions::kOmniboxExperimentalSuggestScoringName, |
| 3927 | flag_descriptions::kOmniboxExperimentalSuggestScoringDescription, kOsAll, |
| 3928 | FEATURE_VALUE_TYPE(omnibox::kOmniboxExperimentalSuggestScoring)}, |
| 3929 | |
manukh | 5ff0f58 | 2020-01-14 03:54:13 | [diff] [blame] | 3930 | {"omnibox-history-quick-provider-allow-but-do-not-score-midword-terms", |
| 3931 | flag_descriptions:: |
| 3932 | kOmniboxHistoryQuickProviderAllowButDoNotScoreMidwordTermsName, |
| 3933 | flag_descriptions:: |
| 3934 | kOmniboxHistoryQuickProviderAllowButDoNotScoreMidwordTermsDescription, |
| 3935 | kOsAll, |
| 3936 | FEATURE_VALUE_TYPE( |
| 3937 | omnibox::kHistoryQuickProviderAllowButDoNotScoreMidwordTerms)}, |
| 3938 | {"omnibox-history-quick-provider-allow-midword-continuations", |
| 3939 | flag_descriptions:: |
| 3940 | kOmniboxHistoryQuickProviderAllowMidwordContinuationsName, |
| 3941 | flag_descriptions:: |
| 3942 | kOmniboxHistoryQuickProviderAllowMidwordContinuationsDescription, |
| 3943 | kOsAll, |
| 3944 | FEATURE_VALUE_TYPE( |
| 3945 | omnibox::kHistoryQuickProviderAllowMidwordContinuations)}, |
| 3946 | |
Moe Ahmadi | 064dbcd | 2020-08-20 01:53:31 | [diff] [blame] | 3947 | {"omnibox-trending-zero-prefix-suggestions-on-ntp", |
| 3948 | flag_descriptions::kOmniboxTrendingZeroPrefixSuggestionsOnNTPName, |
| 3949 | flag_descriptions::kOmniboxTrendingZeroPrefixSuggestionsOnNTPDescription, |
| 3950 | kOsAll, |
| 3951 | FEATURE_VALUE_TYPE(omnibox::kOmniboxTrendingZeroPrefixSuggestionsOnNTP)}, |
| 3952 | |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 3953 | #if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || \ |
| 3954 | defined(OS_WIN) |
Kevin Bailey | 9ec0553 | 2019-01-31 23:01:33 | [diff] [blame] | 3955 | {"omnibox-experimental-keyword-mode", |
| 3956 | flag_descriptions::kOmniboxExperimentalKeywordModeName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 3957 | flag_descriptions::kOmniboxExperimentalKeywordModeDescription, kOsDesktop, |
Kevin Bailey | 9ec0553 | 2019-01-31 23:01:33 | [diff] [blame] | 3958 | FEATURE_VALUE_TYPE(omnibox::kExperimentalKeywordMode)}, |
Kevin Bailey | 7d918b9 | 2019-05-02 16:00:14 | [diff] [blame] | 3959 | {"omnibox-short-bookmark-suggestions", |
| 3960 | flag_descriptions::kOmniboxShortBookmarkSuggestionsName, |
| 3961 | flag_descriptions::kOmniboxShortBookmarkSuggestionsDescription, kOsDesktop, |
| 3962 | FEATURE_VALUE_TYPE(omnibox::kOmniboxShortBookmarkSuggestions)}, |
Kevin Bailey | 89866997 | 2017-11-06 15:34:49 | [diff] [blame] | 3963 | {"omnibox-tab-switch-suggestions", |
| 3964 | flag_descriptions::kOmniboxTabSwitchSuggestionsName, |
| 3965 | flag_descriptions::kOmniboxTabSwitchSuggestionsDescription, kOsDesktop, |
Kevin Bailey | 6895083 | 2018-05-24 16:01:04 | [diff] [blame] | 3966 | FEATURE_VALUE_TYPE(omnibox::kOmniboxTabSwitchSuggestions)}, |
Orin Jaworski | ca48a8b6 | 2020-01-29 20:24:27 | [diff] [blame] | 3967 | {"omnibox-suggestion-button-row", |
| 3968 | flag_descriptions::kOmniboxSuggestionButtonRowName, |
| 3969 | flag_descriptions::kOmniboxSuggestionButtonRowDescription, kOsDesktop, |
| 3970 | FEATURE_VALUE_TYPE(omnibox::kOmniboxSuggestionButtonRow)}, |
Justin Donnelly | 5726ecf | 2020-08-14 00:53:52 | [diff] [blame] | 3971 | {"omnibox-pedal-suggestions", |
| 3972 | flag_descriptions::kOmniboxPedalSuggestionsName, |
| 3973 | flag_descriptions::kOmniboxPedalSuggestionsDescription, kOsDesktop, |
| 3974 | FEATURE_VALUE_TYPE(omnibox::kOmniboxPedalSuggestions)}, |
| 3975 | {"omnibox-keyword-search-button", |
| 3976 | flag_descriptions::kOmniboxKeywordSearchButtonName, |
| 3977 | flag_descriptions::kOmniboxKeywordSearchButtonDescription, kOsDesktop, |
| 3978 | FEATURE_VALUE_TYPE(omnibox::kOmniboxKeywordSearchButton)}, |
Angela Yoeurng | 8155263 | 2020-09-22 23:52:14 | [diff] [blame] | 3979 | {"omnibox-refined-focus-state", |
| 3980 | flag_descriptions::kOmniboxRefinedFocusStateName, |
| 3981 | flag_descriptions::kOmniboxRefinedFocusStateDescription, kOsDesktop, |
| 3982 | FEATURE_VALUE_TYPE(omnibox::kOmniboxRefinedFocusState)}, |
Travis Skare | bcdb5ed3 | 2018-08-17 01:49:40 | [diff] [blame] | 3983 | {"omnibox-drive-suggestions", |
| 3984 | flag_descriptions::kOmniboxDriveSuggestionsName, |
| 3985 | flag_descriptions::kOmniboxDriveSuggestionsDescriptions, kOsDesktop, |
manukh | 7dd0d17 | 2020-09-18 19:24:18 | [diff] [blame] | 3986 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3987 | omnibox::kDocumentProvider, |
| 3988 | kOmniboxDocumentProviderVariations, |
| 3989 | "OmniboxDocumentProviderNonDogfoodExperiments")}, |
manuk | 695f9d453 | 2020-03-18 19:22:08 | [diff] [blame] | 3990 | {"omnibox-rich-autocompletion", |
| 3991 | flag_descriptions::kOmniboxRichAutocompletionName, |
| 3992 | flag_descriptions::kOmniboxRichAutocompletionDescription, kOsDesktop, |
| 3993 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kRichAutocompletion, |
| 3994 | kOmniboxRichAutocompletionVariations, |
| 3995 | "OmniboxBundledExperimentV1")}, |
manuk | 55bdd97 | 2020-07-17 01:06:22 | [diff] [blame] | 3996 | {"omnibox-rich-autocompletion-min-char", |
| 3997 | flag_descriptions::kOmniboxRichAutocompletionMinCharName, |
| 3998 | flag_descriptions::kOmniboxRichAutocompletionMinCharDescription, |
| 3999 | kOsDesktop, |
| 4000 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kRichAutocompletion, |
| 4001 | kOmniboxRichAutocompletionMinCharVariations, |
| 4002 | "OmniboxBundledExperimentV1")}, |
manuk | 2a83741 | 2020-07-30 20:57:56 | [diff] [blame] | 4003 | {"omnibox-rich-autocompletion-show-additional-text", |
| 4004 | flag_descriptions::kOmniboxRichAutocompletionShowAdditionalTextName, |
| 4005 | flag_descriptions::kOmniboxRichAutocompletionShowAdditionalTextDescription, |
| 4006 | kOsDesktop, |
| 4007 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4008 | omnibox::kRichAutocompletion, |
| 4009 | kOmniboxRichAutocompletionShowAdditionalTextVariations, |
| 4010 | "OmniboxBundledExperimentV1")}, |
manukh | 848a025 | 2020-09-30 19:14:14 | [diff] [blame] | 4011 | {"omnibox-rich-autocompletion-split", |
| 4012 | flag_descriptions::kOmniboxRichAutocompletionSplitName, |
| 4013 | flag_descriptions::kOmniboxRichAutocompletionSplitDescription, kOsDesktop, |
| 4014 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kRichAutocompletion, |
| 4015 | kOmniboxRichAutocompletionSplitVariations, |
| 4016 | "OmniboxBundledExperimentV1")}, |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 4017 | {"omnibox-rich-autocompletion-promising", |
| 4018 | flag_descriptions::kOmniboxRichAutocompletionPromisingName, |
| 4019 | flag_descriptions::kOmniboxRichAutocompletionPromisingDescription, |
| 4020 | kOsDesktop, |
| 4021 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4022 | omnibox::kRichAutocompletion, |
| 4023 | kOmniboxRichAutocompletionPromisingVariations, |
| 4024 | "OmniboxBundledExperimentV1")}, |
manukh | 61e78251 | 2020-10-01 17:33:45 | [diff] [blame] | 4025 | {"omnibox-bookmark-paths", flag_descriptions::kOmniboxBookmarkPathsName, |
| 4026 | flag_descriptions::kOmniboxBookmarkPathsDescription, kOsDesktop, |
| 4027 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kBookmarkPaths, |
| 4028 | kOmniboxBookmarkPathsVariations, |
| 4029 | "OmniboxBundledExperimentV1")}, |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 4030 | #endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || |
| 4031 | // defined(OS_WIN) |
krb | 98783dd | 2017-03-01 15:45:13 | [diff] [blame] | 4032 | |
Justin Donnelly | 4e448cb | 2017-07-07 21:32:13 | [diff] [blame] | 4033 | {"enable-speculative-service-worker-start-on-query-input", |
| 4034 | flag_descriptions::kSpeculativeServiceWorkerStartOnQueryInputName, |
| 4035 | flag_descriptions::kSpeculativeServiceWorkerStartOnQueryInputDescription, |
| 4036 | kOsAll, |
| 4037 | FEATURE_VALUE_TYPE(omnibox::kSpeculativeServiceWorkerStartOnQueryInput)}, |
| 4038 | |
Matt Falkenhagen | 8af3b7e | 2019-10-01 14:44:16 | [diff] [blame] | 4039 | {"enable-service-worker-on-ui", flag_descriptions::kServiceWorkerOnUIName, |
| 4040 | flag_descriptions::kServiceWorkerOnUIDescription, kOsAll, |
| 4041 | FEATURE_VALUE_TYPE(features::kServiceWorkerOnUI)}, |
| 4042 | |
dtseng | 431540d | 2017-03-14 22:17:44 | [diff] [blame] | 4043 | #if defined(OS_CHROMEOS) |
Mattias Nissler | 6bb633f | 2019-02-13 23:41:46 | [diff] [blame] | 4044 | {"scheduler-configuration", flag_descriptions::kSchedulerConfigurationName, |
| 4045 | flag_descriptions::kSchedulerConfigurationDescription, kOsCrOS, |
| 4046 | MULTI_VALUE_TYPE(kSchedulerConfigurationChoices)}, |
sammiequon | d583776 | 2017-03-16 21:14:59 | [diff] [blame] | 4047 | #endif // OS_CHROMEOS |
| 4048 | |
jwanda | 1582bcf | 2017-03-30 04:33:48 | [diff] [blame] | 4049 | #if defined(OS_ANDROID) |
Lei Tian | bd5a3bf | 2018-02-28 19:01:16 | [diff] [blame] | 4050 | {"enable-command-line-on-non-rooted-devices", |
| 4051 | flag_descriptions::kEnableCommandLineOnNonRootedName, |
| 4052 | flag_descriptions::kEnableCommandLineOnNoRootedDescription, kOsAndroid, |
| 4053 | FEATURE_VALUE_TYPE(chrome::android::kCommandLineOnNonRooted)}, |
| 4054 | #endif // OS_ANDROID |
| 4055 | |
| 4056 | #if defined(OS_ANDROID) |
Gang Wu | eec1f0785 | 2020-08-19 02:10:02 | [diff] [blame] | 4057 | {"tabbed-app-overflow-menu-icons", |
| 4058 | flag_descriptions::kTabbedAppOverflowMenuIconsName, |
| 4059 | flag_descriptions::kTabbedAppOverflowMenuIconsDescription, kOsAndroid, |
| 4060 | FEATURE_VALUE_TYPE(chrome::android::kTabbedAppOverflowMenuIcons)}, |
Gang Wu | ff4abf1 | 2020-08-20 01:16:20 | [diff] [blame] | 4061 | {"tabbed-app-overflow-menu-regroup", |
| 4062 | flag_descriptions::kTabbedAppOverflowMenuRegroupName, |
| 4063 | flag_descriptions::kTabbedAppOverflowMenuRegroupDescription, kOsAndroid, |
Gang Wu | 4c1a423 | 2020-08-25 21:42:36 | [diff] [blame] | 4064 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4065 | chrome::android::kTabbedAppOverflowMenuRegroup, |
| 4066 | kTabbedAppOverflowMenuRegroupVariations, |
Gang Wu | cc421c3 | 2020-09-16 22:42:18 | [diff] [blame] | 4067 | "AndroidAppMenuUiRework")}, |
Gang Wu | 8b0e482 | 2020-09-25 22:06:27 | [diff] [blame] | 4068 | {"tabbed-app-overflow-menu-three-button-actionbar", |
| 4069 | flag_descriptions::kTabbedAppOverflowMenuThreeButtonActionbarName, |
| 4070 | flag_descriptions::kTabbedAppOverflowMenuThreeButtonActionbarDescription, |
| 4071 | kOsAndroid, |
| 4072 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4073 | chrome::android::kTabbedAppOverflowMenuThreeButtonActionbar, |
| 4074 | kTabbedAppOverflowMenuThreeButtonActionbarVariations, |
| 4075 | "AndroidAppMenuThreeButtonActionbar")}, |
Sinan Sahin | 3bafe27 | 2019-03-11 17:03:06 | [diff] [blame] | 4076 | #endif // OS_ANDROID |
| 4077 | |
gcomanici | 8cabc77f | 2017-04-27 20:04:54 | [diff] [blame] | 4078 | {"omnibox-display-title-for-current-url", |
| 4079 | flag_descriptions::kOmniboxDisplayTitleForCurrentUrlName, |
Gheorghe Comanici | a083752 | 2017-12-01 20:20:00 | [diff] [blame] | 4080 | flag_descriptions::kOmniboxDisplayTitleForCurrentUrlDescription, kOsAll, |
| 4081 | FEATURE_VALUE_TYPE(omnibox::kDisplayTitleForCurrentUrl)}, |
gcomanici | 8cabc77f | 2017-04-27 20:04:54 | [diff] [blame] | 4082 | |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 4083 | {"force-color-profile", flag_descriptions::kForceColorProfileName, |
| 4084 | flag_descriptions::kForceColorProfileDescription, kOsAll, |
| 4085 | MULTI_VALUE_TYPE(kForceColorProfileChoices)}, |
| 4086 | |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 4087 | {"force-effective-connection-type", |
| 4088 | flag_descriptions::kForceEffectiveConnectionTypeName, |
| 4089 | flag_descriptions::kForceEffectiveConnectionTypeDescription, kOsAll, |
| 4090 | MULTI_VALUE_TYPE(kForceEffectiveConnectionTypeChoices)}, |
| 4091 | |
Alison Maher | c07a3fb | 2019-10-07 21:25:03 | [diff] [blame] | 4092 | {"forced-colors", flag_descriptions::kForcedColorsName, |
| 4093 | flag_descriptions::kForcedColorsDescription, kOsAll, |
| 4094 | FEATURE_VALUE_TYPE(features::kForcedColors)}, |
| 4095 | |
Chris Blume | b504da1f2 | 2020-04-27 00:21:44 | [diff] [blame] | 4096 | #if defined(OS_ANDROID) |
| 4097 | {"dynamic-color-gamut", flag_descriptions::kDynamicColorGamutName, |
| 4098 | flag_descriptions::kDynamicColorGamutDescription, kOsAndroid, |
| 4099 | FEATURE_VALUE_TYPE(features::kDynamicColorGamut)}, |
| 4100 | #endif |
| 4101 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 4102 | {"memlog", flag_descriptions::kMemlogName, |
| 4103 | flag_descriptions::kMemlogDescription, kOsAll, |
| 4104 | MULTI_VALUE_TYPE(kMemlogModeChoices)}, |
erikchen | 1404643 | 2017-08-17 19:55:59 | [diff] [blame] | 4105 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 4106 | {"memlog-sampling-rate", flag_descriptions::kMemlogSamplingRateName, |
| 4107 | flag_descriptions::kMemlogSamplingRateDescription, kOsAll, |
| 4108 | MULTI_VALUE_TYPE(kMemlogSamplingRateChoices)}, |
erikchen | 8bc20d8 | 2018-02-14 03:21:51 | [diff] [blame] | 4109 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 4110 | {"memlog-stack-mode", flag_descriptions::kMemlogStackModeName, |
| 4111 | flag_descriptions::kMemlogStackModeDescription, kOsAll, |
| 4112 | MULTI_VALUE_TYPE(kMemlogStackModeChoices)}, |
Erik Chen | 3303fd023 | 2018-01-11 20:29:05 | [diff] [blame] | 4113 | |
Joe DeBlasio | 6d5806e1 | 2020-08-06 17:27:18 | [diff] [blame] | 4114 | {"omnibox-ui-sometimes-elide-to-registrable-domain", |
| 4115 | flag_descriptions::kOmniboxUIMaybeElideToRegistrableDomainName, |
| 4116 | flag_descriptions::kOmniboxUIMaybeElideToRegistrableDomainDescription, |
| 4117 | kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kMaybeElideToRegistrableDomain)}, |
Emily Stark | 4bca290ac | 2020-06-29 21:02:30 | [diff] [blame] | 4118 | |
Emily Stark | acd0828 | 2020-06-08 23:34:49 | [diff] [blame] | 4119 | {"omnibox-ui-reveal-steady-state-url-path-query-and-ref-on-hover", |
| 4120 | flag_descriptions:: |
| 4121 | kOmniboxUIRevealSteadyStateUrlPathQueryAndRefOnHoverName, |
| 4122 | flag_descriptions:: |
| 4123 | kOmniboxUIRevealSteadyStateUrlPathQueryAndRefOnHoverDescription, |
| 4124 | kOsDesktop, |
| 4125 | FEATURE_VALUE_TYPE(omnibox::kRevealSteadyStateUrlPathQueryAndRefOnHover)}, |
| 4126 | |
| 4127 | {"omnibox-ui-hide-steady-state-url-path-query-and-ref-on-interaction", |
| 4128 | flag_descriptions:: |
| 4129 | kOmniboxUIHideSteadyStateUrlPathQueryAndRefOnInteractionName, |
| 4130 | flag_descriptions:: |
| 4131 | kOmniboxUIHideSteadyStateUrlPathQueryAndRefOnInteractionDescription, |
| 4132 | kOsDesktop, |
| 4133 | FEATURE_VALUE_TYPE( |
| 4134 | omnibox::kHideSteadyStateUrlPathQueryAndRefOnInteraction)}, |
| 4135 | |
manuk | fdd9740 | 2020-07-22 18:19:17 | [diff] [blame] | 4136 | {"omnibox-max-zero-suggest-matches", |
| 4137 | flag_descriptions::kOmniboxMaxZeroSuggestMatchesName, |
| 4138 | flag_descriptions::kOmniboxMaxZeroSuggestMatchesDescription, |
| 4139 | kOsDesktop | kOsAndroid, |
| 4140 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMaxZeroSuggestMatches, |
| 4141 | kMaxZeroSuggestMatchesVariations, |
| 4142 | "OmniboxBundledExperimentV1")}, |
| 4143 | |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 4144 | {"omnibox-ui-max-autocomplete-matches", |
| 4145 | flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, |
Patrick Noland | 2b4968b | 2019-06-27 14:50:26 | [diff] [blame] | 4146 | flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, |
| 4147 | kOsDesktop | kOsAndroid, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 4148 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4149 | omnibox::kUIExperimentMaxAutocompleteMatches, |
| 4150 | kOmniboxUIMaxAutocompleteMatchesVariations, |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 4151 | "OmniboxBundledExperimentV1")}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 4152 | |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 4153 | {"omnibox-max-url-matches", flag_descriptions::kOmniboxMaxURLMatchesName, |
| 4154 | flag_descriptions::kOmniboxMaxURLMatchesDescription, kOsAll, |
| 4155 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxMaxURLMatches, |
| 4156 | kOmniboxMaxURLMatchesVariations, |
| 4157 | "OmniboxMaxURLMatchesVariations")}, |
| 4158 | |
manuk | 4e2979d | 2020-07-08 23:29:28 | [diff] [blame] | 4159 | {"omnibox-dynamic-max-autocomplete", |
| 4160 | flag_descriptions::kOmniboxDynamicMaxAutocompleteName, |
| 4161 | flag_descriptions::kOmniboxDynamicMaxAutocompleteDescription, kOsAll, |
| 4162 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kDynamicMaxAutocomplete, |
manukh | d187041 | 2020-09-15 03:42:14 | [diff] [blame] | 4163 | kOmniboxDynamicMaxAutocompleteVariations, |
| 4164 | "OmniboxBundledExperimentV1")}, |
| 4165 | |
| 4166 | {"omnibox-bubble-url-suggestions", |
| 4167 | flag_descriptions::kOmniboxBubbleUrlSuggestionsName, |
| 4168 | flag_descriptions::kOmniboxBubbleUrlSuggestionsDescription, kOsAll, |
| 4169 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kBubbleUrlSuggestions, |
| 4170 | kOmniboxBubbleUrlSuggestionsVariations, |
manuk | 4e2979d | 2020-07-08 23:29:28 | [diff] [blame] | 4171 | "OmniboxBundledExperimentV1")}, |
| 4172 | |
Justin Donnelly | 65c9e8b | 2017-10-01 05:15:01 | [diff] [blame] | 4173 | {"omnibox-ui-swap-title-and-url", |
| 4174 | flag_descriptions::kOmniboxUISwapTitleAndUrlName, |
| 4175 | flag_descriptions::kOmniboxUISwapTitleAndUrlDescription, kOsDesktop, |
| 4176 | FEATURE_VALUE_TYPE(omnibox::kUIExperimentSwapTitleAndUrl)}, |
| 4177 | |
Tomasz Wiszkowski | 947f6d0d | 2019-03-15 22:27:25 | [diff] [blame] | 4178 | {"omnibox-zero-suggestions-on-ntp", |
| 4179 | flag_descriptions::kOmniboxZeroSuggestionsOnNTPName, |
Moe Ahmadi | d8e09be | 2019-08-30 03:26:35 | [diff] [blame] | 4180 | flag_descriptions::kOmniboxZeroSuggestionsOnNTPDescription, |
| 4181 | kOsDesktop | kOsAndroid, |
Tomasz Wiszkowski | 947f6d0d | 2019-03-15 22:27:25 | [diff] [blame] | 4182 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnNTP)}, |
Tomasz Wiszkowski | 947f6d0d | 2019-03-15 22:27:25 | [diff] [blame] | 4183 | |
Moe Ahmadi | 4005ec9 | 2019-09-09 16:55:53 | [diff] [blame] | 4184 | {"omnibox-zero-suggestions-on-ntp-realbox", |
| 4185 | flag_descriptions::kOmniboxZeroSuggestionsOnNTPRealboxName, |
| 4186 | flag_descriptions::kOmniboxZeroSuggestionsOnNTPRealboxDescription, |
| 4187 | kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnNTPRealbox)}, |
| 4188 | |
Tommy Li | 1d03b9bf | 2019-09-23 23:46:34 | [diff] [blame] | 4189 | {"omnibox-zero-suggestions-on-serp", |
| 4190 | flag_descriptions::kOmniboxZeroSuggestionsOnSERPName, |
Tommy Li | 7c121be8 | 2019-11-13 00:11:27 | [diff] [blame] | 4191 | flag_descriptions::kOmniboxZeroSuggestionsOnSERPDescription, kOsAll, |
Tommy Li | 1d03b9bf | 2019-09-23 23:46:34 | [diff] [blame] | 4192 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnSERP)}, |
| 4193 | |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 4194 | {"omnibox-disable-instant-extended-limit", |
| 4195 | flag_descriptions::kOmniboxDisableInstantExtendedLimitName, |
| 4196 | flag_descriptions::kOmniboxDisableInstantExtendedLimitDescription, kOsAll, |
| 4197 | FEATURE_VALUE_TYPE(omnibox::kOmniboxDisableInstantExtendedLimit)}, |
| 4198 | |
yhanada | c5bff5b | 2017-05-18 06:37:09 | [diff] [blame] | 4199 | #if defined(OS_CHROMEOS) |
Gabrielle Palado | aebf7ca | 2019-01-16 07:07:06 | [diff] [blame] | 4200 | {"handwriting-gesture", flag_descriptions::kHandwritingGestureName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4201 | flag_descriptions::kHandwritingGestureDescription, kOsCrOS, |
Gabrielle Palado | aebf7ca | 2019-01-16 07:07:06 | [diff] [blame] | 4202 | FEATURE_VALUE_TYPE(features::kHandwritingGesture)}, |
Curtis McMullan | f2e45bf | 2020-08-26 09:51:39 | [diff] [blame] | 4203 | |
| 4204 | {"handwriting-gesture-editing", |
| 4205 | flag_descriptions::kHandwritingGestureEditingName, |
| 4206 | flag_descriptions::kHandwritingGestureEditingDescription, kOsCrOS, |
| 4207 | FEATURE_VALUE_TYPE(chromeos::features::kHandwritingGestureEditing)}, |
alemate | 2cb0d75 | 2017-08-11 05:22:16 | [diff] [blame] | 4208 | #endif // OS_CHROMEOS |
yhanada | c5bff5b | 2017-05-18 06:37:09 | [diff] [blame] | 4209 | |
Titouan Rigoudy | f619f546 | 2020-09-25 16:35:49 | [diff] [blame] | 4210 | {"block-insecure-private-network-requests", |
| 4211 | flag_descriptions::kBlockInsecurePrivateNetworkRequestsName, |
| 4212 | flag_descriptions::kBlockInsecurePrivateNetworkRequestsDescription, kOsAll, |
| 4213 | FEATURE_VALUE_TYPE(features::kBlockInsecurePrivateNetworkRequests)}, |
| 4214 | |
Lukasz Anforowicz | da91a231 | 2020-06-16 01:38:23 | [diff] [blame] | 4215 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
Lukasz Anforowicz | 846d790 | 2020-03-11 21:04:40 | [diff] [blame] | 4216 | {"cors-for-content-scripts", flag_descriptions::kCorsForContentScriptsName, |
| 4217 | flag_descriptions::kCorsForContentScriptsDescription, kOsDesktop, |
| 4218 | FEATURE_VALUE_TYPE(network::features::kCorbAllowlistAlsoAppliesToOorCors)}, |
| 4219 | |
Lukasz Anforowicz | da91a231 | 2020-06-16 01:38:23 | [diff] [blame] | 4220 | {"force-empty-CORB-and-CORS-allowlist", |
| 4221 | flag_descriptions::kForceEmptyCorbAndCorsAllowlistName, |
| 4222 | flag_descriptions::kForceEmptyCorbAndCorsAllowlistDescription, kOsDesktop, |
| 4223 | SINGLE_VALUE_TYPE(extensions::switches::kForceEmptyCorbAllowlist)}, |
| 4224 | #endif |
| 4225 | |
Arthur Hemery | 9e065b0 | 2020-05-12 13:30:32 | [diff] [blame] | 4226 | {"cross-origin-opener-policy-reporting", |
| 4227 | flag_descriptions::kCrossOriginOpenerPolicyReportingName, |
| 4228 | flag_descriptions::kCrossOriginOpenerPolicyReportingDescription, kOsAll, |
| 4229 | FEATURE_VALUE_TYPE(network::features::kCrossOriginOpenerPolicyReporting)}, |
| 4230 | |
arthursonzogni | 5f87dca | 2020-06-17 14:31:18 | [diff] [blame] | 4231 | {"cross-origin-opener-policy-access-reporting", |
| 4232 | flag_descriptions::kCrossOriginOpenerPolicyAccessReportingName, |
| 4233 | flag_descriptions::kCrossOriginOpenerPolicyAccessReportingDescription, |
| 4234 | kOsAll, |
| 4235 | FEATURE_VALUE_TYPE( |
| 4236 | network::features::kCrossOriginOpenerPolicyAccessReporting)}, |
| 4237 | |
Arthur Hemery | 0a338c80 | 2020-07-07 11:55:49 | [diff] [blame] | 4238 | {"cross-origin-isolated", flag_descriptions::kCrossOriginIsolatedName, |
| 4239 | flag_descriptions::kCrossOriginIsolatedDescription, kOsAll, |
| 4240 | FEATURE_VALUE_TYPE(network::features::kCrossOriginIsolated)}, |
| 4241 | |
Yutaka Hirano | aa0e62e | 2019-09-05 11:01:04 | [diff] [blame] | 4242 | {"disable-keepalive-fetch", flag_descriptions::kDisableKeepaliveFetchName, |
| 4243 | flag_descriptions::kDisableKeepaliveFetchDescription, kOsAll, |
| 4244 | FEATURE_VALUE_TYPE(network::features::kDisableKeepaliveFetch)}, |
| 4245 | |
Dominic Farolino | 7d3d6f1 | 2020-06-10 21:59:46 | [diff] [blame] | 4246 | {"delay-async-script-execution", |
| 4247 | flag_descriptions::kDelayAsyncScriptExecutionName, |
| 4248 | flag_descriptions::kDelayAsyncScriptExecutionDescription, kOsAll, |
| 4249 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kDelayAsyncScriptExecution, |
| 4250 | kDelayAsyncScriptExecutionFeatureVariations, |
| 4251 | "DelayAsyncScriptExecution")}, |
| 4252 | |
Dominic Farolino | 0dc1376 | 2020-08-26 19:54:50 | [diff] [blame] | 4253 | {"delay-competing-low-priority-requests", |
| 4254 | flag_descriptions::kDelayCompetingLowPriorityRequestsName, |
| 4255 | flag_descriptions::kDelayCompetingLowPriorityRequestsDescription, kOsAll, |
| 4256 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4257 | blink::features::kDelayCompetingLowPriorityRequests, |
| 4258 | kDelayCompetingLowPriorityRequestsFeatureVariations, |
| 4259 | "DelayCompetingLowPriorityRequests")}, |
| 4260 | |
OlivierLi | 95a0f6a5 | 2020-06-18 15:40:08 | [diff] [blame] | 4261 | {"intensive-wake-up-throttling", |
| 4262 | flag_descriptions::kIntensiveWakeUpThrottlingName, |
| 4263 | flag_descriptions::kIntensiveWakeUpThrottlingDescription, kOsAll, |
Francois Doray | 6cff4e0 | 2020-07-01 01:12:58 | [diff] [blame] | 4264 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kIntensiveWakeUpThrottling, |
| 4265 | kIntensiveWakeUpThrottlingVariations, |
| 4266 | "IntensiveWakeUpThrottling")}, |
OlivierLi | 95a0f6a5 | 2020-06-18 15:40:08 | [diff] [blame] | 4267 | |
Benoit Lize | ab08362c | 2017-07-19 14:50:54 | [diff] [blame] | 4268 | #if defined(OS_ANDROID) |
| 4269 | {"omnibox-spare-renderer", flag_descriptions::kOmniboxSpareRendererName, |
| 4270 | flag_descriptions::kOmniboxSpareRendererDescription, kOsAndroid, |
| 4271 | FEATURE_VALUE_TYPE(chrome::android::kOmniboxSpareRenderer)}, |
| 4272 | #endif |
| 4273 | |
Takashi Toyoshima | 14f64f56 | 2017-07-19 08:38:20 | [diff] [blame] | 4274 | #if defined(OS_CHROMEOS) |
Ahmed Fakhry | 4f567e69 | 2018-10-16 15:51:08 | [diff] [blame] | 4275 | {"double-tap-to-zoom-in-tablet-mode", |
| 4276 | flag_descriptions::kDoubleTapToZoomInTabletModeName, |
| 4277 | flag_descriptions::kDoubleTapToZoomInTabletModeDescription, kOsCrOS, |
| 4278 | FEATURE_VALUE_TYPE(features::kDoubleTapToZoomInTabletMode)}, |
Toni Barzic | 0f3440a6 | 2017-07-19 20:19:31 | [diff] [blame] | 4279 | #endif // defined(OS_CHROMEOS) |
| 4280 | |
Caroline Rising | 4147e914 | 2020-07-25 16:26:56 | [diff] [blame] | 4281 | {"read-later", flag_descriptions::kReadLaterName, |
Xing Liu | 57ca00f | 2020-09-16 23:47:27 | [diff] [blame] | 4282 | flag_descriptions::kReadLaterDescription, kOsDesktop | kOsAndroid, |
Caroline Rising | 4147e914 | 2020-07-25 16:26:56 | [diff] [blame] | 4283 | FEATURE_VALUE_TYPE(features::kReadLater)}, |
| 4284 | |
Taylor Bergquist | bcc1546 | 2018-12-05 00:36:56 | [diff] [blame] | 4285 | {"tab-groups", flag_descriptions::kTabGroupsName, |
| 4286 | flag_descriptions::kTabGroupsDescription, kOsDesktop, |
| 4287 | FEATURE_VALUE_TYPE(features::kTabGroups)}, |
| 4288 | |
Charlene Yan | 45ff10d9 | 2020-09-16 03:14:59 | [diff] [blame] | 4289 | {"tab-groups-auto-create", flag_descriptions::kTabGroupsAutoCreateName, |
| 4290 | flag_descriptions::kTabGroupsAutoCreateDescription, kOsDesktop, |
| 4291 | FEATURE_VALUE_TYPE(features::kTabGroupsAutoCreate)}, |
| 4292 | |
Charlene Yan | d4923529 | 2020-03-14 00:55:43 | [diff] [blame] | 4293 | {"tab-groups-collapse", flag_descriptions::kTabGroupsCollapseName, |
| 4294 | flag_descriptions::kTabGroupsCollapseDescription, kOsDesktop, |
| 4295 | FEATURE_VALUE_TYPE(features::kTabGroupsCollapse)}, |
| 4296 | |
Charlene Yan | 65e7cfe | 2020-07-28 18:55:29 | [diff] [blame] | 4297 | {"tab-groups-collapse-freezing", |
| 4298 | flag_descriptions::kTabGroupsCollapseFreezingName, |
| 4299 | flag_descriptions::kTabGroupsCollapseFreezingDescription, kOsDesktop, |
| 4300 | FEATURE_VALUE_TYPE(features::kTabGroupsCollapseFreezing)}, |
| 4301 | |
Charlene Yan | 5b80e05 | 2020-04-02 20:48:56 | [diff] [blame] | 4302 | {"tab-groups-feedback", flag_descriptions::kTabGroupsFeedbackName, |
| 4303 | flag_descriptions::kTabGroupsFeedbackDescription, kOsDesktop, |
| 4304 | FEATURE_VALUE_TYPE(features::kTabGroupsFeedback)}, |
| 4305 | |
Taylor Bergquist | 187a9f9 | 2019-08-12 22:13:15 | [diff] [blame] | 4306 | {"new-tabstrip-animation", flag_descriptions::kNewTabstripAnimationName, |
| 4307 | flag_descriptions::kNewTabstripAnimationDescription, kOsDesktop, |
| 4308 | FEATURE_VALUE_TYPE(features::kNewTabstripAnimation)}, |
| 4309 | |
Charlene Yan | 0ccd7f5 | 2019-04-12 23:20:59 | [diff] [blame] | 4310 | {"scrollable-tabstrip", flag_descriptions::kScrollableTabStripName, |
| 4311 | flag_descriptions::kScrollableTabStripDescription, kOsDesktop, |
| 4312 | FEATURE_VALUE_TYPE(features::kScrollableTabStrip)}, |
| 4313 | |
Dana Fried | 07b03c6 | 2019-07-31 19:20:56 | [diff] [blame] | 4314 | {"tab-outlines-in-low-contrast-themes", |
| 4315 | flag_descriptions::kTabOutlinesInLowContrastThemesName, |
| 4316 | flag_descriptions::kTabOutlinesInLowContrastThemesDescription, kOsDesktop, |
| 4317 | FEATURE_VALUE_TYPE(features::kTabOutlinesInLowContrastThemes)}, |
| 4318 | |
Dana Fried | ac7b8ff | 2019-09-18 21:27:57 | [diff] [blame] | 4319 | {"prominent-dark-mode-active-tab-title", |
| 4320 | flag_descriptions::kProminentDarkModeActiveTabTitleName, |
| 4321 | flag_descriptions::kProminentDarkModeActiveTabTitleDescription, kOsDesktop, |
| 4322 | FEATURE_VALUE_TYPE(features::kProminentDarkModeActiveTabTitle)}, |
| 4323 | |
Moe Ahmadi | 113a087 | 2020-08-10 21:07:40 | [diff] [blame] | 4324 | {"promo-browser-commands", flag_descriptions::kPromoBrowserCommandsName, |
| 4325 | flag_descriptions::kPromoBrowserCommandsDescription, kOsAll, |
| 4326 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kPromoBrowserCommands, |
| 4327 | kPromoBrowserCommandsVariations, |
| 4328 | "PromoBrowserCommands")}, |
Dmitry Skiba | 9c3efa7 | 2017-07-20 22:01:14 | [diff] [blame] | 4329 | #if defined(OS_ANDROID) |
Wei-Yin Chen (陳威尹) | 41b2241 | 2017-07-21 02:51:18 | [diff] [blame] | 4330 | {"enable-reader-mode-in-cct", flag_descriptions::kReaderModeInCCTName, |
| 4331 | flag_descriptions::kReaderModeInCCTDescription, kOsAndroid, |
| 4332 | FEATURE_VALUE_TYPE(chrome::android::kReaderModeInCCT)}, |
| 4333 | #endif // !defined(OS_ANDROID) |
| 4334 | |
Amber Won | 478561d | 2017-08-19 01:02:59 | [diff] [blame] | 4335 | {"click-to-open-pdf", flag_descriptions::kClickToOpenPDFName, |
| 4336 | flag_descriptions::kClickToOpenPDFDescription, kOsAll, |
| 4337 | FEATURE_VALUE_TYPE(features::kClickToOpenPDFPlaceholder)}, |
| 4338 | |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 4339 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \ |
| 4340 | defined(OS_CHROMEOS) |
Dave Tapuska | dd43469d | 2017-08-22 22:15:53 | [diff] [blame] | 4341 | {"direct-manipulation-stylus", |
| 4342 | flag_descriptions::kDirectManipulationStylusName, |
lanwei | 83f5445 | 2018-06-21 23:51:04 | [diff] [blame] | 4343 | flag_descriptions::kDirectManipulationStylusDescription, |
| 4344 | kOsWin | kOsMac | kOsLinux, |
Dave Tapuska | dd43469d | 2017-08-22 22:15:53 | [diff] [blame] | 4345 | FEATURE_VALUE_TYPE(features::kDirectManipulationStylus)}, |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 4346 | #endif // defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || |
| 4347 | // defined(OS_CHROMEOS) |
Dave Tapuska | dd43469d | 2017-08-22 22:15:53 | [diff] [blame] | 4348 | |
Chris Pickel | 3a227ae6 | 2017-08-24 10:47:26 | [diff] [blame] | 4349 | #if !defined(OS_ANDROID) |
Dan Beam | a76152f4 | 2019-09-24 03:58:08 | [diff] [blame] | 4350 | {"ntp-dismiss-promos", flag_descriptions::kNtpDismissPromosName, |
| 4351 | flag_descriptions::kNtpDismissPromosDescription, kOsDesktop, |
Dan Beam | f1e9d2ff | 2019-11-05 19:07:18 | [diff] [blame] | 4352 | FEATURE_VALUE_TYPE(ntp_features::kDismissPromos)}, |
Dan Beam | a76152f4 | 2019-09-24 03:58:08 | [diff] [blame] | 4353 | |
Esmael El-Moslimany | 77beb94d | 2020-05-01 23:12:36 | [diff] [blame] | 4354 | {"ntp-iframe-one-google-bar", flag_descriptions::kNtpIframeOneGoogleBarName, |
| 4355 | flag_descriptions::kNtpIframeOneGoogleBarDescription, kOsDesktop, |
| 4356 | FEATURE_VALUE_TYPE(ntp_features::kIframeOneGoogleBar)}, |
| 4357 | |
Esmael El-Moslimany | ba82f69 | 2020-05-20 23:34:34 | [diff] [blame] | 4358 | {"ntp-one-google-bar-modal-overlays", |
| 4359 | flag_descriptions::kNtpOneGoogleBarModalOverlaysName, |
| 4360 | flag_descriptions::kNtpOneGoogleBarModalOverlaysDescription, kOsDesktop, |
| 4361 | FEATURE_VALUE_TYPE(ntp_features::kOneGoogleBarModalOverlays)}, |
| 4362 | |
Dan Beam | 697798fa | 2019-08-28 03:38:07 | [diff] [blame] | 4363 | {"ntp-realbox", flag_descriptions::kNtpRealboxName, |
| 4364 | flag_descriptions::kNtpRealboxDescription, kOsDesktop, |
Dan Beam | f1e9d2ff | 2019-11-05 19:07:18 | [diff] [blame] | 4365 | FEATURE_VALUE_TYPE(ntp_features::kRealbox)}, |
Esmael El-Moslimany | 3cb921e | 2019-09-12 17:50:28 | [diff] [blame] | 4366 | |
Dan Beam | 6c42d2c | 2019-11-12 22:17:08 | [diff] [blame] | 4367 | {"ntp-realbox-match-omnibox-theme", |
| 4368 | flag_descriptions::kNtpRealboxMatchOmniboxThemeName, |
| 4369 | flag_descriptions::kNtpRealboxMatchOmniboxThemeDescription, kOsDesktop, |
| 4370 | FEATURE_VALUE_TYPE(ntp_features::kRealboxMatchOmniboxTheme)}, |
| 4371 | |
Ramya Nagarajan | 0c3954a6 | 2020-08-05 22:44:14 | [diff] [blame] | 4372 | {"ntp-repeatable-queries", flag_descriptions::kNtpRepeatableQueriesName, |
| 4373 | flag_descriptions::kNtpRepeatableQueriesDescription, kOsDesktop, |
| 4374 | FEATURE_VALUE_TYPE(ntp_features::kNtpRepeatableQueries)}, |
| 4375 | |
Esmael El-Moslimany | 3b70c87 | 2020-01-13 18:47:03 | [diff] [blame] | 4376 | {"ntp-webui", flag_descriptions::kNtpWebUIName, |
| 4377 | flag_descriptions::kNtpWebUIDescription, kOsDesktop, |
| 4378 | FEATURE_VALUE_TYPE(ntp_features::kWebUI)}, |
Tibor Goldschwendt | 16a63cb | 2020-08-04 19:08:15 | [diff] [blame] | 4379 | |
| 4380 | {"ntp-modules", flag_descriptions::kNtpModulesName, |
| 4381 | flag_descriptions::kNtpModulesDescription, kOsDesktop, |
| 4382 | FEATURE_VALUE_TYPE(ntp_features::kModules)}, |
Tibor Goldschwendt | 08c6b88 | 2020-10-01 03:09:32 | [diff] [blame] | 4383 | |
| 4384 | {"ntp-shopping-tasks-module", |
| 4385 | flag_descriptions::kNtpShoppingTasksModuleName, |
| 4386 | flag_descriptions::kNtpShoppingTasksModuleDescription, kOsDesktop, |
| 4387 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpShoppingTasksModule, |
| 4388 | kNtpShoppingTasksModuleVariations, |
| 4389 | "NtpShoppingTasksModule")}, |
Chris Pickel | 3a227ae6 | 2017-08-24 10:47:26 | [diff] [blame] | 4390 | #endif // !defined(OS_ANDROID) |
| 4391 | |
Tomas Popela | afffa97 | 2018-11-13 20:42:05 | [diff] [blame] | 4392 | #if defined(DCHECK_IS_CONFIGURABLE) |
Wez | a6ca5b9 | 2018-03-23 19:03:07 | [diff] [blame] | 4393 | {"dcheck-is-fatal", flag_descriptions::kDcheckIsFatalName, |
| 4394 | flag_descriptions::kDcheckIsFatalDescription, kOsWin, |
| 4395 | FEATURE_VALUE_TYPE(base::kDCheckIsFatalFeature)}, |
Tomas Popela | afffa97 | 2018-11-13 20:42:05 | [diff] [blame] | 4396 | #endif // defined(DCHECK_IS_CONFIGURABLE) |
Wez | 6656c57 | 2017-08-29 22:29:58 | [diff] [blame] | 4397 | |
F#m | 59d036e | 2017-09-13 07:22:17 | [diff] [blame] | 4398 | {"enable-pixel-canvas-recording", |
| 4399 | flag_descriptions::kEnablePixelCanvasRecordingName, |
Bret Sepulveda | 4dccec9 | 2018-03-31 00:02:24 | [diff] [blame] | 4400 | flag_descriptions::kEnablePixelCanvasRecordingDescription, kOsDesktop, |
F#m | 59d036e | 2017-09-13 07:22:17 | [diff] [blame] | 4401 | FEATURE_VALUE_TYPE(features::kEnablePixelCanvasRecording)}, |
Sammie Quon | ef6b488 | 2017-09-14 16:50:05 | [diff] [blame] | 4402 | |
Xing Liu | 5400a00 | 2017-09-15 21:48:29 | [diff] [blame] | 4403 | {"enable-parallel-downloading", flag_descriptions::kParallelDownloadingName, |
| 4404 | flag_descriptions::kParallelDownloadingDescription, kOsAll, |
Min Qin | d461ee46 | 2018-03-09 19:39:15 | [diff] [blame] | 4405 | FEATURE_VALUE_TYPE(download::features::kParallelDownloading)}, |
Xing Liu | 5400a00 | 2017-09-15 21:48:29 | [diff] [blame] | 4406 | |
Ella Ge | b58eed1 | 2019-09-05 23:37:01 | [diff] [blame] | 4407 | {"enable-pointer-lock-options", flag_descriptions::kPointerLockOptionsName, |
| 4408 | flag_descriptions::kPointerLockOptionsDescription, kOsDesktop, |
| 4409 | FEATURE_VALUE_TYPE(features::kPointerLockOptions)}, |
| 4410 | |
Miriam Gershenson | 8cf139722 | 2018-01-23 22:48:29 | [diff] [blame] | 4411 | #if defined(OS_ANDROID) |
| 4412 | {"enable-async-dns", flag_descriptions::kAsyncDnsName, |
| 4413 | flag_descriptions::kAsyncDnsDescription, kOsAndroid, |
| 4414 | FEATURE_VALUE_TYPE(features::kAsyncDns)}, |
| 4415 | #endif // defined(OS_ANDROID) |
| 4416 | |
Wei-Yin Chen (陳威尹) | 8068345 | 2017-10-02 19:08:25 | [diff] [blame] | 4417 | #if defined(OS_ANDROID) |
Shakti Sahu | 07b05271 | 2019-04-02 00:39:37 | [diff] [blame] | 4418 | {"download-auto-resumption-native", |
| 4419 | flag_descriptions::kDownloadAutoResumptionNativeName, |
| 4420 | flag_descriptions::kDownloadAutoResumptionNativeDescription, kOsAndroid, |
| 4421 | FEATURE_VALUE_TYPE(download::features::kDownloadAutoResumptionNative)}, |
Xing Liu | 13e5ec1 | 2020-05-08 17:32:34 | [diff] [blame] | 4422 | |
| 4423 | {"download-later", flag_descriptions::kDownloadLaterName, |
| 4424 | flag_descriptions::kDownloadLaterDescription, kOsAndroid, |
| 4425 | FEATURE_VALUE_TYPE(download::features::kDownloadLater)}, |
Xing Liu | e36464f4 | 2020-07-14 17:25:03 | [diff] [blame] | 4426 | |
| 4427 | {"download-later-debug-on-wifi", |
| 4428 | flag_descriptions::kDownloadLaterDebugOnWifiName, |
| 4429 | flag_descriptions::kDownloadLaterDebugOnWifiNameDescription, kOsAndroid, |
| 4430 | SINGLE_VALUE_TYPE(download::switches::kDownloadLaterDebugOnWifi)}, |
Shakti Sahu | 07b05271 | 2019-04-02 00:39:37 | [diff] [blame] | 4431 | #endif |
| 4432 | |
Shakti Sahu | 5a046f6 | 2019-03-12 19:25:34 | [diff] [blame] | 4433 | {"enable-new-download-backend", |
| 4434 | flag_descriptions::kEnableNewDownloadBackendName, |
| 4435 | flag_descriptions::kEnableNewDownloadBackendDescription, kOsAll, |
| 4436 | FEATURE_VALUE_TYPE( |
| 4437 | download::features::kUseDownloadOfflineContentProvider)}, |
| 4438 | |
Dan Harrington | 541db9e | 2018-07-30 18:36:30 | [diff] [blame] | 4439 | #if defined(OS_ANDROID) |
Hesen Zhang | a555a8d7 | 2019-10-18 00:05:37 | [diff] [blame] | 4440 | {"update-notification-scheduling-integration", |
| 4441 | flag_descriptions::kUpdateNotificationSchedulingIntegrationName, |
| 4442 | flag_descriptions::kUpdateNotificationSchedulingIntegrationDescription, |
| 4443 | kOsAndroid, |
| 4444 | FEATURE_VALUE_TYPE( |
| 4445 | chrome::android::kUpdateNotificationSchedulingIntegration)}, |
| 4446 | #endif |
| 4447 | |
Hesen Zhang | 26797090a | 2020-02-18 23:50:24 | [diff] [blame] | 4448 | #if defined(OS_ANDROID) |
Hesen Zhang | 0e22ac6 | 2020-03-10 17:01:44 | [diff] [blame] | 4449 | {"prefetch-notification-scheduling-integration", |
| 4450 | flag_descriptions::kPrefetchNotificationSchedulingIntegrationName, |
| 4451 | flag_descriptions::kPrefetchNotificationSchedulingIntegrationDescription, |
| 4452 | kOsAndroid, |
| 4453 | FEATURE_VALUE_TYPE( |
| 4454 | chrome::android::kPrefetchNotificationSchedulingIntegration)}, |
| 4455 | #endif |
| 4456 | |
| 4457 | #if defined(OS_ANDROID) |
Hesen Zhang | 26797090a | 2020-02-18 23:50:24 | [diff] [blame] | 4458 | {"update-notification-scheduling-show-immediately", |
| 4459 | flag_descriptions::kUpdateNotificationServiceImmediateShowOptionName, |
| 4460 | flag_descriptions:: |
| 4461 | kUpdateNotificationServiceImmediateShowOptionDescription, |
| 4462 | kOsAndroid, |
| 4463 | FEATURE_VALUE_TYPE( |
| 4464 | chrome::android:: |
| 4465 | kUpdateNotificationScheduleServiceImmediateShowOption)}, |
| 4466 | #endif |
| 4467 | |
Caroline Rising | e121c2b | 2018-12-03 20:19:29 | [diff] [blame] | 4468 | {"tab-hover-cards", flag_descriptions::kTabHoverCardsName, |
| 4469 | flag_descriptions::kTabHoverCardsDescription, kOsDesktop, |
Caroline Rising | a14701de | 2019-03-18 18:54:55 | [diff] [blame] | 4470 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kTabHoverCards, |
| 4471 | kTabHoverCardsFeatureVariations, |
| 4472 | "TabHoverCards")}, |
Caroline Rising | e121c2b | 2018-12-03 20:19:29 | [diff] [blame] | 4473 | |
Dana Fried | acaa8ef5 | 2019-02-08 02:20:35 | [diff] [blame] | 4474 | {"tab-hover-card-images", flag_descriptions::kTabHoverCardImagesName, |
| 4475 | flag_descriptions::kTabHoverCardImagesDescription, kOsDesktop, |
| 4476 | FEATURE_VALUE_TYPE(features::kTabHoverCardImages)}, |
| 4477 | |
Shubhie Panicker | 56c99a2 | 2018-03-21 00:22:28 | [diff] [blame] | 4478 | {"stop-non-timers-in-background", |
| 4479 | flag_descriptions::kStopNonTimersInBackgroundName, |
Scott Haseley | a37af6ea | 2018-07-31 22:53:01 | [diff] [blame] | 4480 | flag_descriptions::kStopNonTimersInBackgroundDescription, kOsAll, |
Scott Haseley | 7757f6c | 2018-08-03 14:33:23 | [diff] [blame] | 4481 | FEATURE_VALUE_TYPE(blink::features::kStopNonTimersInBackground)}, |
Shubhie Panicker | 56c99a2 | 2018-03-21 00:22:28 | [diff] [blame] | 4482 | |
Shubhie Panicker | faf082ed | 2018-01-03 04:49:15 | [diff] [blame] | 4483 | {"stop-in-background", flag_descriptions::kStopInBackgroundName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4484 | flag_descriptions::kStopInBackgroundDescription, kOsAndroid, |
Scott Haseley | 8eefdcd | 2018-08-22 16:50:19 | [diff] [blame] | 4485 | FEATURE_VALUE_TYPE(blink::features::kStopInBackground)}, |
Shubhie Panicker | faf082ed | 2018-01-03 04:49:15 | [diff] [blame] | 4486 | |
Lexi Stavrakos | 094fd64 | 2020-06-17 23:26:43 | [diff] [blame] | 4487 | {"enable-storage-pressure-event", |
| 4488 | flag_descriptions::kStoragePressureEventName, |
| 4489 | flag_descriptions::kStoragePressureEventDescription, kOsAll, |
Lexi Stavrakos | d9e64e1 | 2020-07-21 21:52:10 | [diff] [blame] | 4490 | FEATURE_VALUE_TYPE(storage::features::kStoragePressureEvent)}, |
Lexi Stavrakos | 094fd64 | 2020-06-17 23:26:43 | [diff] [blame] | 4491 | |
Jarryd | 5b6e5ce | 2019-08-23 19:15:48 | [diff] [blame] | 4492 | {"enable-storage-pressure-ui", flag_descriptions::kStoragePressureUIName, |
| 4493 | flag_descriptions::kStoragePressureUIDescription, kOsAll, |
| 4494 | FEATURE_VALUE_TYPE(features::kStoragePressureUI)}, |
| 4495 | |
Jarryd | c3639ac | 2020-04-09 17:05:39 | [diff] [blame] | 4496 | {"installed-apps-in-cbd", flag_descriptions::kInstalledAppsInCbdName, |
| 4497 | flag_descriptions::kInstalledAppsInCbdDescription, kOsDesktop, |
| 4498 | FEATURE_VALUE_TYPE(features::kInstalledAppsInCbd)}, |
| 4499 | |
Bernhard Bauer | 5533f991 | 2017-11-06 17:56:02 | [diff] [blame] | 4500 | {"enable-network-logging-to-file", |
| 4501 | flag_descriptions::kEnableNetworkLoggingToFileName, |
| 4502 | flag_descriptions::kEnableNetworkLoggingToFileDescription, kOsAll, |
John Abd-El-Malek | 91243b3 | 2018-01-19 06:08:33 | [diff] [blame] | 4503 | SINGLE_VALUE_TYPE(network::switches::kLogNetLog)}, |
Becca Hughes | 59c05b4 | 2017-11-03 13:11:58 | [diff] [blame] | 4504 | |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 4505 | {"enable-mark-http-as", flag_descriptions::kMarkHttpAsName, |
| 4506 | flag_descriptions::kMarkHttpAsDescription, kOsAll, |
| 4507 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4508 | security_state::features::kMarkHttpAsFeature, |
| 4509 | kMarkHttpAsFeatureVariations, |
Christopher Thompson | 46cf6f8 | 2019-03-06 05:09:48 | [diff] [blame] | 4510 | "HTTPReallyBadFinal")}, |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 4511 | |
Adam Langley | 7542a7b | 2019-10-04 02:00:55 | [diff] [blame] | 4512 | {"enable-web-authentication-cable-v2-support", |
| 4513 | flag_descriptions::kEnableWebAuthenticationCableV2SupportName, |
| 4514 | flag_descriptions::kEnableWebAuthenticationCableV2SupportDescription, |
Adam Langley | 707e8c2 | 2020-03-10 00:59:07 | [diff] [blame] | 4515 | kOsDesktop | kOsAndroid, FEATURE_VALUE_TYPE(device::kWebAuthPhoneSupport)}, |
Martin Kreichgauer | cd786f6 | 2019-01-24 05:52:58 | [diff] [blame] | 4516 | |
Yicheng Li | 0a78f46 | 2020-08-14 00:08:12 | [diff] [blame] | 4517 | #if defined(OS_CHROMEOS) |
| 4518 | {"enable-web-authentication-chromeos-authenticator", |
| 4519 | flag_descriptions::kEnableWebAuthenticationChromeOSAuthenticatorName, |
| 4520 | flag_descriptions:: |
| 4521 | kEnableWebAuthenticationChromeOSAuthenticatorDescription, |
| 4522 | kOsCrOS, FEATURE_VALUE_TYPE(device::kWebAuthCrosPlatformAuthenticator)}, |
| 4523 | #endif |
| 4524 | |
Jiahe Zhang | 6a55d9ba | 2019-12-14 02:59:46 | [diff] [blame] | 4525 | {"use-preferred-interval-for-video", |
| 4526 | flag_descriptions::kUsePreferredIntervalForVideoName, |
Khushal Sagar | 0b3a2a6 | 2020-03-20 23:24:47 | [diff] [blame] | 4527 | flag_descriptions::kUsePreferredIntervalForVideoDescription, kOsDesktop, |
Jiahe Zhang | 6a55d9ba | 2019-12-14 02:59:46 | [diff] [blame] | 4528 | FEATURE_VALUE_TYPE(features::kUsePreferredIntervalForVideo)}, |
| 4529 | |
Khushal Sagar | 79d4091 | 2020-07-13 22:24:06 | [diff] [blame] | 4530 | {"force-preferred-interval-for-video", |
| 4531 | flag_descriptions::kForcePreferredIntervalForVideoName, |
| 4532 | flag_descriptions::kForcePreferredIntervalForVideoDescription, kOsDesktop, |
| 4533 | FEATURE_VALUE_TYPE(features::kForcePreferredIntervalForVideo)}, |
| 4534 | |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 4535 | #if BUILDFLAG(ENABLE_PDF) |
Ankit Kumar 🌪️ | cc71c02a | 2020-08-06 03:44:30 | [diff] [blame] | 4536 | {"accessible-pdf-form", flag_descriptions::kAccessiblePDFFormName, |
| 4537 | flag_descriptions::kAccessiblePDFFormDescription, kOsDesktop, |
| 4538 | FEATURE_VALUE_TYPE(chrome_pdf::features::kAccessiblePDFForm)}, |
| 4539 | |
Lei Zhang | 802201c | 2018-11-14 18:16:28 | [diff] [blame] | 4540 | {"pdf-form-save", flag_descriptions::kPdfFormSaveName, |
| 4541 | flag_descriptions::kPdfFormSaveDescription, kOsDesktop, |
| 4542 | FEATURE_VALUE_TYPE(chrome_pdf::features::kSaveEditedPDFForm)}, |
Hui Yingst | d6b981c | 2020-01-31 14:46:56 | [diff] [blame] | 4543 | |
Daniel Hosseinian | 7dab994 | 2020-05-30 04:19:42 | [diff] [blame] | 4544 | {"pdf-honor-js-content-settings", |
| 4545 | flag_descriptions::kPdfHonorJsContentSettingsName, |
| 4546 | flag_descriptions::kPdfHonorJsContentSettingsDescription, kOsDesktop, |
| 4547 | FEATURE_VALUE_TYPE(chrome_pdf::features::kPdfHonorJsContentSettings)}, |
| 4548 | |
rbpotter | 35f29f1 | 2020-05-20 20:58:13 | [diff] [blame] | 4549 | {"pdf-viewer-update", flag_descriptions::kPdfViewerUpdateName, |
| 4550 | flag_descriptions::kPdfViewerUpdateDescription, kOsDesktop, |
| 4551 | FEATURE_VALUE_TYPE(chrome_pdf::features::kPDFViewerUpdate)}, |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 4552 | #endif // BUILDFLAG(ENABLE_PDF) |
Lei Zhang | 802201c | 2018-11-14 18:16:28 | [diff] [blame] | 4553 | |
Wei Li | 189867e | 2018-04-28 03:07:04 | [diff] [blame] | 4554 | #if BUILDFLAG(ENABLE_PRINTING) |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 4555 | #if defined(OS_MAC) |
Daniel Hosseinian | 159cb3d | 2020-03-13 03:02:02 | [diff] [blame] | 4556 | {"cups-ipp-printing-backend", |
| 4557 | flag_descriptions::kCupsIppPrintingBackendName, |
| 4558 | flag_descriptions::kCupsIppPrintingBackendDescription, kOsMac, |
| 4559 | FEATURE_VALUE_TYPE(printing::features::kCupsIppPrintingBackend)}, |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 4560 | #endif // defined(OS_MAC) |
Daniel Hosseinian | 159cb3d | 2020-03-13 03:02:02 | [diff] [blame] | 4561 | |
Alan Screen | 574ffd66 | 2019-11-21 22:38:53 | [diff] [blame] | 4562 | #if defined(OS_WIN) |
Lei Zhang | a6a8a49 | 2020-05-14 03:55:03 | [diff] [blame] | 4563 | {"print-with-reduced-rasterization", |
| 4564 | flag_descriptions::kPrintWithReducedRasterizationName, |
| 4565 | flag_descriptions::kPrintWithReducedRasterizationDescription, kOsWin, |
| 4566 | FEATURE_VALUE_TYPE(printing::features::kPrintWithReducedRasterization)}, |
| 4567 | |
Alan Screen | 574ffd66 | 2019-11-21 22:38:53 | [diff] [blame] | 4568 | {"use-xps-for-printing", flag_descriptions::kUseXpsForPrintingName, |
| 4569 | flag_descriptions::kUseXpsForPrintingDescription, kOsWin, |
| 4570 | FEATURE_VALUE_TYPE(printing::features::kUseXpsForPrinting)}, |
Alan Screen | 4938811 | 2019-12-13 23:34:21 | [diff] [blame] | 4571 | |
| 4572 | {"use-xps-for-printing-from-pdf", |
| 4573 | flag_descriptions::kUseXpsForPrintingFromPdfName, |
| 4574 | flag_descriptions::kUseXpsForPrintingFromPdfDescription, kOsWin, |
| 4575 | FEATURE_VALUE_TYPE(printing::features::kUseXpsForPrintingFromPdf)}, |
Hesen Zhang | eb01d40 | 2019-12-16 23:15:39 | [diff] [blame] | 4576 | #endif // defined(OS_WIN) |
| 4577 | #endif // BUILDFLAG(ENABLE_PRINTING) |
Wei Li | 790e7a857 | 2018-03-23 01:31:55 | [diff] [blame] | 4578 | |
Parastoo Geranmayeh | 0f5ebbc | 2019-01-21 21:01:09 | [diff] [blame] | 4579 | {"autofill-profile-client-validation", |
| 4580 | flag_descriptions::kAutofillProfileClientValidationName, |
| 4581 | flag_descriptions::kAutofillProfileClientValidationDescription, kOsAll, |
| 4582 | FEATURE_VALUE_TYPE(autofill::features::kAutofillProfileClientValidation)}, |
| 4583 | |
Parastoo Geranmayeh | 25fccec2 | 2019-01-29 18:38:13 | [diff] [blame] | 4584 | {"autofill-profile-server-validation", |
| 4585 | flag_descriptions::kAutofillProfileServerValidationName, |
| 4586 | flag_descriptions::kAutofillProfileServerValidationDescription, kOsAll, |
| 4587 | FEATURE_VALUE_TYPE(autofill::features::kAutofillProfileServerValidation)}, |
| 4588 | |
Moe Ahmadi | d3ddfcb | 2018-04-20 19:51:08 | [diff] [blame] | 4589 | {"autofill-restrict-formless-form-extraction", |
| 4590 | flag_descriptions::kAutofillRestrictUnownedFieldsToFormlessCheckoutName, |
| 4591 | flag_descriptions:: |
| 4592 | kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4593 | kOsAll, |
Moe Ahmadi | d3ddfcb | 2018-04-20 19:51:08 | [diff] [blame] | 4594 | FEATURE_VALUE_TYPE( |
| 4595 | autofill::features::kAutofillRestrictUnownedFieldsToFormlessCheckout)}, |
| 4596 | |
Qiaofei Ye | beb9a23 | 2020-07-22 23:47:04 | [diff] [blame] | 4597 | #if defined(OS_WIN) |
| 4598 | {"enable-windows-gaming-input-data-fetcher", |
| 4599 | flag_descriptions::kEnableWindowsGamingInputDataFetcherName, |
| 4600 | flag_descriptions::kEnableWindowsGamingInputDataFetcherDescription, kOsWin, |
| 4601 | FEATURE_VALUE_TYPE(features::kEnableWindowsGamingInputDataFetcher)}, |
| 4602 | #endif |
| 4603 | |
Ryan Landay | 4242dbc2 | 2018-04-04 01:47:33 | [diff] [blame] | 4604 | #if defined(OS_ANDROID) |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 4605 | {"enable-start-surface", flag_descriptions::kStartSurfaceAndroidName, |
| 4606 | flag_descriptions::kStartSurfaceAndroidDescription, kOsAndroid, |
| 4607 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kStartSurfaceAndroid, |
| 4608 | kStartSurfaceAndroidVariations, |
Mei Liang | e569c27 | 2020-03-06 02:41:59 | [diff] [blame] | 4609 | "ChromeStart")}, |
gogerald | 939debf | 2019-07-16 17:31:48 | [diff] [blame] | 4610 | |
Wei-Yin Chen (陳威尹) | 50c2f46 | 2020-05-14 07:27:42 | [diff] [blame] | 4611 | {"enable-instant-start", flag_descriptions::kInstantStartName, |
| 4612 | flag_descriptions::kInstantStartDescription, kOsAndroid, |
| 4613 | FEATURE_VALUE_TYPE(chrome::android::kInstantStart)}, |
| 4614 | |
David Maunder | 915c7ef | 2019-09-20 16:22:08 | [diff] [blame] | 4615 | {"enable-close-tab-suggestions", |
| 4616 | flag_descriptions::kCloseTabSuggestionsName, |
| 4617 | flag_descriptions::kCloseTabSuggestionsDescription, kOsAndroid, |
| 4618 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCloseTabSuggestions, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 4619 | kCloseTabSuggestionsStaleVariations, |
David Maunder | 915c7ef | 2019-09-20 16:22:08 | [diff] [blame] | 4620 | "CloseSuggestionsTab")}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 4621 | |
David Maunder | 8cf7fd8 | 2020-08-20 19:31:54 | [diff] [blame] | 4622 | {"enable-critical-persisted-tab-data", |
| 4623 | flag_descriptions::kCriticalPersistedTabDataName, |
| 4624 | flag_descriptions::kCriticalPersistedTabDataDescription, kOsAndroid, |
| 4625 | FEATURE_VALUE_TYPE(chrome::android::kCriticalPersistedTabData)}, |
| 4626 | |
Ryan Landay | 4242dbc2 | 2018-04-04 01:47:33 | [diff] [blame] | 4627 | {"enable-horizontal-tab-switcher", |
| 4628 | flag_descriptions::kHorizontalTabSwitcherAndroidName, |
| 4629 | flag_descriptions::kHorizontalTabSwitcherAndroidDescription, kOsAndroid, |
| 4630 | FEATURE_VALUE_TYPE(chrome::android::kHorizontalTabSwitcherAndroid)}, |
Yusuf Ozuysal | 67f05a0 | 2019-02-15 19:30:52 | [diff] [blame] | 4631 | |
| 4632 | {"enable-tab-grid-layout", flag_descriptions::kTabGridLayoutAndroidName, |
| 4633 | flag_descriptions::kTabGridLayoutAndroidDescription, kOsAndroid, |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 4634 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabGridLayoutAndroid, |
| 4635 | kTabGridLayoutAndroidVariations, |
| 4636 | "TabGridLayoutAndroid")}, |
Yusuf Ozuysal | 436d90b8 | 2019-03-15 22:17:58 | [diff] [blame] | 4637 | |
| 4638 | {"enable-tab-groups", flag_descriptions::kTabGroupsAndroidName, |
| 4639 | flag_descriptions::kTabGroupsAndroidDescription, kOsAndroid, |
| 4640 | FEATURE_VALUE_TYPE(chrome::android::kTabGroupsAndroid)}, |
Ryan Landay | 4242dbc2 | 2018-04-04 01:47:33 | [diff] [blame] | 4641 | |
Yue Zhang | e561010 | 2019-11-01 19:46:39 | [diff] [blame] | 4642 | {"enable-tab-groups-continuation", |
| 4643 | flag_descriptions::kTabGroupsContinuationAndroidName, |
| 4644 | flag_descriptions::kTabGroupsContinuationAndroidDescription, kOsAndroid, |
| 4645 | FEATURE_VALUE_TYPE(chrome::android::kTabGroupsContinuationAndroid)}, |
| 4646 | |
Yue Zhang | 2834d6b | 2019-05-01 17:30:28 | [diff] [blame] | 4647 | {"enable-tab-groups-ui-improvements", |
| 4648 | flag_descriptions::kTabGroupsUiImprovementsAndroidName, |
| 4649 | flag_descriptions::kTabGroupsUiImprovementsAndroidDescription, kOsAndroid, |
| 4650 | FEATURE_VALUE_TYPE(chrome::android::kTabGroupsUiImprovementsAndroid)}, |
| 4651 | |
Matt Simmons | 2048b2a | 2018-12-20 20:12:56 | [diff] [blame] | 4652 | {"enable-tab-switcher-on-return", |
| 4653 | flag_descriptions::kTabSwitcherOnReturnName, |
| 4654 | flag_descriptions::kTabSwitcherOnReturnDescription, kOsAndroid, |
| 4655 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabSwitcherOnReturn, |
| 4656 | kTabSwitcherOnReturnVariations, |
Mei Liang | e569c27 | 2020-03-06 02:41:59 | [diff] [blame] | 4657 | "ChromeStart")}, |
Matt Simmons | 1fd0c9f | 2019-04-15 19:08:22 | [diff] [blame] | 4658 | |
Wei-Yin Chen (陳威尹) | 10222249 | 2019-05-22 19:27:09 | [diff] [blame] | 4659 | {"enable-tab-to-gts-animation", |
| 4660 | flag_descriptions::kTabToGTSAnimationAndroidName, |
| 4661 | flag_descriptions::kTabToGTSAnimationAndroidDescription, kOsAndroid, |
| 4662 | FEATURE_VALUE_TYPE(chrome::android::kTabToGTSAnimation)}, |
| 4663 | |
Matt Simmons | 1fd0c9f | 2019-04-15 19:08:22 | [diff] [blame] | 4664 | {"enable-tab-engagement-reporting", |
| 4665 | flag_descriptions::kTabEngagementReportingName, |
| 4666 | flag_descriptions::kTabEngagementReportingDescription, kOsAndroid, |
| 4667 | FEATURE_VALUE_TYPE(chrome::android::kTabEngagementReportingAndroid)}, |
Yue Zhang | e9e90c5a | 2019-11-26 21:44:03 | [diff] [blame] | 4668 | |
| 4669 | {"enable-duet-tabstrip-integration", |
| 4670 | flag_descriptions::kDuetTabStripIntegrationAndroidName, |
| 4671 | flag_descriptions::kDuetTabStripIntegrationAndroidDescription, kOsAndroid, |
| 4672 | FEATURE_VALUE_TYPE(chrome::android::kDuetTabStripIntegrationAndroid)}, |
Yue Zhang | b4d92327 | 2020-05-01 03:42:53 | [diff] [blame] | 4673 | |
| 4674 | {"enable-conditional-tabstrip", |
| 4675 | flag_descriptions::kConditionalTabStripAndroidName, |
| 4676 | flag_descriptions::kConditionalTabStripAndroidDescription, kOsAndroid, |
Yue Zhang | 922416a | 2020-05-12 00:20:45 | [diff] [blame] | 4677 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4678 | chrome::android::kConditionalTabStripAndroid, |
| 4679 | kConditionalTabStripAndroidVariations, |
| 4680 | "ConditioanlTabStrip")}, |
Matt Simmons | 1fd0c9f | 2019-04-15 19:08:22 | [diff] [blame] | 4681 | #endif // OS_ANDROID |
Matt Simmons | 2048b2a | 2018-12-20 20:12:56 | [diff] [blame] | 4682 | |
Ian Kilpatrick | e68ef11a | 2018-07-04 03:52:10 | [diff] [blame] | 4683 | {"enable-layout-ng", flag_descriptions::kEnableLayoutNGName, |
| 4684 | flag_descriptions::kEnableLayoutNGDescription, kOsAll, |
| 4685 | FEATURE_VALUE_TYPE(blink::features::kLayoutNG)}, |
| 4686 | |
rajendrant | 793ff51 | 2018-08-10 17:07:59 | [diff] [blame] | 4687 | {"enable-lazy-image-loading", |
| 4688 | flag_descriptions::kEnableLazyImageLoadingName, |
| 4689 | flag_descriptions::kEnableLazyImageLoadingDescription, kOsAll, |
Scott Little | df79081b | 2019-05-29 23:03:39 | [diff] [blame] | 4690 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kLazyImageLoading, |
| 4691 | kLazyImageLoadingVariations, |
| 4692 | "LazyLoad")}, |
rajendrant | 793ff51 | 2018-08-10 17:07:59 | [diff] [blame] | 4693 | |
Scott Little | d0fd2d00 | 2018-04-13 03:37:26 | [diff] [blame] | 4694 | {"enable-lazy-frame-loading", |
| 4695 | flag_descriptions::kEnableLazyFrameLoadingName, |
| 4696 | flag_descriptions::kEnableLazyFrameLoadingDescription, kOsAll, |
Scott Little | df79081b | 2019-05-29 23:03:39 | [diff] [blame] | 4697 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kLazyFrameLoading, |
| 4698 | kLazyFrameLoadingVariations, |
| 4699 | "LazyLoad")}, |
wutao | 7bfb1f2 | 2018-04-19 01:30:58 | [diff] [blame] | 4700 | |
Roger McFarlane | 2eceba98 | 2018-05-18 01:37:11 | [diff] [blame] | 4701 | {"autofill-cache-query-responses", |
| 4702 | flag_descriptions::kAutofillCacheQueryResponsesName, |
| 4703 | flag_descriptions::kAutofillCacheQueryResponsesDescription, kOsAll, |
| 4704 | FEATURE_VALUE_TYPE(autofill::features::kAutofillCacheQueryResponses)}, |
Fabio Tirelo | 3773dea | 2018-09-11 15:21:52 | [diff] [blame] | 4705 | |
siyua | 1d49261 | 2019-03-14 09:27:45 | [diff] [blame] | 4706 | {"autofill-enable-toolbar-status-chip", |
| 4707 | flag_descriptions::kAutofillEnableToolbarStatusChipName, |
| 4708 | flag_descriptions::kAutofillEnableToolbarStatusChipDescription, |
| 4709 | kOsMac | kOsWin | kOsLinux, |
| 4710 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableToolbarStatusChip)}, |
| 4711 | |
Roger McFarlane | 1a37d7b | 2018-04-20 22:45:19 | [diff] [blame] | 4712 | {"autofill-enforce-min-required-fields-for-heuristics", |
| 4713 | flag_descriptions::kAutofillEnforceMinRequiredFieldsForHeuristicsName, |
| 4714 | flag_descriptions:: |
| 4715 | kAutofillEnforceMinRequiredFieldsForHeuristicsDescription, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4716 | kOsAll, |
Roger McFarlane | 1a37d7b | 2018-04-20 22:45:19 | [diff] [blame] | 4717 | FEATURE_VALUE_TYPE( |
| 4718 | autofill::features::kAutofillEnforceMinRequiredFieldsForHeuristics)}, |
| 4719 | {"autofill-enforce-min-required-fields-for-query", |
| 4720 | flag_descriptions::kAutofillEnforceMinRequiredFieldsForQueryName, |
| 4721 | flag_descriptions::kAutofillEnforceMinRequiredFieldsForQueryDescription, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4722 | kOsAll, |
Roger McFarlane | 1a37d7b | 2018-04-20 22:45:19 | [diff] [blame] | 4723 | FEATURE_VALUE_TYPE( |
| 4724 | autofill::features::kAutofillEnforceMinRequiredFieldsForQuery)}, |
| 4725 | {"autofill-enforce-min-required-fields-for-upload", |
| 4726 | flag_descriptions::kAutofillEnforceMinRequiredFieldsForUploadName, |
| 4727 | flag_descriptions::kAutofillEnforceMinRequiredFieldsForUploadDescription, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4728 | kOsAll, |
Roger McFarlane | 1a37d7b | 2018-04-20 22:45:19 | [diff] [blame] | 4729 | FEATURE_VALUE_TYPE( |
| 4730 | autofill::features::kAutofillEnforceMinRequiredFieldsForUpload)}, |
Roger McFarlane | e193ab12 | 2018-11-22 20:55:07 | [diff] [blame] | 4731 | {"autofill-rich-metadata-queries", |
| 4732 | flag_descriptions::kAutofillRichMetadataQueriesName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4733 | flag_descriptions::kAutofillRichMetadataQueriesDescription, kOsAll, |
Roger McFarlane | e193ab12 | 2018-11-22 20:55:07 | [diff] [blame] | 4734 | FEATURE_VALUE_TYPE(autofill::features::kAutofillRichMetadataQueries)}, |
Ian Clelland | 37a985d | 2018-05-04 02:43:13 | [diff] [blame] | 4735 | {"enable-experimental-productivity-features", |
| 4736 | flag_descriptions::kExperimentalProductivityFeaturesName, |
| 4737 | flag_descriptions::kExperimentalProductivityFeaturesDescription, kOsAll, |
| 4738 | FEATURE_VALUE_TYPE(features::kExperimentalProductivityFeatures)}, |
Roger McFarlane | 1a37d7b | 2018-04-20 22:45:19 | [diff] [blame] | 4739 | |
chaopeng | e2b6e5f | 2018-05-08 16:40:45 | [diff] [blame] | 4740 | #if defined(USE_AURA) |
| 4741 | {"touchpad-overscroll-history-navigation", |
| 4742 | flag_descriptions::kTouchpadOverscrollHistoryNavigationName, |
| 4743 | flag_descriptions::kTouchpadOverscrollHistoryNavigationDescription, |
| 4744 | kOsWin | kOsCrOS, |
| 4745 | FEATURE_VALUE_TYPE(features::kTouchpadOverscrollHistoryNavigation)}, |
| 4746 | #endif |
| 4747 | |
Mustafa Emre Acer | b3aa36a8 | 2018-05-22 21:44:05 | [diff] [blame] | 4748 | {"unsafely-treat-insecure-origin-as-secure", |
| 4749 | flag_descriptions::kTreatInsecureOriginAsSecureName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4750 | flag_descriptions::kTreatInsecureOriginAsSecureDescription, kOsAll, |
Lukasz Anforowicz | 9527fd4 | 2019-03-13 19:08:50 | [diff] [blame] | 4751 | ORIGIN_LIST_VALUE_TYPE( |
| 4752 | network::switches::kUnsafelyTreatInsecureOriginAsSecure, |
| 4753 | "")}, |
Adam Rice | c786ad8a | 2018-05-22 09:49:15 | [diff] [blame] | 4754 | |
Joe DeBlasio | 2a4fb998 | 2019-05-06 23:44:43 | [diff] [blame] | 4755 | {"treat-unsafe-downloads-as-active-content", |
| 4756 | flag_descriptions::kTreatUnsafeDownloadsAsActiveName, |
Joe DeBlasio | 91a975d | 2020-04-21 03:48:52 | [diff] [blame] | 4757 | flag_descriptions::kTreatUnsafeDownloadsAsActiveDescription, |
| 4758 | kOsDesktop | kOsAndroid, |
Joe DeBlasio | 2a4fb998 | 2019-05-06 23:44:43 | [diff] [blame] | 4759 | FEATURE_VALUE_TYPE(features::kTreatUnsafeDownloadsAsActive)}, |
| 4760 | |
Behnood Momenzadeh | 7411ae9 | 2020-04-29 16:54:18 | [diff] [blame] | 4761 | {"detect-target-embedding-lookalikes", |
| 4762 | flag_descriptions::kDetectTargetEmbeddingLookalikesName, |
| 4763 | flag_descriptions::kDetectTargetEmbeddingLookalikesDescription, |
| 4764 | kOsDesktop | kOsAndroid, |
| 4765 | FEATURE_VALUE_TYPE( |
| 4766 | lookalikes::features::kDetectTargetEmbeddingLookalikes)}, |
| 4767 | |
Qiang Xu | 53d1a583 | 2018-05-24 18:44:19 | [diff] [blame] | 4768 | #if defined(OS_CHROMEOS) |
Vladislav Kaznacheev | aa213a0 | 2018-10-29 17:54:28 | [diff] [blame] | 4769 | {"enable-app-data-search", flag_descriptions::kEnableAppDataSearchName, |
| 4770 | flag_descriptions::kEnableAppDataSearchDescription, kOsCrOS, |
| 4771 | FEATURE_VALUE_TYPE(app_list_features::kEnableAppDataSearch)}, |
| 4772 | |
Matthew Mourgos | cf22b4b | 2019-03-06 23:46:39 | [diff] [blame] | 4773 | {"enable-app-grid-ghost", flag_descriptions::kEnableAppGridGhostName, |
| 4774 | flag_descriptions::kEnableAppGridGhostDescription, kOsCrOS, |
| 4775 | FEATURE_VALUE_TYPE(app_list_features::kEnableAppGridGhost)}, |
Qiang Xu | 53d1a583 | 2018-05-24 18:44:19 | [diff] [blame] | 4776 | #endif // OS_CHROMEOS |
| 4777 | |
Katie D | f558c1a | 2020-04-21 20:33:59 | [diff] [blame] | 4778 | #if !defined(OS_ANDROID) |
| 4779 | {"enable-accessibility-live-captions", |
| 4780 | flag_descriptions::kEnableAccessibilityLiveCaptionsName, |
| 4781 | flag_descriptions::kEnableAccessibilityLiveCaptionsDescription, kOsDesktop, |
| 4782 | FEATURE_VALUE_TYPE(media::kLiveCaption)}, |
| 4783 | #endif // !defined(OS_ANDROID) |
| 4784 | |
Dominic Mazzoni | 8ac9896 | 2018-05-25 05:44:55 | [diff] [blame] | 4785 | {"enable-accessibility-object-model", |
| 4786 | flag_descriptions::kEnableAccessibilityObjectModelName, |
| 4787 | flag_descriptions::kEnableAccessibilityObjectModelDescription, kOsAll, |
| 4788 | SINGLE_VALUE_TYPE(switches::kEnableAccessibilityObjectModel)}, |
| 4789 | |
Becca Hughes | 6d73bac54 | 2018-06-18 20:38:50 | [diff] [blame] | 4790 | #if defined(OS_ANDROID) |
Ramin Halavati | ba7ddcc | 2019-11-13 06:19:28 | [diff] [blame] | 4791 | {"cct-incognito", flag_descriptions::kCCTIncognitoName, |
| 4792 | flag_descriptions::kCCTIncognitoDescription, kOsAndroid, |
| 4793 | FEATURE_VALUE_TYPE(chrome::android::kCCTIncognito)}, |
Michael van Ouwerkerk | bda4ad8 | 2018-06-19 14:08:00 | [diff] [blame] | 4794 | #endif |
| 4795 | |
Tibor Goldschwendt | 11b3cf2 | 2018-07-04 15:32:44 | [diff] [blame] | 4796 | #if defined(OS_ANDROID) |
| 4797 | {"background-task-component-update", |
| 4798 | flag_descriptions::kBackgroundTaskComponentUpdateName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4799 | flag_descriptions::kBackgroundTaskComponentUpdateDescription, kOsAndroid, |
Tibor Goldschwendt | 11b3cf2 | 2018-07-04 15:32:44 | [diff] [blame] | 4800 | FEATURE_VALUE_TYPE(chrome::android::kBackgroundTaskComponentUpdate)}, |
| 4801 | #endif |
| 4802 | |
Thomas Guilbert | 4df6032 | 2020-05-18 20:23:32 | [diff] [blame] | 4803 | #if defined(OS_ANDROID) |
| 4804 | {"enable-use-aaudio-driver", flag_descriptions::kEnableUseAaudioDriverName, |
| 4805 | flag_descriptions::kEnableUseAaudioDriverDescription, kOsAndroid, |
| 4806 | FEATURE_VALUE_TYPE(features::kUseAAudioDriver)}, |
| 4807 | #endif |
| 4808 | |
Kunihiko Sakamoto | 4d40798 | 2018-07-10 04:56:29 | [diff] [blame] | 4809 | {"allow-sxg-certs-without-extension", |
| 4810 | flag_descriptions::kAllowSignedHTTPExchangeCertsWithoutExtensionName, |
| 4811 | flag_descriptions:: |
| 4812 | kAllowSignedHTTPExchangeCertsWithoutExtensionDescription, |
| 4813 | kOsAll, |
| 4814 | FEATURE_VALUE_TYPE( |
| 4815 | features::kAllowSignedHTTPExchangeCertsWithoutExtension)}, |
| 4816 | |
Tsuyoshi Horo | 3bab99c | 2019-05-20 11:05:14 | [diff] [blame] | 4817 | {"enable-sxg-subresource-prefetching", |
| 4818 | flag_descriptions::kEnableSignedExchangeSubresourcePrefetchName, |
| 4819 | flag_descriptions::kEnableSignedExchangeSubresourcePrefetchDescription, |
| 4820 | kOsAll, FEATURE_VALUE_TYPE(features::kSignedExchangeSubresourcePrefetch)}, |
| 4821 | |
Tsuyoshi Horo | 636e865 | 2019-05-31 03:34:08 | [diff] [blame] | 4822 | {"enable-sxg-prefetch-cache-for-navigations", |
| 4823 | flag_descriptions::kEnableSignedExchangePrefetchCacheForNavigationsName, |
| 4824 | flag_descriptions:: |
| 4825 | kEnableSignedExchangePrefetchCacheForNavigationsDescription, |
| 4826 | kOsAll, |
| 4827 | FEATURE_VALUE_TYPE(features::kSignedExchangePrefetchCacheForNavigations)}, |
| 4828 | |
Florian Uunk | 8c428ea | 2018-07-18 11:12:52 | [diff] [blame] | 4829 | {"enable-autofill-account-wallet-storage", |
| 4830 | flag_descriptions::kEnableAutofillAccountWalletStorageName, |
Marc Treib | 79c6a60 | 2020-05-11 09:14:07 | [diff] [blame] | 4831 | flag_descriptions::kEnableAutofillAccountWalletStorageDescription, kOsAll, |
Florian Uunk | 8c428ea | 2018-07-18 11:12:52 | [diff] [blame] | 4832 | FEATURE_VALUE_TYPE( |
| 4833 | autofill::features::kAutofillEnableAccountWalletStorage)}, |
| 4834 | |
wutao | 42ee9daa | 2018-07-19 00:12:17 | [diff] [blame] | 4835 | #if defined(OS_CHROMEOS) |
Jenny Zhang | 81fc4c5 | 2018-07-23 22:12:32 | [diff] [blame] | 4836 | {"enable-zero-state-suggestions", |
| 4837 | flag_descriptions::kEnableZeroStateSuggestionsName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4838 | flag_descriptions::kEnableZeroStateSuggestionsDescription, kOsCrOS, |
Mostyn Bramley-Moore | 177b931d | 2018-09-24 22:53:24 | [diff] [blame] | 4839 | FEATURE_VALUE_TYPE(app_list_features::kEnableZeroStateSuggestions)}, |
Rob Schonberger | cf5aeeea | 2019-02-27 16:57:37 | [diff] [blame] | 4840 | {"enable-zero-state-app-reinstall-suggestions", |
| 4841 | flag_descriptions::kEnableAppReinstallZeroStateName, |
| 4842 | flag_descriptions::kEnableAppReinstallZeroStateDescription, kOsCrOS, |
| 4843 | FEATURE_VALUE_TYPE(app_list_features::kEnableAppReinstallZeroState)}, |
wutao | 42ee9daa | 2018-07-19 00:12:17 | [diff] [blame] | 4844 | #endif // OS_CHROMEOS |
| 4845 | |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 4846 | {"enable-resampling-input-events", |
| 4847 | flag_descriptions::kEnableResamplingInputEventsName, |
| 4848 | flag_descriptions::kEnableResamplingInputEventsDescription, kOsAll, |
Dave Tapuska | 95b71c8 | 2020-06-08 16:56:11 | [diff] [blame] | 4849 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kResamplingInputEvents, |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 4850 | kResamplingInputEventsFeatureVariations, |
| 4851 | "ResamplingInputEvents")}, |
| 4852 | |
| 4853 | {"enable-resampling-scroll-events", |
| 4854 | flag_descriptions::kEnableResamplingScrollEventsName, |
| 4855 | flag_descriptions::kEnableResamplingScrollEventsDescription, kOsAll, |
Dave Tapuska | fea8894 | 2020-05-05 18:50:32 | [diff] [blame] | 4856 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kResamplingScrollEvents, |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 4857 | kResamplingInputEventsFeatureVariations, |
| 4858 | "ResamplingScrollEvents")}, |
| 4859 | |
Axel Antoine | 12df7118 | 2019-07-25 18:11:21 | [diff] [blame] | 4860 | {"enable-filtering-scroll-events", |
| 4861 | flag_descriptions::kFilteringScrollPredictionName, |
| 4862 | flag_descriptions::kFilteringScrollPredictionDescription, kOsAll, |
Dave Tapuska | fea8894 | 2020-05-05 18:50:32 | [diff] [blame] | 4863 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kFilteringScrollPrediction, |
Axel Antoine | 12df7118 | 2019-07-25 18:11:21 | [diff] [blame] | 4864 | kFilteringPredictionFeatureVariations, |
| 4865 | "FilteringScrollPrediction")}, |
| 4866 | |
Tom McKee | d47f7ed6 | 2020-04-06 13:53:40 | [diff] [blame] | 4867 | {"enable-first-scroll-latency-measurement", |
| 4868 | flag_descriptions::kFirstScrollLatencyMeasurementName, |
| 4869 | flag_descriptions::kFirstScrollLatencyMeasurementDescription, kOsAll, |
| 4870 | FEATURE_VALUE_TYPE(features::kFirstScrollLatencyMeasurement)}, |
| 4871 | |
Rahul Arakeri | ac87fb1 | 2019-05-14 00:07:22 | [diff] [blame] | 4872 | {"compositor-threaded-scrollbar-scrolling", |
Rahul Arakeri | 61a2ad27 | 2019-03-19 22:55:08 | [diff] [blame] | 4873 | flag_descriptions::kCompositorThreadedScrollbarScrollingName, |
| 4874 | flag_descriptions::kCompositorThreadedScrollbarScrollingDescription, |
| 4875 | kOsAll, |
| 4876 | FEATURE_VALUE_TYPE(features::kCompositorThreadedScrollbarScrolling)}, |
| 4877 | |
Kushagra Sinha | 8a181fc | 2018-08-20 17:15:49 | [diff] [blame] | 4878 | #if defined(OS_CHROMEOS) |
Andres Calderon Jaramillo | 43c0e8a | 2018-08-21 02:46:23 | [diff] [blame] | 4879 | {"enable-vaapi-jpeg-image-decode-acceleration", |
| 4880 | flag_descriptions::kVaapiJpegImageDecodeAccelerationName, |
Andres Calderon Jaramillo | 806aeefb | 2019-08-01 19:21:41 | [diff] [blame] | 4881 | flag_descriptions::kVaapiJpegImageDecodeAccelerationDescription, kOsCrOS, |
Andres Calderon Jaramillo | 43c0e8a | 2018-08-21 02:46:23 | [diff] [blame] | 4882 | FEATURE_VALUE_TYPE(features::kVaapiJpegImageDecodeAcceleration)}, |
Gil Dekel | 8f4b564 | 2019-07-27 05:27:40 | [diff] [blame] | 4883 | |
| 4884 | {"enable-vaapi-webp-image-decode-acceleration", |
| 4885 | flag_descriptions::kVaapiWebPImageDecodeAccelerationName, |
| 4886 | flag_descriptions::kVaapiWebPImageDecodeAccelerationDescription, kOsCrOS, |
| 4887 | FEATURE_VALUE_TYPE(features::kVaapiWebPImageDecodeAcceleration)}, |
Andres Calderon Jaramillo | 43c0e8a | 2018-08-21 02:46:23 | [diff] [blame] | 4888 | #endif |
Sammie Quon | e302a180 | 2019-02-11 17:54:45 | [diff] [blame] | 4889 | |
David Bienvenu | d0ddda3 | 2018-11-01 16:59:16 | [diff] [blame] | 4890 | #if defined(OS_WIN) |
| 4891 | {"calculate-native-win-occlusion", |
| 4892 | flag_descriptions::kCalculateNativeWinOcclusionName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4893 | flag_descriptions::kCalculateNativeWinOcclusionDescription, kOsWin, |
David Bienvenu | d0ddda3 | 2018-11-01 16:59:16 | [diff] [blame] | 4894 | FEATURE_VALUE_TYPE(features::kCalculateNativeWinOcclusion)}, |
| 4895 | #endif // OS_WIN |
Andres Calderon Jaramillo | 43c0e8a | 2018-08-21 02:46:23 | [diff] [blame] | 4896 | |
Jeffrey Cohen | f04130a4 | 2018-08-29 00:22:27 | [diff] [blame] | 4897 | #if !defined(OS_ANDROID) |
Adam Yi | d374d79 | 2018-11-02 23:05:58 | [diff] [blame] | 4898 | {"happiness-tracking-surveys-for-desktop", |
Jeffrey Cohen | f04130a4 | 2018-08-29 00:22:27 | [diff] [blame] | 4899 | flag_descriptions::kHappinessTrackingSurveysForDesktopName, |
| 4900 | flag_descriptions::kHappinessTrackingSurveysForDesktopDescription, |
| 4901 | kOsDesktop, |
| 4902 | FEATURE_VALUE_TYPE(features::kHappinessTrackingSurveysForDesktop)}, |
Wei Li | 2946b35 | 2019-08-19 21:49:54 | [diff] [blame] | 4903 | |
Huanzhong Huang | 8058ea9 | 2020-02-05 09:49:32 | [diff] [blame] | 4904 | {"happiness-tracking-surveys-for-desktop-demo", |
| 4905 | flag_descriptions::kHappinessTrackingSurveysForDesktopDemoName, |
| 4906 | flag_descriptions::kHappinessTrackingSurveysForDesktopDemoDescription, |
| 4907 | kOsDesktop, |
| 4908 | FEATURE_VALUE_TYPE(features::kHappinessTrackingSurveysForDesktopDemo)}, |
Huanzhong Huang | 31a213b | 2020-02-11 15:04:03 | [diff] [blame] | 4909 | |
Huanzhong Huang | a232101 | 2020-04-15 08:27:12 | [diff] [blame] | 4910 | {"happiness-tracking-surveys-for-desktop-migration", |
| 4911 | flag_descriptions::kHappinessTrackingSurveysForDesktopMigrationName, |
| 4912 | flag_descriptions::kHappinessTrackingSurveysForDesktopMigrationDescription, |
| 4913 | kOsDesktop, |
| 4914 | FEATURE_VALUE_TYPE( |
| 4915 | features::kHappinessTrackingSurveysForDesktopMigration)}, |
| 4916 | |
Huanzhong Huang | 31a213b | 2020-02-11 15:04:03 | [diff] [blame] | 4917 | {"happiness-tracking-surveys-for-desktop-settings", |
| 4918 | flag_descriptions::kHappinessTrackingSurveysForDesktopSettingsName, |
| 4919 | flag_descriptions::kHappinessTrackingSurveysForDesktopSettingsDescription, |
| 4920 | kOsDesktop, |
| 4921 | FEATURE_VALUE_TYPE(features::kHappinessTrackingSurveysForDesktopSettings)}, |
| 4922 | |
| 4923 | {"happiness-tracking-surveys-for-desktop-settings-privacy", |
| 4924 | flag_descriptions::kHappinessTrackingSurveysForDesktopSettingsPrivacyName, |
| 4925 | flag_descriptions:: |
| 4926 | kHappinessTrackingSurveysForDesktopSettingsPrivacyDescription, |
| 4927 | kOsDesktop, |
| 4928 | FEATURE_VALUE_TYPE( |
| 4929 | features::kHappinessTrackingSurveysForDesktopSettingsPrivacy)}, |
Jeffrey Cohen | f04130a4 | 2018-08-29 00:22:27 | [diff] [blame] | 4930 | #endif // !defined(OS_ANDROID) |
| 4931 | |
Mihai Sardarescu | 0060dff | 2019-10-22 11:14:58 | [diff] [blame] | 4932 | #if BUILDFLAG(ENABLE_DICE_SUPPORT) |
Valeriya Sinevich | 972ac12 | 2018-09-05 07:33:19 | [diff] [blame] | 4933 | {"use-multilogin-endpoint", flag_descriptions::kUseMultiloginEndpointName, |
Mihai Sardarescu | 0060dff | 2019-10-22 11:14:58 | [diff] [blame] | 4934 | flag_descriptions::kUseMultiloginEndpointDescription, |
| 4935 | kOsMac | kOsWin | kOsLinux, FEATURE_VALUE_TYPE(kUseMultiloginEndpoint)}, |
Monica Basta | e233141 | 2020-04-10 14:07:30 | [diff] [blame] | 4936 | |
| 4937 | {"enable-new-profile-picker", flag_descriptions::kNewProfilePickerName, |
| 4938 | flag_descriptions::kNewProfilePickerDescription, |
| 4939 | kOsMac | kOsWin | kOsLinux, |
| 4940 | FEATURE_VALUE_TYPE(features::kNewProfilePicker)}, |
dizg | ad7fe84 | 2020-08-12 16:55:16 | [diff] [blame] | 4941 | |
David Roger | 35135bb | 2020-09-24 13:16:39 | [diff] [blame] | 4942 | {"enable-profiles-ui-revamp", flag_descriptions::kProfilesUIRevampName, |
| 4943 | flag_descriptions::kProfilesUIRevampDescription, |
dizg | ad7fe84 | 2020-08-12 16:55:16 | [diff] [blame] | 4944 | kOsMac | kOsWin | kOsLinux, |
David Roger | 35135bb | 2020-09-24 13:16:39 | [diff] [blame] | 4945 | FEATURE_VALUE_TYPE(features::kProfilesUIRevamp)}, |
Mihai Sardarescu | 0060dff | 2019-10-22 11:14:58 | [diff] [blame] | 4946 | #endif |
Valeriya Sinevich | 972ac12 | 2018-09-05 07:33:19 | [diff] [blame] | 4947 | |
Allen Webb | cdc8e69d | 2018-09-12 20:36:00 | [diff] [blame] | 4948 | #if defined(OS_CHROMEOS) |
| 4949 | {"enable-usbguard", flag_descriptions::kUsbguardName, |
| 4950 | flag_descriptions::kUsbguardDescription, kOsCrOS, |
| 4951 | FEATURE_VALUE_TYPE(features::kUsbguard)}, |
Micah Morton | 02d3aba | 2018-11-20 01:51:45 | [diff] [blame] | 4952 | {"enable-fs-nosymfollow", flag_descriptions::kFsNosymfollowName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4953 | flag_descriptions::kFsNosymfollowDescription, kOsCrOS, |
Micah Morton | f236deb7 | 2018-11-26 19:32:37 | [diff] [blame] | 4954 | FEATURE_VALUE_TYPE(chromeos::features::kFsNosymfollow)}, |
Becca Hughes | 34415e8 | 2018-10-05 18:47:37 | [diff] [blame] | 4955 | {"enable-arc-unified-audio-focus", |
| 4956 | flag_descriptions::kEnableArcUnifiedAudioFocusName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 4957 | flag_descriptions::kEnableArcUnifiedAudioFocusDescription, kOsCrOS, |
Becca Hughes | 34415e8 | 2018-10-05 18:47:37 | [diff] [blame] | 4958 | FEATURE_VALUE_TYPE(arc::kEnableUnifiedAudioFocusFeature)}, |
| 4959 | #endif // defined(OS_CHROMEOS) |
| 4960 | |
Olli Etuaho | 12232119 | 2018-09-07 10:15:29 | [diff] [blame] | 4961 | #if defined(OS_WIN) |
| 4962 | {"use-angle", flag_descriptions::kUseAngleName, |
| 4963 | flag_descriptions::kUseAngleDescription, kOsWin, |
| 4964 | MULTI_VALUE_TYPE(kUseAngleChoices)}, |
| 4965 | #endif |
Kamila | 02f7e07 | 2018-10-08 09:50:28 | [diff] [blame] | 4966 | #if defined(OS_ANDROID) |
Shakti Sahu | ec6030f | 2019-09-10 22:09:31 | [diff] [blame] | 4967 | {"enable-ephemeral-tab-bottom-sheet", |
| 4968 | flag_descriptions::kEphemeralTabUsingBottomSheetName, |
| 4969 | flag_descriptions::kEphemeralTabUsingBottomSheetDescription, kOsAndroid, |
| 4970 | FEATURE_VALUE_TYPE(chrome::android::kEphemeralTabUsingBottomSheet)}, |
Donn Denman | 43baac6 | 2019-05-22 17:31:05 | [diff] [blame] | 4971 | {"overlay-new-layout", flag_descriptions::kOverlayNewLayoutName, |
| 4972 | flag_descriptions::kOverlayNewLayoutDescription, kOsAndroid, |
| 4973 | FEATURE_VALUE_TYPE(chrome::android::kOverlayNewLayout)}, |
Varun Khaneja | 80712a8 | 2018-10-12 23:34:59 | [diff] [blame] | 4974 | #endif // defined(OS_ANDROID) |
| 4975 | |
Xiaohui Chen | fb0943e | 2018-10-16 22:44:37 | [diff] [blame] | 4976 | #if defined(OS_CHROMEOS) |
Xiaohui Chen | f4283f3 | 2018-11-26 20:02:50 | [diff] [blame] | 4977 | {"enable-assistant-dsp", flag_descriptions::kEnableGoogleAssistantDspName, |
Xiaohui Chen | e6dd889 | 2019-08-12 21:50:09 | [diff] [blame] | 4978 | flag_descriptions::kEnableGoogleAssistantDspDescription, kOsCrOS, |
Xiaohui Chen | f4283f3 | 2018-11-26 20:02:50 | [diff] [blame] | 4979 | FEATURE_VALUE_TYPE(chromeos::assistant::features::kEnableDspHotword)}, |
Yue Li | ebaa995 | 2018-12-07 21:41:26 | [diff] [blame] | 4980 | |
| 4981 | {"enable-assistant-app-support", |
| 4982 | flag_descriptions::kEnableAssistantAppSupportName, |
| 4983 | flag_descriptions::kEnableAssistantAppSupportDescription, kOsCrOS, |
| 4984 | FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantAppSupport)}, |
Meilin Wang | b57f92f | 2019-04-19 04:27:10 | [diff] [blame] | 4985 | |
li | f5c5bec6 | 2019-06-26 22:56:05 | [diff] [blame] | 4986 | {"enable-assistant-media-session-integration", |
| 4987 | flag_descriptions::kEnableAssistantMediaSessionIntegrationName, |
| 4988 | flag_descriptions::kEnableAssistantMediaSessionIntegrationDescription, |
| 4989 | kOsCrOS, |
| 4990 | FEATURE_VALUE_TYPE( |
| 4991 | chromeos::assistant::features::kEnableMediaSessionIntegration)}, |
Yue Li | 26244a8e | 2019-11-14 02:05:03 | [diff] [blame] | 4992 | |
Jeroen Dhollander | f121babb | 2020-08-19 15:30:49 | [diff] [blame] | 4993 | {"enable-bloom", flag_descriptions::kEnableBloomName, |
| 4994 | flag_descriptions::kEnableBloomDescription, kOsCrOS, |
| 4995 | FEATURE_VALUE_TYPE(chromeos::assistant::features::kEnableBloom)}, |
| 4996 | |
[email protected] | 683123b9 | 2019-12-10 03:52:22 | [diff] [blame] | 4997 | {"enable-quick-answers", flag_descriptions::kEnableQuickAnswersName, |
| 4998 | flag_descriptions::kEnableQuickAnswersDescription, kOsCrOS, |
| 4999 | FEATURE_VALUE_TYPE(chromeos::features::kQuickAnswers)}, |
Xiao Yang | fcee43b | 2020-02-11 03:27:43 | [diff] [blame] | 5000 | |
| 5001 | {"enable-quick-answers-rich-ui", |
| 5002 | flag_descriptions::kEnableQuickAnswersRichUiName, |
| 5003 | flag_descriptions::kEnableQuickAnswersRichUiDescription, kOsCrOS, |
| 5004 | FEATURE_VALUE_TYPE(chromeos::features::kQuickAnswersRichUi)}, |
| 5005 | |
Li Lin | b89713c | 2020-05-13 00:20:37 | [diff] [blame] | 5006 | {"enable-quick-answers-text-annotator", |
| 5007 | flag_descriptions::kEnableQuickAnswersTextAnnotatorName, |
| 5008 | flag_descriptions::kEnableQuickAnswersTextAnnotatorDescription, kOsCrOS, |
| 5009 | FEATURE_VALUE_TYPE(chromeos::features::kQuickAnswersTextAnnotator)}, |
| 5010 | |
Yue Li | 869ba96 | 2020-09-19 00:27:13 | [diff] [blame] | 5011 | {"enable-quick-answers-translation", |
| 5012 | flag_descriptions::kEnableQuickAnswersTranslationName, |
| 5013 | flag_descriptions::kEnableQuickAnswersTranslationDescription, kOsCrOS, |
| 5014 | FEATURE_VALUE_TYPE(chromeos::features::kQuickAnswersTranslation)}, |
| 5015 | |
Yue Li | 8468585fe | 2020-09-30 20:46:13 | [diff] [blame] | 5016 | {"enable-quick-answers-translation-cloud-api", |
| 5017 | flag_descriptions::kEnableQuickAnswersTranslationCloudAPIName, |
| 5018 | flag_descriptions::kEnableQuickAnswersTranslationCloudAPIDescription, |
| 5019 | kOsCrOS, |
| 5020 | FEATURE_VALUE_TYPE(chromeos::features::kQuickAnswersTranslationCloudAPI)}, |
| 5021 | |
Jeroen Dhollander | 34b7b15 | 2020-06-12 16:24:47 | [diff] [blame] | 5022 | {"enable-on-device-assistant", |
| 5023 | flag_descriptions::kEnableOnDeviceAssistantName, |
| 5024 | flag_descriptions::kEnableOnDeviceAssistantDescription, kOsCrOS, |
| 5025 | FEATURE_VALUE_TYPE( |
| 5026 | chromeos::assistant::features::kEnableOnDeviceAssistant)}, |
| 5027 | |
David Black | 12709a38 | 2020-06-30 04:03:00 | [diff] [blame] | 5028 | {kAssistantBetterOnboardingInternalName, |
| 5029 | flag_descriptions::kEnableAssistantBetterOnboardingName, |
| 5030 | flag_descriptions::kEnableAssistantBetterOnboardingDescription, kOsCrOS, |
| 5031 | FEATURE_VALUE_TYPE( |
| 5032 | chromeos::assistant::features::kAssistantBetterOnboarding)}, |
| 5033 | |
| 5034 | {kAssistantTimersV2InternalName, |
| 5035 | flag_descriptions::kEnableAssistantTimersV2Name, |
| 5036 | flag_descriptions::kEnableAssistantTimersV2Description, kOsCrOS, |
| 5037 | FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantTimersV2)}, |
Becca Hughes | 3d63a91d | 2018-10-17 19:30:39 | [diff] [blame] | 5038 | #endif // defined(OS_CHROMEOS) |
Michael Lippautz | 6081dfa | 2018-10-18 13:10:14 | [diff] [blame] | 5039 | |
Richard Knoll | c279d323 | 2019-11-11 16:37:07 | [diff] [blame] | 5040 | #if BUILDFLAG(ENABLE_CLICK_TO_CALL) |
Yasmin | 71ff267 | 2019-06-20 16:22:49 | [diff] [blame] | 5041 | {"click-to-call-ui", flag_descriptions::kClickToCallUIName, |
Richard Knoll | 5e85eb12 | 2019-09-05 11:15:33 | [diff] [blame] | 5042 | flag_descriptions::kClickToCallUIDescription, kOsDesktop, |
Yasmin | 71ff267 | 2019-06-20 16:22:49 | [diff] [blame] | 5043 | FEATURE_VALUE_TYPE(kClickToCallUI)}, |
Richard Knoll | c279d323 | 2019-11-11 16:37:07 | [diff] [blame] | 5044 | #endif // BUILDFLAG(ENABLE_CLICK_TO_CALL) |
Michael van Ouwerkerk | 2d1326e6 | 2019-11-04 13:54:21 | [diff] [blame] | 5045 | |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5046 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \ |
Richard Knoll | c279d323 | 2019-11-11 16:37:07 | [diff] [blame] | 5047 | defined(OS_CHROMEOS) |
Michael van Ouwerkerk | 2d1326e6 | 2019-11-04 13:54:21 | [diff] [blame] | 5048 | {"remote-copy-receiver", flag_descriptions::kRemoteCopyReceiverName, |
| 5049 | flag_descriptions::kRemoteCopyReceiverDescription, kOsDesktop, |
| 5050 | FEATURE_VALUE_TYPE(kRemoteCopyReceiver)}, |
Michael van Ouwerkerk | 2ed5bd9 | 2020-03-19 18:30:57 | [diff] [blame] | 5051 | {"remote-copy-image-notification", |
| 5052 | flag_descriptions::kRemoteCopyImageNotificationName, |
| 5053 | flag_descriptions::kRemoteCopyImageNotificationDescription, kOsDesktop, |
| 5054 | FEATURE_VALUE_TYPE(kRemoteCopyImageNotification)}, |
Michael van Ouwerkerk | 91ac7d2 | 2020-04-07 15:49:27 | [diff] [blame] | 5055 | {"remote-copy-persistent-notification", |
| 5056 | flag_descriptions::kRemoteCopyPersistentNotificationName, |
| 5057 | flag_descriptions::kRemoteCopyPersistentNotificationDescription, |
| 5058 | kOsDesktop, FEATURE_VALUE_TYPE(kRemoteCopyPersistentNotification)}, |
Richard Knoll | fbad3a79 | 2020-03-11 18:22:43 | [diff] [blame] | 5059 | {"remote-copy-progress-notification", |
| 5060 | flag_descriptions::kRemoteCopyProgressNotificationName, |
| 5061 | flag_descriptions::kRemoteCopyProgressNotificationDescription, kOsDesktop, |
| 5062 | FEATURE_VALUE_TYPE(kRemoteCopyProgressNotification)}, |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5063 | #endif // defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || |
Richard Knoll | 5e85eb12 | 2019-09-05 11:15:33 | [diff] [blame] | 5064 | // defined(OS_CHROMEOS) |
Yasmin | 71ff267 | 2019-06-20 16:22:49 | [diff] [blame] | 5065 | |
James Hollyer | 6e5f5c3 | 2020-07-27 21:18:10 | [diff] [blame] | 5066 | {"restrict-gamepad-access", flag_descriptions::kRestrictGamepadAccessName, |
| 5067 | flag_descriptions::kRestrictGamepadAccessDescription, kOsAll, |
| 5068 | FEATURE_VALUE_TYPE(features::kRestrictGamepadAccess)}, |
| 5069 | |
Yasmin | 69a132f | 2019-08-07 15:30:36 | [diff] [blame] | 5070 | {"shared-clipboard-ui", flag_descriptions::kSharedClipboardUIName, |
| 5071 | flag_descriptions::kSharedClipboardUIDescription, kOsAll, |
| 5072 | FEATURE_VALUE_TYPE(kSharedClipboardUI)}, |
| 5073 | |
Ramin Halavati | 8aad5b2 | 2019-07-22 12:52:21 | [diff] [blame] | 5074 | {"enable-ambient-authentication-in-incognito", |
| 5075 | flag_descriptions::kEnableAmbientAuthenticationInIncognitoName, |
| 5076 | flag_descriptions::kEnableAmbientAuthenticationInIncognitoDescription, |
| 5077 | kOsAll, |
| 5078 | FEATURE_VALUE_TYPE(features::kEnableAmbientAuthenticationInIncognito)}, |
| 5079 | |
| 5080 | {"enable-ambient-authentication-in-guest-session", |
| 5081 | flag_descriptions::kEnableAmbientAuthenticationInGuestSessionName, |
| 5082 | flag_descriptions::kEnableAmbientAuthenticationInGuestSessionDescription, |
| 5083 | kOsAll, |
| 5084 | FEATURE_VALUE_TYPE(features::kEnableAmbientAuthenticationInGuestSession)}, |
| 5085 | |
Sophey Dong | 02d3943 | 2020-03-26 23:31:04 | [diff] [blame] | 5086 | {"enable-send-tab-to-self-omnibox-sending-animation", |
| 5087 | flag_descriptions::kSendTabToSelfOmniboxSendingAnimationName, |
| 5088 | flag_descriptions::kSendTabToSelfOmniboxSendingAnimationDescription, |
| 5089 | kOsDesktop, |
| 5090 | FEATURE_VALUE_TYPE( |
| 5091 | send_tab_to_self::kSendTabToSelfOmniboxSendingAnimation)}, |
| 5092 | |
Alex Chau | d788684 | 2020-05-13 15:37:05 | [diff] [blame] | 5093 | {"sharing-prefer-vapid", flag_descriptions::kSharingPreferVapidName, |
| 5094 | flag_descriptions::kSharingPreferVapidDescription, kOsAll, |
| 5095 | FEATURE_VALUE_TYPE(kSharingPreferVapid)}, |
| 5096 | |
Travis Skare | 139deb7 | 2019-12-05 21:25:06 | [diff] [blame] | 5097 | {"sharing-qr-code-generator", |
| 5098 | flag_descriptions::kSharingQRCodeGeneratorName, |
| 5099 | flag_descriptions::kSharingQRCodeGeneratorDescription, kOsDesktop, |
| 5100 | FEATURE_VALUE_TYPE(kSharingQRCodeGenerator)}, |
| 5101 | |
Alex Chau | f15a719 | 2020-01-30 17:37:51 | [diff] [blame] | 5102 | {"sharing-send-via-sync", flag_descriptions::kSharingSendViaSyncName, |
| 5103 | flag_descriptions::kSharingSendViaSyncDescription, kOsAll, |
| 5104 | FEATURE_VALUE_TYPE(kSharingSendViaSync)}, |
| 5105 | |
Michael van Ouwerkerk | 99d7e56 | 2019-12-03 17:14:36 | [diff] [blame] | 5106 | {"sharing-device-expiration", |
| 5107 | flag_descriptions::kSharingDeviceExpirationName, |
| 5108 | flag_descriptions::kSharingDeviceExpirationDescription, kOsAll, |
| 5109 | FEATURE_WITH_PARAMS_VALUE_TYPE(kSharingDeviceExpiration, |
| 5110 | kSharingDeviceExpirationVariations, |
| 5111 | "SharingDeviceExpiration")}, |
| 5112 | |
Alexander Alekseev | 38e1e0a | 2018-11-08 22:48:48 | [diff] [blame] | 5113 | #if defined(OS_CHROMEOS) |
| 5114 | {"discover-app", flag_descriptions::kEnableDiscoverAppName, |
| 5115 | flag_descriptions::kEnableDiscoverAppDescription, kOsCrOS, |
| 5116 | FEATURE_VALUE_TYPE(chromeos::features::kDiscoverApp)}, |
| 5117 | #endif // defined(OS_CHROMEOS) |
Pavel Shmakov | 798f474 | 2018-11-15 21:27:38 | [diff] [blame] | 5118 | |
Eliot Courtney | e87a9c3 | 2018-11-20 03:33:02 | [diff] [blame] | 5119 | #if defined(OS_CHROMEOS) |
| 5120 | {"ash-enable-pip-rounded-corners", |
| 5121 | flag_descriptions::kAshEnablePipRoundedCornersName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 5122 | flag_descriptions::kAshEnablePipRoundedCornersDescription, kOsCrOS, |
Eliot Courtney | e87a9c3 | 2018-11-20 03:33:02 | [diff] [blame] | 5123 | FEATURE_VALUE_TYPE(ash::features::kPipRoundedCorners)}, |
Min Chen | 3e34256 | 2019-05-04 00:08:36 | [diff] [blame] | 5124 | |
| 5125 | {"ash-swap-side-volume-buttons-for-orientation", |
| 5126 | flag_descriptions::kAshSwapSideVolumeButtonsForOrientationName, |
| 5127 | flag_descriptions::kAshSwapSideVolumeButtonsForOrientationDescription, |
| 5128 | kOsCrOS, |
| 5129 | FEATURE_VALUE_TYPE(ash::features::kSwapSideVolumeButtonsForOrientation)}, |
Eliot Courtney | e87a9c3 | 2018-11-20 03:33:02 | [diff] [blame] | 5130 | #endif // defined(OS_CHROMEOS) |
David Bokan | 911bded | 2018-11-27 23:23:32 | [diff] [blame] | 5131 | {"enable-implicit-root-scroller", |
| 5132 | flag_descriptions::kEnableImplicitRootScrollerName, |
| 5133 | flag_descriptions::kEnableImplicitRootScrollerDescription, kOsAll, |
| 5134 | FEATURE_VALUE_TYPE(blink::features::kImplicitRootScroller)}, |
Xiaohui Chen | c3baca4 | 2018-11-30 19:29:37 | [diff] [blame] | 5135 | |
Cathie Chen | eac7060 | 2019-10-10 02:55:29 | [diff] [blame] | 5136 | {"enable-cssom-view-scroll-coordinates", |
| 5137 | flag_descriptions::kEnableCSSOMViewScrollCoordinatesName, |
| 5138 | flag_descriptions::kEnableCSSOMViewScrollCoordinatesDescription, kOsAll, |
| 5139 | FEATURE_VALUE_TYPE(blink::features::kCSSOMViewScrollCoordinates)}, |
| 5140 | |
David Bokan | e9370c2 | 2019-02-14 15:19:58 | [diff] [blame] | 5141 | {"enable-text-fragment-anchor", |
| 5142 | flag_descriptions::kEnableTextFragmentAnchorName, |
| 5143 | flag_descriptions::kEnableTextFragmentAnchorDescription, kOsAll, |
| 5144 | FEATURE_VALUE_TYPE(blink::features::kTextFragmentAnchor)}, |
| 5145 | |
Xiaohui Chen | c3baca4 | 2018-11-30 19:29:37 | [diff] [blame] | 5146 | #if defined(OS_CHROMEOS) |
| 5147 | {"enable-assistant-stereo-input", |
| 5148 | flag_descriptions::kEnableGoogleAssistantStereoInputName, |
Xiaohui Chen | e6dd889 | 2019-08-12 21:50:09 | [diff] [blame] | 5149 | flag_descriptions::kEnableGoogleAssistantStereoInputDescription, kOsCrOS, |
Xiaohui Chen | c3baca4 | 2018-11-30 19:29:37 | [diff] [blame] | 5150 | FEATURE_VALUE_TYPE( |
| 5151 | chromeos::assistant::features::kEnableStereoAudioInput)}, |
| 5152 | #endif // defined(OS_CHROMEOS) |
Henrik Grunell | 63f2d77 | 2018-12-06 17:25:20 | [diff] [blame] | 5153 | |
Becca Hughes | ac86cd44 | 2019-01-09 23:49:54 | [diff] [blame] | 5154 | {"enable-audio-focus-enforcement", |
| 5155 | flag_descriptions::kEnableAudioFocusEnforcementName, |
| 5156 | flag_descriptions::kEnableAudioFocusEnforcementDescription, kOsDesktop, |
| 5157 | FEATURE_VALUE_TYPE(media_session::features::kAudioFocusEnforcement)}, |
| 5158 | {"enable-media-session-service", |
| 5159 | flag_descriptions::kEnableMediaSessionServiceName, |
| 5160 | flag_descriptions::kEnableMediaSessionServiceDescription, kOsDesktop, |
| 5161 | FEATURE_VALUE_TYPE(media_session::features::kMediaSessionService)}, |
Vikas Soni | 78daa63 | 2019-01-12 01:32:52 | [diff] [blame] | 5162 | {"enable-gpu-service-logging", |
| 5163 | flag_descriptions::kEnableGpuServiceLoggingName, |
| 5164 | flag_descriptions::kEnableGpuServiceLoggingDescription, kOsAll, |
| 5165 | SINGLE_VALUE_TYPE(switches::kEnableGPUServiceLogging)}, |
Daniel Ng | 96ab0c8 | 2019-01-16 01:21:55 | [diff] [blame] | 5166 | |
Tommy Steimel | c9bc2ce | 2019-03-12 22:45:58 | [diff] [blame] | 5167 | #if !defined(OS_ANDROID) |
Tommy Steimel | 1aadd7b | 2019-01-18 19:39:42 | [diff] [blame] | 5168 | {"hardware-media-key-handling", |
| 5169 | flag_descriptions::kHardwareMediaKeyHandling, |
Tommy Steimel | c9bc2ce | 2019-03-12 22:45:58 | [diff] [blame] | 5170 | flag_descriptions::kHardwareMediaKeyHandlingDescription, kOsDesktop, |
Tommy Steimel | 1aadd7b | 2019-01-18 19:39:42 | [diff] [blame] | 5171 | FEATURE_VALUE_TYPE(media::kHardwareMediaKeyHandling)}, |
| 5172 | #endif |
Xing Liu | 7d57dd3 | 2019-01-20 02:34:18 | [diff] [blame] | 5173 | |
Reka Norman | a11e57fc | 2019-01-29 21:56:58 | [diff] [blame] | 5174 | #if defined(OS_CHROMEOS) |
[email protected] | 093af04 | 2020-06-12 03:13:37 | [diff] [blame] | 5175 | {"app-service-adaptive-icon", |
| 5176 | flag_descriptions::kAppServiceAdaptiveIconName, |
| 5177 | flag_descriptions::kAppServiceAdaptiveIconDescription, kOsCrOS, |
| 5178 | FEATURE_VALUE_TYPE(features::kAppServiceAdaptiveIcon)}, |
| 5179 | |
Maggie Cai | 062ab3b | 2020-09-17 13:23:26 | [diff] [blame] | 5180 | {"app-service-external-protocol", |
| 5181 | flag_descriptions::kAppServiceExternalProtocolName, |
| 5182 | flag_descriptions::kAppServiceExternalProtocolDescription, kOsCrOS, |
| 5183 | FEATURE_VALUE_TYPE(features::kAppServiceExternalProtocol)}, |
| 5184 | |
Maggie Cai | d250297a | 2019-09-09 09:30:34 | [diff] [blame] | 5185 | {"app-service-intent-handling", |
| 5186 | flag_descriptions::kAppServiceIntentHandlingName, |
| 5187 | flag_descriptions::kAppServiceIntentHandlingDescription, kOsCrOS, |
| 5188 | FEATURE_VALUE_TYPE(features::kAppServiceIntentHandling)}, |
| 5189 | |
Miguel Casas-Sanchez | dcd6915 | 2019-09-04 21:22:36 | [diff] [blame] | 5190 | {"use-fake-device-for-media-stream", |
| 5191 | flag_descriptions::kUseFakeDeviceForMediaStreamName, |
| 5192 | flag_descriptions::kUseFakeDeviceForMediaStreamDescription, kOsCrOS, |
| 5193 | FEATURE_VALUE_TYPE(media::kUseFakeDeviceForMediaStream)}, |
Xiaoqian Dai | 492a7f00 | 2019-10-23 02:36:12 | [diff] [blame] | 5194 | |
Maggie Cai | 0532414 | 2020-05-07 00:41:49 | [diff] [blame] | 5195 | {"intent-picker-pwa-persistence", |
| 5196 | flag_descriptions::kIntentPickerPWAPersistenceName, |
| 5197 | flag_descriptions::kIntentPickerPWAPersistenceDescription, kOsCrOS, |
| 5198 | FEATURE_VALUE_TYPE(features::kIntentPickerPWAPersistence)}, |
Maggie Cai | b388c3f | 2020-06-12 03:39:42 | [diff] [blame] | 5199 | |
| 5200 | {"intent-handling-sharing", flag_descriptions::kIntentHandlingSharingName, |
| 5201 | flag_descriptions::kIntentHandlingSharingDescription, kOsCrOS, |
| 5202 | FEATURE_VALUE_TYPE(features::kIntentHandlingSharing)}, |
Reka Norman | a11e57fc | 2019-01-29 21:56:58 | [diff] [blame] | 5203 | #endif // defined(OS_CHROMEOS) |
| 5204 | |
Frank Liberato | 754d14f | 2019-01-30 23:31:17 | [diff] [blame] | 5205 | #if defined(OS_WIN) |
| 5206 | {"d3d11-video-decoder", flag_descriptions::kD3D11VideoDecoderName, |
| 5207 | flag_descriptions::kD3D11VideoDecoderDescription, kOsWin, |
| 5208 | FEATURE_VALUE_TYPE(media::kD3D11VideoDecoder)}, |
Miguel Casas | 0f1575a | 2020-07-01 01:01:25 | [diff] [blame] | 5209 | #endif |
| 5210 | |
| 5211 | #if defined(OS_CHROMEOS) && BUILDFLAG(USE_CHROMEOS_MEDIA_ACCELERATION) |
| 5212 | {"chromeos-direct-video-decoder", |
| 5213 | flag_descriptions::kChromeOSDirectVideoDecoderName, |
| 5214 | flag_descriptions::kChromeOSDirectVideoDecoderDescription, kOsCrOS, |
| 5215 | FEATURE_VALUE_TYPE(media::kUseChromeOSDirectVideoDecoder)}, |
Frank Liberato | 754d14f | 2019-01-30 23:31:17 | [diff] [blame] | 5216 | #endif |
| 5217 | |
Hui(Andy) Wu | fbebf91d2 | 2019-02-01 01:23:54 | [diff] [blame] | 5218 | #if defined(OS_ANDROID) |
| 5219 | {"autofill-assistant-chrome-entry", |
| 5220 | flag_descriptions::kAutofillAssistantChromeEntryName, |
| 5221 | flag_descriptions::kAutofillAssistantChromeEntryDescription, kOsAndroid, |
| 5222 | FEATURE_VALUE_TYPE( |
| 5223 | autofill_assistant::features::kAutofillAssistantChromeEntry)}, |
Jordan Demeulenaere | 9404ba23 | 2019-07-01 12:57:16 | [diff] [blame] | 5224 | |
| 5225 | {"autofill-assistant-direct-actions", |
| 5226 | flag_descriptions::kAutofillAssistantDirectActionsName, |
| 5227 | flag_descriptions::kAutofillAssistantDirectActionsDescription, kOsAndroid, |
| 5228 | FEATURE_VALUE_TYPE( |
| 5229 | autofill_assistant::features::kAutofillAssistantDirectActions)}, |
Hui(Andy) Wu | fbebf91d2 | 2019-02-01 01:23:54 | [diff] [blame] | 5230 | #endif // defined(OS_ANDROID) |
| 5231 | |
Yue Ru Sun | a50a80f | 2019-02-08 05:02:58 | [diff] [blame] | 5232 | {"disable-best-effort-tasks", |
| 5233 | flag_descriptions::kDisableBestEffortTasksName, |
| 5234 | flag_descriptions::kDisableBestEffortTasksDescription, kOsAll, |
| 5235 | SINGLE_VALUE_TYPE(switches::kDisableBestEffortTasks)}, |
Mohamed Amir Yosef | 3074dfc | 2019-02-06 18:34:43 | [diff] [blame] | 5236 | |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5237 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_CHROMEOS) |
David Bienvenu | c713d50 | 2019-02-07 23:46:32 | [diff] [blame] | 5238 | {"web-contents-occlusion", flag_descriptions::kWebContentsOcclusionName, |
| 5239 | flag_descriptions::kWebContentsOcclusionDescription, |
| 5240 | kOsWin | kOsMac | kOsCrOS, |
| 5241 | FEATURE_VALUE_TYPE(features::kWebContentsOcclusion)}, |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5242 | #endif // defined(OS_WIN) || defined(OS_MAC) || defined(OS_CHROMEOS) |
David Bienvenu | c713d50 | 2019-02-07 23:46:32 | [diff] [blame] | 5243 | |
Ioana Pandele | d8dc2b69 | 2019-02-20 12:04:15 | [diff] [blame] | 5244 | #if defined(OS_ANDROID) |
David Roger | 2183afb | 2019-02-21 14:19:15 | [diff] [blame] | 5245 | {"mobile-identity-consistency", |
| 5246 | flag_descriptions::kMobileIdentityConsistencyName, |
| 5247 | flag_descriptions::kMobileIdentityConsistencyDescription, kOsAndroid, |
Tanmoy Mollik | 166bb94 | 2020-02-06 11:01:45 | [diff] [blame] | 5248 | FEATURE_VALUE_TYPE(signin::kMobileIdentityConsistency)}, |
Ioana Pandele | d8dc2b69 | 2019-02-20 12:04:15 | [diff] [blame] | 5249 | #endif // defined(OS_ANDROID) |
| 5250 | |
Caitlin Fischer | 31e60b2 | 2019-03-21 21:43:37 | [diff] [blame] | 5251 | {"autofill-use-improved-label-disambiguation", |
| 5252 | flag_descriptions::kAutofillUseImprovedLabelDisambiguationName, |
| 5253 | flag_descriptions::kAutofillUseImprovedLabelDisambiguationDescription, |
| 5254 | kOsAll, |
| 5255 | FEATURE_VALUE_TYPE( |
| 5256 | autofill::features::kAutofillUseImprovedLabelDisambiguation)}, |
Caitlin Fischer | fd366e7 | 2019-02-20 20:47:32 | [diff] [blame] | 5257 | |
Jay Harris | 583f4892 | 2019-05-06 05:55:24 | [diff] [blame] | 5258 | {"file-handling-api", flag_descriptions::kFileHandlingAPIName, |
Jay Harris | 4347cf0 | 2019-10-01 06:47:13 | [diff] [blame] | 5259 | flag_descriptions::kFileHandlingAPIDescription, kOsDesktop, |
Jay Harris | 583f4892 | 2019-05-06 05:55:24 | [diff] [blame] | 5260 | FEATURE_VALUE_TYPE(blink::features::kFileHandlingAPI)}, |
| 5261 | |
Collin Baker | 75a2946 | 2019-03-13 19:57:31 | [diff] [blame] | 5262 | #if defined(TOOLKIT_VIEWS) |
| 5263 | {"installable-ink-drop", flag_descriptions::kInstallableInkDropName, |
| 5264 | flag_descriptions::kInstallableInkDropDescription, kOsDesktop, |
| 5265 | FEATURE_VALUE_TYPE(views::kInstallableInkDropFeature)}, |
| 5266 | #endif // defined(TOOLKIT_VIEWS) |
| 5267 | |
Xiaohui Chen | b523747b | 2019-03-14 23:38:32 | [diff] [blame] | 5268 | #if defined(OS_CHROMEOS) |
| 5269 | {"enable-assistant-launcher-integration", |
| 5270 | flag_descriptions::kEnableAssistantLauncherIntegrationName, |
| 5271 | flag_descriptions::kEnableAssistantLauncherIntegrationDescription, kOsCrOS, |
wutao | 1c9799c | 2019-11-09 20:33:52 | [diff] [blame] | 5272 | FEATURE_VALUE_TYPE(app_list_features::kEnableAssistantSearch)}, |
Xiaohui Chen | b523747b | 2019-03-14 23:38:32 | [diff] [blame] | 5273 | #endif // OS_CHROMEOS |
| 5274 | |
Sajad Maysam | c30d6f8 | 2019-03-19 22:52:50 | [diff] [blame] | 5275 | #if defined(TOOLKIT_VIEWS) |
| 5276 | {"enable-md-rounded-corners-on-dialogs", |
| 5277 | flag_descriptions::kEnableMDRoundedCornersOnDialogsName, |
| 5278 | flag_descriptions::kEnableMDRoundedCornersOnDialogsDescription, kOsDesktop, |
| 5279 | FEATURE_VALUE_TYPE(views::features::kEnableMDRoundedCornersOnDialogs)}, |
Dana Fried | b5d7602 | 2020-06-24 22:35:39 | [diff] [blame] | 5280 | |
| 5281 | {"enable-new-badge-on-menu-items", |
| 5282 | flag_descriptions::kEnableNewBadgeOnMenuItemsName, |
| 5283 | flag_descriptions::kEnableNewBadgeOnMenuItemsDescription, kOsDesktop, |
| 5284 | FEATURE_VALUE_TYPE(views::features::kEnableNewBadgeOnMenuItems)}, |
Sajad Maysam | c30d6f8 | 2019-03-19 22:52:50 | [diff] [blame] | 5285 | #endif // defined(TOOLKIT_VIEWS) |
| 5286 | |
W. James MacLean | f79c97e | 2019-05-02 20:35:46 | [diff] [blame] | 5287 | {"strict-origin-isolation", flag_descriptions::kStrictOriginIsolationName, |
| 5288 | flag_descriptions::kStrictOriginIsolationDescription, kOsAll, |
| 5289 | FEATURE_VALUE_TYPE(features::kStrictOriginIsolation)}, |
| 5290 | |
Hazem Ashmawy | f1cd7e4 | 2019-03-25 18:17:32 | [diff] [blame] | 5291 | #if defined(OS_ANDROID) |
| 5292 | {"enable-logging-js-console-messages", |
| 5293 | flag_descriptions::kLogJsConsoleMessagesName, |
| 5294 | flag_descriptions::kLogJsConsoleMessagesDescription, kOsAndroid, |
| 5295 | FEATURE_VALUE_TYPE(features::kLogJsConsoleMessages)}, |
| 5296 | #endif // OS_ANDROID |
| 5297 | |
Jonathan Backer | 93610a8 | 2019-03-27 14:02:38 | [diff] [blame] | 5298 | {"enable-skia-renderer", flag_descriptions::kSkiaRendererName, |
kylechar | 3259463 | 2019-07-03 15:52:36 | [diff] [blame] | 5299 | flag_descriptions::kSkiaRendererDescription, |
Christopher Cameron | dfd77274 | 2020-07-21 15:18:39 | [diff] [blame] | 5300 | kOsLinux | kOsWin | kOsAndroid | kOsMac, |
Jonathan Backer | 93610a8 | 2019-03-27 14:02:38 | [diff] [blame] | 5301 | FEATURE_VALUE_TYPE(features::kUseSkiaRenderer)}, |
| 5302 | |
Roman Sorokin | 6812e008 | 2019-04-01 10:12:57 | [diff] [blame] | 5303 | #if defined(OS_CHROMEOS) |
Zentaro Kavanagh | 65b3e11 | 2019-09-03 16:18:23 | [diff] [blame] | 5304 | {"allow-disable-mouse-acceleration", |
| 5305 | flag_descriptions::kAllowDisableMouseAccelerationName, |
| 5306 | flag_descriptions::kAllowDisableMouseAccelerationDescription, kOsCrOS, |
| 5307 | FEATURE_VALUE_TYPE(features::kAllowDisableMouseAcceleration)}, |
| 5308 | |
Kyle Horimoto | 734f075 | 2020-03-20 20:46:54 | [diff] [blame] | 5309 | {"allow-scroll-settings", flag_descriptions::kAllowScrollSettingsName, |
| 5310 | flag_descriptions::kAllowScrollSettingsDescription, kOsCrOS, |
Kyle Horimoto | 5ab70b90 | 2020-04-01 22:23:59 | [diff] [blame] | 5311 | FEATURE_VALUE_TYPE(chromeos::features::kAllowScrollSettings)}, |
Kyle Horimoto | 734f075 | 2020-03-20 20:46:54 | [diff] [blame] | 5312 | |
Becca Hughes | 7146553 | 2019-04-12 19:18:55 | [diff] [blame] | 5313 | {"enable-media-session-notifications", |
| 5314 | flag_descriptions::kMediaSessionNotificationsName, |
| 5315 | flag_descriptions::kMediaSessionNotificationsDescription, kOsCrOS, |
| 5316 | FEATURE_VALUE_TYPE(ash::features::kMediaSessionNotification)}, |
| 5317 | |
Rob Schonberger | c258473f | 2019-11-08 05:09:35 | [diff] [blame] | 5318 | {"enable-neural-stylus-palm-rejection", |
| 5319 | flag_descriptions::kEnableNeuralStylusPalmRejectionName, |
| 5320 | flag_descriptions::kEnableNeuralStylusPalmRejectionDescription, kOsCrOS, |
| 5321 | FEATURE_VALUE_TYPE(ui::kEnableNeuralPalmDetectionFilter)}, |
| 5322 | |
Rob Schonberger | ba23578 | 2020-03-11 05:01:14 | [diff] [blame] | 5323 | {"enable-palm-max-touch-major", |
| 5324 | flag_descriptions::kEnablePalmOnMaxTouchMajorName, |
| 5325 | flag_descriptions::kEnablePalmOnMaxTouchMajorDescription, kOsCrOS, |
| 5326 | FEATURE_VALUE_TYPE(ui::kEnablePalmOnMaxTouchMajor)}, |
| 5327 | |
| 5328 | {"enable-palm-tool-type-palm", |
| 5329 | flag_descriptions::kEnablePalmOnToolTypePalmName, |
| 5330 | flag_descriptions::kEnablePalmOnToolTypePalmName, kOsCrOS, |
| 5331 | FEATURE_VALUE_TYPE(ui::kEnablePalmOnToolTypePalm)}, |
| 5332 | |
Rob Schonberger | 11bb281 | 2019-07-31 23:41:00 | [diff] [blame] | 5333 | {"enable-heuristic-stylus-palm-rejection", |
| 5334 | flag_descriptions::kEnableHeuristicStylusPalmRejectionName, |
| 5335 | flag_descriptions::kEnableHeuristicStylusPalmRejectionDescription, kOsCrOS, |
| 5336 | FEATURE_VALUE_TYPE(ui::kEnableHeuristicPalmDetectionFilter)}, |
| 5337 | |
Becca Hughes | 7146553 | 2019-04-12 19:18:55 | [diff] [blame] | 5338 | {"enable-hide-arc-media-notifications", |
| 5339 | flag_descriptions::kHideArcMediaNotificationsName, |
| 5340 | flag_descriptions::kHideArcMediaNotificationsDescription, kOsCrOS, |
| 5341 | FEATURE_VALUE_TYPE(ash::features::kHideArcMediaNotifications)}, |
Jimmy Gong | fa6a6ea | 2019-05-22 23:38:24 | [diff] [blame] | 5342 | |
Joel Hockey | 6fd56ce9 | 2020-08-27 00:08:13 | [diff] [blame] | 5343 | {"media-notifications-counter", |
| 5344 | flag_descriptions::kMediaNotificationsCounterName, |
| 5345 | flag_descriptions::kMediaNotificationsCounterDescription, kOsCrOS, |
| 5346 | FEATURE_VALUE_TYPE(ash::features::kMediaNotificationsCounter)}, |
| 5347 | |
Bailey Berro | 2c179770 | 2019-09-30 18:49:42 | [diff] [blame] | 5348 | {"reduce-display-notifications", |
| 5349 | flag_descriptions::kReduceDisplayNotificationsName, |
| 5350 | flag_descriptions::kReduceDisplayNotificationsDescription, kOsCrOS, |
| 5351 | FEATURE_VALUE_TYPE(ash::features::kReduceDisplayNotifications)}, |
| 5352 | |
Zentaro Kavanagh | 892851f | 2019-05-29 15:13:31 | [diff] [blame] | 5353 | {"use-search-click-for-right-click", |
| 5354 | flag_descriptions::kUseSearchClickForRightClickName, |
| 5355 | flag_descriptions::kUseSearchClickForRightClickDescription, kOsCrOS, |
| 5356 | FEATURE_VALUE_TYPE(chromeos::features::kUseSearchClickForRightClick)}, |
Jimmy Gong | 09aff04 | 2019-10-23 20:13:07 | [diff] [blame] | 5357 | |
Steven Bennetts | 66bc354 | 2020-06-25 23:05:28 | [diff] [blame] | 5358 | {"show-metered-toggle", flag_descriptions::kMeteredShowToggleName, |
| 5359 | flag_descriptions::kMeteredShowToggleDescription, kOsCrOS, |
| 5360 | FEATURE_VALUE_TYPE(features::kMeteredShowToggle)}, |
| 5361 | |
Jimmy Gong | 9859f39 | 2020-02-21 21:10:27 | [diff] [blame] | 5362 | {"printer-status", flag_descriptions::kPrinterStatusName, |
Gavin Williams | dfdb239 | 2020-02-20 21:07:06 | [diff] [blame] | 5363 | flag_descriptions::kPrinterStatusDescription, kOsCrOS, |
| 5364 | FEATURE_VALUE_TYPE(chromeos::features::kPrinterStatus)}, |
Jimmy Gong | 9859f39 | 2020-02-21 21:10:27 | [diff] [blame] | 5365 | |
Gavin Williams | f616378 | 2020-09-03 19:08:57 | [diff] [blame] | 5366 | {"printer-status-dialog", flag_descriptions::kPrinterStatusDialogName, |
| 5367 | flag_descriptions::kPrinterStatusDialogDescription, kOsCrOS, |
| 5368 | FEATURE_VALUE_TYPE(chromeos::features::kPrinterStatusDialog)}, |
| 5369 | |
Jimmy Gong | 9859f39 | 2020-02-21 21:10:27 | [diff] [blame] | 5370 | {"print-job-management-app", flag_descriptions::kPrintJobManagementAppName, |
| 5371 | flag_descriptions::kPrintJobManagementAppDescription, kOsCrOS, |
| 5372 | FEATURE_VALUE_TYPE(chromeos::features::kPrintJobManagementApp)}, |
Su Hong Koo | bbd04e0 | 2020-04-04 00:16:06 | [diff] [blame] | 5373 | |
Nnamdi Theodore Johnson-Kanu | abbd8dea | 2020-07-21 21:10:19 | [diff] [blame] | 5374 | {"enable-phone-hub", flag_descriptions::kPhoneHubName, |
| 5375 | flag_descriptions::kPhoneHubDescription, kOsCrOS, |
| 5376 | FEATURE_VALUE_TYPE(chromeos::features::kPhoneHub)}, |
| 5377 | |
Claude van der Merwe | 6a7f4e4 | 2020-08-19 23:26:50 | [diff] [blame] | 5378 | {"wifi-sync-android", flag_descriptions::kWifiSyncAndroidName, |
| 5379 | flag_descriptions::kWifiSyncAndroidDescription, kOsCrOS, |
| 5380 | FEATURE_VALUE_TYPE(chromeos::features::kWifiSyncAndroid)}, |
| 5381 | |
Su Hong Koo | bbd04e0 | 2020-04-04 00:16:06 | [diff] [blame] | 5382 | {"display-identification", flag_descriptions::kDisplayIdentificationName, |
| 5383 | flag_descriptions::kDisplayIdentificationDescription, kOsCrOS, |
| 5384 | FEATURE_VALUE_TYPE(ash::features::kDisplayIdentification)}, |
Bailey Berro | 01f0974 | 2020-07-21 05:40:59 | [diff] [blame] | 5385 | |
| 5386 | {"display-alignment-assistance", |
| 5387 | flag_descriptions::kDisplayAlignmentAssistanceName, |
| 5388 | flag_descriptions::kDisplayAlignmentAssistanceDescription, kOsCrOS, |
| 5389 | FEATURE_VALUE_TYPE(ash::features::kDisplayAlignAssist)}, |
Gavin Williams | 206629d | 2020-08-05 01:50:59 | [diff] [blame] | 5390 | |
| 5391 | {"print-save-to-drive", flag_descriptions::kPrintSaveToDriveName, |
| 5392 | flag_descriptions::kPrintSaveToDriveDescription, kOsCrOS, |
| 5393 | FEATURE_VALUE_TYPE(chromeos::features::kPrintSaveToDrive)}, |
Jimmy Gong | ba69b98 | 2020-08-25 00:01:29 | [diff] [blame] | 5394 | |
| 5395 | {"diagnostics-app", flag_descriptions::kDiagnosticsAppName, |
| 5396 | flag_descriptions::kDiagnosticsAppDescription, kOsCrOS, |
| 5397 | FEATURE_VALUE_TYPE(chromeos::features::kDiagnosticsApp)}, |
Roman Sorokin | 6812e008 | 2019-04-01 10:12:57 | [diff] [blame] | 5398 | #endif // OS_CHROMEOS |
| 5399 | |
Sebastien Lalancette | 1545950b | 2019-04-08 14:43:11 | [diff] [blame] | 5400 | {"autofill-off-no-server-data", |
| 5401 | flag_descriptions::kAutofillOffNoServerDataName, |
| 5402 | flag_descriptions::kAutofillOffNoServerDataDescription, kOsAll, |
| 5403 | FEATURE_VALUE_TYPE(autofill::features::kAutofillOffNoServerData)}, |
| 5404 | |
Lucas Furukawa Gadani | 9f57e19 | 2019-04-05 14:56:10 | [diff] [blame] | 5405 | {"enable-portals", flag_descriptions::kEnablePortalsName, |
| 5406 | flag_descriptions::kEnablePortalsDescription, kOsAll, |
| 5407 | FEATURE_VALUE_TYPE(blink::features::kPortals)}, |
Jeremy Roman | 30e81e8 | 2020-01-29 22:56:47 | [diff] [blame] | 5408 | {"enable-portals-cross-origin", |
| 5409 | flag_descriptions::kEnablePortalsCrossOriginName, |
| 5410 | flag_descriptions::kEnablePortalsCrossOriginDescription, kOsAll, |
| 5411 | FEATURE_VALUE_TYPE(blink::features::kPortalsCrossOrigin)}, |
Manas Verma | 7e5b391b | 2019-04-09 02:08:53 | [diff] [blame] | 5412 | {"enable-autofill-credit-card-authentication", |
| 5413 | flag_descriptions::kEnableAutofillCreditCardAuthenticationName, |
| 5414 | flag_descriptions::kEnableAutofillCreditCardAuthenticationDescription, |
| 5415 | kOsAll, |
| 5416 | FEATURE_VALUE_TYPE(autofill::features::kAutofillCreditCardAuthentication)}, |
Lucas Furukawa Gadani | 9f57e19 | 2019-04-05 14:56:10 | [diff] [blame] | 5417 | |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5418 | #if defined(OS_MAC) |
Henrik Grunell | abaf718 | 2019-04-12 09:15:19 | [diff] [blame] | 5419 | {"mac-system-media-permissions-info-ui", |
| 5420 | flag_descriptions::kMacSystemMediaPermissionsInfoUiName, |
| 5421 | flag_descriptions::kMacSystemMediaPermissionsInfoUiDescription, kOsMac, |
| 5422 | FEATURE_VALUE_TYPE(features::kMacSystemMediaPermissionsInfoUi)}, |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5423 | #endif // defined(OS_MAC) |
Henrik Grunell | abaf718 | 2019-04-12 09:15:19 | [diff] [blame] | 5424 | |
Brandon Maslen | da12cf8 | 2019-08-23 20:54:18 | [diff] [blame] | 5425 | {"storage-access-api", flag_descriptions::kStorageAccessAPIName, |
| 5426 | flag_descriptions::kStorageAccessAPIDescription, kOsAll, |
| 5427 | FEATURE_VALUE_TYPE(blink::features::kStorageAccessAPI)}, |
| 5428 | |
Lily Chen | e0d3ac9 | 2019-04-22 16:55:53 | [diff] [blame] | 5429 | {"same-site-by-default-cookies", |
| 5430 | flag_descriptions::kSameSiteByDefaultCookiesName, |
| 5431 | flag_descriptions::kSameSiteByDefaultCookiesDescription, kOsAll, |
| 5432 | FEATURE_VALUE_TYPE(net::features::kSameSiteByDefaultCookies)}, |
| 5433 | |
Jenny Blessing | 45326bf | 2019-08-29 23:50:37 | [diff] [blame] | 5434 | {"enable-removing-all-third-party-cookies", |
| 5435 | flag_descriptions::kEnableRemovingAllThirdPartyCookiesName, |
| 5436 | flag_descriptions::kEnableRemovingAllThirdPartyCookiesDescription, |
| 5437 | kOsDesktop, |
| 5438 | FEATURE_VALUE_TYPE( |
| 5439 | browsing_data::features::kEnableRemovingAllThirdPartyCookies)}, |
| 5440 | |
Lily Chen | eb304c8f | 2019-04-25 23:37:45 | [diff] [blame] | 5441 | {"cookies-without-same-site-must-be-secure", |
| 5442 | flag_descriptions::kCookiesWithoutSameSiteMustBeSecureName, |
| 5443 | flag_descriptions::kCookiesWithoutSameSiteMustBeSecureDescription, kOsAll, |
| 5444 | FEATURE_VALUE_TYPE(net::features::kCookiesWithoutSameSiteMustBeSecure)}, |
| 5445 | |
Anqing Zhao | 05ec582 | 2019-11-21 15:42:43 | [diff] [blame] | 5446 | #if defined(OS_CHROMEOS) |
| 5447 | {"enterprise-reporting-in-chromeos", |
| 5448 | flag_descriptions::kEnterpriseReportingInChromeOSName, |
| 5449 | flag_descriptions::kEnterpriseReportingInChromeOSDescription, kOsCrOS, |
| 5450 | FEATURE_VALUE_TYPE(features::kEnterpriseReportingInChromeOS)}, |
| 5451 | #endif // !defined(OS_CHROMEOS) |
| 5452 | |
François Beaufort | db160c1 | 2019-05-01 06:28:14 | [diff] [blame] | 5453 | {"enable-unsafe-webgpu", flag_descriptions::kUnsafeWebGPUName, |
Rafael Cintron | bd215b0 | 2019-10-31 18:45:50 | [diff] [blame] | 5454 | flag_descriptions::kUnsafeWebGPUDescription, kOsMac | kOsWin, |
François Beaufort | db160c1 | 2019-05-01 06:28:14 | [diff] [blame] | 5455 | SINGLE_VALUE_TYPE(switches::kEnableUnsafeWebGPU)}, |
| 5456 | |
Maya Lekova | 4785fd2 | 2020-08-31 10:36:07 | [diff] [blame] | 5457 | {"enable-unsafe-fast-js-calls", flag_descriptions::kUnsafeFastJSCallsName, |
| 5458 | flag_descriptions::kUnsafeFastJSCallsDescription, kOsAll, |
| 5459 | SINGLE_VALUE_TYPE(switches::kEnableUnsafeFastJSCalls)}, |
| 5460 | |
Caitlin Fischer | 43edd90a | 2019-05-01 13:24:30 | [diff] [blame] | 5461 | #if defined(OS_ANDROID) |
| 5462 | {"autofill-use-mobile-label-disambiguation", |
| 5463 | flag_descriptions::kAutofillUseMobileLabelDisambiguationName, |
| 5464 | flag_descriptions::kAutofillUseMobileLabelDisambiguationDescription, |
| 5465 | kOsAndroid, |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 5466 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 5467 | autofill::features::kAutofillUseMobileLabelDisambiguation, |
| 5468 | kAutofillUseMobileLabelDisambiguationVariations, |
| 5469 | "AutofillUseMobileLabelDisambiguation")}, |
Caitlin Fischer | 43edd90a | 2019-05-01 13:24:30 | [diff] [blame] | 5470 | #endif // defined(OS_ANDROID) |
| 5471 | |
Caitlin Fischer | 6d60954 | 2019-05-01 21:59:21 | [diff] [blame] | 5472 | {"autofill-prune-suggestions", |
| 5473 | flag_descriptions::kAutofillPruneSuggestionsName, |
| 5474 | flag_descriptions::kAutofillPruneSuggestionsDescription, kOsAll, |
| 5475 | FEATURE_VALUE_TYPE(autofill::features::kAutofillPruneSuggestions)}, |
| 5476 | |
Julian Pastarmov | 885e8ed | 2019-05-03 14:24:24 | [diff] [blame] | 5477 | {"allow-popups-during-page-unload", |
| 5478 | flag_descriptions::kAllowPopupsDuringPageUnloadName, |
Yann Dago | baa08aa | 2019-07-29 20:52:37 | [diff] [blame] | 5479 | flag_descriptions::kAllowPopupsDuringPageUnloadDescription, |
Yann Dago | 7802871 | 2019-09-04 15:23:54 | [diff] [blame] | 5480 | kOsAll | kDeprecated, |
Avi Drissman | 16dfa1c | 2019-10-09 21:41:13 | [diff] [blame] | 5481 | FEATURE_VALUE_TYPE(features::kAllowPopupsDuringPageUnload)}, |
| 5482 | |
Vladislav Kuzkokov | 22f860ed | 2019-05-22 16:26:54 | [diff] [blame] | 5483 | #if defined(OS_CHROMEOS) |
| 5484 | {"enable-advanced-ppd-attributes", |
| 5485 | flag_descriptions::kEnableAdvancedPpdAttributesName, |
| 5486 | flag_descriptions::kEnableAdvancedPpdAttributesDescription, kOsCrOS, |
Alan Screen | 2215769 | 2020-01-31 06:15:07 | [diff] [blame] | 5487 | FEATURE_VALUE_TYPE(printing::features::kAdvancedPpdAttributes)}, |
Vladislav Kuzkokov | 22f860ed | 2019-05-22 16:26:54 | [diff] [blame] | 5488 | #endif // defined(OS_CHROMEOS) |
Julian Pastarmov | 885e8ed | 2019-05-03 14:24:24 | [diff] [blame] | 5489 | |
Katie Dillon | 8b35731 | 2019-09-19 13:23:23 | [diff] [blame] | 5490 | {"allow-sync-xhr-in-page-dismissal", |
| 5491 | flag_descriptions::kAllowSyncXHRInPageDismissalName, |
Yann Dago | f589d580 | 2019-09-26 17:14:00 | [diff] [blame] | 5492 | flag_descriptions::kAllowSyncXHRInPageDismissalDescription, |
| 5493 | kOsAll | kDeprecated, |
Katie Dillon | 8b35731 | 2019-09-19 13:23:23 | [diff] [blame] | 5494 | FEATURE_VALUE_TYPE(blink::features::kAllowSyncXHRInPageDismissal)}, |
kdillon | 21723b4c | 2019-05-07 18:35:17 | [diff] [blame] | 5495 | |
Yu Han | 478675a2 | 2020-06-09 20:30:24 | [diff] [blame] | 5496 | #if !defined(OS_ANDROID) |
| 5497 | {"form-controls-dark-mode", flag_descriptions::kFormControlsDarkModeName, |
| 5498 | flag_descriptions::kFormControlsDarkModeDescription, kOsDesktop, |
| 5499 | FEATURE_VALUE_TYPE(features::kCSSColorSchemeUARendering)}, |
| 5500 | #endif // !defined(OS_ANDROID) |
| 5501 | |
Ionel Popescu | 4ba2a093 | 2019-05-07 20:10:27 | [diff] [blame] | 5502 | {"form-controls-refresh", flag_descriptions::kFormControlsRefreshName, |
Ian Kilpatrick | e9a9f464 | 2020-06-26 22:04:18 | [diff] [blame] | 5503 | flag_descriptions::kFormControlsRefreshDescription, |
| 5504 | kOsWin | kOsLinux | kOsCrOS | kOsAndroid, |
Ionel Popescu | 4ba2a093 | 2019-05-07 20:10:27 | [diff] [blame] | 5505 | FEATURE_VALUE_TYPE(features::kFormControlsRefresh)}, |
| 5506 | |
Mason Freed | 5cbb9b2 | 2020-06-27 00:22:42 | [diff] [blame] | 5507 | {"color-picker-eye-dropper", flag_descriptions::kColorPickerEyeDropperName, |
Ionel Popescu | f987fe47 | 2020-08-28 00:44:28 | [diff] [blame] | 5508 | flag_descriptions::kColorPickerEyeDropperDescription, kOsWin | kOsMac, |
Mason Freed | 5cbb9b2 | 2020-06-27 00:22:42 | [diff] [blame] | 5509 | FEATURE_VALUE_TYPE(features::kEyeDropper)}, |
| 5510 | |
Jia | 0175adae | 2019-05-15 00:21:25 | [diff] [blame] | 5511 | #if defined(OS_CHROMEOS) |
| 5512 | {"auto-screen-brightness", flag_descriptions::kAutoScreenBrightnessName, |
| 5513 | flag_descriptions::kAutoScreenBrightnessDescription, kOsCrOS, |
| 5514 | FEATURE_VALUE_TYPE(chromeos::features::kAutoScreenBrightness)}, |
Jon Mann | c514fc9 | 2019-05-23 21:30:23 | [diff] [blame] | 5515 | {"sync-wifi-configurations", flag_descriptions::kSyncWifiConfigurationsName, |
| 5516 | flag_descriptions::kSyncWifiConfigurationsDescription, kOsCrOS, |
| 5517 | FEATURE_VALUE_TYPE(switches::kSyncWifiConfigurations)}, |
Jia | 0175adae | 2019-05-15 00:21:25 | [diff] [blame] | 5518 | #endif // defined(OS_CHROMEOS) |
| 5519 | |
Jimmy Gong | e649d57 | 2019-05-21 23:22:28 | [diff] [blame] | 5520 | {"audio-worklet-realtime-thread", |
Hongchan Choi | 370d3af | 2019-05-20 20:56:58 | [diff] [blame] | 5521 | flag_descriptions::kAudioWorkletRealtimeThreadName, |
| 5522 | flag_descriptions::kAudioWorkletRealtimeThreadDescription, kOsAll, |
siyua | a92bc94 | 2019-05-24 20:57:33 | [diff] [blame] | 5523 | FEATURE_VALUE_TYPE(blink::features::kAudioWorkletRealtimeThread)}, |
| 5524 | |
Andrew Moylan | 5bb68b42 | 2019-05-27 04:56:45 | [diff] [blame] | 5525 | #if defined(OS_CHROMEOS) |
Yulun Wu | c5584ae | 2020-06-27 00:10:14 | [diff] [blame] | 5526 | {"maintain-shelf-state-overview", |
| 5527 | flag_descriptions::kMaintainShelfStateWhenEnteringOverviewName, |
| 5528 | flag_descriptions::kMaintainShelfStateWhenEnteringOverviewDescription, |
| 5529 | kOsCrOS, |
| 5530 | FEATURE_VALUE_TYPE( |
| 5531 | ash::features::kMaintainShelfStateWhenEnteringOverview)}, |
| 5532 | #endif // defined(OS_CHROMEOS) |
| 5533 | |
| 5534 | #if defined(OS_CHROMEOS) |
Andrew Moylan | 60ac7c0c | 2019-05-28 06:52:18 | [diff] [blame] | 5535 | {"smart-dim-model-v3", flag_descriptions::kSmartDimModelV3Name, |
| 5536 | flag_descriptions::kSmartDimModelV3Description, kOsCrOS, |
| 5537 | FEATURE_VALUE_TYPE(chromeos::features::kSmartDimModelV3)}, |
alanlxl | 1d52f62 | 2020-03-17 01:15:16 | [diff] [blame] | 5538 | {"smart-dim-new-ml-agent", flag_descriptions::kSmartDimNewMlAgentName, |
| 5539 | flag_descriptions::kSmartDimNewMlAgentDescription, kOsCrOS, |
| 5540 | FEATURE_VALUE_TYPE(chromeos::features::kSmartDimNewMlAgent)}, |
Andrew Moylan | 5bb68b42 | 2019-05-27 04:56:45 | [diff] [blame] | 5541 | #endif // defined(OS_CHROMEOS) |
| 5542 | |
Andrey Zaytsev | 724790c | 2020-06-25 17:05:10 | [diff] [blame] | 5543 | #if defined(OS_ANDROID) |
| 5544 | {"privacy-elevated-android", flag_descriptions::kPrivacyElevatedAndroidName, |
| 5545 | flag_descriptions::kPrivacyElevatedAndroidDescription, kOsAndroid, |
| 5546 | FEATURE_VALUE_TYPE(features::kPrivacyElevatedAndroid)}, |
Xinghui Lu | 7242e5f | 2020-08-08 00:23:47 | [diff] [blame] | 5547 | |
| 5548 | {"privacy-reordered-android", |
| 5549 | flag_descriptions::kPrivacyReorderedAndroidName, |
| 5550 | flag_descriptions::kPrivacyReorderedAndroidDescription, kOsAndroid, |
| 5551 | FEATURE_VALUE_TYPE(features::kPrivacyReorderedAndroid)}, |
Andrey Zaytsev | 724790c | 2020-06-25 17:05:10 | [diff] [blame] | 5552 | #endif |
| 5553 | |
Sean Harrison | b65269e | 2019-10-15 14:44:17 | [diff] [blame] | 5554 | {"privacy-settings-redesign", |
| 5555 | flag_descriptions::kPrivacySettingsRedesignName, |
Rainhard Findling | 16ab95a | 2020-01-15 21:42:55 | [diff] [blame] | 5556 | flag_descriptions::kPrivacySettingsRedesignDescription, kOsDesktop, |
Sean Harrison | b65269e | 2019-10-15 14:44:17 | [diff] [blame] | 5557 | FEATURE_VALUE_TYPE(features::kPrivacySettingsRedesign)}, |
| 5558 | |
Andrey Zaytsev | 4b522fd | 2020-05-04 08:34:38 | [diff] [blame] | 5559 | #if defined(OS_ANDROID) |
| 5560 | {"safety-check-android", flag_descriptions::kSafetyCheckAndroidName, |
| 5561 | flag_descriptions::kSafetyCheckAndroidDescription, kOsAndroid, |
| 5562 | FEATURE_VALUE_TYPE(features::kSafetyCheckAndroid)}, |
| 5563 | #endif |
| 5564 | |
Xinghui Lu | 77f5236 | 2020-07-23 00:08:39 | [diff] [blame] | 5565 | #if defined(OS_ANDROID) |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 5566 | {"metrics-settings-android", flag_descriptions::kMetricsSettingsAndroidName, |
| 5567 | flag_descriptions::kMetricsSettingsAndroidDescription, kOsAndroid, |
| 5568 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kSafetyCheckAndroid, |
| 5569 | kMetricsSettingsAndroidVariations, |
| 5570 | "MetricsSettingsAndroid")}, |
| 5571 | #endif |
| 5572 | |
| 5573 | #if defined(OS_ANDROID) |
Bettina | bfcec6e | 2020-08-24 20:26:18 | [diff] [blame] | 5574 | {"safe-browsing-client-side-detection-android", |
| 5575 | flag_descriptions::kSafeBrowsingClientSideDetectionAndroidName, |
| 5576 | flag_descriptions::kSafeBrowsingClientSideDetectionAndroidDescription, |
| 5577 | kOsAndroid, |
| 5578 | FEATURE_VALUE_TYPE(safe_browsing::kClientSideDetectionForAndroid)}, |
| 5579 | |
Xinghui Lu | 77f5236 | 2020-07-23 00:08:39 | [diff] [blame] | 5580 | {"safe-browsing-enhanced-protection-android", |
| 5581 | flag_descriptions::kSafeBrowsingEnhancedProtectionAndroidName, |
| 5582 | flag_descriptions::kSafeBrowsingEnhancedProtectionAndroidDescription, |
| 5583 | kOsAndroid, FEATURE_VALUE_TYPE(safe_browsing::kEnhancedProtection)}, |
| 5584 | |
Bettina Dea | f449197 | 2020-09-30 23:39:44 | [diff] [blame] | 5585 | {"safe-browsing-enhanced-protection-promo-android", |
| 5586 | flag_descriptions::kEnhancedProtectionPromoAndroidName, |
| 5587 | flag_descriptions::kEnhancedProtectionPromoAndroidDescription, kOsAndroid, |
| 5588 | FEATURE_VALUE_TYPE(chrome::android::kEnhancedProtectionPromoCard)}, |
| 5589 | |
Xinghui Lu | 77f5236 | 2020-07-23 00:08:39 | [diff] [blame] | 5590 | {"safe-browsing-security-section-ui-android", |
| 5591 | flag_descriptions::kSafeBrowsingSecuritySectionUiAndroidName, |
| 5592 | flag_descriptions::kSafeBrowsingSecuritySectionUiAndroidDescription, |
| 5593 | kOsAndroid, |
| 5594 | FEATURE_VALUE_TYPE(safe_browsing::kSafeBrowsingSecuritySectionUIAndroid)}, |
| 5595 | #endif |
| 5596 | |
Xinghui Lu | 52abe90 | 2020-10-01 22:29:01 | [diff] [blame] | 5597 | {"safe-browsing-enhanced-protection-message-in-interstitials", |
| 5598 | flag_descriptions:: |
| 5599 | kSafeBrowsingEnhancedProtectionMessageInInterstitialsName, |
| 5600 | flag_descriptions:: |
| 5601 | kSafeBrowsingEnhancedProtectionMessageInInterstitialsDescription, |
| 5602 | kOsAll, |
| 5603 | FEATURE_VALUE_TYPE( |
| 5604 | safe_browsing::kEnhancedProtectionMessageInInterstitials)}, |
| 5605 | |
Harry Cutts | cfe6d934f | 2019-06-05 21:45:55 | [diff] [blame] | 5606 | #if defined(OS_CHROMEOS) |
| 5607 | {"gesture-properties-dbus-service", |
| 5608 | flag_descriptions::kEnableGesturePropertiesDBusServiceName, |
| 5609 | flag_descriptions::kEnableGesturePropertiesDBusServiceDescription, kOsCrOS, |
| 5610 | FEATURE_VALUE_TYPE(chromeos::features::kGesturePropertiesDBusService)}, |
| 5611 | #endif // defined(OS_CHROMEOS) |
| 5612 | |
Lily Chen | b22952e | 2019-06-06 18:56:23 | [diff] [blame] | 5613 | {"cookie-deprecation-messages", |
| 5614 | flag_descriptions::kCookieDeprecationMessagesName, |
| 5615 | flag_descriptions::kCookieDeprecationMessagesDescription, kOsAll, |
| 5616 | FEATURE_VALUE_TYPE(features::kCookieDeprecationMessages)}, |
| 5617 | |
Christopher Thompson | f3ba2012 | 2019-06-06 22:01:01 | [diff] [blame] | 5618 | {"ev-details-in-page-info", flag_descriptions::kEvDetailsInPageInfoName, |
| 5619 | flag_descriptions::kEvDetailsInPageInfoDescription, kOsDesktop, |
| 5620 | FEATURE_VALUE_TYPE(features::kEvDetailsInPageInfo)}, |
| 5621 | |
siyua | 2989983 | 2019-06-07 19:42:12 | [diff] [blame] | 5622 | {"enable-autofill-credit-card-upload-feedback", |
| 5623 | flag_descriptions::kEnableAutofillCreditCardUploadFeedbackName, |
| 5624 | flag_descriptions::kEnableAutofillCreditCardUploadFeedbackDescription, |
| 5625 | kOsWin | kOsMac | kOsLinux, |
| 5626 | FEATURE_VALUE_TYPE(autofill::features::kAutofillCreditCardUploadFeedback)}, |
siyua | 8370d2c | 2019-06-10 20:10:02 | [diff] [blame] | 5627 | |
Olivier Yiptong | b60d2c4 | 2020-01-10 22:47:15 | [diff] [blame] | 5628 | {"font-access", flag_descriptions::kFontAccessAPIName, |
| 5629 | flag_descriptions::kFontAccessAPIDescription, kOsAll, |
| 5630 | FEATURE_VALUE_TYPE(blink::features::kFontAccess)}, |
| 5631 | |
Danan S | 749399c | 2019-06-25 23:08:48 | [diff] [blame] | 5632 | #if defined(OS_CHROMEOS) |
| 5633 | {"enable-parental-controls-settings", |
| 5634 | flag_descriptions::kEnableParentalControlsSettingsName, |
| 5635 | flag_descriptions::kEnableParentalControlsSettingsDescription, kOsCrOS, |
James Cook | 8ab85f3 | 2019-08-05 18:30:11 | [diff] [blame] | 5636 | FEATURE_VALUE_TYPE(chromeos::features::kParentalControlsSettings)}, |
Danan S | 749399c | 2019-06-25 23:08:48 | [diff] [blame] | 5637 | #endif // defined(OS_CHROMEOS) |
| 5638 | |
Ella Ge | 1282f55 | 2019-06-24 20:06:03 | [diff] [blame] | 5639 | {"mouse-subframe-no-implicit-capture", |
| 5640 | flag_descriptions::kMouseSubframeNoImplicitCaptureName, |
| 5641 | flag_descriptions::kMouseSubframeNoImplicitCaptureDescription, kOsAll, |
| 5642 | FEATURE_VALUE_TYPE(features::kMouseSubframeNoImplicitCapture)}, |
| 5643 | |
Jan Wilken Dörrie | 45ccf25 | 2019-06-25 18:07:46 | [diff] [blame] | 5644 | #if defined(OS_ANDROID) |
Jan Wilken Dörrie | 3e8c302 | 2019-10-21 11:43:46 | [diff] [blame] | 5645 | {"touch-to-fill", flag_descriptions::kAutofillTouchToFillName, |
| 5646 | flag_descriptions::kAutofillTouchToFillDescription, kOsAndroid, |
| 5647 | FEATURE_VALUE_TYPE(autofill::features::kAutofillTouchToFill)}, |
Jan Wilken Dörrie | 45ccf25 | 2019-06-25 18:07:46 | [diff] [blame] | 5648 | #endif // defined(OS_ANDROID) |
| 5649 | |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 5650 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \ |
| 5651 | defined(OS_CHROMEOS) |
Tommy Steimel | 863e6cf | 2019-07-01 19:07:36 | [diff] [blame] | 5652 | {"global-media-controls", flag_descriptions::kGlobalMediaControlsName, |
| 5653 | flag_descriptions::kGlobalMediaControlsDescription, |
| 5654 | kOsWin | kOsMac | kOsLinux, |
| 5655 | FEATURE_VALUE_TYPE(media::kGlobalMediaControls)}, |
Takumi Fujimoto | d25d2b7 | 2019-12-19 00:36:18 | [diff] [blame] | 5656 | |
| 5657 | {"global-media-controls-for-cast", |
| 5658 | flag_descriptions::kGlobalMediaControlsForCastName, |
| 5659 | flag_descriptions::kGlobalMediaControlsForCastDescription, |
| 5660 | kOsWin | kOsMac | kOsLinux, |
| 5661 | FEATURE_VALUE_TYPE(media::kGlobalMediaControlsForCast)}, |
Tommy Steimel | e5c5c12 | 2020-02-06 23:22:35 | [diff] [blame] | 5662 | |
Jazz Xu | 223d04c | 2020-09-22 20:23:01 | [diff] [blame] | 5663 | {"global-media-controls-for-chromeos", |
| 5664 | flag_descriptions::kGlobalMediaControlsForChromeOSName, |
| 5665 | flag_descriptions::kGlobalMediaControlsForChromeOSDescription, kOsCrOS, |
| 5666 | FEATURE_VALUE_TYPE(media::kGlobalMediaControlsForChromeOS)}, |
| 5667 | |
Noah Rose Ledesma | 1bbd071 | 2020-09-09 20:36:44 | [diff] [blame] | 5668 | {"global-media-controls-modern-ui", |
| 5669 | flag_descriptions::kGlobalMediaControlsModernUIName, |
| 5670 | flag_descriptions::kGlobalMediaControlsModernUIDescription, |
| 5671 | kOsWin | kOsMac | kOsLinux | kOsCrOS, |
| 5672 | FEATURE_VALUE_TYPE(media::kGlobalMediaControlsModernUI)}, |
| 5673 | |
Tommy Steimel | e5c5c12 | 2020-02-06 23:22:35 | [diff] [blame] | 5674 | {"global-media-controls-picture-in-picture", |
| 5675 | flag_descriptions::kGlobalMediaControlsPictureInPictureName, |
| 5676 | flag_descriptions::kGlobalMediaControlsPictureInPictureDescription, |
| 5677 | kOsWin | kOsMac | kOsLinux | kOsCrOS, |
| 5678 | FEATURE_VALUE_TYPE(media::kGlobalMediaControlsPictureInPicture)}, |
Noah Rose Ledesma | 210c560 | 2020-06-22 21:06:46 | [diff] [blame] | 5679 | |
| 5680 | {"global-media-controls-seamless-transfer", |
| 5681 | flag_descriptions::kGlobalMediaControlsSeamlessTransferName, |
| 5682 | flag_descriptions::kGlobalMediaControlsSeamlessTransferDescription, |
| 5683 | kOsWin | kOsMac | kOsLinux, |
| 5684 | FEATURE_VALUE_TYPE(media::kGlobalMediaControlsSeamlessTransfer)}, |
Jazz Xu | 15f2b1c | 2020-07-09 14:42:14 | [diff] [blame] | 5685 | |
| 5686 | {"global-media-controls-overlay-controls", |
| 5687 | flag_descriptions::kGlobalMediaControlsOverlayControlsName, |
| 5688 | flag_descriptions::kGlobalMediaControlsOverlayControlsDescription, |
| 5689 | kOsWin | kOsMac | kOsLinux, |
| 5690 | FEATURE_VALUE_TYPE(media::kGlobalMediaControlsOverlayControls)}, |
Sean McAllister | 0d73ca3d | 2020-08-19 17:54:37 | [diff] [blame] | 5691 | #endif // defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || |
| 5692 | // defined(OS_CHROMEOS) |
Tommy Steimel | 863e6cf | 2019-07-01 19:07:36 | [diff] [blame] | 5693 | |
Guillaume Jenkins | dd8060a7 | 2019-07-03 17:28:06 | [diff] [blame] | 5694 | #if BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_WIN) |
| 5695 | {"win-use-native-spellchecker", |
| 5696 | flag_descriptions::kWinUseBrowserSpellCheckerName, |
| 5697 | flag_descriptions::kWinUseBrowserSpellCheckerDescription, kOsWin, |
| 5698 | FEATURE_VALUE_TYPE(spellcheck::kWinUseBrowserSpellChecker)}, |
| 5699 | #endif // BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_WIN) |
| 5700 | |
Joe DeBlasio | fb27709 | 2019-07-03 23:46:36 | [diff] [blame] | 5701 | {"safety-tips", flag_descriptions::kSafetyTipName, |
| 5702 | flag_descriptions::kSafetyTipDescription, kOsAll, |
Joe DeBlasio | 92c3003 | 2019-10-11 16:48:07 | [diff] [blame] | 5703 | FEATURE_VALUE_TYPE(security_state::features::kSafetyTipUI)}, |
Joe DeBlasio | fb27709 | 2019-07-03 23:46:36 | [diff] [blame] | 5704 | |
Jason Lin | 121f0ac | 2019-07-10 01:46:13 | [diff] [blame] | 5705 | #if defined(OS_CHROMEOS) |
Nicholas Verne | 8462962 | 2019-11-14 04:55:52 | [diff] [blame] | 5706 | {"crostini-webui-upgrader", flag_descriptions::kCrostiniWebUIUpgraderName, |
| 5707 | flag_descriptions::kCrostiniWebUIUpgraderDescription, kOsCrOS, |
| 5708 | FEATURE_VALUE_TYPE(chromeos::features::kCrostiniWebUIUpgrader)}, |
Jason Lin | 121f0ac | 2019-07-10 01:46:13 | [diff] [blame] | 5709 | #endif // OS_CHROMEOS |
| 5710 | |
Will Cassella | fd1edf0 | 2020-08-26 23:13:08 | [diff] [blame] | 5711 | {"turn-off-streaming-media-caching-on-battery", |
| 5712 | flag_descriptions::kTurnOffStreamingMediaCachingOnBatteryName, |
| 5713 | flag_descriptions::kTurnOffStreamingMediaCachingOnBatteryDescription, |
| 5714 | kOsAll, |
| 5715 | FEATURE_VALUE_TYPE(net::features::kTurnOffStreamingMediaCachingOnBattery)}, |
| 5716 | |
| 5717 | {"turn-off-streaming-media-caching-always", |
| 5718 | flag_descriptions::kTurnOffStreamingMediaCachingAlwaysName, |
| 5719 | flag_descriptions::kTurnOffStreamingMediaCachingAlwaysDescription, kOsAll, |
| 5720 | FEATURE_VALUE_TYPE(net::features::kTurnOffStreamingMediaCachingAlways)}, |
Shawn Pickett | 0b47071 | 2019-08-15 00:43:45 | [diff] [blame] | 5721 | |
Keishi Hattori | 1529974 | 2020-04-20 04:00:09 | [diff] [blame] | 5722 | {"enable-cooperative-scheduling", |
| 5723 | flag_descriptions::kCooperativeSchedulingName, |
| 5724 | flag_descriptions::kCooperativeSchedulingDescription, kOsAll, |
| 5725 | FEATURE_VALUE_TYPE(features::kCooperativeScheduling)}, |
| 5726 | |
Doug Arnett | 32e3e01 | 2019-07-11 16:45:17 | [diff] [blame] | 5727 | {"enable-defer-all-script", flag_descriptions::kEnableDeferAllScriptName, |
| 5728 | flag_descriptions::kEnableDeferAllScriptDescription, kOsAll, |
| 5729 | FEATURE_VALUE_TYPE(previews::features::kDeferAllScriptPreviews)}, |
Tarun Bansal | fb3069d3 | 2019-07-19 03:28:04 | [diff] [blame] | 5730 | {"enable-defer-all-script-without-optimization-hints", |
| 5731 | flag_descriptions::kEnableDeferAllScriptWithoutOptimizationHintsName, |
| 5732 | flag_descriptions:: |
| 5733 | kEnableDeferAllScriptWithoutOptimizationHintsDescription, |
| 5734 | kOsAll, |
| 5735 | SINGLE_VALUE_TYPE( |
| 5736 | previews::switches::kEnableDeferAllScriptWithoutOptimizationHints)}, |
Doug Arnett | 32e3e01 | 2019-07-11 16:45:17 | [diff] [blame] | 5737 | |
Xiao Yang | f59e693 | 2019-07-19 00:18:13 | [diff] [blame] | 5738 | #if defined(OS_CHROMEOS) |
| 5739 | {"enable-assistant-routines", |
| 5740 | flag_descriptions::kEnableAssistantRoutinesName, |
| 5741 | flag_descriptions::kEnableAssistantRoutinesDescription, kOsCrOS, |
| 5742 | FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantRoutines)}, |
| 5743 | #endif // OS_CHROMEOS |
| 5744 | |
Xing Liu | 1919ec23 | 2019-07-22 20:38:04 | [diff] [blame] | 5745 | {"notification-scheduler-debug-options", |
| 5746 | flag_descriptions::kNotificationSchedulerDebugOptionName, |
| 5747 | flag_descriptions::kNotificationSchedulerDebugOptionDescription, |
| 5748 | kOsAndroid, MULTI_VALUE_TYPE(kNotificationSchedulerChoices)}, |
| 5749 | |
Patrick Noland | 76b5c44 | 2019-07-30 01:01:39 | [diff] [blame] | 5750 | #if defined(OS_ANDROID) |
| 5751 | {"usage-stats", flag_descriptions::kUsageStatsName, |
| 5752 | flag_descriptions::kUsageStatsDescription, kOsAndroid, |
| 5753 | FEATURE_VALUE_TYPE(chrome::android::kUsageStatsFeature)}, |
Xing Liu | f84cb1a | 2020-08-10 19:06:35 | [diff] [blame] | 5754 | |
| 5755 | {"use-chime-android-sdk", flag_descriptions::kUseChimeAndroidSdkName, |
| 5756 | flag_descriptions::kUseChimeAndroidSdkDescription, kOsAndroid, |
| 5757 | FEATURE_VALUE_TYPE(notifications::features::kUseChimeAndroidSdk)}, |
| 5758 | |
Patrick Noland | 76b5c44 | 2019-07-30 01:01:39 | [diff] [blame] | 5759 | #endif // defined(OS_ANDROID) |
| 5760 | |
Becca Hughes | ca82d2d | 2019-08-05 20:03:22 | [diff] [blame] | 5761 | #if defined(OS_CHROMEOS) |
| 5762 | {"lock-screen-media-controls", |
| 5763 | flag_descriptions::kLockScreenMediaControlsName, |
| 5764 | flag_descriptions::kLockScreenMediaControlsDescription, kOsCrOS, |
| 5765 | FEATURE_VALUE_TYPE(ash::features::kLockScreenMediaControls)}, |
| 5766 | #endif // defined(OS_CHROMEOS) |
| 5767 | |
Yulun Wu | 1e35513 | 2020-02-11 20:12:22 | [diff] [blame] | 5768 | #if defined(OS_CHROMEOS) |
| 5769 | {"contextual-nudges", flag_descriptions::kContextualNudgesName, |
| 5770 | flag_descriptions::kContextualNudgesDescription, kOsCrOS, |
| 5771 | FEATURE_VALUE_TYPE(ash::features::kContextualNudges)}, |
| 5772 | #endif // defined(OS_CHROMEOS) |
| 5773 | |
Sasha McIntosh | e889f9f | 2019-09-03 21:01:57 | [diff] [blame] | 5774 | {"decode-jpeg-images-to-yuv", |
| 5775 | flag_descriptions::kDecodeJpeg420ImagesToYUVName, |
| 5776 | flag_descriptions::kDecodeJpeg420ImagesToYUVDescription, kOsAll, |
| 5777 | FEATURE_VALUE_TYPE(blink::features::kDecodeJpeg420ImagesToYUV)}, |
| 5778 | |
Madeleine Barowsky | 266406d9 | 2019-08-12 19:20:15 | [diff] [blame] | 5779 | {"decode-webp-images-to-yuv", |
| 5780 | flag_descriptions::kDecodeLossyWebPImagesToYUVName, |
| 5781 | flag_descriptions::kDecodeLossyWebPImagesToYUVDescription, kOsAll, |
| 5782 | FEATURE_VALUE_TYPE(blink::features::kDecodeLossyWebPImagesToYUV)}, |
dalyk | c936eb61 | 2019-08-14 11:46:47 | [diff] [blame] | 5783 | |
Daniel McArdle | b87dd009 | 2020-02-10 20:23:46 | [diff] [blame] | 5784 | {"dns-httpssvc", flag_descriptions::kDnsHttpssvcName, |
| 5785 | flag_descriptions::kDnsHttpssvcDescription, |
| 5786 | kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
Daniel McArdle | f542d13 | 2020-04-03 18:59:33 | [diff] [blame] | 5787 | FEATURE_VALUE_TYPE(net::features::kDnsHttpssvc)}, |
Daniel McArdle | b87dd009 | 2020-02-10 20:23:46 | [diff] [blame] | 5788 | |
dalyk | c936eb61 | 2019-08-14 11:46:47 | [diff] [blame] | 5789 | {"dns-over-https", flag_descriptions::kDnsOverHttpsName, |
dalyk | 348087f | 2019-09-04 12:40:26 | [diff] [blame] | 5790 | flag_descriptions::kDnsOverHttpsDescription, |
| 5791 | kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
dalyk | c936eb61 | 2019-08-14 11:46:47 | [diff] [blame] | 5792 | FEATURE_VALUE_TYPE(features::kDnsOverHttps)}, |
| 5793 | |
Tsuyoshi Horo | abfb079d | 2019-10-17 02:09:06 | [diff] [blame] | 5794 | {"web-bundles", flag_descriptions::kWebBundlesName, |
| 5795 | flag_descriptions::kWebBundlesDescription, kOsAll, |
| 5796 | FEATURE_VALUE_TYPE(features::kWebBundles)}, |
Takashi Toyoshima | ff97707 | 2019-08-16 10:34:13 | [diff] [blame] | 5797 | |
Lijin Shen | 5feade6 | 2019-09-17 03:01:01 | [diff] [blame] | 5798 | #if defined(OS_ANDROID) |
Ayu Ishii | dbdd5c9 | 2020-03-20 23:40:52 | [diff] [blame] | 5799 | {"web-otp-backend", flag_descriptions::kWebOtpBackendName, |
| 5800 | flag_descriptions::kWebOtpBackendDescription, kOsAndroid, |
| 5801 | MULTI_VALUE_TYPE(kWebOtpBackendChoices)}, |
| 5802 | |
Lijin Shen | 5feade6 | 2019-09-17 03:01:01 | [diff] [blame] | 5803 | {"darken-websites-checkbox-in-themes-setting", |
| 5804 | flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingName, |
| 5805 | flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingDescription, |
| 5806 | kOsAndroid, |
| 5807 | FEATURE_VALUE_TYPE( |
| 5808 | chrome::android::kDarkenWebsitesCheckboxInThemesSetting)}, |
| 5809 | #endif // defined(OS_ANDROID) |
| 5810 | |
Christos Froussios | 13b412df | 2019-09-19 19:12:47 | [diff] [blame] | 5811 | {"enable-autofill-upi-vpa", flag_descriptions::kAutofillSaveAndFillVPAName, |
| 5812 | flag_descriptions::kAutofillSaveAndFillVPADescription, kOsAll, |
| 5813 | FEATURE_VALUE_TYPE(autofill::features::kAutofillSaveAndFillVPA)}, |
Jan Wilken Dörrie | e8a6b3c | 2019-08-20 14:14:46 | [diff] [blame] | 5814 | |
Andy Paicu | 4d675fe | 2019-08-22 15:30:06 | [diff] [blame] | 5815 | {"quiet-notification-prompts", |
| 5816 | flag_descriptions::kQuietNotificationPromptsName, |
Kamila | 2724bd70 | 2019-09-10 16:08:58 | [diff] [blame] | 5817 | flag_descriptions::kQuietNotificationPromptsDescription, kOsAll, |
Andy Paicu | 4d675fe | 2019-08-22 15:30:06 | [diff] [blame] | 5818 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kQuietNotificationPrompts, |
| 5819 | kQuietNotificationPromptsVariations, |
| 5820 | "QuietNotificationPrompts")}, |
Illia Klimov | 5ba0f17 | 2020-09-30 21:23:23 | [diff] [blame] | 5821 | {"abusive-notification-permission-revocation", |
| 5822 | flag_descriptions::kAbusiveNotificationPermissionRevocationName, |
| 5823 | flag_descriptions::kAbusiveNotificationPermissionRevocationDescription, |
| 5824 | kOsAll, |
| 5825 | FEATURE_VALUE_TYPE(features::kAbusiveNotificationPermissionRevocation)}, |
Nandhini | 11a6a87b | 2019-08-22 22:45:24 | [diff] [blame] | 5826 | |
Kamila | 2724bd70 | 2019-09-10 16:08:58 | [diff] [blame] | 5827 | #if defined(OS_ANDROID) |
Ben Goldberger | 0074e68 | 2020-09-09 17:09:09 | [diff] [blame] | 5828 | {"context-menu-google-lens-chip", |
| 5829 | flag_descriptions::kContextMenuGoogleLensChipName, |
| 5830 | flag_descriptions::kContextMenuGoogleLensChipDescription, kOsAndroid, |
| 5831 | FEATURE_VALUE_TYPE(chrome::android::kContextMenuGoogleLensChip)}, |
| 5832 | |
Nandhini | 11a6a87b | 2019-08-22 22:45:24 | [diff] [blame] | 5833 | {"context-menu-search-with-google-lens", |
| 5834 | flag_descriptions::kContextMenuSearchWithGoogleLensName, |
| 5835 | flag_descriptions::kContextMenuSearchWithGoogleLensDescription, kOsAndroid, |
| 5836 | FEATURE_VALUE_TYPE(chrome::android::kContextMenuSearchWithGoogleLens)}, |
Yu Su | 50dfedd5 | 2020-06-19 02:34:49 | [diff] [blame] | 5837 | |
| 5838 | {"context-menu-shop-with-google-lens", |
| 5839 | flag_descriptions::kContextMenuShopWithGoogleLensName, |
| 5840 | flag_descriptions::kContextMenuShopWithGoogleLensDescription, kOsAndroid, |
| 5841 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 5842 | chrome::android::kContextMenuShopWithGoogleLens, |
| 5843 | kContextMenuShopWithGoogleLensShopVariations, |
| 5844 | "ContextMenuShopWithGoogleLens")}, |
| 5845 | |
| 5846 | {"context-menu-search-and-shop-with-google-lens", |
| 5847 | flag_descriptions::kContextMenuSearchAndShopWithGoogleLensName, |
| 5848 | flag_descriptions::kContextMenuSearchAndShopWithGoogleLensDescription, |
| 5849 | kOsAndroid, |
| 5850 | FEATURE_VALUE_TYPE( |
| 5851 | chrome::android::kContextMenuSearchAndShopWithGoogleLens)}, |
Andy Paicu | 4d675fe | 2019-08-22 15:30:06 | [diff] [blame] | 5852 | #endif // defined(OS_ANDROID) |
| 5853 | |
tby | a97bb93c | 2019-08-23 02:16:40 | [diff] [blame] | 5854 | #if defined(OS_CHROMEOS) |
tby | 0e3e5819 | 2020-04-08 23:14:22 | [diff] [blame] | 5855 | {"launcher-settings-search", flag_descriptions::kLauncherSettingsSearchName, |
| 5856 | flag_descriptions::kLauncherSettingsSearchDescription, kOsCrOS, |
| 5857 | FEATURE_VALUE_TYPE(app_list_features::kLauncherSettingsSearch)}, |
| 5858 | |
Eleni Dimitriadis | 86ff6060 | 2019-12-23 05:17:09 | [diff] [blame] | 5859 | {"enable-suggested-files", flag_descriptions::kEnableSuggestedFilesName, |
| 5860 | flag_descriptions::kEnableSuggestedFilesDescription, kOsCrOS, |
| 5861 | FEATURE_VALUE_TYPE(app_list_features::kEnableSuggestedFiles)}, |
| 5862 | |
Paul Dyson | e2e1a09 | 2019-08-28 23:53:11 | [diff] [blame] | 5863 | {"aggregated-ml-app-ranking", |
| 5864 | flag_descriptions::kAggregatedMlAppRankingName, |
| 5865 | flag_descriptions::kAggregatedMlAppRankingDescription, kOsCrOS, |
| 5866 | FEATURE_VALUE_TYPE(app_list_features::kEnableAggregatedMlAppRanking)}, |
Toni Barzic | 8468f1b | 2019-08-29 01:28:35 | [diff] [blame] | 5867 | |
tby | a97bb93c | 2019-08-23 02:16:40 | [diff] [blame] | 5868 | #endif // defined(OS_CHROMEOS) |
| 5869 | |
Marc Treib | 7c27a50 | 2019-08-28 12:37:03 | [diff] [blame] | 5870 | {"passwords-account-storage", |
| 5871 | flag_descriptions::kEnablePasswordsAccountStorageName, |
| 5872 | flag_descriptions::kEnablePasswordsAccountStorageDescription, |
| 5873 | kOsWin | kOsMac | kOsLinux, |
| 5874 | FEATURE_VALUE_TYPE( |
| 5875 | password_manager::features::kEnablePasswordsAccountStorage)}, |
| 5876 | |
Lei Zhang | a4561e70 | 2020-08-20 17:09:15 | [diff] [blame] | 5877 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \ |
Marc Treib | 9d4a5e1 | 2020-08-19 17:20:37 | [diff] [blame] | 5878 | defined(OS_CHROMEOS) |
| 5879 | {"passwords-account-storage-iph", |
| 5880 | flag_descriptions::kEnablePasswordsAccountStorageIPHName, |
| 5881 | flag_descriptions::kEnablePasswordsAccountStorageIPHDescription, |
| 5882 | kOsWin | kOsMac | kOsLinux, |
| 5883 | FEATURE_VALUE_TYPE( |
| 5884 | feature_engagement::kIPHPasswordsAccountStorageFeature)}, |
Lei Zhang | a4561e70 | 2020-08-20 17:09:15 | [diff] [blame] | 5885 | #endif // defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || |
Marc Treib | 9d4a5e1 | 2020-08-19 17:20:37 | [diff] [blame] | 5886 | // defined(OS_CHROMEOS) |
| 5887 | |
Anne Lim | 24031e9d | 2019-09-12 23:03:19 | [diff] [blame] | 5888 | {"autofill-always-return-cloud-tokenized-card", |
| 5889 | flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardName, |
| 5890 | flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardDescription, |
| 5891 | kOsAll, |
| 5892 | FEATURE_VALUE_TYPE( |
| 5893 | autofill::features::kAutofillAlwaysReturnCloudTokenizedCard)}, |
| 5894 | |
Alexander Timin | 6ae060b6 | 2019-09-17 11:21:37 | [diff] [blame] | 5895 | {"back-forward-cache", flag_descriptions::kBackForwardCacheName, |
| 5896 | flag_descriptions::kBackForwardCacheDescription, kOsAll, |
Alexander Timin | 6d24bd2f | 2019-09-17 19:52:03 | [diff] [blame] | 5897 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kBackForwardCache, |
| 5898 | kBackForwardCacheVariations, |
| 5899 | "BackForwardCache")}, |
Alexander Timin | 6ae060b6 | 2019-09-17 11:21:37 | [diff] [blame] | 5900 | |
Pavel Yatsuk | fb2129a | 2019-09-20 03:28:50 | [diff] [blame] | 5901 | #if defined(OS_ANDROID) |
Gang Wu | 77cb111 | 2020-04-06 23:21:43 | [diff] [blame] | 5902 | {"enable-clipboard-provider-image-suggestions", |
| 5903 | flag_descriptions::kEnableClipboardProviderImageSuggestionsName, |
| 5904 | flag_descriptions::kEnableClipboardProviderImageSuggestionsDescription, |
| 5905 | kOsAndroid, |
Gang Wu | c0173f1 | 2020-05-27 06:10:15 | [diff] [blame] | 5906 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 5907 | omnibox::kEnableClipboardProviderImageSuggestions, |
| 5908 | kOmniboxImageSearchSuggestionThumbnailVariation, |
| 5909 | "OmniboxEnableClipboardProviderImageSuggestions")}, |
Gang Wu | a90d4e2c | 2019-09-20 20:30:11 | [diff] [blame] | 5910 | #endif // defined(OS_ANDROID) |
| 5911 | |
Matt Amert | 2df4f145 | 2019-12-09 04:59:49 | [diff] [blame] | 5912 | {"impulse-scroll-animations", |
| 5913 | flag_descriptions::kImpulseScrollAnimationsName, |
| 5914 | flag_descriptions::kImpulseScrollAnimationsDescription, kOsAll, |
| 5915 | FEATURE_VALUE_TYPE(features::kImpulseScrollAnimations)}, |
Aaron Krajeski | 1f0bbab5 | 2020-09-14 18:16:49 | [diff] [blame] | 5916 | |
Matt Amert | ecf4bf3 | 2019-09-25 19:50:39 | [diff] [blame] | 5917 | {"percent-based-scrolling", flag_descriptions::kPercentBasedScrollingName, |
| 5918 | flag_descriptions::kPercentBasedScrollingDescription, kOsAll, |
| 5919 | FEATURE_VALUE_TYPE(features::kPercentBasedScrolling)}, |
| 5920 | |
David Bokan | ebe23cc5 | 2020-05-11 18:20:46 | [diff] [blame] | 5921 | {"scroll-unification", flag_descriptions::kScrollUnificationName, |
| 5922 | flag_descriptions::kScrollUnificationDescription, kOsAll, |
| 5923 | FEATURE_VALUE_TYPE(features::kScrollUnification)}, |
| 5924 | |
Rahul Arakeri | f87184f | 2020-04-16 23:29:39 | [diff] [blame] | 5925 | #if defined(OS_WIN) |
| 5926 | {"elastic-overscroll-win", flag_descriptions::kElasticOverscrollWinName, |
| 5927 | flag_descriptions::kElasticOverscrollWinDescription, kOsWin, |
| 5928 | FEATURE_VALUE_TYPE(features::kElasticOverscrollWin)}, |
| 5929 | #endif |
| 5930 | |
Christopher Thompson | b89e7f9 | 2019-09-26 22:31:42 | [diff] [blame] | 5931 | #if !defined(OS_ANDROID) |
| 5932 | {"show-legacy-tls-warnings", flag_descriptions::kLegacyTLSWarningsName, |
| 5933 | flag_descriptions::kLegacyTLSWarningsDescription, kOsDesktop, |
calamity | aa4a221 | 2019-10-02 04:53:04 | [diff] [blame] | 5934 | FEATURE_VALUE_TYPE(security_state::features::kLegacyTLSWarnings)}, |
Christopher Thompson | b89e7f9 | 2019-09-26 22:31:42 | [diff] [blame] | 5935 | #endif |
| 5936 | |
Xiaohui Chen | 3f3a5bf1 | 2019-09-28 00:29:45 | [diff] [blame] | 5937 | #if defined(OS_CHROMEOS) |
| 5938 | {"enable-assistant-aec", flag_descriptions::kEnableGoogleAssistantAecName, |
| 5939 | flag_descriptions::kEnableGoogleAssistantAecDescription, kOsCrOS, |
| 5940 | FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantAudioEraser)}, |
| 5941 | #endif |
| 5942 | |
Pete Lavallee | 2d4415c7 | 2019-10-07 20:43:56 | [diff] [blame] | 5943 | #if defined(OS_WIN) |
| 5944 | {"enable-winrt-geolocation-implementation", |
| 5945 | flag_descriptions::kWinrtGeolocationImplementationName, |
| 5946 | flag_descriptions::kWinrtGeolocationImplementationDescription, kOsWin, |
| 5947 | FEATURE_VALUE_TYPE(features::kWinrtGeolocationImplementation)}, |
| 5948 | #endif |
| 5949 | |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5950 | #if defined(OS_MAC) |
James Hollyer | 070f60a | 2020-05-05 06:13:15 | [diff] [blame] | 5951 | {"enable-core-location-implementation", |
| 5952 | flag_descriptions::kMacCoreLocationImplementationName, |
| 5953 | flag_descriptions::kMacCoreLocationImplementationDescription, kOsMac, |
| 5954 | FEATURE_VALUE_TYPE(features::kMacCoreLocationImplementation)}, |
| 5955 | #endif |
| 5956 | |
Mohamed Adel | 52ac1ae | 2020-09-08 16:10:27 | [diff] [blame] | 5957 | #if defined(OS_MAC) |
| 5958 | {"enable-new-mac-notification-api", |
| 5959 | flag_descriptions::kNewMacNotificationAPIName, |
| 5960 | flag_descriptions::kNewMacNotificationAPIDescription, kOsMac, |
| 5961 | FEATURE_VALUE_TYPE(features::kNewMacNotificationAPI)}, |
| 5962 | #endif |
| 5963 | |
Nicholas Hollingum | e9a6744f | 2019-10-03 05:57:29 | [diff] [blame] | 5964 | #if defined(OS_CHROMEOS) |
Prabir Pradhan | 67677e8 | 2020-09-11 18:26:52 | [diff] [blame] | 5965 | {"exo-gamepad-vibration", flag_descriptions::kExoGamepadVibrationName, |
| 5966 | flag_descriptions::kExoGamepadVibrationDescription, kOsCrOS, |
| 5967 | FEATURE_VALUE_TYPE(chromeos::features::kGamepadVibration)}, |
Nicholas Hollingum | 4cbff26 | 2020-09-08 04:02:15 | [diff] [blame] | 5968 | {"exo-ordinal-motion", flag_descriptions::kExoOrdinalMotionName, |
| 5969 | flag_descriptions::kExoOrdinalMotionDescription, kOsCrOS, |
| 5970 | FEATURE_VALUE_TYPE(chromeos::features::kExoOrdinalMotion)}, |
Nicholas Hollingum | e9a6744f | 2019-10-03 05:57:29 | [diff] [blame] | 5971 | {"exo-pointer-lock", flag_descriptions::kExoPointerLockName, |
| 5972 | flag_descriptions::kExoPointerLockDescription, kOsCrOS, |
| 5973 | FEATURE_VALUE_TYPE(chromeos::features::kExoPointerLock)}, |
| 5974 | #endif // defined(OS_CHROMEOS) |
| 5975 | |
Avi Drissman | 2e458df | 2020-07-29 16:24:31 | [diff] [blame] | 5976 | #if defined(OS_MAC) |
Christopher Cameron | 93855ff | 2019-10-10 19:26:54 | [diff] [blame] | 5977 | {"metal", flag_descriptions::kMetalName, |
| 5978 | flag_descriptions::kMetalDescription, kOsMac, |
| 5979 | FEATURE_VALUE_TYPE(features::kMetal)}, |
| 5980 | #endif |
| 5981 | |
Eric Karl | 34c4838 | 2019-10-15 02:04:17 | [diff] [blame] | 5982 | {"enable-de-jelly", flag_descriptions::kEnableDeJellyName, |
| 5983 | flag_descriptions::kEnableDeJellyDescription, kOsAll, |
| 5984 | SINGLE_VALUE_TYPE(switches::kEnableDeJelly)}, |
| 5985 | |
Charles Zhao | 9d1b8def | 2019-10-16 22:32:39 | [diff] [blame] | 5986 | #if defined(OS_CHROMEOS) |
| 5987 | {"enable-cros-action-recorder", |
| 5988 | flag_descriptions::kEnableCrOSActionRecorderName, |
| 5989 | flag_descriptions::kEnableCrOSActionRecorderDescription, kOsCrOS, |
Charles Zhao | 7e5fd0e | 2019-10-20 23:20:51 | [diff] [blame] | 5990 | MULTI_VALUE_TYPE(kEnableCrOSActionRecorderChoices)}, |
Charles Zhao | 9d1b8def | 2019-10-16 22:32:39 | [diff] [blame] | 5991 | #endif // defined(OS_CHROMEOS) |
| 5992 | |
Sebastien | 6f347c4 | 2019-10-25 19:12:41 | [diff] [blame] | 5993 | #if defined(OS_ANDROID) |
| 5994 | {"enable-games-hub", flag_descriptions::kGamesHubName, |
| 5995 | flag_descriptions::kGamesHubDescription, kOsAndroid, |
| 5996 | FEATURE_VALUE_TYPE(games::features::kGamesHub)}, |
| 5997 | #endif // defined(OS_ANDROID) |
| 5998 | |
John Delaney | 782c7776 | 2019-10-28 15:53:56 | [diff] [blame] | 5999 | {"enable-heavy-ad-intervention", |
| 6000 | flag_descriptions::kHeavyAdInterventionName, |
| 6001 | flag_descriptions::kHeavyAdInterventionDescription, kOsAll, |
| 6002 | FEATURE_VALUE_TYPE(features::kHeavyAdIntervention)}, |
| 6003 | |
John Delaney | 521fe9f | 2020-04-29 22:18:19 | [diff] [blame] | 6004 | {"heavy-ad-privacy-mitigations", |
| 6005 | flag_descriptions::kHeavyAdPrivacyMitigationsName, |
| 6006 | flag_descriptions::kHeavyAdPrivacyMitigationsDescription, kOsAll, |
John Delaney | 782c7776 | 2019-10-28 15:53:56 | [diff] [blame] | 6007 | FEATURE_VALUE_TYPE(features::kHeavyAdPrivacyMitigations)}, |
| 6008 | |
Asanka Herath | d37426e | 2019-10-29 22:11:10 | [diff] [blame] | 6009 | #if !BUILDFLAG(DISABLE_FTP_SUPPORT) |
| 6010 | {"enable-ftp", flag_descriptions::kEnableFtpName, |
| 6011 | flag_descriptions::kEnableFtpDescription, kOsAll, |
Minggang Wang | 049d5c5 | 2020-09-03 05:34:46 | [diff] [blame] | 6012 | FEATURE_VALUE_TYPE(blink::features::kFtpProtocol)}, |
Asanka Herath | d37426e | 2019-10-29 22:11:10 | [diff] [blame] | 6013 | #endif |
| 6014 | |
David Munro | 3728ef7 | 2019-10-30 07:22:15 | [diff] [blame] | 6015 | #if defined(OS_CHROMEOS) |
| 6016 | {"crostini-use-buster-image", |
| 6017 | flag_descriptions::kCrostiniUseBusterImageName, |
| 6018 | flag_descriptions::kCrostiniUseBusterImageDescription, kOsCrOS, |
| 6019 | FEATURE_VALUE_TYPE(chromeos::features::kCrostiniUseBusterImage)}, |
Sara Kato | 0e6af32 | 2019-11-05 04:34:17 | [diff] [blame] | 6020 | {"arc-application-zoom", flag_descriptions::kArcApplicationZoomName, |
| 6021 | flag_descriptions::kArcApplicationZoomDescription, kOsCrOS, |
| 6022 | FEATURE_VALUE_TYPE(arc::kEnableApplicationZoomFeature)}, |
David Munro | 3528c5c | 2020-01-13 02:44:37 | [diff] [blame] | 6023 | {"crostini-disk-resizing", flag_descriptions::kCrostiniDiskResizingName, |
| 6024 | flag_descriptions::kCrostiniDiskResizingDescription, kOsCrOS, |
| 6025 | FEATURE_VALUE_TYPE(chromeos::features::kCrostiniDiskResizing)}, |
David Munro | 3728ef7 | 2019-10-30 07:22:15 | [diff] [blame] | 6026 | #endif // defined(OS_CHROMEOS) |
| 6027 | |
Wenyu Fu | 673eb7e | 2019-11-06 19:12:37 | [diff] [blame] | 6028 | #if defined(OS_ANDROID) |
| 6029 | {"enable-home-page-location-policy", |
| 6030 | flag_descriptions::kHomepageLocationName, |
| 6031 | flag_descriptions::kHomepageLocationDescription, kOsAndroid, |
| 6032 | FEATURE_VALUE_TYPE(chrome::android::kHomepageLocation)}, |
Wenyu Fu | f2d08341 | 2019-12-20 23:13:51 | [diff] [blame] | 6033 | {"homepage-settings-ui-conversion", |
| 6034 | flag_descriptions::kHomepageSettingsUIConversionName, |
| 6035 | flag_descriptions::kHomepageSettingsUIConversionDescription, kOsAndroid, |
| 6036 | FEATURE_VALUE_TYPE(chrome::android::kHomepageSettingsUIConversion)}, |
Wenyu Fu | a369f155 | 2020-05-01 00:54:45 | [diff] [blame] | 6037 | {"homepage-promo-card", flag_descriptions::kHomepagePromoCardName, |
| 6038 | flag_descriptions::kHomepagePromoCardDescription, kOsAndroid, |
| 6039 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kHomepagePromoCard, |
| 6040 | kHomepagePromoCardVariations, |
Wenyu Fu | c9e213f | 2020-07-07 20:04:37 | [diff] [blame] | 6041 | "HomepagePromoAndroid")}, |
Wenyu Fu | 673eb7e | 2019-11-06 19:12:37 | [diff] [blame] | 6042 | #endif // defined(OS_ANDROID) |
| 6043 | |
James Cook | 9348f36 | 2019-11-15 01:15:58 | [diff] [blame] | 6044 | #if defined(OS_CHROMEOS) |
| 6045 | {"split-settings-sync", flag_descriptions::kSplitSettingsSyncName, |
| 6046 | flag_descriptions::kSplitSettingsSyncDescription, kOsCrOS, |
| 6047 | FEATURE_VALUE_TYPE(chromeos::features::kSplitSettingsSync)}, |
Daniel Classon | 5d8a0fd | 2020-06-30 03:28:49 | [diff] [blame] | 6048 | {"os-settings-deep-linking", flag_descriptions::kOsSettingsDeepLinkingName, |
| 6049 | flag_descriptions::kOsSettingsDeepLinkingDescription, kOsCrOS, |
Daniel Classon | d1e52f66 | 2020-07-08 21:51:51 | [diff] [blame] | 6050 | FEATURE_VALUE_TYPE(chromeos::features::kOsSettingsDeepLinking)}, |
Rachel Carpenter | 271c91a | 2020-06-29 04:09:36 | [diff] [blame] | 6051 | {"help-app-release-notes", flag_descriptions::kHelpAppReleaseNotesName, |
| 6052 | flag_descriptions::kHelpAppReleaseNotesDescription, kOsCrOS, |
| 6053 | FEATURE_VALUE_TYPE(chromeos::features::kHelpAppReleaseNotes)}, |
Zufeng Wang | 884a790 | 2020-06-30 05:37:33 | [diff] [blame] | 6054 | {"help-app-search-service-integration", |
| 6055 | flag_descriptions::kHelpAppSearchServiceIntegrationName, |
| 6056 | flag_descriptions::kHelpAppSearchServiceIntegrationDescription, kOsCrOS, |
| 6057 | FEATURE_VALUE_TYPE(chromeos::features::kHelpAppSearchServiceIntegration)}, |
Trent Apted | bc6c311 | 2019-11-15 05:58:13 | [diff] [blame] | 6058 | {"media-app", flag_descriptions::kMediaAppName, |
| 6059 | flag_descriptions::kMediaAppDescription, kOsCrOS, |
| 6060 | FEATURE_VALUE_TYPE(chromeos::features::kMediaApp)}, |
Nnamdi Theodore Johnson-Kanu | 99ad7711 | 2020-07-20 17:49:09 | [diff] [blame] | 6061 | {"os-settings-polymer3", flag_descriptions::kOsSettingsPolymer3Name, |
| 6062 | flag_descriptions::kOsSettingsPolymer3Description, kOsCrOS, |
| 6063 | FEATURE_VALUE_TYPE(chromeos::features::kOsSettingsPolymer3)}, |
Rachel Carpenter | 0dcd7d1 | 2020-08-11 03:36:40 | [diff] [blame] | 6064 | {"release-notes-notification", |
| 6065 | flag_descriptions::kReleaseNotesNotificationName, |
| 6066 | flag_descriptions::kReleaseNotesNotificationDescription, kOsCrOS, |
| 6067 | FEATURE_VALUE_TYPE(chromeos::features::kReleaseNotesNotification)}, |
Rachel Carpenter | 57c8523c | 2020-09-23 01:11:22 | [diff] [blame] | 6068 | {"release-notes-notification-all-channels", |
| 6069 | flag_descriptions::kReleaseNotesNotificationAllChannelsName, |
| 6070 | flag_descriptions::kReleaseNotesNotificationAllChannelsDescription, |
| 6071 | kOsCrOS, |
| 6072 | FEATURE_VALUE_TYPE( |
| 6073 | chromeos::features::kReleaseNotesNotificationAllChannels)}, |
Regan Hsu | 1ffea92 | 2020-09-10 17:08:47 | [diff] [blame] | 6074 | {"use-wallpaper-staging-url", |
| 6075 | flag_descriptions::kUseWallpaperStagingUrlName, |
| 6076 | flag_descriptions::kUseWallpaperStagingUrlDescription, kOsCrOS, |
| 6077 | FEATURE_VALUE_TYPE(chromeos::features::kUseWallpaperStagingUrl)}, |
Trent Apted | bc6c311 | 2019-11-15 05:58:13 | [diff] [blame] | 6078 | #endif // defined(OS_CHROMEOS) |
James Cook | 9348f36 | 2019-11-15 01:15:58 | [diff] [blame] | 6079 | |
siyua | 1959322 | 2019-12-04 22:27:06 | [diff] [blame] | 6080 | {"autofill-enable-virtual-card", |
| 6081 | flag_descriptions::kAutofillEnableVirtualCardName, |
| 6082 | flag_descriptions::kAutofillEnableVirtualCardDescription, kOsDesktop, |
| 6083 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableVirtualCard)}, |
| 6084 | |
Mihai Sardarescu | a6919374 | 2019-12-06 17:31:33 | [diff] [blame] | 6085 | #if defined(OS_CHROMEOS) |
| 6086 | {"account-id-migration", flag_descriptions::kAccountIdMigrationName, |
| 6087 | flag_descriptions::kAccountIdMigrationDescription, kOsCrOS, |
| 6088 | FEATURE_VALUE_TYPE(switches::kAccountIdMigration)}, |
| 6089 | #endif // defined(OS_CHROMEOS) |
| 6090 | |
Darwin Huang | f588cc8e | 2019-12-13 22:24:56 | [diff] [blame] | 6091 | // TODO(https://crbug.com/1032161): Implement and enable for ChromeOS. |
| 6092 | {"raw-clipboard", flag_descriptions::kRawClipboardName, |
| 6093 | flag_descriptions::kRawClipboardDescription, kOsMac | kOsWin | kOsLinux, |
| 6094 | FEATURE_VALUE_TYPE(blink::features::kRawClipboard)}, |
| 6095 | |
ckitagawa | 8dad53d | 2020-01-07 16:03:35 | [diff] [blame] | 6096 | #if BUILDFLAG(ENABLE_PAINT_PREVIEW) && defined(OS_ANDROID) |
Mehran Mahmoudi | b8d0b7c | 2020-03-14 18:10:56 | [diff] [blame] | 6097 | {"paint-preview-demo", flag_descriptions::kPaintPreviewDemoName, |
| 6098 | flag_descriptions::kPaintPreviewDemoDescription, kOsAndroid, |
| 6099 | FEATURE_VALUE_TYPE(paint_preview::kPaintPreviewDemo)}, |
Mehran Mahmoudi | b0410d6 | 2020-06-15 20:07:28 | [diff] [blame] | 6100 | {"paint-preview-startup", flag_descriptions::kPaintPreviewStartupName, |
| 6101 | flag_descriptions::kPaintPreviewStartupDescription, kOsAndroid, |
| 6102 | FEATURE_VALUE_TYPE(paint_preview::kPaintPreviewShowOnStartup)}, |
ckitagawa | 8dad53d | 2020-01-07 16:03:35 | [diff] [blame] | 6103 | #endif // ENABLE_PAINT_PREVIEW && defined(OS_ANDROID) |
| 6104 | |
Jochen Eisinger | d0e43f5 | 2020-01-22 17:04:32 | [diff] [blame] | 6105 | #if defined(OS_ANDROID) |
| 6106 | {"block-external-form-redirects-no-gesture", |
| 6107 | flag_descriptions::kIntentBlockExternalFormRedirectsNoGestureName, |
| 6108 | flag_descriptions::kIntentBlockExternalFormRedirectsNoGestureDescription, |
| 6109 | kOsAndroid, |
| 6110 | FEATURE_VALUE_TYPE( |
Colin Blundell | cdf9087 | 2020-03-11 12:25:51 | [diff] [blame] | 6111 | external_intents::kIntentBlockExternalFormRedirectsNoGesture)}, |
Ioana Pandele | 9fc19b2f | 2020-01-23 22:16:50 | [diff] [blame] | 6112 | {"recover-from-never-save-android", |
| 6113 | flag_descriptions::kRecoverFromNeverSaveAndroidName, |
| 6114 | flag_descriptions::kRecoverFromNeverSaveAndroidDescription, kOsAndroid, |
| 6115 | FEATURE_VALUE_TYPE( |
| 6116 | password_manager::features::kRecoverFromNeverSaveAndroid)}, |
Finnur Thorarinsson | aeb6b58 | 2020-01-28 17:52:46 | [diff] [blame] | 6117 | {"photo-picker-video-support", |
| 6118 | flag_descriptions::kPhotoPickerVideoSupportName, |
| 6119 | flag_descriptions::kPhotoPickerVideoSupportDescription, kOsAndroid, |
| 6120 | FEATURE_VALUE_TYPE(chrome::android::kPhotoPickerVideoSupport)}, |
Jochen Eisinger | d0e43f5 | 2020-01-22 17:04:32 | [diff] [blame] | 6121 | #endif // defined(OS_ANDROID) |
| 6122 | |
Aaron Tagliaboschi | dbd80d22 | 2020-01-24 14:07:42 | [diff] [blame] | 6123 | {"freeze-user-agent", flag_descriptions::kFreezeUserAgentName, |
| 6124 | flag_descriptions::kFreezeUserAgentDescription, kOsDesktop | kOsAndroid, |
| 6125 | FEATURE_VALUE_TYPE(blink::features::kFreezeUserAgent)}, |
| 6126 | |
Yann Dago | 9325f96e | 2020-01-24 16:58:37 | [diff] [blame] | 6127 | #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) |
| 6128 | {"enable-user-data-snapshot", flag_descriptions::kUserDataSnapshotName, |
| 6129 | flag_descriptions::kUserDataSnapshotDescription, |
| 6130 | kOsMac | kOsWin | kOsLinux, |
| 6131 | FEATURE_VALUE_TYPE(features::kUserDataSnapshot)}, |
| 6132 | #endif |
| 6133 | |
Armando Miraglia | b4a2e38 | 2020-03-04 14:27:07 | [diff] [blame] | 6134 | #if defined(OS_WIN) |
| 6135 | {"run-video-capture-service-in-browser", |
| 6136 | flag_descriptions::kRunVideoCaptureServiceInBrowserProcessName, |
| 6137 | flag_descriptions::kRunVideoCaptureServiceInBrowserProcessDescription, |
| 6138 | kOsWin, |
| 6139 | FEATURE_VALUE_TYPE(features::kRunVideoCaptureServiceInBrowserProcess)}, |
| 6140 | #endif // defined(OS_WIN) |
| 6141 | |
Christopher Thompson | 493f106 | 2020-01-28 23:16:43 | [diff] [blame] | 6142 | {"legacy-tls-enforced", flag_descriptions::kLegacyTLSEnforcedName, |
| 6143 | flag_descriptions::kLegacyTLSEnforcedDescription, kOsDesktop | kOsAndroid, |
| 6144 | FEATURE_VALUE_TYPE(net::features::kLegacyTLSEnforced)}, |
| 6145 | |
Vasilii Sukhanov | e662da6 | 2020-06-10 12:44:20 | [diff] [blame] | 6146 | #if defined(OS_ANDROID) |
Jan Wilken Dörrie | 82649862 | 2020-02-07 16:15:09 | [diff] [blame] | 6147 | {"password-check", flag_descriptions::kPasswordCheckName, |
Vasilii Sukhanov | e662da6 | 2020-06-10 12:44:20 | [diff] [blame] | 6148 | flag_descriptions::kPasswordCheckDescription, kOsAndroid, |
Jan Wilken Dörrie | 82649862 | 2020-02-07 16:15:09 | [diff] [blame] | 6149 | FEATURE_VALUE_TYPE(password_manager::features::kPasswordCheck)}, |
Vasilii Sukhanov | e662da6 | 2020-06-10 12:44:20 | [diff] [blame] | 6150 | #endif // defined(OS_ANDROID) |
Jan Wilken Dörrie | 82649862 | 2020-02-07 16:15:09 | [diff] [blame] | 6151 | |
Daniele Castagna | 6a5cbdeb6 | 2020-02-18 22:48:14 | [diff] [blame] | 6152 | {"double-buffer-compositing", |
| 6153 | flag_descriptions::kDoubleBufferCompositingName, |
| 6154 | flag_descriptions::kDoubleBufferCompositingDescription, kOsCrOS, |
| 6155 | SINGLE_VALUE_TYPE(switches::kDoubleBufferCompositing)}, |
Dominic Mazzoni | 380f04f | 2020-02-18 18:49:27 | [diff] [blame] | 6156 | |
Meilin Wang | fc26d4f0 | 2020-02-18 21:19:48 | [diff] [blame] | 6157 | #if defined(OS_CHROMEOS) |
wutao | a34fd068 | 2020-08-18 21:33:49 | [diff] [blame] | 6158 | {kAmbientModeInternalName, flag_descriptions::kEnableAmbientModeName, |
Meilin Wang | fc26d4f0 | 2020-02-18 21:19:48 | [diff] [blame] | 6159 | flag_descriptions::kEnableAmbientModeDescription, kOsCrOS, |
| 6160 | FEATURE_VALUE_TYPE(chromeos::features::kAmbientModeFeature)}, |
| 6161 | #endif // defined(OS_CHROMEOS) |
| 6162 | |
Josh Simmons | 0cc3b5eb | 2020-02-25 20:08:42 | [diff] [blame] | 6163 | #if defined(OS_ANDROID) |
Maxim Kolosovskiy | 411dc874 | 2020-07-25 11:50:14 | [diff] [blame] | 6164 | {"password-change-in-settings", |
| 6165 | flag_descriptions::kPasswordChangeInSettingsName, |
| 6166 | flag_descriptions::kPasswordChangeInSettingsDescription, kOsAndroid, |
| 6167 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6168 | password_manager::features::kPasswordChangeInSettings, |
| 6169 | kPasswordChangeInSettingsFeatureVariations, |
| 6170 | "PasswordChangeInSettingsFeatureVariations")}, |
Maxim Kolosovskiy | bf5b226 | 2020-09-25 15:47:33 | [diff] [blame] | 6171 | {"password-scripts-fetching", |
| 6172 | flag_descriptions::kPasswordScriptsFetchingName, |
| 6173 | flag_descriptions::kPasswordScriptsFetchingDescription, kOsAndroid, |
| 6174 | FEATURE_VALUE_TYPE(password_manager::features::kPasswordScriptsFetching)}, |
Milica Selakovic | c99e8f01 | 2020-06-04 17:18:43 | [diff] [blame] | 6175 | {"password-change-support", flag_descriptions::kPasswordChangeName, |
| 6176 | flag_descriptions::kPasswordChangeDescription, kOsAndroid, |
| 6177 | FEATURE_WITH_PARAMS_VALUE_TYPE(password_manager::features::kPasswordChange, |
| 6178 | kPasswordChangeFeatureVariations, |
Maxim Kolosovskiy | 411dc874 | 2020-07-25 11:50:14 | [diff] [blame] | 6179 | "PasswordChangeFeatureVariations")}, |
Milica Selakovic | c99e8f01 | 2020-06-04 17:18:43 | [diff] [blame] | 6180 | |
Josh Simmons | 4a41bc7 | 2020-07-06 19:13:01 | [diff] [blame] | 6181 | {"context-menu-performance-info-and-remote-hints-fetching", |
| 6182 | flag_descriptions::kContextMenuPerformanceInfoAndRemoteHintFetchingName, |
| 6183 | flag_descriptions:: |
| 6184 | kContextMenuPerformanceInfoAndRemoteHintFetchingDescription, |
| 6185 | kOsAndroid, |
Josh Simmons | 6c4d39f2 | 2020-07-08 02:31:28 | [diff] [blame] | 6186 | FEATURE_VALUE_TYPE(performance_hints::features:: |
| 6187 | kContextMenuPerformanceInfoAndRemoteHintFetching)}, |
Josh Simmons | 0cc3b5eb | 2020-02-25 20:08:42 | [diff] [blame] | 6188 | #endif // !defined(OS_ANDROID) |
| 6189 | |
Josh Simmons | b2492dc6 | 2020-04-30 17:47:14 | [diff] [blame] | 6190 | #if defined(OS_ANDROID) |
| 6191 | {"page-info-performance-hints", |
| 6192 | flag_descriptions::kPageInfoPerformanceHintsName, |
| 6193 | flag_descriptions::kPageInfoPerformanceHintsDescription, kOsAndroid, |
Josh Simmons | 6c4d39f2 | 2020-07-08 02:31:28 | [diff] [blame] | 6194 | FEATURE_VALUE_TYPE( |
| 6195 | performance_hints::features::kPageInfoPerformanceHints)}, |
Josh Simmons | b2492dc6 | 2020-04-30 17:47:14 | [diff] [blame] | 6196 | #endif // !defined(OS_ANDROID) |
| 6197 | |
Ehimare Okoyomon | 2eccb607 | 2020-05-12 12:22:27 | [diff] [blame] | 6198 | #if defined(OS_ANDROID) |
| 6199 | {"page-info-version-2", flag_descriptions::kPageInfoV2Name, |
| 6200 | flag_descriptions::kPageInfoV2Description, kOsAndroid, |
| 6201 | FEATURE_VALUE_TYPE(page_info::kPageInfoV2)}, |
| 6202 | #endif // !defined(OS_ANDROID) |
| 6203 | |
Avery Musbach | 6277782 | 2020-03-06 05:49:04 | [diff] [blame] | 6204 | #if defined(OS_CHROMEOS) |
| 6205 | {"drag-to-snap-in-clamshell-mode", |
| 6206 | flag_descriptions::kDragToSnapInClamshellModeName, |
| 6207 | flag_descriptions::kDragToSnapInClamshellModeDescription, kOsCrOS, |
| 6208 | FEATURE_VALUE_TYPE(ash::features::kDragToSnapInClamshellMode)}, |
| 6209 | {"multi-display-overview-and-split-view", |
| 6210 | flag_descriptions::kMultiDisplayOverviewAndSplitViewName, |
| 6211 | flag_descriptions::kMultiDisplayOverviewAndSplitViewDescription, kOsCrOS, |
| 6212 | FEATURE_VALUE_TYPE(ash::features::kMultiDisplayOverviewAndSplitView)}, |
Alex Newcomer | 46bfe14 | 2020-07-10 20:28:56 | [diff] [blame] | 6213 | {"enhanced_clipboard", flag_descriptions::kEnhancedClipboardName, |
| 6214 | flag_descriptions::kEnhancedClipboardDescription, kOsCrOS, |
Alex Newcomer | 55b050c | 2020-07-11 01:55:44 | [diff] [blame] | 6215 | FEATURE_VALUE_TYPE(chromeos::features::kClipboardHistory)}, |
Avery Musbach | 6277782 | 2020-03-06 05:49:04 | [diff] [blame] | 6216 | #endif // defined(OS_CHROMEOS) |
| 6217 | |
Armando Miraglia | d2e6fc9e | 2020-03-06 09:23:09 | [diff] [blame] | 6218 | #if defined(OS_WIN) |
| 6219 | {"enable-media-foundation-video-capture", |
| 6220 | flag_descriptions::kEnableMediaFoundationVideoCaptureName, |
| 6221 | flag_descriptions::kEnableMediaFoundationVideoCaptureDescription, kOsWin, |
| 6222 | FEATURE_VALUE_TYPE(media::kMediaFoundationVideoCapture)}, |
| 6223 | #endif // defined(OS_WIN) |
| 6224 | |
Jesse Schettler | 781eccb0 | 2020-03-10 17:17:44 | [diff] [blame] | 6225 | #if defined(OS_CHROMEOS) |
| 6226 | {"scanning-ui", flag_descriptions::kScanningUIName, |
| 6227 | flag_descriptions::kScanningUIDescription, kOsCrOS, |
| 6228 | FEATURE_VALUE_TYPE(chromeos::features::kScanningUI)}, |
David Roger | 306b5cd8 | 2020-03-16 13:05:13 | [diff] [blame] | 6229 | {"avatar-toolbar-button", flag_descriptions::kAvatarToolbarButtonName, |
| 6230 | flag_descriptions::kAvatarToolbarButtonDescription, kOsCrOS, |
| 6231 | FEATURE_VALUE_TYPE(chromeos::features::kAvatarToolbarButton)}, |
Jesse Schettler | 781eccb0 | 2020-03-10 17:17:44 | [diff] [blame] | 6232 | #endif // defined(OS_CHROMEOS) |
| 6233 | |
Robert Liao | 5c75610 | 2020-03-20 19:46:43 | [diff] [blame] | 6234 | {"color-provider-redirection", |
| 6235 | flag_descriptions::kColorProviderRedirectionName, |
| 6236 | flag_descriptions::kColorProviderRedirectionDescription, kOsDesktop, |
| 6237 | FEATURE_VALUE_TYPE(features::kColorProviderRedirection)}, |
| 6238 | |
David Van Cleve | 08c5bc01 | 2020-03-26 17:31:46 | [diff] [blame] | 6239 | {"trust-tokens", flag_descriptions::kTrustTokensName, |
| 6240 | flag_descriptions::kTrustTokensDescription, kOsAll, |
| 6241 | FEATURE_VALUE_TYPE(network::features::kTrustTokens)}, |
| 6242 | |
bttk | 24a2caea | 2020-03-30 21:33:00 | [diff] [blame] | 6243 | #if defined(OS_ANDROID) |
| 6244 | {"android-partner-customization-phenotype", |
| 6245 | flag_descriptions::kAndroidPartnerCustomizationPhenotypeName, |
| 6246 | flag_descriptions::kAndroidPartnerCustomizationPhenotypeDescription, |
| 6247 | kOsAndroid, |
| 6248 | FEATURE_VALUE_TYPE( |
| 6249 | chrome::android::kAndroidPartnerCustomizationPhenotype)}, |
| 6250 | #endif // defined(OS_ANDROID) |
| 6251 | |
Becca Hughes | 71e8ceb | 2020-03-31 22:23:40 | [diff] [blame] | 6252 | {"media-history", flag_descriptions::kMediaHistoryName, |
| 6253 | flag_descriptions::kMediaHistoryDescription, kOsAll, |
| 6254 | FEATURE_VALUE_TYPE(media::kUseMediaHistoryStore)}, |
| 6255 | |
James Vecore | 30f589c2 | 2020-04-03 23:16:17 | [diff] [blame] | 6256 | #if !defined(OS_ANDROID) |
John Lee | 651b4767 | 2020-09-14 19:55:02 | [diff] [blame] | 6257 | {"copy-link-to-text", flag_descriptions::kCopyLinkToTextName, |
| 6258 | flag_descriptions::kCopyLinkToTextDescription, kOsDesktop, |
| 6259 | FEATURE_VALUE_TYPE(features::kCopyLinkToText)}, |
James Vecore | 30f589c2 | 2020-04-03 23:16:17 | [diff] [blame] | 6260 | {"nearby-sharing", flag_descriptions::kNearbySharingName, |
| 6261 | flag_descriptions::kNearbySharingDescription, kOsDesktop, |
| 6262 | FEATURE_VALUE_TYPE(features::kNearbySharing)}, |
| 6263 | #endif // !defined(OS_ANDROID) |
| 6264 | |
Lijin Shen | 73f0a9b | 2020-05-12 02:27:23 | [diff] [blame] | 6265 | #if defined(OS_ANDROID) |
Lijin Shen | 0ebcc795 | 2020-06-11 21:53:22 | [diff] [blame] | 6266 | {"android-default-browser-promo", |
| 6267 | flag_descriptions::kAndroidDefaultBrowserPromoName, |
| 6268 | flag_descriptions::kAndroidDefaultBrowserPromoDescription, kOsAndroid, |
| 6269 | FEATURE_VALUE_TYPE(chrome::android::kAndroidDefaultBrowserPromo)}, |
| 6270 | |
Gang Wu | 529b1a9 | 2020-08-07 23:02:55 | [diff] [blame] | 6271 | {"android-managed-by-menu-item", |
| 6272 | flag_descriptions::kAndroidManagedByMenuItemName, |
| 6273 | flag_descriptions::kAndroidManagedByMenuItemDescription, kOsAndroid, |
| 6274 | FEATURE_VALUE_TYPE(chrome::android::kAndroidManagedByMenuItem)}, |
| 6275 | |
Lijin Shen | 73f0a9b | 2020-05-12 02:27:23 | [diff] [blame] | 6276 | {"android-multiple-display", flag_descriptions::kAndroidMultipleDisplayName, |
| 6277 | flag_descriptions::kAndroidMultipleDisplayDescription, kOsAndroid, |
| 6278 | FEATURE_VALUE_TYPE(chrome::android::kAndroidMultipleDisplay)}, |
| 6279 | #endif // defined(OS_ANDROID) |
Sujie Zhu | 2b17c00a | 2020-04-08 21:09:41 | [diff] [blame] | 6280 | |
Adrienne Walker | b44bdc90 | 2020-04-09 03:09:07 | [diff] [blame] | 6281 | {"app-cache", flag_descriptions::kAppCacheName, |
| 6282 | flag_descriptions::kAppCacheDescription, kOsAll, |
| 6283 | FEATURE_VALUE_TYPE(blink::features::kAppCache)}, |
Anne Lim | e49c5cb | 2020-04-15 03:20:59 | [diff] [blame] | 6284 | {"enable-autofill-cache-server-card-info", |
| 6285 | flag_descriptions::kEnableAutofillCacheServerCardInfoName, |
| 6286 | flag_descriptions::kEnableAutofillCacheServerCardInfoDescription, kOsAll, |
| 6287 | FEATURE_VALUE_TYPE(autofill::features::kAutofillCacheServerCardInfo)}, |
Adrienne Walker | b44bdc90 | 2020-04-09 03:09:07 | [diff] [blame] | 6288 | |
Siyu An | 0558f75 | 2020-04-15 19:59:41 | [diff] [blame] | 6289 | {"autofill-enable-sticky-payments-bubble", |
| 6290 | flag_descriptions::kAutofillEnableStickyPaymentsBubbleName, |
| 6291 | flag_descriptions::kAutofillEnableStickyPaymentsBubbleDescription, |
| 6292 | kOsDesktop, |
| 6293 | FEATURE_VALUE_TYPE( |
| 6294 | autofill::features::kAutofillEnableStickyPaymentsBubble)}, |
| 6295 | |
Xiaocheng Hu | f7ed9cd | 2020-04-18 00:41:10 | [diff] [blame] | 6296 | {"align-font-display-auto-lcp", |
| 6297 | flag_descriptions::kAlignFontDisplayAutoTimeoutWithLCPGoalName, |
| 6298 | flag_descriptions::kAlignFontDisplayAutoTimeoutWithLCPGoalDescription, |
| 6299 | kOsAll, |
Xiaocheng Hu | 2f9620b | 2020-04-22 17:11:16 | [diff] [blame] | 6300 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6301 | blink::features::kAlignFontDisplayAutoTimeoutWithLCPGoal, |
| 6302 | kAlignFontDisplayAutoTimeoutWithLCPGoalVariations, |
Elly Fong-Jones | f8a4aa4 | 2020-08-04 15:53:30 | [diff] [blame] | 6303 | "AlignFontDisplayAutoTimeoutWithLCPGoal")}, |
Xiaocheng Hu | f7ed9cd | 2020-04-18 00:41:10 | [diff] [blame] | 6304 | |
Rob Schonberger | e0a8e3c | 2020-04-21 03:04:39 | [diff] [blame] | 6305 | #if defined(OS_CHROMEOS) |
| 6306 | {"enable-palm-suppression", flag_descriptions::kEnablePalmSuppressionName, |
| 6307 | flag_descriptions::kEnablePalmSuppressionDescription, kOsCrOS, |
| 6308 | FEATURE_VALUE_TYPE(ui::kEnablePalmSuppression)}, |
Harry Cutts | ce1028e | 2020-04-22 19:09:10 | [diff] [blame] | 6309 | |
Xiyuan Xia | 381892ca | 2020-04-30 23:17:23 | [diff] [blame] | 6310 | {"movable-partial-screenshot-region", |
| 6311 | flag_descriptions::kMovablePartialScreenshotName, |
| 6312 | flag_descriptions::kMovablePartialScreenshotDescription, kOsCrOS, |
| 6313 | FEATURE_VALUE_TYPE(ash::features::kMovablePartialScreenshot)}, |
Rob Schonberger | e0a8e3c | 2020-04-21 03:04:39 | [diff] [blame] | 6314 | #endif // defined(OS_CHROMEOS) |
| 6315 | |
Lily Chen | 17c5797 | 2020-04-22 19:27:44 | [diff] [blame] | 6316 | {"enable-experimental-cookie-features", |
| 6317 | flag_descriptions::kEnableExperimentalCookieFeaturesName, |
| 6318 | flag_descriptions::kEnableExperimentalCookieFeaturesDescription, kOsAll, |
| 6319 | MULTI_VALUE_TYPE(kEnableExperimentalCookieFeaturesChoices)}, |
| 6320 | |
siashah | 0a38622 | 2020-04-23 03:31:35 | [diff] [blame] | 6321 | {"autofill-enable-google-issued-card", |
| 6322 | flag_descriptions::kAutofillEnableGoogleIssuedCardName, |
| 6323 | flag_descriptions::kAutofillEnableGoogleIssuedCardDescription, kOsAll, |
| 6324 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableGoogleIssuedCard)}, |
| 6325 | |
Collin Baker | 10a4c24 | 2020-04-29 18:19:40 | [diff] [blame] | 6326 | #if defined(TOOLKIT_VIEWS) |
| 6327 | {"textfield-focus-on-tap-up", flag_descriptions::kTextfieldFocusOnTapUpName, |
| 6328 | flag_descriptions::kTextfieldFocusOnTapUpDescription, kOsDesktop, |
| 6329 | FEATURE_VALUE_TYPE(views::features::kTextfieldFocusOnTapUp)}, |
| 6330 | #endif // defined(TOOLKIT_VIEWS) |
| 6331 | |
Olesia Marukhno | 16fdd647a | 2020-05-04 09:34:00 | [diff] [blame] | 6332 | {"permission-chip", flag_descriptions::kPermissionChipName, |
| 6333 | flag_descriptions::kPermissionChipDescription, kOsDesktop, |
| 6334 | FEATURE_VALUE_TYPE(features::kPermissionChip)}, |
| 6335 | |
David Roger | 346d667 | 2020-05-04 15:11:09 | [diff] [blame] | 6336 | #if BUILDFLAG(ENABLE_DICE_SUPPORT) |
| 6337 | {"dice-web-signin-interception", |
| 6338 | flag_descriptions::kDiceWebSigninInterceptionName, |
| 6339 | flag_descriptions::kDiceWebSigninInterceptionDescription, |
| 6340 | kOsMac | kOsWin | kOsLinux, |
| 6341 | FEATURE_VALUE_TYPE(kDiceWebSigninInterceptionFeature)}, |
| 6342 | #endif // ENABLE_DICE_SUPPORT |
Aaron Krajeski | 229cffd | 2020-05-11 22:30:33 | [diff] [blame] | 6343 | {"new-canvas-2d-api", flag_descriptions::kNewCanvas2DAPIName, |
| 6344 | flag_descriptions::kNewCanvas2DAPIDescription, kOsAll, |
| 6345 | SINGLE_VALUE_TYPE(switches::kEnableNewCanvas2DAPI)}, |
David Roger | 346d667 | 2020-05-04 15:11:09 | [diff] [blame] | 6346 | |
Doug Arnett | c52291a | 2020-05-07 18:52:30 | [diff] [blame] | 6347 | {"enable-translate-sub-frames", |
| 6348 | flag_descriptions::kEnableTranslateSubFramesName, |
| 6349 | flag_descriptions::kEnableTranslateSubFramesDescription, kOsAll, |
| 6350 | FEATURE_VALUE_TYPE(translate::kTranslateSubFrames)}, |
| 6351 | |
Rachel Wong | bae7dfd | 2020-05-08 01:22:30 | [diff] [blame] | 6352 | #if defined(OS_CHROMEOS) |
| 6353 | {"suggested-content-toggle", flag_descriptions::kSuggestedContentToggleName, |
| 6354 | flag_descriptions::kSuggestedContentToggleDescription, kOsCrOS, |
| 6355 | FEATURE_VALUE_TYPE(chromeos::features::kSuggestedContentToggle)}, |
| 6356 | #endif // defined(OS_CHROMEOS) |
| 6357 | |
Becca Hughes | b11947a | 2020-05-11 20:55:27 | [diff] [blame] | 6358 | #if !defined(OS_ANDROID) |
| 6359 | {"enable-media-feeds", flag_descriptions::kEnableMediaFeedsName, |
| 6360 | flag_descriptions::kEnableMediaFeedsDescription, kOsDesktop, |
| 6361 | FEATURE_VALUE_TYPE(media::kMediaFeeds)}, |
Becca Hughes | cfd36094 | 2020-07-21 18:11:41 | [diff] [blame] | 6362 | |
| 6363 | {"enable-media-feeds-background-fetch", |
| 6364 | flag_descriptions::kEnableMediaFeedsBackgroundFetchName, |
| 6365 | flag_descriptions::kEnableMediaFeedsBackgroundFetchDescription, kOsDesktop, |
| 6366 | FEATURE_VALUE_TYPE(media::kMediaFeedsBackgroundFetching)}, |
Becca Hughes | b11947a | 2020-05-11 20:55:27 | [diff] [blame] | 6367 | #endif // !defined(OS_ANDROID) |
| 6368 | |
Siyu An | d1f86e2 | 2020-05-13 20:35:16 | [diff] [blame] | 6369 | {"autofill-enable-card-nickname-management", |
| 6370 | flag_descriptions::kAutofillEnableCardNicknameManagementName, |
| 6371 | flag_descriptions::kAutofillEnableCardNicknameManagementDescription, |
| 6372 | kOsAll, |
| 6373 | FEATURE_VALUE_TYPE( |
| 6374 | autofill::features::kAutofillEnableCardNicknameManagement)}, |
| 6375 | |
John Delaney | cd1a54d4 | 2020-05-13 23:06:33 | [diff] [blame] | 6376 | {"conversion-measurement-api", |
| 6377 | flag_descriptions::kConversionMeasurementApiName, |
| 6378 | flag_descriptions::kConversionMeasurementApiDescription, kOsAll, |
| 6379 | FEATURE_VALUE_TYPE(features::kConversionMeasurement)}, |
| 6380 | {"conversion-measurement-debug-mode", |
| 6381 | flag_descriptions::kConversionMeasurementDebugModeName, |
| 6382 | flag_descriptions::kConversionMeasurementDebugModeDescription, kOsAll, |
| 6383 | SINGLE_VALUE_TYPE(switches::kConversionsDebugMode)}, |
| 6384 | |
sauski | 8fa237c | 2020-05-18 12:04:24 | [diff] [blame] | 6385 | {"client-storage-access-context-auditing", |
| 6386 | flag_descriptions::kClientStorageAccessContextAuditingName, |
| 6387 | flag_descriptions::kClientStorageAccessContextAuditingDescription, |
| 6388 | kOsDesktop, |
| 6389 | FEATURE_VALUE_TYPE(features::kClientStorageAccessContextAuditing)}, |
| 6390 | |
Siyu An | 6ca4cdb | 2020-05-29 20:56:17 | [diff] [blame] | 6391 | {"autofill-enable-card-nickname-upstream", |
| 6392 | flag_descriptions::kAutofillEnableCardNicknameUpstreamName, |
| 6393 | flag_descriptions::kAutofillEnableCardNicknameUpstreamDescription, kOsAll, |
| 6394 | FEATURE_VALUE_TYPE( |
| 6395 | autofill::features::kAutofillEnableCardNicknameUpstream)}, |
| 6396 | |
Rainhard Findling | 29e729d | 2020-06-05 08:07:34 | [diff] [blame] | 6397 | #if defined(OS_WIN) |
| 6398 | {"safety-check-chrome-cleaner-child", |
| 6399 | flag_descriptions::kSafetyCheckChromeCleanerChildName, |
| 6400 | flag_descriptions::kSafetyCheckChromeCleanerChildDescription, kOsWin, |
| 6401 | FEATURE_VALUE_TYPE(features::kSafetyCheckChromeCleanerChild)}, |
| 6402 | #endif // !defined(OS_WIN) |
| 6403 | |
Ana Salazar | 270fed4 | 2020-06-11 14:44:40 | [diff] [blame] | 6404 | #if defined(OS_CHROMEOS) |
| 6405 | {"enable-launcher-app-paging", |
| 6406 | flag_descriptions::kNewDragSpecInLauncherName, |
| 6407 | flag_descriptions::kNewDragSpecInLauncherDescription, kOsCrOS, |
| 6408 | FEATURE_VALUE_TYPE(app_list_features::kNewDragSpecInLauncher)}, |
Jeffrey Kardatzke | f4ea165 | 2020-07-13 17:41:31 | [diff] [blame] | 6409 | {"cdm-factory-daemon", flag_descriptions::kCdmFactoryDaemonName, |
| 6410 | flag_descriptions::kCdmFactoryDaemonDescription, kOsCrOS, |
| 6411 | FEATURE_VALUE_TYPE(chromeos::features::kCdmFactoryDaemon)}, |
Ana Salazar | 270fed4 | 2020-06-11 14:44:40 | [diff] [blame] | 6412 | #endif // OS_CHROMEOS |
| 6413 | |
Ben Blake | 14592fe | 2020-06-16 15:34:38 | [diff] [blame] | 6414 | {"autofill-enable-offers-in-downstream", |
| 6415 | flag_descriptions::kAutofillEnableOffersInDownstreamName, |
| 6416 | flag_descriptions::kAutofillEnableOffersInDownstreamDescription, kOsAll, |
| 6417 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableOffersInDownstream)}, |
| 6418 | |
Melissa Zhang | ba6240b | 2020-06-24 02:44:23 | [diff] [blame] | 6419 | #if defined(OS_CHROMEOS) |
| 6420 | {"enable-sharesheet", flag_descriptions::kSharesheetName, |
| 6421 | flag_descriptions::kSharesheetDescription, kOsAll, |
| 6422 | FEATURE_VALUE_TYPE(features::kSharesheet)}, |
| 6423 | #endif // OS_CHROMEOS |
| 6424 | |
Steven Bingler | 646b361 | 2020-07-06 17:27:18 | [diff] [blame] | 6425 | {"schemeful-same-site", flag_descriptions::kSchemefulSameSiteName, |
| 6426 | flag_descriptions::kSchemefulSameSiteDescription, kOsAll, |
| 6427 | FEATURE_VALUE_TYPE(net::features::kSchemefulSameSite)}, |
| 6428 | |
Vicky Min | b02c3e9 | 2020-07-07 20:56:52 | [diff] [blame] | 6429 | {"enable-bluetooth-spp-in-serial-api", |
| 6430 | flag_descriptions::kEnableBluetoothSerialPortProfileInSerialApiName, |
| 6431 | flag_descriptions::kEnableBluetoothSerialPortProfileInSerialApiDescription, |
Vicky Min | 7bc3382 | 2020-09-03 21:05:43 | [diff] [blame] | 6432 | kOsMac, |
Vicky Min | b02c3e9 | 2020-07-07 20:56:52 | [diff] [blame] | 6433 | SINGLE_VALUE_TYPE(switches::kEnableBluetoothSerialPortProfileInSerialApi)}, |
| 6434 | |
Michael Crouse | 1c9adba | 2020-07-08 17:39:01 | [diff] [blame] | 6435 | {"enable-lite-video", flag_descriptions::kLiteVideoName, |
| 6436 | flag_descriptions::kLiteVideoDescription, kOsAll, |
| 6437 | FEATURE_VALUE_TYPE(features::kLiteVideo)}, |
| 6438 | |
Tarun Bansal | b137fff | 2020-08-07 18:57:21 | [diff] [blame] | 6439 | {"lite-video-default-downlink-bandwidth-kbps", |
| 6440 | flag_descriptions::kLiteVideoDownlinkBandwidthKbpsName, |
| 6441 | flag_descriptions::kLiteVideoDownlinkBandwidthKbpsDescription, kOsAll, |
| 6442 | MULTI_VALUE_TYPE(kLiteVideoDefaultDownlinkBandwidthKbps)}, |
| 6443 | |
Michael Crouse | 1c9adba | 2020-07-08 17:39:01 | [diff] [blame] | 6444 | {"lite-video-force-override-decision", |
| 6445 | flag_descriptions::kLiteVideoForceOverrideDecisionName, |
| 6446 | flag_descriptions::kLiteVideoForceOverrideDecisionDescription, kOsAll, |
Irina Fedorova | bd2d9ac | 2020-07-16 07:26:47 | [diff] [blame] | 6447 | SINGLE_VALUE_TYPE(lite_video::switches::kLiteVideoForceOverrideDecision)}, |
| 6448 | |
Irina Fedorova | bd2d9ac | 2020-07-16 07:26:47 | [diff] [blame] | 6449 | {"edit-passwords-in-settings", |
Jan Wilken Dörrie | d3f92e80 | 2020-09-11 11:43:08 | [diff] [blame] | 6450 | flag_descriptions::kEditPasswordsInSettingsName, |
| 6451 | flag_descriptions::kEditPasswordsInSettingsDescription, kOsAll, |
| 6452 | FEATURE_VALUE_TYPE(password_manager::features::kEditPasswordsInSettings)}, |
Michael Crouse | 1c9adba | 2020-07-08 17:39:01 | [diff] [blame] | 6453 | |
Carlos IL | 0dc83283 | 2020-07-17 01:14:44 | [diff] [blame] | 6454 | {"mixed-forms-disable-autofill", |
| 6455 | flag_descriptions::kMixedFormsDisableAutofillName, |
| 6456 | flag_descriptions::kMixedFormsDisableAutofillDescription, kOsAll, |
| 6457 | FEATURE_VALUE_TYPE(autofill::features::kAutofillPreventMixedFormsFilling)}, |
| 6458 | |
| 6459 | {"mixed-forms-interstitial", flag_descriptions::kMixedFormsInterstitialName, |
| 6460 | flag_descriptions::kMixedFormsInterstitialDescription, kOsAll, |
| 6461 | FEATURE_VALUE_TYPE( |
yjliu | 8f78e8b | 2020-07-22 20:51:21 | [diff] [blame] | 6462 | security_interstitials::kInsecureFormSubmissionInterstitial)}, |
| 6463 | |
| 6464 | #if defined(OS_CHROMEOS) |
| 6465 | {"frame-throttle-fps", flag_descriptions::kFrameThrottleFpsName, |
| 6466 | flag_descriptions::kFrameThrottleFpsDescription, kOsCrOS, |
Jeffrey Kardatzke | 9340e24 | 2020-08-05 22:00:22 | [diff] [blame] | 6467 | MULTI_VALUE_TYPE(kFrameThrottleFpsChoices)}, |
yjliu | 8f78e8b | 2020-07-22 20:51:21 | [diff] [blame] | 6468 | #endif // defined(OS_CHROMEOS) |
Carlos IL | 0dc83283 | 2020-07-17 01:14:44 | [diff] [blame] | 6469 | |
Reda Tawfik | 863175b | 2020-08-03 16:19:03 | [diff] [blame] | 6470 | #if defined(OS_ANDROID) |
| 6471 | {"filling-passwords-from-any-origin", |
| 6472 | flag_descriptions::kFillingPasswordsFromAnyOriginName, |
| 6473 | flag_descriptions::kFillingPasswordsFromAnyOriginDescription, kOsAndroid, |
| 6474 | FEATURE_VALUE_TYPE( |
| 6475 | password_manager::features::kFillingPasswordsFromAnyOrigin)}, |
| 6476 | #endif // OS_ANDROID |
| 6477 | |
Mariam Ali | dbe5766 | 2020-08-06 12:28:35 | [diff] [blame] | 6478 | #if defined(OS_WIN) |
| 6479 | {"enable-incognito-shortcut-on-desktop", |
| 6480 | flag_descriptions::kEnableIncognitoShortcutOnDesktopName, |
| 6481 | flag_descriptions::kEnableIncognitoShortcutOnDesktopDescription, kOsWin, |
| 6482 | FEATURE_VALUE_TYPE(features::kEnableIncognitoShortcutOnDesktop)}, |
| 6483 | #endif // defined(OS_WIN) |
| 6484 | |
Jeffrey Kardatzke | 9340e24 | 2020-08-05 22:00:22 | [diff] [blame] | 6485 | {"h264-decoder-is-buffer-complete-frame", |
| 6486 | flag_descriptions::kH264DecoderBufferIsCompleteFrameName, |
| 6487 | flag_descriptions::kH264DecoderBufferIsCompleteFrameDescription, kOsAll, |
| 6488 | FEATURE_VALUE_TYPE(media::kH264DecoderBufferIsCompleteFrame)}, |
| 6489 | |
Tymofii Chudakov | a0b5f23 | 2020-08-06 12:13:00 | [diff] [blame] | 6490 | {"content-settings-redesign", |
| 6491 | flag_descriptions::kContentSettingsRedesignName, |
| 6492 | flag_descriptions::kContentSettingsRedesignDescription, kOsDesktop, |
Thomas Lukaszewicz | fffb67d | 2020-08-06 20:14:14 | [diff] [blame] | 6493 | FEATURE_VALUE_TYPE(features::kContentSettingsRedesign)}, |
| 6494 | |
| 6495 | #if BUILDFLAG(ENABLE_TAB_SEARCH) |
| 6496 | {"enable-tab-search", flag_descriptions::kEnableTabSearchName, |
| 6497 | flag_descriptions::kEnableTabSearchDescription, kOsCrOS, |
| 6498 | FEATURE_VALUE_TYPE(features::kTabSearch)}, |
Roman Arora | 5a6d96cf | 2020-09-14 22:25:04 | [diff] [blame] | 6499 | |
| 6500 | {"enable-tab-search-fixed-entrypoint", |
| 6501 | flag_descriptions::kEnableTabSearchFixedEntrypointName, |
| 6502 | flag_descriptions::kEnableTabSearchFixedEntrypointDescription, kOsCrOS, |
| 6503 | FEATURE_VALUE_TYPE(features::kTabSearchFixedEntrypoint)}, |
Thomas Lukaszewicz | fffb67d | 2020-08-06 20:14:14 | [diff] [blame] | 6504 | #endif // BUILDFLAG(ENABLE_TAB_SEARCH) |
Tymofii Chudakov | a0b5f23 | 2020-08-06 12:13:00 | [diff] [blame] | 6505 | |
Eric Seckler | b9545b3 | 2020-08-11 21:29:42 | [diff] [blame] | 6506 | #if defined(OS_ANDROID) |
| 6507 | {"cpu-affinity-restrict-to-little-cores", |
| 6508 | flag_descriptions::kCpuAffinityRestrictToLittleCoresName, |
| 6509 | flag_descriptions::kCpuAffinityRestrictToLittleCoresDescription, |
| 6510 | kOsAndroid, |
| 6511 | FEATURE_VALUE_TYPE(features::kCpuAffinityRestrictToLittleCores)}, |
Vikas Soni | f14e32c | 2020-08-15 06:17:22 | [diff] [blame] | 6512 | |
| 6513 | {"enable-surface-control", flag_descriptions::kAndroidSurfaceControlName, |
| 6514 | flag_descriptions::kAndroidSurfaceControlDescription, kOsAndroid, |
| 6515 | FEATURE_VALUE_TYPE(features::kAndroidSurfaceControl)}, |
Vikas Soni | 5463f1a | 2020-08-17 22:47:30 | [diff] [blame] | 6516 | |
| 6517 | {"enable-image-reader", flag_descriptions::kAImageReaderName, |
| 6518 | flag_descriptions::kAImageReaderDescription, kOsAndroid, |
| 6519 | FEATURE_VALUE_TYPE(features::kAImageReader)}, |
Eric Seckler | b9545b3 | 2020-08-11 21:29:42 | [diff] [blame] | 6520 | #endif // OS_ANDROID |
| 6521 | |
Anne Lim | ea36208 | 2020-08-14 22:59:51 | [diff] [blame] | 6522 | #if defined(OS_ANDROID) |
| 6523 | {"enable-autofill-credit-card-cvc-prompt-google-logo", |
| 6524 | flag_descriptions::kEnableAutofillCreditCardCvcPromptGoogleLogoName, |
| 6525 | flag_descriptions::kEnableAutofillCreditCardCvcPromptGoogleLogoDescription, |
| 6526 | kOsAndroid, |
| 6527 | FEATURE_VALUE_TYPE( |
| 6528 | autofill::features::kAutofillDownstreamCvcPromptUseGooglePayLogo)}, |
| 6529 | #endif |
| 6530 | |
Yue Li | c3093147 | 2020-08-13 02:30:35 | [diff] [blame] | 6531 | #if defined(OS_CHROMEOS) |
| 6532 | {"enable-auto-select", flag_descriptions::kEnableAutoSelectName, |
| 6533 | flag_descriptions::kEnableAutoSelectDescription, kOsCrOS, |
| 6534 | FEATURE_VALUE_TYPE(blink::features::kCrOSAutoSelect)}, |
| 6535 | #endif // defined(OS_CHROMEOS) |
| 6536 | |
Hung Vu | c394db6 | 2020-08-21 21:26:52 | [diff] [blame] | 6537 | #if defined(OS_ANDROID) |
| 6538 | {"smart-suggestion-for-large-downloads", |
| 6539 | flag_descriptions::kSmartSuggestionForLargeDownloadsName, |
| 6540 | flag_descriptions::kSmartSuggestionForLargeDownloadsDescription, |
| 6541 | kOsAndroid, |
| 6542 | FEATURE_VALUE_TYPE(download::features::kSmartSuggestionForLargeDownloads)}, |
| 6543 | #endif // defined(OS_ANDROID) |
| 6544 | |
Wan-Teh Chang | 9c91624 | 2020-08-19 02:18:50 | [diff] [blame] | 6545 | #if BUILDFLAG(ENABLE_AV1_DECODER) |
| 6546 | {"enable-avif", flag_descriptions::kEnableAVIFName, |
| 6547 | flag_descriptions::kEnableAVIFDescription, kOsDesktop, |
| 6548 | FEATURE_VALUE_TYPE(blink::features::kAVIF)}, |
| 6549 | #endif // BUILDFLAG(ENABLE_AV1_DECODER) |
| 6550 | |
Irina Fedorova | f4080b2 | 2020-08-21 12:26:22 | [diff] [blame] | 6551 | #if !defined(OS_ANDROID) |
| 6552 | {"passwords-weakness-check", flag_descriptions::kPasswordsWeaknessCheckName, |
| 6553 | flag_descriptions::kPasswordsWeaknessCheckDescription, kOsDesktop, |
| 6554 | FEATURE_VALUE_TYPE(password_manager::features::kPasswordsWeaknessCheck)}, |
| 6555 | #endif // !defined(OS_ANDROID) |
| 6556 | |
Jonathan Mengedoht | 5c64752 | 2020-08-26 12:16:35 | [diff] [blame] | 6557 | {"well-known-change-password", |
| 6558 | flag_descriptions::kWellKnownChangePasswordName, |
| 6559 | flag_descriptions::kWellKnownChangePasswordDescription, kOsAll, |
| 6560 | FEATURE_VALUE_TYPE(password_manager::features::kWellKnownChangePassword)}, |
| 6561 | |
Elly Fong-Jones | 32ead50d | 2020-09-26 01:19:11 | [diff] [blame] | 6562 | {"window-naming", flag_descriptions::kWindowNamingName, |
| 6563 | flag_descriptions::kWindowNamingDescription, kOsAll, |
| 6564 | FEATURE_VALUE_TYPE(features::kWindowNaming)}, |
| 6565 | |
Dale Curtis | 06cfbc1 | 2020-08-26 20:37:03 | [diff] [blame] | 6566 | #if defined(OS_MAC) |
| 6567 | {"videotoolbox-vp9-decoding", |
| 6568 | flag_descriptions::kVideoToolboxVp9DecodingName, |
| 6569 | flag_descriptions::kVideoToolboxVp9DecodingDescription, kOsMac, |
| 6570 | FEATURE_VALUE_TYPE(media::kVideoToolboxVp9Decoding)}, |
| 6571 | #endif |
| 6572 | |
Pavel Yatsuk | 35829175 | 2020-09-03 18:25:22 | [diff] [blame] | 6573 | #if defined(OS_ANDROID) |
| 6574 | {"messages-for-android-infrastructure", |
| 6575 | flag_descriptions::kMessagesForAndroidInfrastructureName, |
| 6576 | flag_descriptions::kMessagesForAndroidInfrastructureDescription, |
| 6577 | kOsAndroid, |
| 6578 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidInfrastructure)}, |
| 6579 | {"messages-for-android-passwords", |
| 6580 | flag_descriptions::kMessagesForAndroidPasswordsName, |
| 6581 | flag_descriptions::kMessagesForAndroidPasswordsDescription, kOsAndroid, |
| 6582 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidPasswords)}, |
| 6583 | #endif |
| 6584 | |
Trevor Perrier | 990a1c6 | 2020-09-11 20:27:32 | [diff] [blame] | 6585 | #if defined(OS_ANDROID) |
| 6586 | {"android-detailed-language-settings", |
| 6587 | flag_descriptions::kAndroidDetailedLanguageSettingsName, |
| 6588 | flag_descriptions::kAndroidDetailedLanguageSettingsDescription, kOsAndroid, |
| 6589 | FEATURE_VALUE_TYPE(language::kDetailedLanguageSettings)}, |
| 6590 | #endif |
| 6591 | |
Siyu An | 9655bd2 | 2020-09-14 23:09:07 | [diff] [blame] | 6592 | {"sync-autofill-wallet-offer-data", |
| 6593 | flag_descriptions::kSyncAutofillWalletOfferDataName, |
| 6594 | flag_descriptions::kSyncAutofillWalletOfferDataDescription, kOsAll, |
| 6595 | FEATURE_VALUE_TYPE(switches::kSyncAutofillWalletOfferData)}, |
| 6596 | |
David Black | d954925 | 2020-09-15 02:34:10 | [diff] [blame] | 6597 | #if defined(OS_CHROMEOS) |
| 6598 | {"enable-holding-space", flag_descriptions::kHoldingSpaceName, |
| 6599 | flag_descriptions::kHoldingSpaceDescription, kOsCrOS, |
| 6600 | FEATURE_VALUE_TYPE(ash::features::kTemporaryHoldingSpace)}, |
Sammie Quon | 10d6aaf | 2020-09-22 22:32:24 | [diff] [blame] | 6601 | |
| 6602 | {"enhanced-desk-animations", flag_descriptions::kEnhancedDeskAnimationsName, |
| 6603 | flag_descriptions::kEnhancedDeskAnimationsDescription, kOsCrOS, |
| 6604 | FEATURE_VALUE_TYPE(ash::features::kEnhancedDeskAnimations)}, |
David Black | d954925 | 2020-09-15 02:34:10 | [diff] [blame] | 6605 | #endif |
| 6606 | |
Alan Screen | 652ddbb | 2020-09-16 07:14:53 | [diff] [blame] | 6607 | #if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \ |
| 6608 | defined(OS_CHROMEOS) |
| 6609 | {"enable-oop-print-drivers", flag_descriptions::kEnableOopPrintDriversName, |
| 6610 | flag_descriptions::kEnableOopPrintDriversDescription, kOsDesktop, |
| 6611 | FEATURE_VALUE_TYPE(printing::features::kEnableOopPrintDrivers)}, |
| 6612 | #endif |
| 6613 | |
Reilly Grant | 924b4f0d | 2020-09-26 03:55:21 | [diff] [blame] | 6614 | #if defined(OS_WIN) |
| 6615 | {"use-serial-bus-enumerator", |
| 6616 | flag_descriptions::kUseSerialBusEnumeratorName, |
| 6617 | flag_descriptions::kUseSerialBusEnumeratorDescription, kOsWin, |
| 6618 | FEATURE_VALUE_TYPE(features::kUseSerialBusEnumerator)}, |
| 6619 | #endif |
| 6620 | |
Rachel Wong | e497f03a | 2020-09-21 04:26:41 | [diff] [blame] | 6621 | #if defined(OS_CHROMEOS) |
| 6622 | {"omnibox-rich-entities-in-launcher", |
| 6623 | flag_descriptions::kOmniboxRichEntitiesInLauncherName, |
| 6624 | flag_descriptions::kOmniboxRichEntitiesInLauncherDescription, kOsCrOS, |
| 6625 | FEATURE_VALUE_TYPE(app_list_features::kEnableOmniboxRichEntities)}, |
Harry Cutts | 5b430df | 2020-09-22 11:22:29 | [diff] [blame] | 6626 | |
| 6627 | {"separate-pointing-stick-settings", |
| 6628 | flag_descriptions::kSeparatePointingStickSettingsName, |
| 6629 | flag_descriptions::kSeparatePointingStickSettingsDescription, kOsCrOS, |
| 6630 | FEATURE_VALUE_TYPE(features::kSeparatePointingStickSettings)}, |
Rachel Wong | e497f03a | 2020-09-21 04:26:41 | [diff] [blame] | 6631 | #endif |
| 6632 | |
Richard Knoll | 2b6d885a | 2020-09-24 16:42:43 | [diff] [blame] | 6633 | #if !defined(OS_ANDROID) |
| 6634 | {"mute-notifications-during-screen-share", |
| 6635 | flag_descriptions::kMuteNotificationsDuringScreenShareName, |
| 6636 | flag_descriptions::kMuteNotificationsDuringScreenShareDescription, |
| 6637 | kOsDesktop, |
| 6638 | FEATURE_VALUE_TYPE(features::kMuteNotificationsDuringScreenShare)}, |
| 6639 | #endif // !defined(OS_ANDROID) |
| 6640 | |
Ramin Halavati | c1e2659 | 2020-09-28 09:19:46 | [diff] [blame] | 6641 | #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MAC) |
| 6642 | {"enable-ephemeral-guest-profiles-on-desktop", |
| 6643 | flag_descriptions::kEnableEphemeralGuestProfilesOnDesktopName, |
| 6644 | flag_descriptions::kEnableEphemeralGuestProfilesOnDesktopDescription, |
| 6645 | kOsWin | kOsLinux | kOsMac, |
| 6646 | FEATURE_VALUE_TYPE(features::kEnableEphemeralGuestProfilesOnDesktop)}, |
| 6647 | #endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MAC) |
| 6648 | |
Victor Hugo Vianna Silva | 3366f57 | 2020-09-30 14:18:29 | [diff] [blame] | 6649 | #if defined(OS_ANDROID) |
| 6650 | {"decouple-sync-from-android-auto-sync", |
| 6651 | flag_descriptions::kDecoupleSyncFromAndroidAutoSyncName, |
| 6652 | flag_descriptions::kDecoupleSyncFromAndroidAutoSyncDescription, kOsAndroid, |
| 6653 | FEATURE_VALUE_TYPE(switches::kDecoupleSyncFromAndroidMasterSync)}, |
| 6654 | #endif // defined(OS_ANDROID) |
| 6655 | |
Yann Dago | 4e32606 | 2020-10-01 20:22:20 | [diff] [blame] | 6656 | {"enable-browsing-data-lifetime-manager", |
| 6657 | flag_descriptions::kEnableBrowsingDataLifetimeManagerName, |
| 6658 | flag_descriptions::kEnableBrowsingDataLifetimeManagerDescription, |
| 6659 | kOsDesktop, |
| 6660 | FEATURE_VALUE_TYPE( |
| 6661 | browsing_data::features::kEnableBrowsingDataLifetimeManager)}, |
Marc Treib | 12dcc97 | 2020-10-02 15:27:20 | [diff] [blame^] | 6662 | |
| 6663 | #if defined(OS_ANDROID) |
| 6664 | {"wallet-requires-first-sync-setup", |
| 6665 | flag_descriptions::kWalletRequiresFirstSyncSetupCompleteName, |
| 6666 | flag_descriptions::kWalletRequiresFirstSyncSetupCompleteDescription, |
| 6667 | kOsAndroid, |
| 6668 | FEATURE_VALUE_TYPE( |
| 6669 | autofill::features::kWalletRequiresFirstSyncSetupComplete)}, |
| 6670 | #endif // defined(OS_ANDROID) |
| 6671 | // NOTE: Adding a new flag requires adding a corresponding entry to enum |
| 6672 | // "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag |
| 6673 | // Histograms" in tools/metrics/histograms/README.md (run the |
| 6674 | // AboutFlagsHistogramTest unit test to verify this process). |
[email protected] | a0e4b07 | 2011-08-17 01:47:07 | [diff] [blame] | 6675 | }; |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 6676 | |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 6677 | class FlagsStateSingleton : public flags_ui::FlagsState::Delegate { |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6678 | public: |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6679 | FlagsStateSingleton() |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 6680 | : flags_state_( |
| 6681 | std::make_unique<flags_ui::FlagsState>(kFeatureEntries, this)) {} |
David Bienvenu | 481ef0b | 2020-09-12 00:04:15 | [diff] [blame] | 6682 | FlagsStateSingleton(const FlagsStateSingleton&) = delete; |
| 6683 | FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete; |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 6684 | ~FlagsStateSingleton() override = default; |
Elly Fong-Jones | c3e9aea | 2019-10-24 19:44:19 | [diff] [blame] | 6685 | |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6686 | static FlagsStateSingleton* GetInstance() { |
| 6687 | return base::Singleton<FlagsStateSingleton>::get(); |
| 6688 | } |
asvitkine | 91931d5 | 2015-10-16 17:55:47 | [diff] [blame] | 6689 | |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6690 | static flags_ui::FlagsState* GetFlagsState() { |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 6691 | return GetInstance()->flags_state_.get(); |
| 6692 | } |
| 6693 | |
| 6694 | void RebuildState(const std::vector<flags_ui::FeatureEntry>& entries) { |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 6695 | flags_state_ = std::make_unique<flags_ui::FlagsState>(entries, this); |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6696 | } |
| 6697 | |
| 6698 | private: |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 6699 | // flags_ui::FlagsState::Delegate: |
Elly Fong-Jones | f8a4aa4 | 2020-08-04 15:53:30 | [diff] [blame] | 6700 | bool ShouldExcludeFlag(const flags_ui::FlagsStorage* storage, |
| 6701 | const FeatureEntry& entry) override { |
| 6702 | return flags::IsFlagExpired(storage, entry.internal_name); |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 6703 | } |
| 6704 | |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 6705 | std::unique_ptr<flags_ui::FlagsState> flags_state_; |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6706 | }; |
| 6707 | |
Yann Dago | 7802871 | 2019-09-04 15:23:54 | [diff] [blame] | 6708 | bool ShouldSkipNonDeprecatedFeatureEntry(const FeatureEntry& entry) { |
| 6709 | return ~entry.supported_platforms & kDeprecated; |
Yann Dago | baa08aa | 2019-07-29 20:52:37 | [diff] [blame] | 6710 | } |
| 6711 | |
Elly Fong-Jones | f8a4aa4 | 2020-08-04 15:53:30 | [diff] [blame] | 6712 | bool SkipConditionalFeatureEntry(const flags_ui::FlagsStorage* storage, |
| 6713 | const FeatureEntry& entry) { |
sdefresne | 9fb6769 | 2015-08-03 18:48:22 | [diff] [blame] | 6714 | version_info::Channel channel = chrome::GetChannel(); |
Ken Rockot | 74946c3 | 2017-04-25 22:04:59 | [diff] [blame] | 6715 | #if defined(OS_CHROMEOS) |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 6716 | // enable-ui-devtools is only available on for non Stable channels. |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 6717 | if (!strcmp(ui_devtools::switches::kEnableUiDevTools, entry.internal_name) && |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 6718 | channel == version_info::Channel::STABLE) { |
| 6719 | return true; |
| 6720 | } |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 6721 | |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 6722 | if (!strcmp(kLacrosSupportInternalName, entry.internal_name) && |
James Cook | ab78a03e8 | 2020-05-13 00:55:47 | [diff] [blame] | 6723 | channel != version_info::Channel::BETA && |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 6724 | channel != version_info::Channel::DEV && |
| 6725 | channel != version_info::Channel::CANARY && |
| 6726 | channel != version_info::Channel::UNKNOWN) { |
| 6727 | return true; |
| 6728 | } |
David Black | 12709a38 | 2020-06-30 04:03:00 | [diff] [blame] | 6729 | |
| 6730 | // The following flags are only available to teamfooders. |
| 6731 | if (!strcmp(kAssistantBetterOnboardingInternalName, entry.internal_name) || |
| 6732 | !strcmp(kAssistantTimersV2InternalName, entry.internal_name)) { |
Milica Selakovic | 76b005d2 | 2020-07-09 10:14:25 | [diff] [blame] | 6733 | return !base::FeatureList::IsEnabled(features::kTeamfoodFlags); |
David Black | 12709a38 | 2020-06-30 04:03:00 | [diff] [blame] | 6734 | } |
wutao | a34fd068 | 2020-08-18 21:33:49 | [diff] [blame] | 6735 | |
| 6736 | // enable-ambient-mode is only available for Unknown/Canary/Dev channels. |
| 6737 | if (!strcmp(kAmbientModeInternalName, entry.internal_name) && |
| 6738 | channel != version_info::Channel::DEV && |
| 6739 | channel != version_info::Channel::CANARY && |
| 6740 | channel != version_info::Channel::UNKNOWN) { |
| 6741 | return true; |
| 6742 | } |
Jeroen Dhollander | f121babb | 2020-08-19 15:30:49 | [diff] [blame] | 6743 | |
| 6744 | // enable-bloom is only available for Unknown/Canary/Dev channels. |
| 6745 | if (!strcmp("enable-bloom", entry.internal_name) && |
| 6746 | channel != version_info::Channel::DEV && |
| 6747 | channel != version_info::Channel::CANARY && |
| 6748 | channel != version_info::Channel::UNKNOWN) { |
| 6749 | return true; |
| 6750 | } |
Ken Rockot | 74946c3 | 2017-04-25 22:04:59 | [diff] [blame] | 6751 | #endif // defined(OS_CHROMEOS) |
| 6752 | |
megjablon | 778536d8 | 2016-09-30 19:49:19 | [diff] [blame] | 6753 | // data-reduction-proxy-lo-fi and enable-data-reduction-proxy-lite-page |
megjablon | 0a3af14 | 2015-11-24 21:54:51 | [diff] [blame] | 6754 | // are only available for Chromium builds and the Canary/Dev/Beta channels. |
| 6755 | if ((!strcmp("data-reduction-proxy-lo-fi", entry.internal_name) || |
Rouslan Solomakhin | bed1af2 | 2017-06-09 18:40:57 | [diff] [blame] | 6756 | !strcmp("enable-data-reduction-proxy-lite-page", entry.internal_name)) && |
sdefresne | 6e883e4 | 2015-07-30 08:05:54 | [diff] [blame] | 6757 | channel != version_info::Channel::BETA && |
| 6758 | channel != version_info::Channel::DEV && |
| 6759 | channel != version_info::Channel::CANARY && |
| 6760 | channel != version_info::Channel::UNKNOWN) { |
megjablon | 6314a88 | 2015-06-17 17:26:45 | [diff] [blame] | 6761 | return true; |
| 6762 | } |
| 6763 | |
Kai Ninomiya | 6a68f626 | 2020-04-13 20:57:36 | [diff] [blame] | 6764 | // enable-unsafe-webgpu is only available on Dev/Canary channels. |
| 6765 | if (!strcmp("enable-unsafe-webgpu", entry.internal_name) && |
| 6766 | channel != version_info::Channel::DEV && |
| 6767 | channel != version_info::Channel::CANARY && |
| 6768 | channel != version_info::Channel::UNKNOWN) { |
| 6769 | return true; |
| 6770 | } |
| 6771 | |
hubbe | e749951 | 2017-04-05 22:35:04 | [diff] [blame] | 6772 | #if defined(OS_WIN) |
| 6773 | // HDR mode works, but displays everything horribly wrong prior to windows 10. |
| 6774 | if (!strcmp("enable-hdr", entry.internal_name) && |
Bruce Dawson | aed9bea | 2019-04-20 02:30:09 | [diff] [blame] | 6775 | base::win::GetVersion() < base::win::Version::WIN10) { |
hubbe | e749951 | 2017-04-05 22:35:04 | [diff] [blame] | 6776 | return true; |
| 6777 | } |
| 6778 | #endif // OS_WIN |
| 6779 | |
dalyk | 348087f | 2019-09-04 12:40:26 | [diff] [blame] | 6780 | if (!strcmp("dns-over-https", entry.internal_name) && |
siashah | 0a38622 | 2020-04-23 03:31:35 | [diff] [blame] | 6781 | (SystemNetworkContextManager::GetStubResolverConfigReader() |
| 6782 | ->ShouldDisableDohForManaged() || |
dalyk | 6bccdaa9 | 2020-02-05 17:38:36 | [diff] [blame] | 6783 | features::kDnsOverHttpsShowUiParam.Get())) { |
dalyk | c936eb61 | 2019-08-14 11:46:47 | [diff] [blame] | 6784 | return true; |
| 6785 | } |
| 6786 | |
Maxim Kolosovskiy | 411dc874 | 2020-07-25 11:50:14 | [diff] [blame] | 6787 | #if defined(OS_ANDROID) |
| 6788 | if (!strcmp("password-change-in-settings", entry.internal_name)) { |
| 6789 | return !base::FeatureList::IsEnabled(features::kTeamfoodFlags); |
| 6790 | } |
| 6791 | |
Milica Selakovic | 76b005d2 | 2020-07-09 10:14:25 | [diff] [blame] | 6792 | if (!strcmp("password-change-support", entry.internal_name)) { |
| 6793 | return !base::FeatureList::IsEnabled(features::kTeamfoodFlags); |
| 6794 | } |
Maxim Kolosovskiy | bf5b226 | 2020-09-25 15:47:33 | [diff] [blame] | 6795 | |
| 6796 | if (!strcmp("password-scripts-fetching", entry.internal_name)) { |
| 6797 | return !base::FeatureList::IsEnabled(features::kTeamfoodFlags); |
| 6798 | } |
Maxim Kolosovskiy | 411dc874 | 2020-07-25 11:50:14 | [diff] [blame] | 6799 | #endif // OS_ANDROID |
Milica Selakovic | 76b005d2 | 2020-07-09 10:14:25 | [diff] [blame] | 6800 | |
Elly Fong-Jones | f8a4aa4 | 2020-08-04 15:53:30 | [diff] [blame] | 6801 | if (flags::IsFlagExpired(storage, entry.internal_name)) |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 6802 | return true; |
| 6803 | |
[email protected] | 1227163 | 2013-11-26 03:06:39 | [diff] [blame] | 6804 | return false; |
| 6805 | } |
| 6806 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6807 | } // namespace |
| 6808 | |
droger | 888be0b | 2015-10-01 14:28:52 | [diff] [blame] | 6809 | void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage, |
avi | 3ef9ec9e | 2014-12-22 22:50:17 | [diff] [blame] | 6810 | base::CommandLine* command_line, |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6811 | flags_ui::SentinelsMode sentinels) { |
| 6812 | if (command_line->HasSwitch(switches::kNoExperiments)) |
| 6813 | return; |
| 6814 | |
| 6815 | FlagsStateSingleton::GetFlagsState()->ConvertFlagsToSwitches( |
| 6816 | flags_storage, command_line, sentinels, switches::kEnableFeatures, |
| 6817 | switches::kDisableFeatures); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 6818 | } |
| 6819 | |
jkrcal | bf07337 | 2016-07-29 07:21:31 | [diff] [blame] | 6820 | std::vector<std::string> RegisterAllFeatureVariationParameters( |
jkrcal | d1d2008 | 2016-07-14 15:04:24 | [diff] [blame] | 6821 | flags_ui::FlagsStorage* flags_storage, |
| 6822 | base::FeatureList* feature_list) { |
jkrcal | bf07337 | 2016-07-29 07:21:31 | [diff] [blame] | 6823 | return FlagsStateSingleton::GetFlagsState() |
| 6824 | ->RegisterAllFeatureVariationParameters(flags_storage, feature_list); |
jkrcal | 1383d1d | 2016-06-17 12:40:56 | [diff] [blame] | 6825 | } |
| 6826 | |
[email protected] | 6d98abf | 2013-06-17 23:35:51 | [diff] [blame] | 6827 | bool AreSwitchesIdenticalToCurrentCommandLine( |
avi | 3ef9ec9e | 2014-12-22 22:50:17 | [diff] [blame] | 6828 | const base::CommandLine& new_cmdline, |
| 6829 | const base::CommandLine& active_cmdline, |
| 6830 | std::set<base::CommandLine::StringType>* out_difference) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6831 | const char* extra_flag_sentinel_begin_flag_name = nullptr; |
| 6832 | const char* extra_flag_sentinel_end_flag_name = nullptr; |
[email protected] | ee28495a | 2013-05-20 04:10:52 | [diff] [blame] | 6833 | #if defined(OS_CHROMEOS) |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6834 | // Put the flags between --policy-switches--begin and --policy-switches-end on |
| 6835 | // ChromeOS. |
| 6836 | extra_flag_sentinel_begin_flag_name = |
| 6837 | chromeos::switches::kPolicySwitchesBegin; |
| 6838 | extra_flag_sentinel_end_flag_name = chromeos::switches::kPolicySwitchesEnd; |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 6839 | #endif // OS_CHROMEOS |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6840 | return flags_ui::FlagsState::AreSwitchesIdenticalToCurrentCommandLine( |
| 6841 | new_cmdline, active_cmdline, out_difference, |
| 6842 | extra_flag_sentinel_begin_flag_name, extra_flag_sentinel_end_flag_name); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 6843 | } |
| 6844 | |
asvitkine | 91931d5 | 2015-10-16 17:55:47 | [diff] [blame] | 6845 | void GetFlagFeatureEntries(flags_ui::FlagsStorage* flags_storage, |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6846 | flags_ui::FlagAccess access, |
asvitkine | 91931d5 | 2015-10-16 17:55:47 | [diff] [blame] | 6847 | base::ListValue* supported_entries, |
| 6848 | base::ListValue* unsupported_entries) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6849 | FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries( |
| 6850 | flags_storage, access, supported_entries, unsupported_entries, |
Elly Fong-Jones | f8a4aa4 | 2020-08-04 15:53:30 | [diff] [blame] | 6851 | base::BindRepeating(&SkipConditionalFeatureEntry, |
| 6852 | // Unretained: this callback doesn't outlive this |
| 6853 | // stack frame. |
| 6854 | base::Unretained(flags_storage))); |
asvitkine | 91931d5 | 2015-10-16 17:55:47 | [diff] [blame] | 6855 | } |
| 6856 | |
Yann Dago | 7802871 | 2019-09-04 15:23:54 | [diff] [blame] | 6857 | void GetFlagFeatureEntriesForDeprecatedPage( |
| 6858 | flags_ui::FlagsStorage* flags_storage, |
| 6859 | flags_ui::FlagAccess access, |
| 6860 | base::ListValue* supported_entries, |
| 6861 | base::ListValue* unsupported_entries) { |
Yann Dago | baa08aa | 2019-07-29 20:52:37 | [diff] [blame] | 6862 | FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries( |
| 6863 | flags_storage, access, supported_entries, unsupported_entries, |
Hiroki Nakagawa | 398466e | 2020-07-06 06:59:03 | [diff] [blame] | 6864 | base::BindRepeating(&ShouldSkipNonDeprecatedFeatureEntry)); |
Yann Dago | baa08aa | 2019-07-29 20:52:37 | [diff] [blame] | 6865 | } |
| 6866 | |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 6867 | bool IsRestartNeededToCommitChanges() { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6868 | return FlagsStateSingleton::GetFlagsState()->IsRestartNeededToCommitChanges(); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 6869 | } |
| 6870 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 6871 | void SetFeatureEntryEnabled(flags_ui::FlagsStorage* flags_storage, |
asvitkine | 03007d0 | 2015-10-21 22:50:06 | [diff] [blame] | 6872 | const std::string& internal_name, |
| 6873 | bool enable) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6874 | FlagsStateSingleton::GetFlagsState()->SetFeatureEntryEnabled( |
| 6875 | flags_storage, internal_name, enable); |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6876 | } |
| 6877 | |
Mustafa Emre Acer | b3aa36a8 | 2018-05-22 21:44:05 | [diff] [blame] | 6878 | void SetOriginListFlag(const std::string& internal_name, |
| 6879 | const std::string& value, |
| 6880 | flags_ui::FlagsStorage* flags_storage) { |
| 6881 | FlagsStateSingleton::GetFlagsState()->SetOriginListFlag(internal_name, value, |
| 6882 | flags_storage); |
| 6883 | } |
| 6884 | |
Jeremy Roman | 863386d | 2017-10-31 19:25:38 | [diff] [blame] | 6885 | void RemoveFlagsSwitches(base::CommandLine::SwitchMap* switch_list) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6886 | FlagsStateSingleton::GetFlagsState()->RemoveFlagsSwitches(switch_list); |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6887 | } |
| 6888 | |
droger | 888be0b | 2015-10-01 14:28:52 | [diff] [blame] | 6889 | void ResetAllFlags(flags_ui::FlagsStorage* flags_storage) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6890 | FlagsStateSingleton::GetFlagsState()->ResetAllFlags(flags_storage); |
[email protected] | a314ee5a | 2010-10-26 21:23:28 | [diff] [blame] | 6891 | } |
| 6892 | |
droger | 888be0b | 2015-10-01 14:28:52 | [diff] [blame] | 6893 | void RecordUMAStatistics(flags_ui::FlagsStorage* flags_storage) { |
Alexei Svitkine | 103faf8 | 2018-11-14 16:43:15 | [diff] [blame] | 6894 | std::set<std::string> switches; |
| 6895 | std::set<std::string> features; |
| 6896 | FlagsStateSingleton::GetFlagsState()->GetSwitchesAndFeaturesFromFlags( |
| 6897 | flags_storage, &switches, &features); |
Nate Fischer | 03103b9 | 2020-06-05 19:30:50 | [diff] [blame] | 6898 | flags_ui::ReportAboutFlagsHistogram("Launch.FlagsAtStartup", switches, |
| 6899 | features); |
[email protected] | 4b66a7d | 2014-08-15 17:13:31 | [diff] [blame] | 6900 | } |
| 6901 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6902 | namespace testing { |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 6903 | |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 6904 | std::vector<FeatureEntry>* GetEntriesForTesting() { |
| 6905 | static base::NoDestructor<std::vector<FeatureEntry>> entries; |
| 6906 | return entries.get(); |
| 6907 | } |
| 6908 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 6909 | const FeatureEntry* GetFeatureEntries(size_t* count) { |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 6910 | if (!GetEntriesForTesting()->empty()) { |
| 6911 | *count = GetEntriesForTesting()->size(); |
| 6912 | return GetEntriesForTesting()->data(); |
| 6913 | } |
Avi Drissman | d251e91 | 2018-12-26 15:46:37 | [diff] [blame] | 6914 | *count = base::size(kFeatureEntries); |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 6915 | return kFeatureEntries; |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 6916 | } |
| 6917 | |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 6918 | void SetFeatureEntries(const std::vector<FeatureEntry>& entries) { |
| 6919 | GetEntriesForTesting()->clear(); |
| 6920 | for (const auto& entry : entries) |
| 6921 | GetEntriesForTesting()->push_back(entry); |
| 6922 | FlagsStateSingleton::GetInstance()->RebuildState(*GetEntriesForTesting()); |
| 6923 | } |
| 6924 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 6925 | } // namespace testing |
| 6926 | |
[email protected] | 1a47d7e | 2010-10-15 00:37:24 | [diff] [blame] | 6927 | } // namespace about_flags |