Avi Drissman | 4a8573c | 2022-09-09 19:35:54 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
[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 | |
Alan Cutter | 50eb0e9 | 2021-08-31 15:26:25 | [diff] [blame] | 5 | // Instructions for adding new entries to this file: |
| 6 | // https://chromium.googlesource.com/chromium/src/+/main/docs/how_to_add_your_feature_flag.md#step-2_adding-the-feature-flag-to-the-chrome_flags-ui |
| 7 | |
[email protected] | 1a47d7e | 2010-10-15 00:37:24 | [diff] [blame] | 8 | #include "chrome/browser/about_flags.h" |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 9 | |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 10 | #include <iterator> |
| 11 | #include <map> |
Tom McKee | d47f7ed6 | 2020-04-06 13:53:40 | [diff] [blame] | 12 | #include <memory> |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 13 | #include <set> |
[email protected] | 83e9fa70 | 2013-02-25 19:30:44 | [diff] [blame] | 14 | #include <utility> |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 15 | |
Trent Apted | c5e504d | 2017-10-26 23:19:26 | [diff] [blame] | 16 | #include "base/base_switches.h" |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 17 | #include "base/command_line.h" |
asvitkine | 03007d0 | 2015-10-21 22:50:06 | [diff] [blame] | 18 | #include "base/feature_list.h" |
Avi Drissman | 02e49e58 | 2023-01-07 01:23:18 | [diff] [blame] | 19 | #include "base/functional/bind.h" |
| 20 | #include "base/functional/callback.h" |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 21 | #include "base/i18n/base_i18n_switches.h" |
[email protected] | 3b63f8f4 | 2011-03-28 01:54:15 | [diff] [blame] | 22 | #include "base/memory/singleton.h" |
Ilya Sherman | 982457e6 | 2017-12-13 02:19:36 | [diff] [blame] | 23 | #include "base/metrics/histogram_functions.h" |
Lei Zhang | 9cb338a | 2021-07-14 21:56:17 | [diff] [blame] | 24 | #include "base/no_destructor.h" |
[email protected] | 3ea1b18 | 2013-02-08 22:38:41 | [diff] [blame] | 25 | #include "base/strings/string_number_conversions.h" |
[email protected] | 135cb80 | 2013-06-09 16:44:20 | [diff] [blame] | 26 | #include "base/strings/utf_string_conversions.h" |
Etienne Pierre-doray | b6e0b67 | 2022-07-06 17:17:36 | [diff] [blame] | 27 | #include "base/task/task_features.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" |
Erik Chen | 92f2f0d | 2023-03-13 00:09:48 | [diff] [blame] | 34 | #include "chrome/browser/browser_process.h" |
Shakti Sahu | e7597fd | 2023-04-05 23:32:39 | [diff] [blame] | 35 | #include "chrome/browser/companion/core/features.h" |
Pierre St Juste | 9bc615e3 | 2023-05-26 01:58:32 | [diff] [blame] | 36 | #include "chrome/browser/companion/visual_search/features.h" |
Jonathan Njeunje | 9dc4e6c | 2023-04-10 03:05:32 | [diff] [blame] | 37 | #include "chrome/browser/dips/dips_features.h" |
Norge Vizcay | 5f6bfb4 | 2022-06-10 08:33:14 | [diff] [blame] | 38 | #include "chrome/browser/fast_checkout/fast_checkout_features.h" |
Shakti Sahu | edcbaef | 2022-01-18 19:54:21 | [diff] [blame] | 39 | #include "chrome/browser/feature_guide/notifications/feature_notification_guide_service.h" |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 40 | #include "chrome/browser/flag_descriptions.h" |
Elly Fong-Jones | 4362437 | 2023-02-16 19:36:11 | [diff] [blame] | 41 | #include "chrome/browser/follow/follow_features.h" |
rajendrant | 41f3f1b | 2020-12-16 10:29:31 | [diff] [blame] | 42 | #include "chrome/browser/login_detection/login_detection_util.h" |
George Benz | 37338b7 | 2022-05-02 23:28:03 | [diff] [blame] | 43 | #include "chrome/browser/media/router/discovery/access_code/access_code_cast_constants.h" |
George Benz | 57b4f6a | 2022-12-06 22:57:18 | [diff] [blame] | 44 | #include "chrome/browser/media/router/discovery/access_code/access_code_cast_feature.h" |
Tarun Bansal | e08c049 | 2020-10-20 18:41:03 | [diff] [blame] | 45 | #include "chrome/browser/navigation_predictor/navigation_predictor_features.h" |
Tarun Bansal | 0c4a7d4 | 2020-05-11 19:19:33 | [diff] [blame] | 46 | #include "chrome/browser/navigation_predictor/search_engine_preconnector.h" |
Eric Orth | 9a14dca | 2020-04-02 20:07:47 | [diff] [blame] | 47 | #include "chrome/browser/net/stub_resolver_config_reader.h" |
| 48 | #include "chrome/browser/net/system_network_context_manager.h" |
Xing Liu | 1919ec23 | 2019-07-22 20:38:04 | [diff] [blame] | 49 | #include "chrome/browser/notifications/scheduler/public/features.h" |
Christian Dullweber | a0b16c187 | 2022-09-22 09:44:02 | [diff] [blame] | 50 | #include "chrome/browser/page_info/page_info_features.h" |
Kamila | 5e993568 | 2022-08-05 12:43:29 | [diff] [blame] | 51 | #include "chrome/browser/permissions/notifications_permission_revocation_config.h" |
Balazs Engedy | 715b0ec | 2019-12-04 15:11:45 | [diff] [blame] | 52 | #include "chrome/browser/permissions/quiet_notification_permission_ui_config.h" |
Alexandr Ilin | f0500ed3 | 2017-09-27 21:12:36 | [diff] [blame] | 53 | #include "chrome/browser/predictors/loading_predictor_config.h" |
Ryan Sturm | 0c7162f7 | 2022-09-16 15:13:41 | [diff] [blame] | 54 | #include "chrome/browser/preloading/prefetch/search_prefetch/field_trial_settings.h" |
Sebastien Marchand | d33f7dc | 2018-06-22 22:07:06 | [diff] [blame] | 55 | #include "chrome/browser/resource_coordinator/tab_manager_features.h" |
Elly Fong-Jones | 0c55976a | 2021-10-06 18:04:30 | [diff] [blame] | 56 | #include "chrome/browser/share/share_features.h" |
Himanshu Jaju | dbcee23 | 2019-06-17 19:41:49 | [diff] [blame] | 57 | #include "chrome/browser/sharing/features.h" |
Kristi Park | aedd01f | 2021-04-02 23:40:07 | [diff] [blame] | 58 | #include "chrome/browser/sharing_hub/sharing_hub_features.h" |
Nohemi Fernandez | 4c0d33f | 2022-07-01 08:57:58 | [diff] [blame] | 59 | #include "chrome/browser/signin/signin_features.h" |
Mattias Nissler | 380cf4f | 2021-03-22 15:50:46 | [diff] [blame] | 60 | #include "chrome/browser/site_isolation/about_flags.h" |
Calder Kitagawa | 204d640 | 2023-02-22 18:16:57 | [diff] [blame] | 61 | #include "chrome/browser/thumbnail/cc/features.h" |
Roger Tinkoff | 13c3aba1 | 2022-06-01 18:38:51 | [diff] [blame] | 62 | #include "chrome/browser/ui/browser_navigator_params.h" |
Charlene Yan | 0724dc56 | 2019-04-12 17:57:41 | [diff] [blame] | 63 | #include "chrome/browser/ui/ui_features.h" |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 64 | #include "chrome/browser/unexpire_flags.h" |
Elly Fong-Jones | 4054f14 | 2020-04-17 17:12:33 | [diff] [blame] | 65 | #include "chrome/browser/unexpire_flags_gen.h" |
Martin Kreichgauer | 4c607076 | 2022-03-29 16:27:22 | [diff] [blame] | 66 | #include "chrome/browser/webauthn/webauthn_switches.h" |
Scott Violet | 6200d33 | 2018-02-23 21:29:23 | [diff] [blame] | 67 | #include "chrome/common/buildflags.h" |
sdefresne | 9fb6769 | 2015-08-03 18:48:22 | [diff] [blame] | 68 | #include "chrome/common/channel_info.h" |
[email protected] | d208f4d8 | 2011-05-23 21:52:03 | [diff] [blame] | 69 | #include "chrome/common/chrome_content_client.h" |
georgesak | 45ee353 | 2016-01-08 03:39:54 | [diff] [blame] | 70 | #include "chrome/common/chrome_features.h" |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 71 | #include "chrome/common/chrome_switches.h" |
Cattalyya Nuengsigkapian | 1fd3bcb | 2021-09-29 21:58:22 | [diff] [blame] | 72 | #include "chromeos/ui/wm/features.h" |
Donn Denman | 5972981 | 2018-01-09 01:27:02 | [diff] [blame] | 73 | #include "components/assist_ranker/predictor_config_definitions.h" |
mathp | 8a74a99 | 2016-08-03 16:21:17 | [diff] [blame] | 74 | #include "components/autofill/core/browser/autofill_experiments.h" |
Mathieu Perreault | a24d0c2 | 2017-11-10 01:22:00 | [diff] [blame] | 75 | #include "components/autofill/core/common/autofill_features.h" |
Jared Saul | d998539f | 2019-03-19 15:11:17 | [diff] [blame] | 76 | #include "components/autofill/core/common/autofill_payments_features.h" |
[email protected] | 58bc1c3 | 2013-12-16 22:52:07 | [diff] [blame] | 77 | #include "components/autofill/core/common/autofill_switches.h" |
csashi | a447acf | 2017-05-19 22:05:29 | [diff] [blame] | 78 | #include "components/autofill/core/common/autofill_util.h" |
maxbogue | 26f4022 | 2016-09-16 20:22:18 | [diff] [blame] | 79 | #include "components/browser_sync/browser_sync_switches.h" |
Jenny Blessing | 45326bf | 2019-08-29 23:50:37 | [diff] [blame] | 80 | #include "components/browsing_data/core/features.h" |
Matt Jones | a8bfcc2 | 2022-02-01 19:53:08 | [diff] [blame] | 81 | #include "components/commerce/core/commerce_feature_list.h" |
Matt Jones | 125dfb4 | 2022-02-11 17:23:42 | [diff] [blame] | 82 | #include "components/commerce/core/flag_descriptions.h" |
Roman Arora | 595d571 | 2021-09-24 18:06:05 | [diff] [blame] | 83 | #include "components/component_updater/component_updater_command_line_config_policy.h" |
| 84 | #include "components/component_updater/component_updater_switches.h" |
Neil Coronado | a0f571b8 | 2021-11-23 18:45:39 | [diff] [blame] | 85 | #include "components/content_settings/core/common/features.h" |
Josh Simmons | f2851f5 | 2022-07-29 18:28:33 | [diff] [blame] | 86 | #include "components/contextual_search/core/browser/contextual_search_field_trial.h" |
Donn Denman | 63d169f | 2019-03-08 23:34:50 | [diff] [blame] | 87 | #include "components/contextual_search/core/browser/public.h" |
Aran Gilman | c9a22c57 | 2019-09-06 16:47:50 | [diff] [blame] | 88 | #include "components/dom_distiller/core/dom_distiller_features.h" |
cjhopman | 951bb61 | 2015-04-22 01:42:38 | [diff] [blame] | 89 | #include "components/dom_distiller/core/dom_distiller_switches.h" |
Min Qin | d461ee46 | 2018-03-09 19:39:15 | [diff] [blame] | 90 | #include "components/download/public/common/download_features.h" |
blundell | a5e3240a | 2016-01-05 11:30:43 | [diff] [blame] | 91 | #include "components/error_page/common/error_page_switches.h" |
Tommy Nyquist | c1d6dea1 | 2017-07-26 20:37:23 | [diff] [blame] | 92 | #include "components/feature_engagement/public/feature_constants.h" |
| 93 | #include "components/feature_engagement/public/feature_list.h" |
Theresa | 920e0ed | 2018-03-07 18:12:44 | [diff] [blame] | 94 | #include "components/feed/feed_feature_list.h" |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 95 | #include "components/flags_ui/feature_entry.h" |
sdefresne | 246c564 | 2015-11-16 21:47:29 | [diff] [blame] | 96 | #include "components/flags_ui/feature_entry_macros.h" |
Michael Crouse | 1c9adba | 2020-07-08 17:39:01 | [diff] [blame] | 97 | #include "components/flags_ui/flags_state.h" |
droger | 888be0b | 2015-10-01 14:28:52 | [diff] [blame] | 98 | #include "components/flags_ui/flags_storage.h" |
Nate Fischer | 03103b9 | 2020-06-05 19:30:50 | [diff] [blame] | 99 | #include "components/flags_ui/flags_ui_metrics.h" |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 100 | #include "components/flags_ui/flags_ui_switches.h" |
Erik Chen | 92f2f0d | 2023-03-13 00:09:48 | [diff] [blame] | 101 | #include "components/flags_ui/pref_service_flags_storage.h" |
Colin Blundell | a33d59b | 2021-03-10 10:02:38 | [diff] [blame] | 102 | #include "components/heavy_ad_intervention/heavy_ad_features.h" |
Moe Ahmadi | 359d072 | 2022-05-16 23:17:33 | [diff] [blame] | 103 | #include "components/history/core/browser/features.h" |
Sophie Chang | d30f4dc4f | 2022-10-18 16:10:17 | [diff] [blame] | 104 | #include "components/history_clusters/core/config.h" |
Tommy Li | cfb4e0c | 2021-12-07 21:54:46 | [diff] [blame] | 105 | #include "components/history_clusters/core/features.h" |
Sophie Chang | 9f2f071 | 2022-03-03 19:40:41 | [diff] [blame] | 106 | #include "components/history_clusters/core/on_device_clustering_features.h" |
Tanja Gornak | b0985dd | 2018-10-11 17:24:40 | [diff] [blame] | 107 | #include "components/invalidation/impl/invalidation_switches.h" |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 108 | #include "components/language/core/common/language_experiments.h" |
Duncan Mercer | 80e9910 | 2022-12-28 21:30:27 | [diff] [blame] | 109 | #include "components/lens/buildflags.h" |
Ali Stanfield | 980a749 | 2021-07-21 19:21:26 | [diff] [blame] | 110 | #include "components/lens/lens_features.h" |
Jordan Bayles | b3160b26 | 2021-08-18 00:33:01 | [diff] [blame] | 111 | #include "components/mirroring/service/mirroring_features.h" |
Derek Schuff | 71d9a92 | 2019-04-24 21:36:00 | [diff] [blame] | 112 | #include "components/nacl/common/buildflags.h" |
| 113 | #include "components/nacl/common/nacl_switches.h" |
Matt Menke | 64b9fc7 | 2017-07-29 02:22:45 | [diff] [blame] | 114 | #include "components/network_session_configurator/common/network_features.h" |
mmenke | 68a5021 | 2017-06-12 20:20:31 | [diff] [blame] | 115 | #include "components/network_session_configurator/common/network_switches.h" |
Hiroki Nakagawa | fea75fae | 2021-02-03 10:34:52 | [diff] [blame] | 116 | #include "components/no_state_prefetch/browser/no_state_prefetch_field_trial.h" |
Kristi Park | 01ca125 | 2019-05-10 22:39:05 | [diff] [blame] | 117 | #include "components/ntp_tiles/features.h" |
chili | ecd2380 | 2016-12-07 10:27:11 | [diff] [blame] | 118 | #include "components/offline_pages/core/offline_page_feature.h" |
manukh | f3a1a16 | 2023-06-09 16:17:38 | [diff] [blame] | 119 | #include "components/omnibox/browser/omnibox_feature_configs.h" |
jdonnelly | 3d2d65e9 | 2017-02-23 21:33:59 | [diff] [blame] | 120 | #include "components/omnibox/browser/omnibox_field_trial.h" |
Tomasz Wiszkowski | d938a111 | 2019-03-06 18:01:57 | [diff] [blame] | 121 | #include "components/omnibox/common/omnibox_features.h" |
Patrick Noland | d50e38b | 2023-06-14 22:32:11 | [diff] [blame] | 122 | #include "components/open_from_clipboard/clipboard_recent_content_features.h" |
Sophie Chang | d71cd7c | 2021-01-12 17:53:39 | [diff] [blame] | 123 | #include "components/optimization_guide/core/optimization_guide_features.h" |
rajendrant | 277b1ba | 2022-02-18 01:59:36 | [diff] [blame] | 124 | #include "components/optimization_guide/core/optimization_guide_switches.h" |
Tommy C. Li | df33ea61 | 2023-03-29 23:04:52 | [diff] [blame] | 125 | #include "components/page_image_service/features.h" |
Olesia Marukhno | 46ccd43 | 2021-12-03 08:50:27 | [diff] [blame] | 126 | #include "components/page_info/core/features.h" |
ckitagawa | 8dad53d | 2020-01-07 16:03:35 | [diff] [blame] | 127 | #include "components/paint_preview/buildflags/buildflags.h" |
| 128 | #include "components/paint_preview/features/features.h" |
Vasilii Sukhanov | d64f314e | 2023-07-05 09:15:48 | [diff] [blame] | 129 | #include "components/password_manager/core/browser/features/password_features.h" |
pritam.nikam | 906f9ae | 2015-12-07 18:36:39 | [diff] [blame] | 130 | #include "components/password_manager/core/common/password_manager_features.h" |
Mathieu Perreault | 51339b8 | 2017-07-20 17:06:05 | [diff] [blame] | 131 | #include "components/payments/core/features.h" |
Charles Meng | 17ba75d | 2022-08-23 18:45:28 | [diff] [blame] | 132 | #include "components/performance_manager/public/features.h" |
Olesia Marukhno | 1b981ad | 2020-11-12 17:55:38 | [diff] [blame] | 133 | #include "components/permissions/features.h" |
Yann Dago | 70afb65d | 2019-08-06 15:50:53 | [diff] [blame] | 134 | #include "components/policy/core/common/features.h" |
Brandon Wylie | 130e579 | 2023-02-23 23:59:38 | [diff] [blame] | 135 | #include "components/power_bookmarks/core/power_bookmark_features.h" |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 136 | #include "components/privacy_sandbox/privacy_sandbox_features.h" |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 137 | #include "components/query_tiles/switches.h" |
Caroline Rising | 98e6ca12f | 2020-10-27 02:50:47 | [diff] [blame] | 138 | #include "components/reading_list/features/reading_list_switches.h" |
Colin Blundell | 6292006a | 2021-06-30 09:22:58 | [diff] [blame] | 139 | #include "components/safe_browsing/core/common/features.h" |
Moe Ahmadi | ec90a24 | 2020-10-29 18:54:13 | [diff] [blame] | 140 | #include "components/search/ntp_features.h" |
Colin Blundell | 7657b40 | 2020-02-25 09:46:50 | [diff] [blame] | 141 | #include "components/security_interstitials/content/stateful_ssl_host_state_delegate.h" |
estark | 04c3307c | 2016-12-20 08:47:17 | [diff] [blame] | 142 | #include "components/security_state/core/security_state.h" |
Shakti Sahu | 28a7601 | 2022-05-30 15:29:14 | [diff] [blame] | 143 | #include "components/segmentation_platform/public/features.h" |
Jeffrey Cohen | 9f3e609 | 2019-03-21 21:55:01 | [diff] [blame] | 144 | #include "components/send_tab_to_self/features.h" |
erikchen | 34810df0 | 2018-04-05 21:40:38 | [diff] [blame] | 145 | #include "components/services/heap_profiling/public/cpp/switches.h" |
Gayane Petrosyan | 6538073 | 2021-01-15 01:09:53 | [diff] [blame] | 146 | #include "components/shared_highlighting/core/common/shared_highlighting_features.h" |
Mihai Sardarescu | 0060dff | 2019-10-22 11:14:58 | [diff] [blame] | 147 | #include "components/signin/core/browser/dice_account_reconcilor_delegate.h" |
Colin Blundell | 3517170e | 2019-07-11 08:16:34 | [diff] [blame] | 148 | #include "components/signin/public/base/signin_buildflags.h" |
| 149 | #include "components/signin/public/base/signin_switches.h" |
Clark DuVall | aadc244c | 2020-06-06 03:47:14 | [diff] [blame] | 150 | #include "components/site_isolation/features.h" |
timvolodine | 34b1ffd | 2016-09-01 12:45:23 | [diff] [blame] | 151 | #include "components/spellcheck/common/spellcheck_features.h" |
Scott Violet | d7983c5 | 2018-03-03 00:24:41 | [diff] [blame] | 152 | #include "components/spellcheck/spellcheck_buildflags.h" |
[email protected] | 1099454d | 2023-01-31 14:35:11 | [diff] [blame] | 153 | #include "components/supervised_user/core/common/buildflags.h" |
Victor Hugo Vianna Silva | a48aa01c | 2022-02-09 20:38:23 | [diff] [blame] | 154 | #include "components/sync/base/command_line_switches.h" |
| 155 | #include "components/sync/base/features.h" |
primiano | ccb26c6 | 2016-06-01 21:50:02 | [diff] [blame] | 156 | #include "components/tracing/common/tracing_switches.h" |
ftang | ee70896 | 2016-05-07 00:39:28 | [diff] [blame] | 157 | #include "components/translate/core/browser/translate_prefs.h" |
Philippe Hamel | 7fdaa45 | 2017-09-29 17:22:49 | [diff] [blame] | 158 | #include "components/translate/core/browser/translate_ranker_impl.h" |
Doug Arnett | c52291a | 2020-05-07 18:52:30 | [diff] [blame] | 159 | #include "components/translate/core/common/translate_util.h" |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 160 | #include "components/ui_devtools/switches.h" |
James Lee | ed090a1b | 2023-03-16 22:51:58 | [diff] [blame] | 161 | #include "components/variations/service/google_groups_updater_service.h" |
Erik Chen | 92f2f0d | 2023-03-13 00:09:48 | [diff] [blame] | 162 | #include "components/variations/variations_switches.h" |
sdefresne | 9fb6769 | 2015-08-03 18:48:22 | [diff] [blame] | 163 | #include "components/version_info/version_info.h" |
kylechar | 7051c09 | 2018-02-05 20:31:39 | [diff] [blame] | 164 | #include "components/viz/common/features.h" |
kylechar | 0a233f9 | 2019-03-08 16:50:54 | [diff] [blame] | 165 | #include "components/viz/common/switches.h" |
Phillis Tang | dc765bbd | 2022-08-10 22:41:26 | [diff] [blame] | 166 | #include "components/webapps/browser/features.h" |
Evan Stade | dc8b482 | 2021-01-22 02:28:10 | [diff] [blame] | 167 | #include "components/webapps/common/switches.h" |
rsesek | a8dcaa9 | 2015-11-23 17:55:09 | [diff] [blame] | 168 | #include "content/public/common/content_features.h" |
brettw | 90e9260 | 2015-10-10 00:12:40 | [diff] [blame] | 169 | #include "content/public/common/content_switches.h" |
reillyg | 6204d73 | 2017-02-13 22:24:56 | [diff] [blame] | 170 | #include "device/base/features.h" |
Zhengping Jiang | 706c227 | 2022-07-13 05:50:34 | [diff] [blame] | 171 | #include "device/bluetooth/bluez/bluez_features.h" |
Manish Mandlik | dd93b61 | 2022-08-12 01:08:19 | [diff] [blame] | 172 | #include "device/bluetooth/chromeos_platform_features.h" |
Sonny Sasaka | 9472521 | 2021-12-17 01:37:30 | [diff] [blame] | 173 | #include "device/bluetooth/floss/floss_features.h" |
Adam Langley | 64bc0423 | 2019-03-30 21:05:56 | [diff] [blame] | 174 | #include "device/fido/features.h" |
Qiaofei Ye | beb9a23 | 2020-07-22 23:47:04 | [diff] [blame] | 175 | #include "device/gamepad/public/cpp/gamepad_features.h" |
Scott Violet | c8240b0 | 2018-03-08 22:03:59 | [diff] [blame] | 176 | #include "device/vr/buildflags/buildflags.h" |
| 177 | #include "extensions/buildflags/buildflags.h" |
Andres Calderon Jaramillo | 605253d | 2018-09-05 15:46:35 | [diff] [blame] | 178 | #include "gpu/config/gpu_finch_features.h" |
ericrk | 41a1579e | 2017-02-10 20:56:28 | [diff] [blame] | 179 | #include "gpu/config/gpu_switches.h" |
warx | e993ec3 | 2016-10-18 21:37:47 | [diff] [blame] | 180 | #include "media/audio/audio_features.h" |
[email protected] | e2e8e32 | 2012-09-12 04:37:02 | [diff] [blame] | 181 | #include "media/base/media_switches.h" |
Hirokazu Honda | 8ef07cd | 2020-04-17 03:36:38 | [diff] [blame] | 182 | #include "media/capture/capture_switches.h" |
Scott Violet | a35f9a4 | 2018-03-22 22:00:44 | [diff] [blame] | 183 | #include "media/media_buildflags.h" |
yhirano | bbea627 | 2015-09-17 07:09:03 | [diff] [blame] | 184 | #include "media/midi/midi_switches.h" |
Alessio Bazzica | 056e05f | 2021-09-21 16:30:23 | [diff] [blame] | 185 | #include "media/webrtc/webrtc_features.h" |
Brian Geffon | 12b581a | 2021-02-03 23:48:03 | [diff] [blame] | 186 | #include "mojo/core/embedder/features.h" |
David Benjamin | 570460e | 2018-10-16 06:01:29 | [diff] [blame] | 187 | #include "net/base/features.h" |
Asanka Herath | d37426e | 2019-10-29 22:11:10 | [diff] [blame] | 188 | #include "net/net_buildflags.h" |
tbansal | d3e08ca6 | 2017-05-04 19:51:09 | [diff] [blame] | 189 | #include "net/nqe/effective_connection_type.h" |
Thanh Le | a98f12f | 2017-12-18 19:35:30 | [diff] [blame] | 190 | #include "net/nqe/network_quality_estimator_params.h" |
Adam Rice | c786ad8a | 2018-05-22 09:49:15 | [diff] [blame] | 191 | #include "net/websockets/websocket_basic_handshake_stream.h" |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 192 | #include "pdf/buildflags.h" |
Scott Violet | 02e38b9 | 2018-03-27 23:42:14 | [diff] [blame] | 193 | #include "ppapi/buildflags/buildflags.h" |
Scott Violet | 318a55f | 2018-03-30 19:08:19 | [diff] [blame] | 194 | #include "printing/buildflags/buildflags.h" |
Robert Sesek | 7d0b49b | 2020-07-08 18:31:27 | [diff] [blame] | 195 | #include "sandbox/policy/features.h" |
| 196 | #include "sandbox/policy/switches.h" |
ke.he | a91facd | 2017-04-12 05:11:50 | [diff] [blame] | 197 | #include "services/device/public/cpp/device_features.h" |
Becca Hughes | ac86cd44 | 2019-01-09 23:49:54 | [diff] [blame] | 198 | #include "services/media_session/public/cpp/features.h" |
Yutaka Hirano | d8789f9 | 2018-01-30 09:59:51 | [diff] [blame] | 199 | #include "services/network/public/cpp/features.h" |
John Abd-El-Malek | 91243b3 | 2018-01-19 06:08:33 | [diff] [blame] | 200 | #include "services/network/public/cpp/network_switches.h" |
Alexander Timin | a812932f | 2022-06-29 23:39:34 | [diff] [blame] | 201 | #include "services/tracing/public/cpp/tracing_features.h" |
Lexi Stavrakos | d9e64e1 | 2020-07-21 21:52:10 | [diff] [blame] | 202 | #include "storage/browser/quota/quota_features.h" |
Matt Falkenhagen | 5cc65279 | 2018-06-21 10:34:33 | [diff] [blame] | 203 | #include "third_party/blink/public/common/features.h" |
Mason Freed | 7e294a8 | 2023-06-05 23:46:14 | [diff] [blame] | 204 | #include "third_party/blink/public/common/features_generated.h" |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 205 | #include "third_party/blink/public/common/forcedark/forcedark_switches.h" |
Dave Tapuska | 9bcf6cc | 2020-06-25 15:15:01 | [diff] [blame] | 206 | #include "third_party/blink/public/common/switches.h" |
Adam Ettenberger | dcf51b4 | 2019-09-23 19:33:41 | [diff] [blame] | 207 | #include "ui/accessibility/accessibility_features.h" |
Chris Hall | e952239e | 2018-11-06 06:49:52 | [diff] [blame] | 208 | #include "ui/accessibility/accessibility_switches.h" |
Trent Apted | 9efc453 | 2017-10-23 11:09:38 | [diff] [blame] | 209 | #include "ui/base/ui_base_features.h" |
[email protected] | c9c73ad4 | 2012-04-18 03:35:59 | [diff] [blame] | 210 | #include "ui/base/ui_base_switches.h" |
loyso | 4345c8e | 2016-02-11 05:16:21 | [diff] [blame] | 211 | #include "ui/compositor/compositor_switches.h" |
Ahmed Fakhry | 15d707e | 2019-02-22 23:54:21 | [diff] [blame] | 212 | #include "ui/display/display_features.h" |
[email protected] | bf3f459 | 2014-03-31 19:50:44 | [diff] [blame] | 213 | #include "ui/display/display_switches.h" |
Ella Ge | bee81c9 | 2018-08-14 15:51:09 | [diff] [blame] | 214 | #include "ui/events/blink/blink_features.h" |
[email protected] | a6147a2 | 2013-09-26 06:55:09 | [diff] [blame] | 215 | #include "ui/events/event_switches.h" |
[email protected] | 0d3b9dd | 2012-11-14 04:14:48 | [diff] [blame] | 216 | #include "ui/gfx/switches.h" |
Scott Violet | fd6ee11 | 2019-01-10 19:05:32 | [diff] [blame] | 217 | #include "ui/gl/buildflags.h" |
Peng Huang | 723f26e | 2021-06-04 01:55:10 | [diff] [blame] | 218 | #include "ui/gl/gl_features.h" |
[email protected] | c9e2cbbb | 2012-05-12 21:17:27 | [diff] [blame] | 219 | #include "ui/gl/gl_switches.h" |
chaopeng | d3ca34feb | 2017-04-20 17:11:22 | [diff] [blame] | 220 | #include "ui/native_theme/native_theme_features.h" |
Sarah Bloom | d391ba8 | 2021-08-31 03:47:06 | [diff] [blame] | 221 | #include "ui/ui_features.h" |
Mustafa Emre Acer | c6b5135 | 2022-11-18 18:43:51 | [diff] [blame] | 222 | #include "url/url_features.h" |
[email protected] | 9a22457 | 2013-05-12 23:08:56 | [diff] [blame] | 223 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 224 | #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) |
Brian Geffon | c3bdd6d | 2019-08-21 22:48:31 | [diff] [blame] | 225 | #include "base/allocator/buildflags.h" |
| 226 | #endif |
| 227 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 228 | #if BUILDFLAG(IS_CHROMEOS) |
Youssef Esmat | c732bf8 | 2022-05-27 00:47:19 | [diff] [blame] | 229 | #include "base/process/process.h" |
Tim Sergeant | e9c45c4 | 2022-03-17 21:53:52 | [diff] [blame] | 230 | #include "chrome/browser/apps/intent_helper/intent_picker_features.h" |
Samuel Huang | 885fb15b | 2021-11-08 19:16:52 | [diff] [blame] | 231 | #include "chromeos/constants/chromeos_features.h" |
Jenny Zhang | fcf6f0e | 2021-10-08 22:16:21 | [diff] [blame] | 232 | #endif |
| 233 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 234 | #if BUILDFLAG(IS_ANDROID) |
Bo Liu | de36ab6 | 2023-02-24 20:08:29 | [diff] [blame] | 235 | #include "cc/slim/features.h" // nogncheck |
Henrique Nakashima | 476b0b5 | 2020-01-24 22:28:03 | [diff] [blame] | 236 | #include "chrome/browser/flags/android/chrome_feature_list.h" |
Xing Liu | f84cb1a | 2020-08-10 19:06:35 | [diff] [blame] | 237 | #include "chrome/browser/notifications/chime/android/features.h" |
Illia Klimov | 352f34a | 2022-08-18 13:45:13 | [diff] [blame] | 238 | #include "chrome/browser/push_messaging/push_messaging_features.h" |
Finnur Thorarinsson | 9293db3 | 2021-01-13 09:56:09 | [diff] [blame] | 239 | #include "components/browser_ui/photo_picker/android/features.h" |
Lei Zhang | 7c0c589 | 2023-06-29 15:24:21 | [diff] [blame] | 240 | #include "components/browser_ui/site_settings/android/features.h" |
Sebastien | 9f7d94c | 2021-06-14 22:41:04 | [diff] [blame] | 241 | #include "components/content_creation/notes/core/note_features.h" |
Lei Zhang | 7c0c589 | 2023-06-29 15:24:21 | [diff] [blame] | 242 | #include "components/external_intents/android/external_intents_features.h" |
| 243 | #include "components/messages/android/messages_feature.h" |
Scott Little | c0f9a47 | 2022-03-23 19:23:22 | [diff] [blame] | 244 | #include "components/translate/content/android/translate_message.h" |
Michael van Ouwerkerk | 99b42f4 | 2023-04-24 16:15:41 | [diff] [blame] | 245 | #include "ui/android/ui_android_features.h" |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 246 | #else // BUILDFLAG(IS_ANDROID) |
George Benz | 37338b7 | 2022-05-02 23:28:03 | [diff] [blame] | 247 | #include "chrome/browser/media/router/discovery/access_code/access_code_cast_sink_service.h" |
Derek Cheng | 3447838 | 2018-04-07 00:32:59 | [diff] [blame] | 248 | #include "chrome/browser/media/router/media_router_feature.h" |
Song Fangzhen | cda4af6 | 2021-09-09 05:24:02 | [diff] [blame] | 249 | #include "chrome/browser/web_applications/preinstalled_app_install_features.h" |
Caroline Rising | 19c8490 | 2023-02-27 23:46:00 | [diff] [blame] | 250 | #include "components/user_notes/user_notes_features.h" |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 251 | #endif // BUILDFLAG(IS_ANDROID) |
[email protected] | 3dfb401 | 2014-06-11 07:33:38 | [diff] [blame] | 252 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 253 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Yao Li | 978b125 | 2021-11-16 01:51:34 | [diff] [blame] | 254 | #include "ash/components/arc/arc_features.h" |
Yao Li | c9cd767d | 2021-11-16 02:17:47 | [diff] [blame] | 255 | #include "ash/components/arc/arc_util.h" |
Henrique Ferreiro | e8c9449b | 2021-02-04 00:52:40 | [diff] [blame] | 256 | #include "ash/constants/ash_features.h" |
Henrique Ferreiro | f3fbcea2 | 2021-02-05 23:12:19 | [diff] [blame] | 257 | #include "ash/constants/ash_switches.h" |
Lei Zhang | 6a5010a | 2023-02-14 02:14:50 | [diff] [blame] | 258 | #include "ash/public/cpp/app_list/app_list_features.h" |
| 259 | #include "ash/public/cpp/keyboard/keyboard_switches.h" |
Jesse Melhuish | 433dff2 | 2023-06-06 21:25:26 | [diff] [blame] | 260 | #include "chrome/browser/ash/accessibility/accessibility_manager.h" |
Lei Zhang | 6a5010a | 2023-02-14 02:14:50 | [diff] [blame] | 261 | #include "chrome/browser/ash/android_sms/android_sms_switches.h" |
| 262 | #include "chrome/browser/ash/app_list/search/search_features.h" |
David Munro | 5e67bf1 | 2023-05-22 07:07:16 | [diff] [blame] | 263 | #include "chrome/browser/ash/bruschetta/bruschetta_util.h" |
Stefan Kuhne | 83523c2 | 2021-10-20 17:30:03 | [diff] [blame] | 264 | #include "chrome/browser/ash/crosapi/browser_manager.h" |
Yeunjoo Choi | 9d05622 | 2021-03-08 05:34:28 | [diff] [blame] | 265 | #include "chrome/browser/ash/crosapi/browser_util.h" |
Fergus Dall | 9d0e95a | 2021-07-30 08:10:11 | [diff] [blame] | 266 | #include "chrome/browser/ash/crostini/crostini_util.h" |
Lei Zhang | 6a5010a | 2023-02-14 02:14:50 | [diff] [blame] | 267 | #include "chrome/browser/ash/file_suggest/item_suggest_cache.h" |
Erik Chen | 92f2f0d | 2023-03-13 00:09:48 | [diff] [blame] | 268 | #include "chrome/browser/ash/ownership/owner_settings_service_ash.h" |
| 269 | #include "chrome/browser/ash/ownership/owner_settings_service_ash_factory.h" |
| 270 | #include "chrome/browser/ash/settings/about_flags.h" |
Peter Boström | 6324b79 | 2022-09-28 23:15:56 | [diff] [blame] | 271 | #include "chrome/browser/component_updater/cros_component_installer_chromeos.h" |
Erik Chen | 366873d6 | 2022-03-08 23:11:38 | [diff] [blame] | 272 | #include "chrome/browser/memory/memory_ablation_study.h" |
Josh Nohle | 928fdb6 | 2020-11-03 18:54:23 | [diff] [blame] | 273 | #include "chrome/browser/nearby_sharing/common/nearby_share_features.h" |
Stefan Kuhne | 83523c2 | 2021-10-20 17:30:03 | [diff] [blame] | 274 | #include "chrome/common/webui_url_constants.h" |
Yeunjoo Choi | 3f43ca6 | 2022-05-16 03:05:46 | [diff] [blame] | 275 | #include "chromeos/ash/components/assistant/buildflags.h" |
Brian Geffon | 297843f | 2022-06-27 16:33:43 | [diff] [blame] | 276 | #include "chromeos/ash/components/memory/swap_configuration.h" |
Yeunjoo Choi | 2d3704c1 | 2022-06-21 02:44:34 | [diff] [blame] | 277 | #include "chromeos/ash/services/assistant/public/cpp/features.h" |
Sammie Quon | 53afe7f | 2021-09-14 20:10:42 | [diff] [blame] | 278 | #include "components/app_restore/features.h" |
Jonghyun Ahn | ee113d2 | 2021-09-10 20:48:26 | [diff] [blame] | 279 | #include "components/metrics/structured/structured_metrics_features.h" // nogncheck |
Ricky Liang | 8df4337 | 2020-07-09 09:41:09 | [diff] [blame] | 280 | #include "media/capture/video/chromeos/video_capture_features_chromeos.h" |
Jeroen Dhollander | 9b816f05 | 2022-05-11 15:03:42 | [diff] [blame] | 281 | #include "remoting/host/chromeos/features.h" |
[email protected] | 6d98abf | 2013-06-17 23:35:51 | [diff] [blame] | 282 | #include "third_party/cros_system_api/switches/chrome_switches.h" |
Michael Spang | ccfc6f97 | 2019-11-21 18:49:33 | [diff] [blame] | 283 | #include "ui/events/ozone/features.h" |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 284 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
[email protected] | badba1ad | 2012-11-16 17:21:46 | [diff] [blame] | 285 | |
Stefan Kuhne | 83523c2 | 2021-10-20 17:30:03 | [diff] [blame] | 286 | #if BUILDFLAG(IS_CHROMEOS_LACROS) |
Andrea Orru | e14d8fd8 | 2022-02-24 16:47:51 | [diff] [blame] | 287 | #include "base/i18n/icu_mergeable_data_file.h" |
Stefan Kuhne | 83523c2 | 2021-10-20 17:30:03 | [diff] [blame] | 288 | #include "chrome/browser/lacros/lacros_url_handling.h" |
| 289 | #include "chrome/common/webui_url_constants.h" |
| 290 | #endif |
| 291 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 292 | #if BUILDFLAG(IS_MAC) |
tapted | d1cb0bf | 2016-05-26 03:26:24 | [diff] [blame] | 293 | #include "chrome/browser/ui/browser_dialogs.h" |
Leonard Grey | 2e90921c | 2021-12-02 22:46:13 | [diff] [blame] | 294 | #include "chrome/browser/ui/cocoa/screentime/screentime_features.h" |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 295 | #endif // BUILDFLAG(IS_MAC) |
tapted | d1cb0bf | 2016-05-26 03:26:24 | [diff] [blame] | 296 | |
Alex Cooper | bdd9a76 | 2023-01-24 23:29:54 | [diff] [blame] | 297 | #if BUILDFLAG(ENABLE_CARDBOARD) |
| 298 | #include "device/vr/public/cpp/features.h" |
| 299 | #endif // ENABLE_CARDBOARD |
| 300 | |
brettw | 00899e6 | 2016-11-12 02:10:17 | [diff] [blame] | 301 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
Anunoy Ghosh | 24ebac0 | 2023-06-14 19:32:19 | [diff] [blame] | 302 | #include "chrome/browser/extensions/cws_info_service.h" |
Devlin Cronin | cac45cb | 2018-04-25 04:43:03 | [diff] [blame] | 303 | #include "extensions/common/extension_features.h" |
thestig | b012bc3d | 2014-09-18 22:57:13 | [diff] [blame] | 304 | #include "extensions/common/switches.h" |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 305 | #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
thestig | b012bc3d | 2014-09-18 22:57:13 | [diff] [blame] | 306 | |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 307 | #if BUILDFLAG(ENABLE_PDF) |
Lei Zhang | 802201c | 2018-11-14 18:16:28 | [diff] [blame] | 308 | #include "pdf/pdf_features.h" |
| 309 | #endif |
| 310 | |
Daniel Hosseinian | 7b57a42 | 2019-06-11 23:52:32 | [diff] [blame] | 311 | #if BUILDFLAG(ENABLE_PRINTING) |
Alan Screen | 113d014 | 2020-01-31 06:11:21 | [diff] [blame] | 312 | #include "printing/printing_features.h" |
Daniel Hosseinian | 7b57a42 | 2019-06-11 23:52:32 | [diff] [blame] | 313 | #endif |
| 314 | |
Aga Wronska | 344fa828 | 2021-10-07 14:18:05 | [diff] [blame] | 315 | #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
Nohemi Fernandez | 6f8379b6 | 2022-12-15 23:21:55 | [diff] [blame] | 316 | #include "components/supervised_user/core/common/features.h" // nogncheck |
Aga Wronska | 344fa828 | 2021-10-07 14:18:05 | [diff] [blame] | 317 | #endif // ENABLE_SUPERVISED_USERS |
| 318 | |
Alex Cooper | 1de7941 | 2023-01-24 19:24:15 | [diff] [blame] | 319 | #if BUILDFLAG(ENABLE_VR) |
| 320 | #include "device/vr/public/cpp/features.h" |
| 321 | #endif |
| 322 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 323 | #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) |
Alexander Dunaev | 43cfb2f | 2021-10-19 06:08:06 | [diff] [blame] | 324 | #include "ui/ozone/buildflags.h" |
alexst | 24a14a32 | 2015-03-10 21:06:09 | [diff] [blame] | 325 | #include "ui/ozone/public/ozone_switches.h" |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 326 | #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) |
alexst | 24a14a32 | 2015-03-10 21:06:09 | [diff] [blame] | 327 | |
Nicolas MacBeth | 53fa814 | 2023-06-20 15:06:09 | [diff] [blame] | 328 | #if !BUILDFLAG(IS_ANDROID) && BUILDFLAG(GOOGLE_CHROME_BRANDING) |
| 329 | #include "chrome/browser/promos/promos_features.h" |
| 330 | #endif // !BUILDFLAG(IS_ANDROID) && BUILDFLAG(GOOGLE_CHROME_BRANDING) |
| 331 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 332 | #if BUILDFLAG(IS_WIN) |
Igor Ruvinov | b1f7bea | 2022-11-08 23:20:50 | [diff] [blame] | 333 | #include "chrome/browser/enterprise/platform_auth/platform_auth_features.h" |
Bret Sepulveda | 979c3c4 | 2018-03-21 18:56:39 | [diff] [blame] | 334 | #include "chrome/browser/win/titlebar_config.h" |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 335 | #endif |
hubbe | e749951 | 2017-04-05 22:35:04 | [diff] [blame] | 336 | |
Collin Baker | 75a2946 | 2019-03-13 19:57:31 | [diff] [blame] | 337 | #if defined(TOOLKIT_VIEWS) |
Sajad Maysam | c30d6f8 | 2019-03-19 22:52:50 | [diff] [blame] | 338 | #include "ui/views/views_features.h" |
| 339 | #include "ui/views/views_switches.h" |
Collin Baker | 75a2946 | 2019-03-13 19:57:31 | [diff] [blame] | 340 | #endif // defined(TOOLKIT_VIEWS) |
| 341 | |
sdefresne | 246c564 | 2015-11-16 21:47:29 | [diff] [blame] | 342 | using flags_ui::FeatureEntry; |
Yann Dago | 7802871 | 2019-09-04 15:23:54 | [diff] [blame] | 343 | using flags_ui::kDeprecated; |
Thanh Le | 2c279fbc | 2017-11-21 01:25:40 | [diff] [blame] | 344 | using flags_ui::kOsAndroid; |
| 345 | using flags_ui::kOsCrOS; |
| 346 | using flags_ui::kOsCrOSOwnerOnly; |
Benjamin Lerman | e446caff | 2021-11-16 16:37:43 | [diff] [blame] | 347 | using flags_ui::kOsFuchsia; |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 348 | using flags_ui::kOsLacros; |
Thanh Le | 2c279fbc | 2017-11-21 01:25:40 | [diff] [blame] | 349 | using flags_ui::kOsLinux; |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 350 | using flags_ui::kOsMac; |
| 351 | using flags_ui::kOsWin; |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 352 | |
sdefresne | 246c564 | 2015-11-16 21:47:29 | [diff] [blame] | 353 | namespace about_flags { |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 354 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 355 | namespace { |
| 356 | |
Benjamin Lerman | e446caff | 2021-11-16 16:37:43 | [diff] [blame] | 357 | const unsigned kOsAll = |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 358 | kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsFuchsia | kOsLacros; |
| 359 | const unsigned kOsDesktop = |
| 360 | kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsFuchsia | kOsLacros; |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 361 | |
Jinsuk Kim | abf6296 | 2020-12-16 03:10:06 | [diff] [blame] | 362 | #if defined(USE_AURA) |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 363 | const unsigned kOsAura = kOsWin | kOsLinux | kOsCrOS | kOsFuchsia | kOsLacros; |
Jinsuk Kim | abf6296 | 2020-12-16 03:10:06 | [diff] [blame] | 364 | #endif // USE_AURA |
mfomitchev | 05cf876 | 2017-03-15 23:46:29 | [diff] [blame] | 365 | |
[email protected] | c38e980 | 2014-02-18 21:32:12 | [diff] [blame] | 366 | #if defined(USE_AURA) |
Mohsen Izadi | 8c59ba5 | 2018-04-12 18:52:01 | [diff] [blame] | 367 | const FeatureEntry::Choice kPullToRefreshChoices[] = { |
| 368 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 369 | {flags_ui::kGenericExperimentChoiceDisabled, switches::kPullToRefresh, "0"}, |
| 370 | {flags_ui::kGenericExperimentChoiceEnabled, switches::kPullToRefresh, "1"}, |
| 371 | {flag_descriptions::kPullToRefreshEnabledTouchscreen, |
| 372 | switches::kPullToRefresh, "2"}}; |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 373 | #endif // USE_AURA |
[email protected] | c38e980 | 2014-02-18 21:32:12 | [diff] [blame] | 374 | |
Daniele Castagna | 74ddb9c | 2018-06-21 22:59:02 | [diff] [blame] | 375 | const FeatureEntry::Choice kOverlayStrategiesChoices[] = { |
| 376 | {flag_descriptions::kOverlayStrategiesDefault, "", ""}, |
| 377 | {flag_descriptions::kOverlayStrategiesNone, |
| 378 | switches::kEnableHardwareOverlays, ""}, |
| 379 | {flag_descriptions::kOverlayStrategiesUnoccludedFullscreen, |
| 380 | switches::kEnableHardwareOverlays, "single-fullscreen"}, |
| 381 | {flag_descriptions::kOverlayStrategiesUnoccluded, |
| 382 | switches::kEnableHardwareOverlays, "single-fullscreen,single-on-top"}, |
| 383 | {flag_descriptions::kOverlayStrategiesOccludedAndUnoccluded, |
| 384 | switches::kEnableHardwareOverlays, |
| 385 | "single-fullscreen,single-on-top,underlay"}, |
| 386 | }; |
| 387 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 388 | const FeatureEntry::Choice kTouchTextSelectionStrategyChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 389 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 390 | {flag_descriptions::kTouchSelectionStrategyCharacter, |
Michelle | 70a234d | 2022-09-26 01:11:29 | [diff] [blame] | 391 | blink::switches::kTouchTextSelectionStrategy, |
| 392 | blink::switches::kTouchTextSelectionStrategy_Character}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 393 | {flag_descriptions::kTouchSelectionStrategyDirection, |
Michelle | 70a234d | 2022-09-26 01:11:29 | [diff] [blame] | 394 | blink::switches::kTouchTextSelectionStrategy, |
| 395 | blink::switches::kTouchTextSelectionStrategy_Direction}}; |
mfomitchev | 5ad034ec | 2015-04-24 21:57:27 | [diff] [blame] | 396 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 397 | #if BUILDFLAG(IS_WIN) |
Jonah Ryan-Davis | 90ae332 | 2021-09-21 17:34:48 | [diff] [blame] | 398 | const FeatureEntry::Choice kUseAngleChoicesWindows[] = { |
Olli Etuaho | 12232119 | 2018-09-07 10:15:29 | [diff] [blame] | 399 | {flag_descriptions::kUseAngleDefault, "", ""}, |
| 400 | {flag_descriptions::kUseAngleGL, switches::kUseANGLE, |
| 401 | gl::kANGLEImplementationOpenGLName}, |
| 402 | {flag_descriptions::kUseAngleD3D11, switches::kUseANGLE, |
| 403 | gl::kANGLEImplementationD3D11Name}, |
| 404 | {flag_descriptions::kUseAngleD3D9, switches::kUseANGLE, |
Nathan Zabriskie | 70c046f | 2019-10-16 01:19:02 | [diff] [blame] | 405 | gl::kANGLEImplementationD3D9Name}, |
| 406 | {flag_descriptions::kUseAngleD3D11on12, switches::kUseANGLE, |
| 407 | gl::kANGLEImplementationD3D11on12Name}}; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 408 | #elif BUILDFLAG(IS_MAC) |
Jonah Ryan-Davis | 90ae332 | 2021-09-21 17:34:48 | [diff] [blame] | 409 | const FeatureEntry::Choice kUseAngleChoicesMac[] = { |
| 410 | {flag_descriptions::kUseAngleDefault, "", ""}, |
| 411 | {flag_descriptions::kUseAngleGL, switches::kUseANGLE, |
| 412 | gl::kANGLEImplementationOpenGLName}, |
| 413 | {flag_descriptions::kUseAngleMetal, switches::kUseANGLE, |
| 414 | gl::kANGLEImplementationMetalName}}; |
Olli Etuaho | 12232119 | 2018-09-07 10:15:29 | [diff] [blame] | 415 | #endif |
| 416 | |
Alex Forrence | b4250489 | 2022-07-20 21:50:07 | [diff] [blame] | 417 | #if BUILDFLAG(IS_WIN) |
| 418 | const FeatureEntry::FeatureParam kDXGIWaitableSwapChain1Frame = { |
| 419 | "DXGIWaitableSwapChainMaxQueuedFrames", "1"}; |
| 420 | |
| 421 | const FeatureEntry::FeatureParam kDXGIWaitableSwapChain2Frames = { |
| 422 | "DXGIWaitableSwapChainMaxQueuedFrames", "2"}; |
| 423 | |
| 424 | const FeatureEntry::FeatureParam kDXGIWaitableSwapChain3Frames = { |
| 425 | "DXGIWaitableSwapChainMaxQueuedFrames", "3"}; |
| 426 | |
| 427 | const FeatureEntry::FeatureVariation kDXGIWaitableSwapChainVariations[] = { |
| 428 | {"Max 1 Frame", &kDXGIWaitableSwapChain1Frame, 1, nullptr}, |
| 429 | {"Max 2 Frames", &kDXGIWaitableSwapChain2Frames, 1, nullptr}, |
| 430 | {"Max 3 Frames", &kDXGIWaitableSwapChain3Frames, 1, nullptr}}; |
| 431 | #endif |
| 432 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 433 | #if BUILDFLAG(IS_LINUX) |
Alexander Dunaev | 43cfb2f | 2021-10-19 06:08:06 | [diff] [blame] | 434 | const FeatureEntry::Choice kOzonePlatformHintRuntimeChoices[] = { |
| 435 | {flag_descriptions::kOzonePlatformHintChoiceDefault, "", ""}, |
| 436 | {flag_descriptions::kOzonePlatformHintChoiceAuto, |
| 437 | switches::kOzonePlatformHint, "auto"}, |
| 438 | #if BUILDFLAG(OZONE_PLATFORM_X11) |
| 439 | {flag_descriptions::kOzonePlatformHintChoiceX11, |
| 440 | switches::kOzonePlatformHint, "x11"}, |
| 441 | #endif |
| 442 | #if BUILDFLAG(OZONE_PLATFORM_WAYLAND) |
| 443 | {flag_descriptions::kOzonePlatformHintChoiceWayland, |
| 444 | switches::kOzonePlatformHint, "wayland"}, |
| 445 | #endif |
| 446 | }; |
| 447 | #endif |
| 448 | |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 449 | #if BUILDFLAG(ENABLE_VR) |
| 450 | const FeatureEntry::Choice kWebXrForceRuntimeChoices[] = { |
| 451 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 452 | {flag_descriptions::kWebXrRuntimeChoiceNone, switches::kWebXrForceRuntime, |
| 453 | switches::kWebXrRuntimeNone}, |
Alexander Cooper | 98a8edb | 2023-05-23 18:04:05 | [diff] [blame] | 454 | #if BUILDFLAG(ENABLE_CARDBOARD) |
| 455 | {flag_descriptions::kWebXrRuntimeChoiceCardboard, |
| 456 | switches::kWebXrForceRuntime, switches::kWebXrRuntimeCardboard}, |
| 457 | #endif |
| 458 | #if BUILDFLAG(ENABLE_GVR_SERVICES) |
| 459 | {flag_descriptions::kWebXrRuntimeChoiceGVR, switches::kWebXrForceRuntime, |
| 460 | switches::kWebXrRuntimeGVR}, |
| 461 | #endif |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 462 | #if BUILDFLAG(ENABLE_OPENXR) |
| 463 | {flag_descriptions::kWebXrRuntimeChoiceOpenXR, switches::kWebXrForceRuntime, |
| 464 | switches::kWebXrRuntimeOpenXr}, |
| 465 | #endif // ENABLE_OPENXR |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 466 | }; |
| 467 | #endif // ENABLE_VR |
| 468 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 469 | #if BUILDFLAG(IS_ANDROID) |
Jinsuk Kim | 6fdac924 | 2022-01-26 21:58:00 | [diff] [blame] | 470 | const FeatureEntry::FeatureParam kCCTResizablePolicyParamUseAllowlist[] = { |
| 471 | {"default_policy", "use-allowlist"}}; |
| 472 | const FeatureEntry::FeatureParam kCCTResizablePolicyParamUseDenylist[] = { |
| 473 | {"default_policy", "use-denylist"}}; |
| 474 | |
| 475 | const FeatureEntry::FeatureVariation |
| 476 | kCCTResizableThirdPartiesDefaultPolicyVariations[] = { |
| 477 | {"Use Allowlist", kCCTResizablePolicyParamUseAllowlist, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 478 | std::size(kCCTResizablePolicyParamUseAllowlist), nullptr}, |
Jinsuk Kim | 6fdac924 | 2022-01-26 21:58:00 | [diff] [blame] | 479 | {"Use Denylist", kCCTResizablePolicyParamUseDenylist, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 480 | std::size(kCCTResizablePolicyParamUseDenylist), nullptr}}; |
Jinsuk Kim | 6fdac924 | 2022-01-26 21:58:00 | [diff] [blame] | 481 | |
Wenyu Fu | abf67d47 | 2022-08-12 00:49:28 | [diff] [blame] | 482 | const FeatureEntry::FeatureParam kCCTBrandingTestFriendly[] = { |
| 483 | {"use_temporary_storage", "true"}, |
| 484 | {"branding_cadence", "10000"} // 10 seconds |
| 485 | }; |
| 486 | |
| 487 | const FeatureEntry::FeatureVariation kCctBrandTransparencyVariations[] = { |
| 488 | {"Test friendly mode", kCCTBrandingTestFriendly, |
| 489 | std::size(kCCTBrandingTestFriendly), nullptr}}; |
| 490 | |
Sinan Sahin | ce2514f | 2022-12-01 02:51:33 | [diff] [blame] | 491 | const FeatureEntry::FeatureParam |
| 492 | kCCTRealTimeEngagementSignalsParamRealValues[] = {{"real_values", "true"}}; |
| 493 | const FeatureEntry::FeatureParam |
| 494 | kCCTRealTimeEngagementSignalsParamFakeValues[] = {{"real_values", "false"}}; |
| 495 | |
| 496 | const FeatureEntry::FeatureVariation kCCTRealTimeEngagementSignalsVariations[] = |
| 497 | {{"Send real values", kCCTRealTimeEngagementSignalsParamRealValues, |
| 498 | std::size(kCCTRealTimeEngagementSignalsParamRealValues), nullptr}, |
| 499 | {"Send fake values", kCCTRealTimeEngagementSignalsParamFakeValues, |
| 500 | std::size(kCCTRealTimeEngagementSignalsParamFakeValues), nullptr}}; |
| 501 | |
Sinan Sahin | d9fa5c5 | 2023-03-02 02:57:04 | [diff] [blame] | 502 | const FeatureEntry::FeatureParam |
Sinan Sahin | 1b4788fb | 2023-06-23 20:45:37 | [diff] [blame] | 503 | kCCTRealTimeEngagementSignalsAlternativeImplParam300[] = { |
| 504 | {"time_can_update_after_end", "300"} // 300ms |
Sinan Sahin | d9fa5c5 | 2023-03-02 02:57:04 | [diff] [blame] | 505 | }; |
| 506 | const FeatureEntry::FeatureParam |
Sinan Sahin | 1b4788fb | 2023-06-23 20:45:37 | [diff] [blame] | 507 | kCCTRealTimeEngagementSignalsAlternativeImplParam100[] = { |
| 508 | {"time_can_update_after_end", "100"} // 100ms |
Sinan Sahin | d9fa5c5 | 2023-03-02 02:57:04 | [diff] [blame] | 509 | }; |
| 510 | |
| 511 | const FeatureEntry::FeatureVariation |
| 512 | kCCTRealTimeEngagementSignalsAlternativeImplVariations[] = { |
Sinan Sahin | 1b4788fb | 2023-06-23 20:45:37 | [diff] [blame] | 513 | {"Allow 300ms for scroll updates after scroll-end", |
| 514 | kCCTRealTimeEngagementSignalsAlternativeImplParam300, |
| 515 | std::size(kCCTRealTimeEngagementSignalsAlternativeImplParam300), |
| 516 | nullptr}, |
Sinan Sahin | d9fa5c5 | 2023-03-02 02:57:04 | [diff] [blame] | 517 | {"Allow 100ms for scroll updates after scroll-end", |
| 518 | kCCTRealTimeEngagementSignalsAlternativeImplParam100, |
| 519 | std::size(kCCTRealTimeEngagementSignalsAlternativeImplParam100), |
Sinan Sahin | d9fa5c5 | 2023-03-02 02:57:04 | [diff] [blame] | 520 | nullptr}}; |
| 521 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 522 | const FeatureEntry::Choice kReaderModeHeuristicsChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 523 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 524 | {flag_descriptions::kReaderModeHeuristicsMarkup, |
| 525 | switches::kReaderModeHeuristics, |
| 526 | switches::reader_mode_heuristics::kOGArticle}, |
| 527 | {flag_descriptions::kReaderModeHeuristicsAdaboost, |
| 528 | switches::kReaderModeHeuristics, |
| 529 | switches::reader_mode_heuristics::kAdaBoost}, |
| 530 | {flag_descriptions::kReaderModeHeuristicsAlwaysOn, |
| 531 | switches::kReaderModeHeuristics, |
| 532 | switches::reader_mode_heuristics::kAlwaysTrue}, |
| 533 | {flag_descriptions::kReaderModeHeuristicsAlwaysOff, |
| 534 | switches::kReaderModeHeuristics, switches::reader_mode_heuristics::kNone}, |
wychen | 4b6112cc | 2017-07-07 18:15:11 | [diff] [blame] | 535 | {flag_descriptions::kReaderModeHeuristicsAllArticles, |
| 536 | switches::kReaderModeHeuristics, |
| 537 | switches::reader_mode_heuristics::kAllArticles}, |
cjhopman | 951bb61 | 2015-04-22 01:42:38 | [diff] [blame] | 538 | }; |
Matthew Jones | d349741f | 2017-05-26 21:07:52 | [diff] [blame] | 539 | |
Tommy Nyquist | 3c02e59 | 2018-10-18 23:36:44 | [diff] [blame] | 540 | const FeatureEntry::Choice kForceUpdateMenuTypeChoices[] = { |
| 541 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 542 | {flag_descriptions::kUpdateMenuTypeNone, switches::kForceUpdateMenuType, |
| 543 | "none"}, |
| 544 | {flag_descriptions::kUpdateMenuTypeUpdateAvailable, |
| 545 | switches::kForceUpdateMenuType, "update_available"}, |
| 546 | {flag_descriptions::kUpdateMenuTypeUnsupportedOSVersion, |
| 547 | switches::kForceUpdateMenuType, "unsupported_os_version"}, |
| 548 | }; |
Tommy Nyquist | 5b7ac1a0 | 2022-08-16 16:56:00 | [diff] [blame] | 549 | |
| 550 | const FeatureEntry::FeatureParam kOmahaMinSdkVersionAndroidMinSdk1[] = { |
| 551 | {"min_sdk_version", "1"}}; |
| 552 | const FeatureEntry::FeatureParam kOmahaMinSdkVersionAndroidMinSdk1000[] = { |
| 553 | {"min_sdk_version", "1000"}}; |
| 554 | const FeatureEntry::FeatureVariation kOmahaMinSdkVersionAndroidVariations[] = { |
| 555 | {flag_descriptions::kOmahaMinSdkVersionAndroidMinSdk1Description, |
| 556 | kOmahaMinSdkVersionAndroidMinSdk1, |
| 557 | std::size(kOmahaMinSdkVersionAndroidMinSdk1), nullptr}, |
| 558 | {flag_descriptions::kOmahaMinSdkVersionAndroidMinSdk1000Description, |
| 559 | kOmahaMinSdkVersionAndroidMinSdk1000, |
| 560 | std::size(kOmahaMinSdkVersionAndroidMinSdk1000), nullptr}, |
| 561 | }; |
| 562 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 563 | #else // BUILDFLAG(IS_ANDROID) |
Katie D | 1ca4328b | 2020-02-19 18:08:47 | [diff] [blame] | 564 | const FeatureEntry::FeatureParam kReaderModeOfferInSettings[] = { |
| 565 | {switches::kReaderModeDiscoverabilityParamName, |
| 566 | switches::kReaderModeOfferInSettings}}; |
Michael van Ouwerkerk | a5df1ec | 2018-10-11 11:57:40 | [diff] [blame] | 567 | |
Katie D | 1ca4328b | 2020-02-19 18:08:47 | [diff] [blame] | 568 | const FeatureEntry::FeatureVariation kReaderModeDiscoverabilityVariations[] = { |
| 569 | {"available in settings", kReaderModeOfferInSettings, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 570 | std::size(kReaderModeOfferInSettings), nullptr}}; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 571 | #endif // BUILDFLAG(IS_ANDROID) |
[email protected] | d5874f1 | 2013-12-05 04:30:00 | [diff] [blame] | 572 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 573 | #if BUILDFLAG(IS_ANDROID) |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 574 | const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysNone[] = { |
| 575 | {"mode", "always-none"}}; |
| 576 | const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysNewTab[] = { |
| 577 | {"mode", "always-new-tab"}}; |
| 578 | const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysShare[] = { |
| 579 | {"mode", "always-share"}}; |
| 580 | const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysVoice[] = { |
| 581 | {"mode", "always-voice"}}; |
Salvador Guerrero | a071de30 | 2023-03-18 00:34:27 | [diff] [blame] | 582 | const FeatureEntry::FeatureParam kAdaptiveButton_AlwaysTranslate[] = { |
| 583 | {"mode", "always-translate"}}; |
bttk | 8031f3fb | 2021-02-25 20:21:24 | [diff] [blame] | 584 | const FeatureEntry::FeatureVariation kAdaptiveButtonInTopToolbarVariations[] = { |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 585 | {"Always None", kAdaptiveButton_AlwaysNone, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 586 | std::size(kAdaptiveButton_AlwaysNone), nullptr}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 587 | {"Always New Tab", kAdaptiveButton_AlwaysNewTab, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 588 | std::size(kAdaptiveButton_AlwaysNewTab), nullptr}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 589 | {"Always Share", kAdaptiveButton_AlwaysShare, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 590 | std::size(kAdaptiveButton_AlwaysShare), nullptr}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 591 | {"Always Voice", kAdaptiveButton_AlwaysVoice, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 592 | std::size(kAdaptiveButton_AlwaysVoice), nullptr}, |
Salvador Guerrero | a071de30 | 2023-03-18 00:34:27 | [diff] [blame] | 593 | {"Always Translate", kAdaptiveButton_AlwaysTranslate, |
| 594 | std::size(kAdaptiveButton_AlwaysTranslate), nullptr}, |
bttk | 8031f3fb | 2021-02-25 20:21:24 | [diff] [blame] | 595 | }; |
Shakti Sahu | f17e0ed | 2021-06-08 02:21:19 | [diff] [blame] | 596 | |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 597 | const FeatureEntry::FeatureParam kAdaptiveButtonCustomization_NewTab[] = { |
| 598 | {"default_segment", "new-tab"}, |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 599 | {"show_ui_only_after_ready", "false"}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 600 | {"ignore_segmentation_results", "true"}}; |
| 601 | const FeatureEntry::FeatureParam kAdaptiveButtonCustomization_Share[] = { |
| 602 | {"default_segment", "share"}, |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 603 | {"show_ui_only_after_ready", "false"}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 604 | {"ignore_segmentation_results", "true"}}; |
| 605 | const FeatureEntry::FeatureParam kAdaptiveButtonCustomization_Voice[] = { |
| 606 | {"default_segment", "voice"}, |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 607 | {"show_ui_only_after_ready", "false"}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 608 | {"ignore_segmentation_results", "true"}}; |
Shakti Sahu | f17e0ed | 2021-06-08 02:21:19 | [diff] [blame] | 609 | const FeatureEntry::FeatureVariation |
| 610 | kAdaptiveButtonInTopToolbarCustomizationVariations[] = { |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 611 | {"New Tab", kAdaptiveButtonCustomization_NewTab, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 612 | std::size(kAdaptiveButtonCustomization_NewTab), nullptr}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 613 | {"Share", kAdaptiveButtonCustomization_Share, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 614 | std::size(kAdaptiveButtonCustomization_Share), nullptr}, |
bttk | 09c8046 | 2021-07-15 23:28:34 | [diff] [blame] | 615 | {"Voice", kAdaptiveButtonCustomization_Voice, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 616 | std::size(kAdaptiveButtonCustomization_Voice), nullptr}, |
Shakti Sahu | f17e0ed | 2021-06-08 02:21:19 | [diff] [blame] | 617 | }; |
Rong Tan | 3d807a17c | 2022-07-15 19:44:33 | [diff] [blame] | 618 | |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 619 | const FeatureEntry::FeatureParam kContextualPageActionsUiParams_Quiet[] = { |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 620 | {"action_chip", "false"}, |
| 621 | }; |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 622 | const FeatureEntry::FeatureParam kContextualPageActionsUiParams_ActionChip[] = { |
| 623 | {"action_chip", "true"}, |
| 624 | {"action_chip_time_ms", "3000"}, |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 625 | }; |
| 626 | const FeatureEntry::FeatureParam |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 627 | kContextualPageActionsUiParams_ActionChip_6s[] = { |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 628 | {"action_chip", "true"}, |
| 629 | {"action_chip_time_ms", "6000"}, |
| 630 | }; |
| 631 | const FeatureEntry::FeatureParam |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 632 | kContextualPageActionsUiParams_ActionChip_AltColor[] = { |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 633 | {"action_chip", "true"}, |
| 634 | {"action_chip_time_ms", "3000"}, |
| 635 | {"action_chip_with_different_color", "true"}, |
| 636 | }; |
| 637 | const FeatureEntry::FeatureParam |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 638 | kContextualPageActionsUiParams_ActionChip_AltColor_6s[] = { |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 639 | {"action_chip", "true"}, |
| 640 | {"action_chip_time_ms", "6000"}, |
| 641 | {"action_chip_with_different_color", "true"}, |
| 642 | }; |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 643 | |
| 644 | const FeatureEntry::FeatureParam kContextualPageActions_DisableUi[]{ |
| 645 | {"disable_ui", "true"}, |
| 646 | }; |
| 647 | const FeatureEntry::FeatureVariation kContextualPageActionsVariations[] = { |
| 648 | {"Disable UI", kContextualPageActions_DisableUi}, |
| 649 | }; |
| 650 | |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 651 | const FeatureEntry::FeatureVariation |
| 652 | kContextualPageActionPriceTrackingVariations[] = { |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 653 | {"Quiet", kContextualPageActionsUiParams_Quiet, |
| 654 | std::size(kContextualPageActionsUiParams_Quiet), nullptr}, |
| 655 | {"Action Chip", kContextualPageActionsUiParams_ActionChip, |
| 656 | std::size(kContextualPageActionsUiParams_ActionChip), nullptr}, |
| 657 | {"Action Chip - 6s", kContextualPageActionsUiParams_ActionChip_6s, |
| 658 | std::size(kContextualPageActionsUiParams_ActionChip_6s), nullptr}, |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 659 | {"Action Chip - Alternative Color", |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 660 | kContextualPageActionsUiParams_ActionChip_AltColor, |
| 661 | std::size(kContextualPageActionsUiParams_ActionChip_AltColor), |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 662 | nullptr}, |
| 663 | {"Action Chip - Alternative Color - 6s", |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 664 | kContextualPageActionsUiParams_ActionChip_AltColor_6s, |
| 665 | std::size(kContextualPageActionsUiParams_ActionChip_AltColor_6s), |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 666 | nullptr}, |
| 667 | }; |
| 668 | |
Rong Tan | 3d807a17c | 2022-07-15 19:44:33 | [diff] [blame] | 669 | const FeatureEntry::FeatureParam |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 670 | kContextualPageActionReaderMode_ActionChip_NotRateLimited[] = { |
| 671 | {"action_chip", "true"}, |
| 672 | {"action_chip_time_ms", "3000"}, |
Salvador Guerrero | de0ffc6 | 2022-11-02 17:59:51 | [diff] [blame] | 673 | {"reader_mode_session_rate_limiting", "false"}, |
| 674 | }; |
Salvador Guerrero | d2de3bf | 2023-03-09 00:42:40 | [diff] [blame] | 675 | const FeatureEntry::FeatureParam |
| 676 | kContextualPageActionReaderMode_ActionChip_NotRateLimited_6s[] = { |
| 677 | {"action_chip", "true"}, |
| 678 | {"action_chip_time_ms", "6000"}, |
| 679 | {"reader_mode_session_rate_limiting", "false"}, |
| 680 | }; |
Salvador Guerrero | de0ffc6 | 2022-11-02 17:59:51 | [diff] [blame] | 681 | const FeatureEntry::FeatureVariation |
| 682 | kContextualPageActionReaderModeVariations[] = { |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 683 | {"Quiet", kContextualPageActionsUiParams_Quiet, |
| 684 | std::size(kContextualPageActionsUiParams_Quiet), nullptr}, |
| 685 | {"Action Chip", kContextualPageActionsUiParams_ActionChip, |
| 686 | std::size(kContextualPageActionsUiParams_ActionChip), nullptr}, |
| 687 | {"Action Chip - 6s", kContextualPageActionsUiParams_ActionChip_6s, |
| 688 | std::size(kContextualPageActionsUiParams_ActionChip_6s), nullptr}, |
| 689 | {"Action Chip - Alternative Color", |
| 690 | kContextualPageActionsUiParams_ActionChip_AltColor, |
| 691 | std::size(kContextualPageActionsUiParams_ActionChip_AltColor), |
| 692 | nullptr}, |
| 693 | {"Action Chip - Alternative Color - 6s", |
| 694 | kContextualPageActionsUiParams_ActionChip_AltColor_6s, |
| 695 | std::size(kContextualPageActionsUiParams_ActionChip_AltColor_6s), |
| 696 | nullptr}, |
Salvador Guerrero | d2de3bf | 2023-03-09 00:42:40 | [diff] [blame] | 697 | {"Action Chip - Not rate limited - 3s", |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 698 | kContextualPageActionReaderMode_ActionChip_NotRateLimited, |
| 699 | std::size(kContextualPageActionReaderMode_ActionChip_NotRateLimited), |
| 700 | nullptr}, |
Salvador Guerrero | d2de3bf | 2023-03-09 00:42:40 | [diff] [blame] | 701 | {"Action Chip - Not rate limited - 6s", |
| 702 | kContextualPageActionReaderMode_ActionChip_NotRateLimited_6s, |
| 703 | std::size( |
| 704 | kContextualPageActionReaderMode_ActionChip_NotRateLimited_6s), |
| 705 | nullptr}, |
Salvador Guerrero | de0ffc6 | 2022-11-02 17:59:51 | [diff] [blame] | 706 | }; |
| 707 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 708 | #endif // BUILDFLAG(IS_ANDROID) |
bttk | 8031f3fb | 2021-02-25 20:21:24 | [diff] [blame] | 709 | |
Awad Osman | 0d0fa31 | 2023-02-09 19:06:40 | [diff] [blame] | 710 | #if !BUILDFLAG(IS_ANDROID) |
| 711 | const FeatureEntry::FeatureParam kEsbIphBubbleAndCollapseSettingsEnableIph[] = { |
| 712 | {"EnableEsbIphBubble", "true"}}; |
| 713 | |
| 714 | const FeatureEntry::FeatureParam |
| 715 | kEsbIphBubbleAndCollapseSettingsEnableCollapse[] = { |
| 716 | {"EnableEsbSettingCollapse", "true"}}; |
| 717 | |
| 718 | const FeatureEntry::FeatureParam kEsbIphBubbleAndCollapseSettingsBothEnabled[] = |
| 719 | {{"EnableEsbIphBubble", "true"}, {"EnableEsbSettingCollapse", "true"}}; |
| 720 | |
| 721 | const FeatureEntry::FeatureVariation |
| 722 | kEsbIphBubbleAndCollapseSettingsVariations[] = { |
| 723 | {"IPH and Settings Collapse", |
| 724 | kEsbIphBubbleAndCollapseSettingsBothEnabled, |
| 725 | std::size(kEsbIphBubbleAndCollapseSettingsBothEnabled), nullptr}, |
| 726 | {"IPH Only", kEsbIphBubbleAndCollapseSettingsEnableIph, |
| 727 | std::size(kEsbIphBubbleAndCollapseSettingsEnableIph), nullptr}, |
| 728 | {"Settings Collapse Only", |
| 729 | kEsbIphBubbleAndCollapseSettingsEnableCollapse, |
| 730 | std::size(kEsbIphBubbleAndCollapseSettingsEnableCollapse), nullptr}}; |
| 731 | #endif // !BUILDFLAG(IS_ANDROID) |
| 732 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 733 | #if !BUILDFLAG(IS_CHROMEOS_ASH) |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 734 | const FeatureEntry::FeatureParam kForceDark_SimpleHsl[] = { |
| 735 | {"inversion_method", "hsl_based"}, |
| 736 | {"image_behavior", "none"}, |
lin | 6a111ed | 2022-06-24 14:38:42 | [diff] [blame] | 737 | {"foreground_lightness_threshold", "150"}, |
| 738 | {"background_lightness_threshold", "205"}}; |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 739 | |
| 740 | const FeatureEntry::FeatureParam kForceDark_SimpleCielab[] = { |
| 741 | {"inversion_method", "cielab_based"}, |
| 742 | {"image_behavior", "none"}, |
lin | 6a111ed | 2022-06-24 14:38:42 | [diff] [blame] | 743 | {"foreground_lightness_threshold", "150"}, |
| 744 | {"background_lightness_threshold", "205"}}; |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 745 | |
Aran Gilman | 8b3ca41c | 2019-08-12 18:59:04 | [diff] [blame] | 746 | const FeatureEntry::FeatureParam kForceDark_SimpleRgb[] = { |
| 747 | {"inversion_method", "rgb_based"}, |
| 748 | {"image_behavior", "none"}, |
lin | 6a111ed | 2022-06-24 14:38:42 | [diff] [blame] | 749 | {"foreground_lightness_threshold", "150"}, |
| 750 | {"background_lightness_threshold", "205"}}; |
Aran Gilman | 8b3ca41c | 2019-08-12 18:59:04 | [diff] [blame] | 751 | |
Michael Bai | fee012d | 2021-08-11 17:13:24 | [diff] [blame] | 752 | // Keep in sync with the kForceDark_SelectiveImageInversion |
| 753 | // in aw_feature_entries.cc if you tweak these parameters. |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 754 | const FeatureEntry::FeatureParam kForceDark_SelectiveImageInversion[] = { |
| 755 | {"inversion_method", "cielab_based"}, |
| 756 | {"image_behavior", "selective"}, |
lin | 6a111ed | 2022-06-24 14:38:42 | [diff] [blame] | 757 | {"foreground_lightness_threshold", "150"}, |
| 758 | {"background_lightness_threshold", "205"}}; |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 759 | |
| 760 | const FeatureEntry::FeatureParam kForceDark_SelectiveElementInversion[] = { |
| 761 | {"inversion_method", "cielab_based"}, |
| 762 | {"image_behavior", "none"}, |
linn | 463425e | 2021-12-23 21:18:28 | [diff] [blame] | 763 | {"foreground_lightness_threshold", "150"}, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 764 | {"background_lightness_threshold", "205"}}; |
| 765 | |
| 766 | const FeatureEntry::FeatureParam kForceDark_SelectiveGeneralInversion[] = { |
| 767 | {"inversion_method", "cielab_based"}, |
| 768 | {"image_behavior", "selective"}, |
linn | 463425e | 2021-12-23 21:18:28 | [diff] [blame] | 769 | {"foreground_lightness_threshold", "150"}, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 770 | {"background_lightness_threshold", "205"}}; |
| 771 | |
Peter E Conn | a4afc55 | 2022-11-08 08:48:50 | [diff] [blame] | 772 | const FeatureEntry::FeatureParam kForceDark_TransparencyAndNumColors[] = { |
| 773 | {"classifier_policy", "transparency_and_num_colors"}}; |
| 774 | |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 775 | const FeatureEntry::FeatureVariation kForceDarkVariations[] = { |
| 776 | {"with simple HSL-based inversion", kForceDark_SimpleHsl, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 777 | std::size(kForceDark_SimpleHsl), nullptr}, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 778 | {"with simple CIELAB-based inversion", kForceDark_SimpleCielab, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 779 | std::size(kForceDark_SimpleCielab), nullptr}, |
Aran Gilman | 8b3ca41c | 2019-08-12 18:59:04 | [diff] [blame] | 780 | {"with simple RGB-based inversion", kForceDark_SimpleRgb, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 781 | std::size(kForceDark_SimpleRgb), nullptr}, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 782 | {"with selective image inversion", kForceDark_SelectiveImageInversion, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 783 | std::size(kForceDark_SelectiveImageInversion), nullptr}, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 784 | {"with selective inversion of non-image elements", |
| 785 | kForceDark_SelectiveElementInversion, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 786 | std::size(kForceDark_SelectiveElementInversion), nullptr}, |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 787 | {"with selective inversion of everything", |
| 788 | kForceDark_SelectiveGeneralInversion, |
Peter E Conn | a4afc55 | 2022-11-08 08:48:50 | [diff] [blame] | 789 | std::size(kForceDark_SelectiveGeneralInversion), nullptr}, |
| 790 | {"with selective image inversion based on transparency and number of " |
| 791 | "colors", |
| 792 | kForceDark_TransparencyAndNumColors, |
| 793 | std::size(kForceDark_TransparencyAndNumColors), nullptr}}; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 794 | #endif // !BUILDFLAG(IS_CHROMEOS) |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 795 | |
Patrick Noland | d50e38b | 2023-06-14 22:32:11 | [diff] [blame] | 796 | const FeatureEntry::FeatureParam kClipboardMaximumAge60Seconds[] = { |
| 797 | {"UIClipboardMaximumAge", "60"}}; |
| 798 | const FeatureEntry::FeatureParam kClipboardMaximumAge90Seconds[] = { |
| 799 | {"UIClipboardMaximumAge", "90"}}; |
| 800 | const FeatureEntry::FeatureParam kClipboardMaximumAge120Seconds[] = { |
| 801 | {"UIClipboardMaximumAge", "120"}}; |
| 802 | const FeatureEntry::FeatureParam kClipboardMaximumAge150Seconds[] = { |
| 803 | {"UIClipboardMaximumAge", "150"}}; |
| 804 | const FeatureEntry::FeatureParam kClipboardMaximumAge180Seconds[] = { |
| 805 | {"UIClipboardMaximumAge", "180"}}; |
| 806 | |
| 807 | const FeatureEntry::FeatureVariation kClipboardMaximumAgeVariations[] = { |
| 808 | {"Enabled 60 seconds", kClipboardMaximumAge60Seconds, |
| 809 | std::size(kClipboardMaximumAge60Seconds), nullptr}, |
| 810 | {"Enabled 90 seconds", kClipboardMaximumAge90Seconds, |
| 811 | std::size(kClipboardMaximumAge90Seconds), nullptr}, |
| 812 | {"Enabled 120 seconds", kClipboardMaximumAge120Seconds, |
| 813 | std::size(kClipboardMaximumAge120Seconds), nullptr}, |
| 814 | {"Enabled 150 seconds", kClipboardMaximumAge150Seconds, |
| 815 | std::size(kClipboardMaximumAge150Seconds), nullptr}, |
| 816 | {"Enabled 180 seconds", kClipboardMaximumAge180Seconds, |
| 817 | std::size(kClipboardMaximumAge180Seconds), nullptr}, |
| 818 | }; |
| 819 | |
Dominic Farolino | 0e1f9a1a | 2020-11-25 23:25:00 | [diff] [blame] | 820 | const FeatureEntry::FeatureParam kMBIModeLegacy[] = {{"mode", "legacy"}}; |
| 821 | const FeatureEntry::FeatureParam kMBIModeEnabledPerRenderProcessHost[] = { |
| 822 | {"mode", "per_render_process_host"}}; |
| 823 | const FeatureEntry::FeatureParam kMBIModeEnabledPerSiteInstance[] = { |
| 824 | {"mode", "per_site_instance"}}; |
| 825 | |
| 826 | const FeatureEntry::FeatureVariation kMBIModeVariations[] = { |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 827 | {"legacy mode", kMBIModeLegacy, std::size(kMBIModeLegacy), nullptr}, |
Dominic Farolino | 0e1f9a1a | 2020-11-25 23:25:00 | [diff] [blame] | 828 | {"per render process host", kMBIModeEnabledPerRenderProcessHost, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 829 | std::size(kMBIModeEnabledPerRenderProcessHost), nullptr}, |
Dominic Farolino | 0e1f9a1a | 2020-11-25 23:25:00 | [diff] [blame] | 830 | {"per site instance", kMBIModeEnabledPerSiteInstance, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 831 | std::size(kMBIModeEnabledPerSiteInstance), nullptr}}; |
Dominic Farolino | 0e1f9a1a | 2020-11-25 23:25:00 | [diff] [blame] | 832 | |
Lingqi Chi | f3f3fe7 | 2022-07-21 12:02:50 | [diff] [blame] | 833 | const FeatureEntry::FeatureParam kSearchSuggestionPrerenderUsingPrefetch[] = { |
| 834 | {"implementation_type", "use_prefetch"}}; |
| 835 | const FeatureEntry::FeatureParam kSearchSuggestionPrerenderIgnoringPrefetch[] = |
| 836 | {{"implementation_type", "ignore_prefetch"}}; |
| 837 | |
| 838 | const FeatureEntry::FeatureVariation |
Felipe Andrade | 579b7fd | 2022-10-14 15:17:28 | [diff] [blame] | 839 | kSearchSuggestionPrerenderTypeVariations[] = { |
Lingqi Chi | f3f3fe7 | 2022-07-21 12:02:50 | [diff] [blame] | 840 | {"use prefetched request", kSearchSuggestionPrerenderUsingPrefetch, |
| 841 | std::size(kSearchSuggestionPrerenderUsingPrefetch), nullptr}, |
| 842 | {"ignore prefetched request", |
| 843 | kSearchSuggestionPrerenderIgnoringPrefetch, |
| 844 | std::size(kSearchSuggestionPrerenderIgnoringPrefetch), nullptr}}; |
| 845 | |
Ryan Sturm | 0c7162f7 | 2022-09-16 15:13:41 | [diff] [blame] | 846 | const FeatureEntry::FeatureParam kSearchPrefetchWithoutHoldback[] = { |
| 847 | {"prefetch_holdback", "false"}}; |
| 848 | const FeatureEntry::FeatureParam kSearchPrefetchWithHoldback[] = { |
| 849 | {"prefetch_holdback", "true"}}; |
| 850 | |
| 851 | const FeatureEntry::FeatureVariation |
| 852 | kSearchPrefetchServicePrefetchingVariations[] = { |
| 853 | {"without holdback", kSearchPrefetchWithoutHoldback, |
| 854 | std::size(kSearchPrefetchWithoutHoldback), nullptr}, |
| 855 | {"with holdback", kSearchPrefetchWithHoldback, |
| 856 | std::size(kSearchPrefetchWithHoldback), nullptr}}; |
| 857 | |
Glen Robertson | 371a2df | 2023-02-15 04:18:19 | [diff] [blame] | 858 | #if BUILDFLAG(IS_CHROMEOS) |
| 859 | // Note these strings must match the `kUserGroupParam` definition in |
| 860 | // web_applications/preinstalled_web_app_window_experiment.cc. |
| 861 | const FeatureEntry::FeatureParam kPreinstalledWebAppWindowExperimentControl[] = |
| 862 | {{"user_group", "control"}}; |
| 863 | const FeatureEntry::FeatureParam kPreinstalledWebAppWindowExperimentWindow[] = { |
| 864 | {"user_group", "window"}}; |
| 865 | const FeatureEntry::FeatureParam kPreinstalledWebAppWindowExperimentTab[] = { |
| 866 | {"user_group", "tab"}}; |
| 867 | const FeatureEntry::FeatureVariation |
| 868 | kPreinstalledWebAppWindowExperimentVariations[] = { |
| 869 | {"control", kPreinstalledWebAppWindowExperimentControl, |
| 870 | std::size(kPreinstalledWebAppWindowExperimentControl), nullptr}, |
| 871 | {"window", kPreinstalledWebAppWindowExperimentWindow, |
| 872 | std::size(kPreinstalledWebAppWindowExperimentWindow), nullptr}, |
| 873 | {"tab", kPreinstalledWebAppWindowExperimentTab, |
| 874 | std::size(kPreinstalledWebAppWindowExperimentTab), nullptr}}; |
| 875 | #endif // BUILDFLAG(IS_CHROMEOS) |
| 876 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 877 | #if BUILDFLAG(IS_ANDROID) |
Mei Liang | f169f08 | 2020-02-05 04:41:31 | [diff] [blame] | 878 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_Immediate[] = { |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 879 | {"baseline_tab_suggestions", "true"}, |
| 880 | {"baseline_close_tab_suggestions", "true"}}; |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 881 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_4Hours[] = { |
| 882 | {"close_tab_suggestions_stale_time_ms", "14400000"}}; |
| 883 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_8Hours[] = { |
| 884 | {"close_tab_suggestions_stale_time_ms", "28800000"}}; |
| 885 | const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_7Days[] = { |
| 886 | {"close_tab_suggestions_stale_time_ms", "604800000"}}; |
David Maunder | 6ad59a0 | 2020-02-10 23:38:49 | [diff] [blame] | 887 | const FeatureEntry::FeatureParam kCloseTabSuggestionsTimeSiteEngagement[] = { |
| 888 | {"close_tab_min_num_tabs", "5"}, |
| 889 | {"close_tab_features_time_last_used_enabled", "true"}, |
| 890 | {"close_tab_features_time_last_used_transform", "MEAN_VARIANCE"}, |
| 891 | {"close_tab_features_time_last_used_threshold", "0.5"}, |
| 892 | {"close_tab_features_site_engagement_enabled", "true"}, |
| 893 | {"close_tab_features_site_engagement_threshold", "90.0"}, |
| 894 | }; |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 895 | const FeatureEntry::FeatureParam kGroupAndCloseTabSuggestions_Immediate[] = { |
| 896 | {"baseline_tab_suggestions", "true"}, |
| 897 | {"baseline_group_tab_suggestions", "true"}, |
| 898 | {"baseline_close_tab_suggestions", "true"}}; |
David Maunder | 6ad59a0 | 2020-02-10 23:38:49 | [diff] [blame] | 899 | |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 900 | const FeatureEntry::FeatureVariation kCloseTabSuggestionsStaleVariations[] = { |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 901 | {"Close Immediate", kCloseTabSuggestionsStale_Immediate, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 902 | std::size(kCloseTabSuggestionsStale_Immediate), nullptr}, |
Mei Liang | fad181e | 2020-06-08 22:37:23 | [diff] [blame] | 903 | {"Group+Close Immediate", kGroupAndCloseTabSuggestions_Immediate, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 904 | std::size(kGroupAndCloseTabSuggestions_Immediate), nullptr}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 905 | {"4 hours", kCloseTabSuggestionsStale_4Hours, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 906 | std::size(kCloseTabSuggestionsStale_4Hours), nullptr}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 907 | {"8 hours", kCloseTabSuggestionsStale_8Hours, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 908 | std::size(kCloseTabSuggestionsStale_8Hours), nullptr}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 909 | {"7 days", kCloseTabSuggestionsStale_7Days, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 910 | std::size(kCloseTabSuggestionsStale_7Days), nullptr}, |
David Maunder | 6ad59a0 | 2020-02-10 23:38:49 | [diff] [blame] | 911 | {"Time & Site Engagement", kCloseTabSuggestionsTimeSiteEngagement, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 912 | std::size(kCloseTabSuggestionsTimeSiteEngagement), nullptr}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 913 | }; |
Sebastien | 9f7d94c | 2021-06-14 22:41:04 | [diff] [blame] | 914 | |
David Maunder | 19af778b | 2022-08-17 15:10:42 | [diff] [blame] | 915 | const FeatureEntry::FeatureParam kCriticalPersistedTabDataSaveAndRestore[] = { |
David Maunder | a4fa45e43 | 2022-08-25 17:06:49 | [diff] [blame] | 916 | {"critical_persisted_tab_data_save_only", "false"}, |
| 917 | {"delay_saves_until_deferred_startup", "false"}}; |
David Maunder | 19af778b | 2022-08-17 15:10:42 | [diff] [blame] | 918 | const FeatureEntry::FeatureParam kCriticalPersistedTabDataSaveOnly[] = { |
David Maunder | a4fa45e43 | 2022-08-25 17:06:49 | [diff] [blame] | 919 | {"critical_persisted_tab_data_save_only", "true"}, |
| 920 | {"delay_saves_until_deferred_startup", "false"}}; |
| 921 | const FeatureEntry::FeatureParam kDelaySavesUntilDeferredStartup[] = { |
| 922 | {"critical_persisted_tab_data_save_only", "false"}, |
| 923 | {"delay_saves_until_deferred_startup", "true"}}; |
David Maunder | 19af778b | 2022-08-17 15:10:42 | [diff] [blame] | 924 | |
| 925 | const FeatureEntry::FeatureVariation kCriticalPersistedTabDataVariations[] = { |
| 926 | {"Save and Restore", kCriticalPersistedTabDataSaveAndRestore, |
| 927 | std::size(kCriticalPersistedTabDataSaveAndRestore), nullptr}, |
| 928 | {"Save Only", kCriticalPersistedTabDataSaveOnly, |
David Maunder | a4fa45e43 | 2022-08-25 17:06:49 | [diff] [blame] | 929 | std::size(kCriticalPersistedTabDataSaveOnly), nullptr}, |
| 930 | {"Delay saves until DeferredStartup", kDelaySavesUntilDeferredStartup, |
| 931 | std::size(kDelaySavesUntilDeferredStartup), nullptr}}; |
David Maunder | 19af778b | 2022-08-17 15:10:42 | [diff] [blame] | 932 | |
Min Qin | db78946 | 2021-08-26 04:00:11 | [diff] [blame] | 933 | const FeatureEntry::FeatureParam kShowSingleRowMVTiles[] = { |
| 934 | {"most_visited_max_rows_normal_screen", "1"}, |
| 935 | {"most_visited_max_rows_small_screen", "1"}, |
| 936 | {"small_screen_height_threshold_dp", "700"}}; |
| 937 | const FeatureEntry::FeatureParam kShowTwoRowsMVTiles[] = { |
| 938 | {"most_visited_max_rows_normal_screen", "2"}, |
| 939 | {"most_visited_max_rows_small_screen", "2"}, |
| 940 | {"small_screen_height_threshold_dp", "700"}}; |
| 941 | const FeatureEntry::FeatureVariation kQueryTilesVariations[] = { |
| 942 | {"(show single row of MV tiles)", kShowSingleRowMVTiles, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 943 | std::size(kShowSingleRowMVTiles), nullptr}, |
Min Qin | db78946 | 2021-08-26 04:00:11 | [diff] [blame] | 944 | {"(show two rows of MV tiles)", kShowTwoRowsMVTiles, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 945 | std::size(kShowTwoRowsMVTiles), nullptr}}; |
Tanmoy Mollik | 3256aec | 2022-08-17 21:45:23 | [diff] [blame] | 946 | |
| 947 | const FeatureEntry::FeatureParam kTangibleSyncGroupA[] = {{"group_id", "1"}}; |
| 948 | const FeatureEntry::FeatureParam kTangibleSyncGroupB[] = {{"group_id", "2"}}; |
| 949 | const FeatureEntry::FeatureParam kTangibleSyncGroupC[] = {{"group_id", "3"}}; |
Jens Mueller | a50b40b | 2023-02-20 11:30:21 | [diff] [blame] | 950 | const FeatureEntry::FeatureParam kTangibleSyncGroupD[] = {{"group_id", "4"}}; |
| 951 | const FeatureEntry::FeatureParam kTangibleSyncGroupE[] = {{"group_id", "5"}}; |
| 952 | const FeatureEntry::FeatureParam kTangibleSyncGroupF[] = {{"group_id", "6"}}; |
Tanmoy Mollik | 3256aec | 2022-08-17 21:45:23 | [diff] [blame] | 953 | const FeatureEntry::FeatureVariation kTangibleSyncVariations[] = { |
Jens Mueller | a50b40b | 2023-02-20 11:30:21 | [diff] [blame] | 954 | {"(pick up where you left off)", kTangibleSyncGroupA, |
Tanmoy Mollik | 3256aec | 2022-08-17 21:45:23 | [diff] [blame] | 955 | std::size(kTangibleSyncGroupA), nullptr}, |
Jens Mueller | a50b40b | 2023-02-20 11:30:21 | [diff] [blame] | 956 | {"(browse across devices)", kTangibleSyncGroupB, |
| 957 | std::size(kTangibleSyncGroupB), nullptr}, |
| 958 | {"(save time and type less)", kTangibleSyncGroupC, |
| 959 | std::size(kTangibleSyncGroupC), nullptr}, |
| 960 | {"(get better suggestions)", kTangibleSyncGroupD, |
| 961 | std::size(kTangibleSyncGroupD), nullptr}, |
| 962 | {"(sync your tabs and history)", kTangibleSyncGroupE, |
| 963 | std::size(kTangibleSyncGroupE), nullptr}, |
| 964 | {"(Turn on sync?)", kTangibleSyncGroupF, std::size(kTangibleSyncGroupF), |
| 965 | nullptr}}; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 966 | #endif // BUILDFLAG(IS_ANDROID) |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 967 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 968 | const FeatureEntry::Choice kEnableGpuRasterizationChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 969 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 970 | {flags_ui::kGenericExperimentChoiceEnabled, |
| 971 | switches::kEnableGpuRasterization, ""}, |
| 972 | {flags_ui::kGenericExperimentChoiceDisabled, |
| 973 | switches::kDisableGpuRasterization, ""}, |
[email protected] | a23530d | 2014-03-11 06:04:14 | [diff] [blame] | 974 | }; |
| 975 | |
Peter Kasting | d7742835 | 2018-10-26 15:20:25 | [diff] [blame] | 976 | const FeatureEntry::Choice kTopChromeTouchUiChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 977 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
Peter Kasting | d7742835 | 2018-10-26 15:20:25 | [diff] [blame] | 978 | {flags_ui::kGenericExperimentChoiceAutomatic, switches::kTopChromeTouchUi, |
| 979 | switches::kTopChromeTouchUiAuto}, |
| 980 | {flags_ui::kGenericExperimentChoiceDisabled, switches::kTopChromeTouchUi, |
| 981 | switches::kTopChromeTouchUiDisabled}, |
| 982 | {flags_ui::kGenericExperimentChoiceEnabled, switches::kTopChromeTouchUi, |
| 983 | switches::kTopChromeTouchUiEnabled}}; |
bruthig | 0d89d6a | 2015-06-26 19:37:49 | [diff] [blame] | 984 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 985 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Zoraiz Naeem | 056fe4b | 2023-05-23 00:35:38 | [diff] [blame] | 986 | |
| 987 | const FeatureEntry::FeatureParam kRoundedWindowRadius8 = { |
| 988 | chromeos::features::kRoundedWindowsRadius, "8"}; |
| 989 | |
| 990 | const FeatureEntry::FeatureParam kRoundedWindowRadius10 = { |
| 991 | chromeos::features::kRoundedWindowsRadius, "10"}; |
| 992 | |
| 993 | const FeatureEntry::FeatureParam kRoundedWindowRadius12 = { |
| 994 | chromeos::features::kRoundedWindowsRadius, "12"}; |
| 995 | |
| 996 | const FeatureEntry::FeatureParam kRoundedWindowRadius14 = { |
| 997 | chromeos::features::kRoundedWindowsRadius, "14"}; |
| 998 | |
| 999 | const FeatureEntry::FeatureParam kRoundedWindowRadius16 = { |
| 1000 | chromeos::features::kRoundedWindowsRadius, "16"}; |
| 1001 | |
| 1002 | const FeatureEntry::FeatureParam kRoundedWindowRadius18 = { |
| 1003 | chromeos::features::kRoundedWindowsRadius, "18"}; |
| 1004 | |
| 1005 | const FeatureEntry::FeatureVariation kRoundedWindowsRadiusVariation[] = { |
| 1006 | {"8", &kRoundedWindowRadius8, 1, nullptr}, |
| 1007 | {"10", &kRoundedWindowRadius10, 1, nullptr}, |
| 1008 | {"12", &kRoundedWindowRadius12, 1, nullptr}, |
| 1009 | {"14", &kRoundedWindowRadius14, 1, nullptr}, |
| 1010 | {"16", &kRoundedWindowRadius16, 1, nullptr}, |
| 1011 | {"18", &kRoundedWindowRadius18, 1, nullptr}, |
| 1012 | }; |
| 1013 | |
Erik Chen | 366873d6 | 2022-03-08 23:11:38 | [diff] [blame] | 1014 | const FeatureEntry::Choice kUXStudy1Choices[] = { |
| 1015 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1016 | {memory::kUXStudy1A, memory::kUXStudy1Switch, memory::kUXStudy1A}, |
| 1017 | {memory::kUXStudy1B, memory::kUXStudy1Switch, memory::kUXStudy1B}, |
| 1018 | {memory::kUXStudy1C, memory::kUXStudy1Switch, memory::kUXStudy1C}, |
| 1019 | {memory::kUXStudy1D, memory::kUXStudy1Switch, memory::kUXStudy1D}, |
| 1020 | }; |
| 1021 | |
Brian Geffon | 1c24556a | 2023-06-12 17:10:44 | [diff] [blame] | 1022 | const FeatureEntry::FeatureParam kHibernate6 = {"HibernateAfterTimeHours", "6"}; |
| 1023 | const FeatureEntry::FeatureParam kHibernate8 = {"HibernateAfterTimeHours", "8"}; |
| 1024 | const FeatureEntry::FeatureParam kHibernate12 = {"HibernateAfterTimeHours", |
| 1025 | "12"}; |
| 1026 | const FeatureEntry::FeatureParam kHibernate24 = {"HibernateAfterTimeHours", |
| 1027 | "24"}; |
| 1028 | |
| 1029 | const FeatureEntry::FeatureVariation kHibernateFeatureVariations[] = { |
| 1030 | {"Hibernate after 6 hours", &kHibernate6, 1, nullptr}, |
| 1031 | {"Hibernate after 8 hours", &kHibernate8, 1, nullptr}, |
| 1032 | {"Hibernate after 12 hours", &kHibernate12, 1, nullptr}, |
| 1033 | {"Hibernate after 24 hours", &kHibernate24, 1, nullptr}, |
| 1034 | }; |
| 1035 | |
Peter Boström | 6324b79 | 2022-09-28 23:15:56 | [diff] [blame] | 1036 | const char kPreferDcheckInternalName[] = "prefer-dcheck"; |
| 1037 | |
Erik Chen | d7082ec | 2021-06-25 01:04:12 | [diff] [blame] | 1038 | const char kLacrosAvailabilityIgnoreInternalName[] = |
| 1039 | "lacros-availability-ignore"; |
Hidehiko Abe | a7217c9 | 2022-02-01 05:54:57 | [diff] [blame] | 1040 | const char kLacrosOnlyInternalName[] = "lacros-only"; |
Hidehiko Abe | 9f190d1 | 2021-03-18 12:55:20 | [diff] [blame] | 1041 | const char kLacrosPrimaryInternalName[] = "lacros-primary"; |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 1042 | const char kLacrosSupportInternalName[] = "lacros-support"; |
Erik Chen | 601a5d6 | 2020-12-07 20:05:12 | [diff] [blame] | 1043 | const char kLacrosStabilityInternalName[] = "lacros-stability"; |
Erik Chen | 5d686e2a0 | 2022-11-01 23:11:31 | [diff] [blame] | 1044 | const char kLacrosWaylandLoggingInternalName[] = "lacros-wayland-logging"; |
Maggie Cai | 6dd6b55 | 2021-04-27 08:40:32 | [diff] [blame] | 1045 | const char kWebAppsCrosapiInternalName[] = "web-apps-crosapi"; |
Youkichi Hosoi | 4768546 | 2022-10-06 01:51:39 | [diff] [blame] | 1046 | const char kArcEnableVirtioBlkForDataInternalName[] = |
| 1047 | "arc-enable-virtio-blk-for-data"; |
Erik Chen | 601a5d6 | 2020-12-07 20:05:12 | [diff] [blame] | 1048 | |
Peter Boström | 6324b79 | 2022-09-28 23:15:56 | [diff] [blame] | 1049 | const FeatureEntry::Choice kPreferDcheckChoices[] = { |
| 1050 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1051 | {component_updater::kPreferDcheckOptIn, |
| 1052 | component_updater::kPreferDcheckSwitch, |
| 1053 | component_updater::kPreferDcheckOptIn}, |
| 1054 | {component_updater::kPreferDcheckOptOut, |
| 1055 | component_updater::kPreferDcheckSwitch, |
| 1056 | component_updater::kPreferDcheckOptOut}, |
| 1057 | }; |
| 1058 | |
Erik Chen | 601a5d6 | 2020-12-07 20:05:12 | [diff] [blame] | 1059 | const FeatureEntry::Choice kLacrosStabilityChoices[] = { |
| 1060 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
Roman Arora | c36aeeb9 | 2021-10-04 20:35:58 | [diff] [blame] | 1061 | {crosapi::browser_util::kLacrosStabilityChannelCanary, |
Erik Chen | 71bc6ad | 2021-05-11 18:06:40 | [diff] [blame] | 1062 | crosapi::browser_util::kLacrosStabilitySwitch, |
Roman Arora | c36aeeb9 | 2021-10-04 20:35:58 | [diff] [blame] | 1063 | crosapi::browser_util::kLacrosStabilityChannelCanary}, |
| 1064 | {crosapi::browser_util::kLacrosStabilityChannelDev, |
Erik Chen | 601a5d6 | 2020-12-07 20:05:12 | [diff] [blame] | 1065 | crosapi::browser_util::kLacrosStabilitySwitch, |
Roman Arora | c36aeeb9 | 2021-10-04 20:35:58 | [diff] [blame] | 1066 | crosapi::browser_util::kLacrosStabilityChannelDev}, |
| 1067 | {crosapi::browser_util::kLacrosStabilityChannelBeta, |
Erik Chen | 601a5d6 | 2020-12-07 20:05:12 | [diff] [blame] | 1068 | crosapi::browser_util::kLacrosStabilitySwitch, |
Roman Arora | c36aeeb9 | 2021-10-04 20:35:58 | [diff] [blame] | 1069 | crosapi::browser_util::kLacrosStabilityChannelBeta}, |
| 1070 | {crosapi::browser_util::kLacrosStabilityChannelStable, |
| 1071 | crosapi::browser_util::kLacrosStabilitySwitch, |
| 1072 | crosapi::browser_util::kLacrosStabilityChannelStable}, |
Erik Chen | 601a5d6 | 2020-12-07 20:05:12 | [diff] [blame] | 1073 | }; |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 1074 | |
Jae Hoon Kim | 94e1cfd | 2021-05-19 20:52:52 | [diff] [blame] | 1075 | const char kLacrosSelectionInternalName[] = "lacros-selection"; |
Yilkal | 2bc6531 | 2023-02-23 21:27:12 | [diff] [blame] | 1076 | const char kProjectorServerSideSpeechRecognition[] = |
| 1077 | "enable-projector-server-side-speech-recognition"; |
Jae Hoon Kim | 94e1cfd | 2021-05-19 20:52:52 | [diff] [blame] | 1078 | |
| 1079 | const FeatureEntry::Choice kLacrosSelectionChoices[] = { |
| 1080 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1081 | {flag_descriptions::kLacrosSelectionStatefulDescription, |
| 1082 | crosapi::browser_util::kLacrosSelectionSwitch, |
| 1083 | crosapi::browser_util::kLacrosSelectionStateful}, |
| 1084 | {flag_descriptions::kLacrosSelectionRootfsDescription, |
| 1085 | crosapi::browser_util::kLacrosSelectionSwitch, |
| 1086 | crosapi::browser_util::kLacrosSelectionRootfs}, |
| 1087 | }; |
| 1088 | |
Artem Sumaneev | 1f3555a | 2023-01-30 12:48:27 | [diff] [blame] | 1089 | const char kLacrosSelectionPolicyIgnoreInternalName[] = |
| 1090 | "lacros-selection-ignore"; |
| 1091 | |
Hidehiko Abe | ded6e5b | 2022-01-24 17:00:04 | [diff] [blame] | 1092 | const FeatureEntry::Choice kLacrosAvailabilityPolicyChoices[] = { |
Hidehiko Abe | 5713de8 | 2022-01-28 16:29:45 | [diff] [blame] | 1093 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
Hidehiko Abe | ded6e5b | 2022-01-24 17:00:04 | [diff] [blame] | 1094 | {crosapi::browser_util::kLacrosAvailabilityPolicyUserChoice, |
| 1095 | crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| 1096 | crosapi::browser_util::kLacrosAvailabilityPolicyUserChoice}, |
| 1097 | {crosapi::browser_util::kLacrosAvailabilityPolicyLacrosDisabled, |
| 1098 | crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| 1099 | crosapi::browser_util::kLacrosAvailabilityPolicyLacrosDisabled}, |
| 1100 | {crosapi::browser_util::kLacrosAvailabilityPolicySideBySide, |
| 1101 | crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| 1102 | crosapi::browser_util::kLacrosAvailabilityPolicySideBySide}, |
| 1103 | {crosapi::browser_util::kLacrosAvailabilityPolicyLacrosPrimary, |
| 1104 | crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| 1105 | crosapi::browser_util::kLacrosAvailabilityPolicyLacrosPrimary}, |
| 1106 | {crosapi::browser_util::kLacrosAvailabilityPolicyLacrosOnly, |
| 1107 | crosapi::browser_util::kLacrosAvailabilityPolicySwitch, |
| 1108 | crosapi::browser_util::kLacrosAvailabilityPolicyLacrosOnly}, |
| 1109 | }; |
| 1110 | |
Victor-Gabriel Savu | 6b0d97c | 2022-12-09 12:22:43 | [diff] [blame] | 1111 | const FeatureEntry::Choice kLacrosDataBackwardMigrationModePolicyChoices[] = { |
| 1112 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1113 | {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyNone, |
| 1114 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| 1115 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyNone}, |
| 1116 | {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepNone, |
| 1117 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| 1118 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepNone}, |
| 1119 | {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepSafeData, |
| 1120 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| 1121 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepSafeData}, |
| 1122 | {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepAll, |
| 1123 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicySwitch, |
| 1124 | crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyKeepAll}, |
| 1125 | }; |
| 1126 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 1127 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
yoshiki | e76455b3 | 2015-07-22 10:31:01 | [diff] [blame] | 1128 | |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 1129 | const FeatureEntry::Choice kForceUIDirectionChoices[] = { |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 1130 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
krb | 6822b60 | 2017-05-02 14:53:21 | [diff] [blame] | 1131 | {flag_descriptions::kForceDirectionLtr, switches::kForceUIDirection, |
| 1132 | switches::kForceDirectionLTR}, |
| 1133 | {flag_descriptions::kForceDirectionRtl, switches::kForceUIDirection, |
| 1134 | switches::kForceDirectionRTL}, |
| 1135 | }; |
| 1136 | |
| 1137 | const FeatureEntry::Choice kForceTextDirectionChoices[] = { |
| 1138 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1139 | {flag_descriptions::kForceDirectionLtr, switches::kForceTextDirection, |
| 1140 | switches::kForceDirectionLTR}, |
| 1141 | {flag_descriptions::kForceDirectionRtl, switches::kForceTextDirection, |
| 1142 | switches::kForceDirectionRTL}, |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 1143 | }; |
| 1144 | |
Louise Brett | 240a9a9 | 2021-02-04 00:14:38 | [diff] [blame] | 1145 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Mattias Nissler | 6bb633f | 2019-02-13 23:41:46 | [diff] [blame] | 1146 | const FeatureEntry::Choice kSchedulerConfigurationChoices[] = { |
| 1147 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1148 | {flag_descriptions::kSchedulerConfigurationConservative, |
| 1149 | switches::kSchedulerConfiguration, |
| 1150 | switches::kSchedulerConfigurationConservative}, |
| 1151 | {flag_descriptions::kSchedulerConfigurationPerformance, |
| 1152 | switches::kSchedulerConfiguration, |
| 1153 | switches::kSchedulerConfigurationPerformance}, |
| 1154 | }; |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 1155 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
sammiequon | d583776 | 2017-03-16 21:14:59 | [diff] [blame] | 1156 | |
Yulun Wu | 1cd0faa | 2022-03-03 06:59:21 | [diff] [blame] | 1157 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 1158 | const FeatureEntry::FeatureParam kDynamicSearchUpdateAnimationDuration_50[] = { |
| 1159 | {"search_result_translation_duration", "50"}}; |
| 1160 | const FeatureEntry::FeatureParam kDynamicSearchUpdateAnimationDuration_100[] = { |
| 1161 | {"search_result_translation_duration", "100"}}; |
| 1162 | const FeatureEntry::FeatureParam kDynamicSearchUpdateAnimationDuration_150[] = { |
| 1163 | {"search_result_translation_duration", "150"}}; |
| 1164 | |
| 1165 | const FeatureEntry::FeatureVariation kDynamicSearchUpdateAnimationVariations[] = |
| 1166 | {{"50ms", kDynamicSearchUpdateAnimationDuration_50, |
| 1167 | std::size(kDynamicSearchUpdateAnimationDuration_50), nullptr}, |
| 1168 | {"100ms", kDynamicSearchUpdateAnimationDuration_100, |
| 1169 | std::size(kDynamicSearchUpdateAnimationDuration_100), nullptr}, |
| 1170 | {"150ms", kDynamicSearchUpdateAnimationDuration_150, |
| 1171 | std::size(kDynamicSearchUpdateAnimationDuration_150), nullptr}}; |
| 1172 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 1173 | |
Fabian Sommer | 0d6568b | 2022-01-05 16:58:34 | [diff] [blame] | 1174 | #if BUILDFLAG(ENABLE_NACL) |
| 1175 | // Note: This needs to be kept in sync with parsing in |
| 1176 | // content/common/zygote/zygote_communication_linux.cc |
| 1177 | const FeatureEntry::Choice kVerboseLoggingInNaclChoices[] = { |
| 1178 | {flag_descriptions::kVerboseLoggingInNaclChoiceDefault, "", ""}, |
| 1179 | {flag_descriptions::kVerboseLoggingInNaclChoiceLow, |
| 1180 | switches::kVerboseLoggingInNacl, switches::kVerboseLoggingInNaclChoiceLow}, |
| 1181 | {flag_descriptions::kVerboseLoggingInNaclChoiceMedium, |
| 1182 | switches::kVerboseLoggingInNacl, |
| 1183 | switches::kVerboseLoggingInNaclChoiceMedium}, |
| 1184 | {flag_descriptions::kVerboseLoggingInNaclChoiceHigh, |
| 1185 | switches::kVerboseLoggingInNacl, |
| 1186 | switches::kVerboseLoggingInNaclChoiceHigh}, |
| 1187 | {flag_descriptions::kVerboseLoggingInNaclChoiceHighest, |
| 1188 | switches::kVerboseLoggingInNacl, |
| 1189 | switches::kVerboseLoggingInNaclChoiceHighest}, |
| 1190 | {flag_descriptions::kVerboseLoggingInNaclChoiceDisabled, |
| 1191 | switches::kVerboseLoggingInNacl, |
| 1192 | switches::kVerboseLoggingInNaclChoiceDisabled}, |
| 1193 | }; |
| 1194 | #endif // ENABLE_NACL |
| 1195 | |
Lukasz Anforowicz | 738a88d | 2018-11-05 19:19:34 | [diff] [blame] | 1196 | const FeatureEntry::Choice kSiteIsolationOptOutChoices[] = { |
| 1197 | {flag_descriptions::kSiteIsolationOptOutChoiceDefault, "", ""}, |
| 1198 | {flag_descriptions::kSiteIsolationOptOutChoiceOptOut, |
| 1199 | switches::kDisableSiteIsolation, ""}, |
Nick Carter | 855bc49 | 2018-03-10 00:44:57 | [diff] [blame] | 1200 | }; |
| 1201 | |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 1202 | const FeatureEntry::Choice kForceColorProfileChoices[] = { |
| 1203 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
Mason Freed | c71f15a | 2018-09-10 16:53:32 | [diff] [blame] | 1204 | {flag_descriptions::kForceColorProfileSRGB, |
| 1205 | switches::kForceDisplayColorProfile, "srgb"}, |
| 1206 | {flag_descriptions::kForceColorProfileP3, |
| 1207 | switches::kForceDisplayColorProfile, "display-p3-d65"}, |
Christopher Cameron | b15ffe6 | 2022-11-15 10:25:31 | [diff] [blame] | 1208 | {flag_descriptions::kForceColorProfileRec2020, |
| 1209 | switches::kForceDisplayColorProfile, "rec2020"}, |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 1210 | {flag_descriptions::kForceColorProfileColorSpin, |
Mason Freed | c71f15a | 2018-09-10 16:53:32 | [diff] [blame] | 1211 | switches::kForceDisplayColorProfile, "color-spin-gamma24"}, |
Sunny Sachanandani | 71e474a | 2019-06-11 02:32:03 | [diff] [blame] | 1212 | {flag_descriptions::kForceColorProfileSCRGBLinear, |
Mason Freed | c71f15a | 2018-09-10 16:53:32 | [diff] [blame] | 1213 | switches::kForceDisplayColorProfile, "scrgb-linear"}, |
Sunny Sachanandani | 71e474a | 2019-06-11 02:32:03 | [diff] [blame] | 1214 | {flag_descriptions::kForceColorProfileHDR10, |
| 1215 | switches::kForceDisplayColorProfile, "hdr10"}, |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 1216 | }; |
| 1217 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 1218 | const FeatureEntry::Choice kMemlogModeChoices[] = { |
erikchen | 1404643 | 2017-08-17 19:55:59 | [diff] [blame] | 1219 | {flags_ui::kGenericExperimentChoiceDisabled, "", ""}, |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 1220 | {flag_descriptions::kMemlogModeMinimal, heap_profiling::kMemlogMode, |
| 1221 | heap_profiling::kMemlogModeMinimal}, |
| 1222 | {flag_descriptions::kMemlogModeAll, heap_profiling::kMemlogMode, |
| 1223 | heap_profiling::kMemlogModeAll}, |
| 1224 | {flag_descriptions::kMemlogModeBrowser, heap_profiling::kMemlogMode, |
| 1225 | heap_profiling::kMemlogModeBrowser}, |
| 1226 | {flag_descriptions::kMemlogModeGpu, heap_profiling::kMemlogMode, |
| 1227 | heap_profiling::kMemlogModeGpu}, |
| 1228 | {flag_descriptions::kMemlogModeAllRenderers, heap_profiling::kMemlogMode, |
| 1229 | heap_profiling::kMemlogModeAllRenderers}, |
| 1230 | {flag_descriptions::kMemlogModeRendererSampling, |
| 1231 | heap_profiling::kMemlogMode, heap_profiling::kMemlogModeRendererSampling}, |
erikchen | 0a5dd69 | 2017-12-12 00:53:10 | [diff] [blame] | 1232 | }; |
erikchen | 1404643 | 2017-08-17 19:55:59 | [diff] [blame] | 1233 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 1234 | const FeatureEntry::Choice kMemlogStackModeChoices[] = { |
| 1235 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1236 | {flag_descriptions::kMemlogStackModeNative, |
| 1237 | heap_profiling::kMemlogStackMode, heap_profiling::kMemlogStackModeNative}, |
| 1238 | {flag_descriptions::kMemlogStackModeNativeWithThreadNames, |
erikchen | 34810df0 | 2018-04-05 21:40:38 | [diff] [blame] | 1239 | heap_profiling::kMemlogStackMode, |
| 1240 | heap_profiling::kMemlogStackModeNativeWithThreadNames}, |
Erik Chen | 3303fd023 | 2018-01-11 20:29:05 | [diff] [blame] | 1241 | }; |
| 1242 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 1243 | const FeatureEntry::Choice kMemlogSamplingRateChoices[] = { |
| 1244 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 1245 | {flag_descriptions::kMemlogSamplingRate10KB, |
| 1246 | heap_profiling::kMemlogSamplingRate, |
| 1247 | heap_profiling::kMemlogSamplingRate10KB}, |
| 1248 | {flag_descriptions::kMemlogSamplingRate50KB, |
| 1249 | heap_profiling::kMemlogSamplingRate, |
| 1250 | heap_profiling::kMemlogSamplingRate50KB}, |
| 1251 | {flag_descriptions::kMemlogSamplingRate100KB, |
| 1252 | heap_profiling::kMemlogSamplingRate, |
| 1253 | heap_profiling::kMemlogSamplingRate100KB}, |
| 1254 | {flag_descriptions::kMemlogSamplingRate500KB, |
| 1255 | heap_profiling::kMemlogSamplingRate, |
| 1256 | heap_profiling::kMemlogSamplingRate500KB}, |
| 1257 | {flag_descriptions::kMemlogSamplingRate1MB, |
| 1258 | heap_profiling::kMemlogSamplingRate, |
| 1259 | heap_profiling::kMemlogSamplingRate1MB}, |
| 1260 | {flag_descriptions::kMemlogSamplingRate5MB, |
| 1261 | heap_profiling::kMemlogSamplingRate, |
| 1262 | heap_profiling::kMemlogSamplingRate5MB}, |
| 1263 | }; |
Sophie Chang | 3a8444c | 2021-10-20 00:32:53 | [diff] [blame] | 1264 | const FeatureEntry::FeatureParam kPageContentAnnotationsContentParams[] = { |
| 1265 | {"annotate_title_instead_of_page_content", "false"}, |
| 1266 | {"extract_related_searches", "true"}, |
| 1267 | {"max_size_for_text_dump_in_bytes", "5120"}, |
Sophie Chang | 3a8444c | 2021-10-20 00:32:53 | [diff] [blame] | 1268 | {"write_to_history_service", "true"}, |
| 1269 | }; |
| 1270 | const FeatureEntry::FeatureParam kPageContentAnnotationsTitleParams[] = { |
| 1271 | {"annotate_title_instead_of_page_content", "true"}, |
Sophie Chang | 9081cb3 | 2021-09-28 22:39:10 | [diff] [blame] | 1272 | {"extract_related_searches", "true"}, |
Sophie Chang | 9081cb3 | 2021-09-28 22:39:10 | [diff] [blame] | 1273 | {"write_to_history_service", "true"}, |
| 1274 | }; |
| 1275 | const FeatureEntry::FeatureVariation kPageContentAnnotationsVariations[] = { |
Sophie Chang | 3a8444c | 2021-10-20 00:32:53 | [diff] [blame] | 1276 | {"All Annotations and Persistence on Content", |
| 1277 | kPageContentAnnotationsContentParams, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1278 | std::size(kPageContentAnnotationsContentParams), nullptr}, |
Sophie Chang | 3a8444c | 2021-10-20 00:32:53 | [diff] [blame] | 1279 | {"All Annotations and Persistence on Title", |
| 1280 | kPageContentAnnotationsTitleParams, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1281 | std::size(kPageContentAnnotationsTitleParams), nullptr}, |
Sophie Chang | 9081cb3 | 2021-09-28 22:39:10 | [diff] [blame] | 1282 | }; |
Sophie Chang | 9f2f071 | 2022-03-03 19:40:41 | [diff] [blame] | 1283 | const FeatureEntry::FeatureParam |
Sophie Chang | 5b5e737 | 2022-04-06 21:23:22 | [diff] [blame] | 1284 | kPageEntitiesPageContentAnnotationsAllLocalesParams[] = { |
| 1285 | {"supported_locales", "*"}, |
| 1286 | }; |
| 1287 | const FeatureEntry::FeatureVariation |
| 1288 | kPageEntitiesPageContentAnnotationsVariations[] = { |
| 1289 | {"All Supported Locales", |
| 1290 | kPageEntitiesPageContentAnnotationsAllLocalesParams, |
| 1291 | std::size(kPageEntitiesPageContentAnnotationsAllLocalesParams), |
| 1292 | nullptr}, |
| 1293 | }; |
Tommy C. Li | e38a0c8 | 2022-04-06 02:18:57 | [diff] [blame] | 1294 | const FeatureEntry::FeatureParam kJourneysShowAllVisitsParams[] = { |
Sophie Chang | 5b5e737 | 2022-04-06 21:23:22 | [diff] [blame] | 1295 | {"JourneysLocaleOrLanguageAllowlist", "*"}, |
Tommy C. Li | e38a0c8 | 2022-04-06 02:18:57 | [diff] [blame] | 1296 | // To show all visits, set the number of visits above the fold to a very |
Sophie Chang | 795fa6d | 2023-05-22 21:14:18 | [diff] [blame] | 1297 | // high number. |
Tommy C. Li | e38a0c8 | 2022-04-06 02:18:57 | [diff] [blame] | 1298 | {"JourneysNumVisitsToAlwaysShowAboveTheFold", "200"}, |
Tommy C. Li | e38a0c8 | 2022-04-06 02:18:57 | [diff] [blame] | 1299 | }; |
Sophie Chang | 5b5e737 | 2022-04-06 21:23:22 | [diff] [blame] | 1300 | const FeatureEntry::FeatureParam kJourneysAllLocalesParams[] = { |
| 1301 | {"JourneysLocaleOrLanguageAllowlist", "*"}, |
| 1302 | }; |
Tommy C. Li | 965b47f | 2022-03-17 20:42:26 | [diff] [blame] | 1303 | const FeatureEntry::FeatureVariation kJourneysVariations[] = { |
Tommy C. Li | e38a0c8 | 2022-04-06 02:18:57 | [diff] [blame] | 1304 | {"No 'Show More' - Show all visits", kJourneysShowAllVisitsParams, |
| 1305 | std::size(kJourneysShowAllVisitsParams), nullptr}, |
Sophie Chang | 5b5e737 | 2022-04-06 21:23:22 | [diff] [blame] | 1306 | {"All Supported Locales", kJourneysAllLocalesParams, |
| 1307 | std::size(kJourneysAllLocalesParams), nullptr}, |
Tommy C. Li | 965b47f | 2022-03-17 20:42:26 | [diff] [blame] | 1308 | }; |
Sophie Chang | 6d2f399 | 2022-05-03 18:31:41 | [diff] [blame] | 1309 | const FeatureEntry::FeatureParam kJourneysOmniboxActionOnAllURLsParams[] = { |
Tommy C. Li | 721981e | 2022-04-07 20:16:37 | [diff] [blame] | 1310 | {"omnibox_action_on_urls", "true"}, |
Sophie Chang | 6d2f399 | 2022-05-03 18:31:41 | [diff] [blame] | 1311 | {"omnibox_action_on_noisy_urls", "true"}, |
manukh | 0932945 | 2022-05-19 14:19:10 | [diff] [blame] | 1312 | {"omnibox_action_on_navigation_intents", "true"}, |
manukh | 2707ec6b | 2022-05-19 20:13:31 | [diff] [blame] | 1313 | {"omnibox_action_with_pedals", "true"}, |
Sophie Chang | 6d2f399 | 2022-05-03 18:31:41 | [diff] [blame] | 1314 | }; |
| 1315 | const FeatureEntry::FeatureParam kJourneysOmniboxActionOnNonNoisyURLsParams[] = |
| 1316 | { |
| 1317 | {"omnibox_action_on_urls", "true"}, |
| 1318 | {"omnibox_action_on_noisy_urls", "false"}, |
manukh | 0932945 | 2022-05-19 14:19:10 | [diff] [blame] | 1319 | {"omnibox_action_on_navigation_intents", "true"}, |
manukh | 2707ec6b | 2022-05-19 20:13:31 | [diff] [blame] | 1320 | {"omnibox_action_with_pedals", "true"}, |
manukh | 0932945 | 2022-05-19 14:19:10 | [diff] [blame] | 1321 | }; |
| 1322 | const FeatureEntry::FeatureParam |
Tommy C. Li | c668249 | 2022-06-02 18:43:03 | [diff] [blame] | 1323 | kJourneysOmniboxActionOnNavigationIntentsParams[] = { |
manukh | 0932945 | 2022-05-19 14:19:10 | [diff] [blame] | 1324 | {"omnibox_action_on_urls", "false"}, |
| 1325 | {"omnibox_action_on_noisy_urls", "false"}, |
Tommy C. Li | c668249 | 2022-06-02 18:43:03 | [diff] [blame] | 1326 | {"omnibox_action_on_navigation_intents", "true"}, |
| 1327 | {"omnibox_action_with_pedals", "false"}, |
manukh | 2707ec6b | 2022-05-19 20:13:31 | [diff] [blame] | 1328 | }; |
| 1329 | const FeatureEntry::FeatureParam kJourneysOmniboxActionWithPedalsParams[] = { |
| 1330 | {"omnibox_action_on_urls", "false"}, |
| 1331 | {"omnibox_action_on_noisy_urls", "false"}, |
Tommy C. Li | c668249 | 2022-06-02 18:43:03 | [diff] [blame] | 1332 | {"omnibox_action_on_navigation_intents", "false"}, |
| 1333 | {"omnibox_action_with_pedals", "true"}, |
Tommy C. Li | 721981e | 2022-04-07 20:16:37 | [diff] [blame] | 1334 | }; |
| 1335 | const FeatureEntry::FeatureVariation kJourneysOmniboxActionVariations[] = { |
Sophie Chang | 6d2f399 | 2022-05-03 18:31:41 | [diff] [blame] | 1336 | {"Action Chips on All URLs", kJourneysOmniboxActionOnAllURLsParams, |
| 1337 | std::size(kJourneysOmniboxActionOnAllURLsParams), nullptr}, |
| 1338 | {"Action Chips on Non-Noisy URLs", |
| 1339 | kJourneysOmniboxActionOnNonNoisyURLsParams, |
| 1340 | std::size(kJourneysOmniboxActionOnNonNoisyURLsParams), nullptr}, |
Tommy C. Li | c668249 | 2022-06-02 18:43:03 | [diff] [blame] | 1341 | {"Action Chips Enabled on Navigation Intents", |
| 1342 | kJourneysOmniboxActionOnNavigationIntentsParams, |
| 1343 | std::size(kJourneysOmniboxActionOnNavigationIntentsParams), nullptr}, |
| 1344 | {"Action Chips Enabled with Pedals", kJourneysOmniboxActionWithPedalsParams, |
manukh | 2707ec6b | 2022-05-19 20:13:31 | [diff] [blame] | 1345 | std::size(kJourneysOmniboxActionWithPedalsParams), nullptr}, |
Tommy C. Li | 721981e | 2022-04-07 20:16:37 | [diff] [blame] | 1346 | }; |
manukh | 5dbeb836 | 2022-10-04 18:34:42 | [diff] [blame] | 1347 | |
| 1348 | const FeatureEntry::FeatureParam |
| 1349 | kJourneysOmniboxHistoryClusterProviderVariationsAggressive[] = { |
| 1350 | {"omnibox_history_cluster_provider_score", "1100"}, |
manukh | 5dbeb836 | 2022-10-04 18:34:42 | [diff] [blame] | 1351 | {"omnibox_history_cluster_provider_navigation_intent_score_threshold", |
| 1352 | "1400"}, |
| 1353 | {"omnibox_history_cluster_provider_on_navigation_intents", "false"}, |
| 1354 | }; |
| 1355 | const FeatureEntry::FeatureParam |
| 1356 | kJourneysOmniboxHistoryClusterProviderVariationsModerate[] = { |
| 1357 | {"omnibox_history_cluster_provider_score", "900"}, |
manukh | 5dbeb836 | 2022-10-04 18:34:42 | [diff] [blame] | 1358 | {"omnibox_history_cluster_provider_navigation_intent_score_threshold", |
| 1359 | "1300"}, |
| 1360 | {"omnibox_history_cluster_provider_on_navigation_intents", "false"}, |
| 1361 | }; |
manukh | 5dbeb836 | 2022-10-04 18:34:42 | [diff] [blame] | 1362 | const FeatureEntry::FeatureVariation |
| 1363 | kJourneysOmniboxHistoryClusterProviderVariations[] = { |
| 1364 | {"Aggressive - score 1100, shortcut boosting, nav-intent filtering " |
| 1365 | "1400", |
| 1366 | kJourneysOmniboxHistoryClusterProviderVariationsAggressive, |
| 1367 | std::size(kJourneysOmniboxHistoryClusterProviderVariationsAggressive), |
| 1368 | nullptr}, |
| 1369 | {"Moderate - Score 900, shortcut boosting, nav-intent filtering 1300", |
| 1370 | kJourneysOmniboxHistoryClusterProviderVariationsModerate, |
| 1371 | std::size(kJourneysOmniboxHistoryClusterProviderVariationsModerate), |
| 1372 | nullptr}, |
manukh | 5dbeb836 | 2022-10-04 18:34:42 | [diff] [blame] | 1373 | }; |
| 1374 | |
Tommy C. Li | 315f9ff6 | 2023-03-16 16:13:15 | [diff] [blame] | 1375 | const FeatureEntry::FeatureVariation |
| 1376 | kImageServiceOptimizationGuideSalientImagesVariations[] = { |
| 1377 | {"High Performance Canonicalization", nullptr, 0, "3362133"}, |
| 1378 | }; |
| 1379 | |
Tommy C. Li | 2b834a8 | 2022-08-03 19:07:46 | [diff] [blame] | 1380 | const FeatureEntry::FeatureParam kSidePanelJourneysOpensFromOmniboxParams[] = { |
| 1381 | {"SidePanelJourneysOpensFromOmnibox", "true"}, |
| 1382 | }; |
| 1383 | const FeatureEntry::FeatureVariation |
| 1384 | kSidePanelJourneysOpensFromOmniboxVariations[] = { |
| 1385 | {"Omnibox opens Side Panel Journeys", |
| 1386 | kSidePanelJourneysOpensFromOmniboxParams, |
| 1387 | std::size(kSidePanelJourneysOpensFromOmniboxParams), nullptr}, |
| 1388 | }; |
Sophie Chang | 0abf073 | 2023-03-23 18:30:45 | [diff] [blame] | 1389 | const FeatureEntry::FeatureParam kJourneysAllVisitsNoPairwiseMergeParams[] = { |
Sophie Chang | 0abf073 | 2023-03-23 18:30:45 | [diff] [blame] | 1390 | {"use_pairwise_merge", "false"}, |
| 1391 | {"search_visits_only", "false"}, |
| 1392 | }; |
| 1393 | const FeatureEntry::FeatureParam kJourneysAllVisitsWithPairwiseMergeParams[] = { |
Sophie Chang | 0abf073 | 2023-03-23 18:30:45 | [diff] [blame] | 1394 | {"use_pairwise_merge", "true"}, |
| 1395 | {"search_visits_only", "false"}, |
| 1396 | }; |
| 1397 | const FeatureEntry::FeatureParam kJourneysSearchVisitsNoPairwiseMergeParams[] = |
| 1398 | { |
Sophie Chang | 991594b1 | 2023-01-26 04:29:52 | [diff] [blame] | 1399 | {"use_pairwise_merge", "false"}, |
Sophie Chang | 0abf073 | 2023-03-23 18:30:45 | [diff] [blame] | 1400 | {"search_visits_only", "true"}, |
Sophie Chang | 991594b1 | 2023-01-26 04:29:52 | [diff] [blame] | 1401 | }; |
| 1402 | const FeatureEntry::FeatureParam |
Sophie Chang | 0abf073 | 2023-03-23 18:30:45 | [diff] [blame] | 1403 | kJourneysSearchVisitsWithPairwiseMergeParams[] = { |
Sophie Chang | 991594b1 | 2023-01-26 04:29:52 | [diff] [blame] | 1404 | {"use_pairwise_merge", "true"}, |
Sophie Chang | 0abf073 | 2023-03-23 18:30:45 | [diff] [blame] | 1405 | {"search_visits_only", "true"}, |
Sophie Chang | 19b579d | 2022-09-27 22:30:35 | [diff] [blame] | 1406 | }; |
| 1407 | const FeatureEntry::FeatureVariation kJourneysContentClusteringVariations[] = { |
Sophie Chang | 0abf073 | 2023-03-23 18:30:45 | [diff] [blame] | 1408 | {"All Visits With Blocklist and No Pairwise Merge", |
| 1409 | kJourneysAllVisitsNoPairwiseMergeParams, |
| 1410 | std::size(kJourneysAllVisitsNoPairwiseMergeParams), nullptr}, |
| 1411 | {"All Visits With Blocklist and Pairwise Merge", |
| 1412 | kJourneysAllVisitsWithPairwiseMergeParams, |
| 1413 | std::size(kJourneysAllVisitsWithPairwiseMergeParams), nullptr}, |
| 1414 | {"Search Visits With Blocklist and No Pairwise Merge", |
| 1415 | kJourneysSearchVisitsNoPairwiseMergeParams, |
| 1416 | std::size(kJourneysSearchVisitsNoPairwiseMergeParams), nullptr}, |
| 1417 | {"Search Visits With Blocklist and Pairwise Merge", |
| 1418 | kJourneysSearchVisitsWithPairwiseMergeParams, |
| 1419 | std::size(kJourneysSearchVisitsWithPairwiseMergeParams), nullptr}, |
Sophie Chang | 19b579d | 2022-09-27 22:30:35 | [diff] [blame] | 1420 | }; |
Marlon Facey | 0d96334 | 2023-03-27 20:55:22 | [diff] [blame] | 1421 | const FeatureEntry::FeatureParam kJourneysImagesCoverParams[] = { |
| 1422 | {"JourneysImagesCover", "false"}, |
| 1423 | }; |
| 1424 | const FeatureEntry::FeatureVariation kJourneysImagesVariations[] = { |
| 1425 | {"Image Does Not Cover Container", kJourneysImagesCoverParams, |
| 1426 | std::size(kJourneysImagesCoverParams), nullptr}, |
| 1427 | }; |
Sophie Chang | 717f75d | 2023-03-23 18:29:52 | [diff] [blame] | 1428 | const FeatureEntry::FeatureParam |
| 1429 | kJourneysLabelsWithSearchVisitEntitiesParams[] = { |
| 1430 | {"labels_from_search_visit_entities", "true"}, |
| 1431 | }; |
Tommy C. Li | 1d8296b5 | 2022-04-27 22:12:17 | [diff] [blame] | 1432 | const FeatureEntry::FeatureParam kJourneysLabelsWithEntitiesParams[] = { |
| 1433 | {"labels_from_entities", "true"}, |
Sophie Chang | 9f2f071 | 2022-03-03 19:40:41 | [diff] [blame] | 1434 | }; |
| 1435 | const FeatureEntry::FeatureParam |
Tommy C. Li | 1d8296b5 | 2022-04-27 22:12:17 | [diff] [blame] | 1436 | kJourneysLabelsWithEntitiesNoHostnamesParams[] = { |
| 1437 | {"labels_from_hostnames", "false"}, |
| 1438 | {"labels_from_entities", "true"}, |
| 1439 | }; |
| 1440 | const FeatureEntry::FeatureVariation kJourneysLabelsVariations[] = { |
| 1441 | {"With Entities", kJourneysLabelsWithEntitiesParams, |
| 1442 | std::size(kJourneysLabelsWithEntitiesParams), nullptr}, |
| 1443 | {"With Entities, No Hostnames", |
| 1444 | kJourneysLabelsWithEntitiesNoHostnamesParams, |
| 1445 | std::size(kJourneysLabelsWithEntitiesNoHostnamesParams), nullptr}, |
Sophie Chang | 717f75d | 2023-03-23 18:29:52 | [diff] [blame] | 1446 | {"With Search Entities", kJourneysLabelsWithSearchVisitEntitiesParams, |
| 1447 | std::size(kJourneysLabelsWithSearchVisitEntitiesParams), nullptr}, |
Tommy C. Li | f28c4d3 | 2022-04-05 01:15:59 | [diff] [blame] | 1448 | }; |
Sophie Chang | 9081cb3 | 2021-09-28 22:39:10 | [diff] [blame] | 1449 | |
Keren Zhu | eaf0e02 | 2023-04-06 18:16:29 | [diff] [blame] | 1450 | const FeatureEntry::FeatureParam kChromeRefresh2023Level1[] = {{"level", "1"}}; |
| 1451 | |
| 1452 | // "Enabled" is equivalent to "Enabled with Omnibox", therefore we don't need to |
| 1453 | // make a separate variation for it. |
| 1454 | const FeatureEntry::FeatureVariation kChromeRefresh2023Variations[] = { |
| 1455 | {"without Omnibox", kChromeRefresh2023Level1, |
| 1456 | std::size(kChromeRefresh2023Level1), nullptr}}; |
| 1457 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 1458 | #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ |
| 1459 | BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
manukh | 453ab7e | 2023-02-02 21:09:57 | [diff] [blame] | 1460 | const FeatureEntry::FeatureParam kShortcutBoostSearchAndUrl1414[] = { |
| 1461 | {"ShortcutBoostSearchScore", "1414"}, |
| 1462 | {"ShortcutBoostUrlScore", "1414"}}; |
| 1463 | const FeatureEntry::FeatureParam kShortcutBoostUrl1414[] = { |
| 1464 | {"ShortcutBoostSearchScore", "0"}, |
| 1465 | {"ShortcutBoostUrlScore", "1414"}}; |
| 1466 | const FeatureEntry::FeatureParam kShortcutBoostSearchAndUrl1200[] = { |
| 1467 | {"ShortcutBoostSearchScore", "1200"}, |
| 1468 | {"ShortcutBoostUrlScore", "1200"}}; |
| 1469 | |
| 1470 | const FeatureEntry::FeatureVariation kOmniboxShortcutBoostVariations[] = { |
| 1471 | {"Searches & URLs - aggressive (1414)", kShortcutBoostSearchAndUrl1414, |
| 1472 | std::size(kShortcutBoostSearchAndUrl1414), nullptr}, |
| 1473 | {"URLs - aggressive (1414)", kShortcutBoostUrl1414, |
| 1474 | std::size(kShortcutBoostUrl1414), nullptr}, |
| 1475 | {"Searches & URLs - conservative (1200)", kShortcutBoostSearchAndUrl1200, |
| 1476 | std::size(kShortcutBoostSearchAndUrl1200), nullptr}, |
| 1477 | }; |
| 1478 | |
manukh | 6a6aeb8 | 2022-06-24 21:11:01 | [diff] [blame] | 1479 | // A limited number of combinations of the rich autocompletion params. |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1480 | const FeatureEntry::FeatureParam |
| 1481 | kOmniboxRichAutocompletionConservativeModerate[] = { |
| 1482 | {"RichAutocompletionAutocompleteTitles", "true"}, |
| 1483 | {"RichAutocompletionAutocompleteNonPrefixShortcutProvider", "true"}, |
| 1484 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| 1485 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}; |
manukh | 91e87d9 | 2021-10-15 01:33:09 | [diff] [blame] | 1486 | const FeatureEntry::FeatureParam |
| 1487 | kOmniboxRichAutocompletionConservativeModerate2[] = { |
| 1488 | {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
| 1489 | {"RichAutocompletionAutocompleteNonPrefixShortcutProvider", "true"}, |
| 1490 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| 1491 | {"RichAutocompletionAutocompleteNonPrefixMinChar", "5"}}; |
manukh | 6a6aeb8 | 2022-06-24 21:11:01 | [diff] [blame] | 1492 | const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive2[] = { |
manukh | 748798f | 2022-06-27 18:17:19 | [diff] [blame] | 1493 | {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
manukh | 6a6aeb8 | 2022-06-24 21:11:01 | [diff] [blame] | 1494 | {"RichAutocompletionAutocompleteTitlesMinChar", "2"}, |
| 1495 | {"RichAutocompletionAutocompleteShortcutText", "true"}, |
| 1496 | {"RichAutocompletionAutocompleteShortcutTextMinChar", "2"}}; |
| 1497 | const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive3[] = { |
manukh | 748798f | 2022-06-27 18:17:19 | [diff] [blame] | 1498 | {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
manukh | bf7c60f | 2022-05-11 01:58:01 | [diff] [blame] | 1499 | {"RichAutocompletionAutocompleteTitlesMinChar", "3"}, |
| 1500 | {"RichAutocompletionAutocompleteShortcutText", "true"}, |
| 1501 | {"RichAutocompletionAutocompleteShortcutTextMinChar", "3"}}; |
manukh | 6a6aeb8 | 2022-06-24 21:11:01 | [diff] [blame] | 1502 | const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive4[] = { |
manukh | 748798f | 2022-06-27 18:17:19 | [diff] [blame] | 1503 | {"RichAutocompletionAutocompleteTitlesShortcutProvider", "true"}, |
manukh | 6a6aeb8 | 2022-06-24 21:11:01 | [diff] [blame] | 1504 | {"RichAutocompletionAutocompleteTitlesMinChar", "4"}, |
| 1505 | {"RichAutocompletionAutocompleteShortcutText", "true"}, |
| 1506 | {"RichAutocompletionAutocompleteShortcutTextMinChar", "4"}}; |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1507 | |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 1508 | const FeatureEntry::FeatureVariation |
| 1509 | kOmniboxRichAutocompletionPromisingVariations[] = { |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1510 | {"Conservative Moderate - Title, Shortcut Non-Prefix, min 3/5", |
| 1511 | kOmniboxRichAutocompletionConservativeModerate, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1512 | std::size(kOmniboxRichAutocompletionConservativeModerate), nullptr}, |
manukh | 91e87d9 | 2021-10-15 01:33:09 | [diff] [blame] | 1513 | {"Conservative Moderate 2 - Shortcut Title, Shortcut Non-Prefix, min " |
| 1514 | "3/5", |
| 1515 | kOmniboxRichAutocompletionConservativeModerate2, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1516 | std::size(kOmniboxRichAutocompletionConservativeModerate2), nullptr}, |
manukh | 6a6aeb8 | 2022-06-24 21:11:01 | [diff] [blame] | 1517 | {"Aggressive 2 - Title Shortcut Title 2, Shortcut Text 2", |
| 1518 | kOmniboxRichAutocompletionAggressive2, |
| 1519 | std::size(kOmniboxRichAutocompletionAggressive2), nullptr}, |
| 1520 | {"Aggressive 3 - Title Shortcut Title 3, Shortcut Text 3", |
| 1521 | kOmniboxRichAutocompletionAggressive3, |
| 1522 | std::size(kOmniboxRichAutocompletionAggressive3), nullptr}, |
| 1523 | {"Aggressive 4 - Title Shortcut Title 4, Shortcut Text 4", |
| 1524 | kOmniboxRichAutocompletionAggressive4, |
| 1525 | std::size(kOmniboxRichAutocompletionAggressive4), nullptr}, |
| 1526 | }; |
Angela Yoeurng | a4a3043 | 2023-03-21 09:34:50 | [diff] [blame] | 1527 | |
Moe Ahmadi | 6ca4dc5 | 2023-04-14 22:47:34 | [diff] [blame] | 1528 | const FeatureEntry::FeatureParam kOmniboxMlUrlScoringCounterfactual[] = { |
| 1529 | {"MlUrlScoringCounterfactual", "true"}, |
| 1530 | }; |
Angela Yoeurng | de8ab62 | 2023-05-01 23:38:44 | [diff] [blame] | 1531 | const FeatureEntry::FeatureParam kOmniboxMlUrlScoringRerankFinalMatchesOnly[] = |
| 1532 | { |
| 1533 | {"MlUrlScoringRerankFinalMatchesOnly", "true"}, |
| 1534 | }; |
| 1535 | const FeatureEntry::FeatureParam kOmniboxMlUrlScoringPreserveDefault[] = { |
| 1536 | {"MlUrlScoringRerankFinalMatchesOnly", "true"}, |
| 1537 | {"MlUrlScoringPreserveDefault", "true"}, |
Angela Yoeurng | a4a3043 | 2023-03-21 09:34:50 | [diff] [blame] | 1538 | }; |
Moe Ahmadi | 0c12dd27 | 2023-05-22 23:55:22 | [diff] [blame] | 1539 | const FeatureEntry::FeatureParam kOmniboxMlIndividualUrlScoring[] = { |
| 1540 | {"MlBatchUrlScoring", "false"}, |
Jun Zou | 5c84cf0 | 2023-05-20 00:45:38 | [diff] [blame] | 1541 | }; |
Angela Yoeurng | a4a3043 | 2023-03-21 09:34:50 | [diff] [blame] | 1542 | |
Moe Ahmadi | 6ca4dc5 | 2023-04-14 22:47:34 | [diff] [blame] | 1543 | const FeatureEntry::FeatureVariation kOmniboxMlUrlScoringVariations[] = { |
Angela Yoeurng | de8ab62 | 2023-05-01 23:38:44 | [diff] [blame] | 1544 | {"Run the model but do not rescore or rerank the matches (counterfactual)", |
Moe Ahmadi | 6ca4dc5 | 2023-04-14 22:47:34 | [diff] [blame] | 1545 | kOmniboxMlUrlScoringCounterfactual, |
| 1546 | std::size(kOmniboxMlUrlScoringCounterfactual), nullptr}, |
Angela Yoeurng | de8ab62 | 2023-05-01 23:38:44 | [diff] [blame] | 1547 | {"Run the model on final set of matches only, do not preserve the legacy " |
| 1548 | "default match", |
| 1549 | kOmniboxMlUrlScoringRerankFinalMatchesOnly, |
| 1550 | std::size(kOmniboxMlUrlScoringRerankFinalMatchesOnly), nullptr}, |
| 1551 | {"Run the model on final set of matches only, preserve the legacy default " |
| 1552 | "match", |
| 1553 | kOmniboxMlUrlScoringPreserveDefault, |
| 1554 | std::size(kOmniboxMlUrlScoringPreserveDefault), nullptr}, |
Moe Ahmadi | 0c12dd27 | 2023-05-22 23:55:22 | [diff] [blame] | 1555 | {"Run the model on individual matches", kOmniboxMlIndividualUrlScoring, |
| 1556 | std::size(kOmniboxMlIndividualUrlScoring), nullptr}, |
Angela Yoeurng | a4a3043 | 2023-03-21 09:34:50 | [diff] [blame] | 1557 | }; |
Moe Ahmadi | 6a814b9 | 2023-04-11 23:28:46 | [diff] [blame] | 1558 | const FeatureEntry::FeatureParam kRealboxTwoPreviousSearchRelatedSuggestions[] = |
| 1559 | { |
| 1560 | {"RealboxMaxPreviousSearchRelatedSuggestions", "2"}, |
| 1561 | }; |
Moe Ahmadi | a7fe61e | 2023-04-17 23:49:53 | [diff] [blame] | 1562 | const FeatureEntry::FeatureParam kRealboxSecondaryZeroSuggestCounterfactual[] = |
| 1563 | { |
| 1564 | {"RealboxSecondaryZeroSuggestCounterfactual", "true"}, |
Moe Ahmadi | 6a814b9 | 2023-04-11 23:28:46 | [diff] [blame] | 1565 | }; |
| 1566 | |
Moe Ahmadi | a7fe61e | 2023-04-17 23:49:53 | [diff] [blame] | 1567 | const FeatureEntry::FeatureVariation kRealboxSecondaryZeroSuggestVariations[] = |
| 1568 | {{"2 secondary suggestions (default is 3)", |
| 1569 | kRealboxTwoPreviousSearchRelatedSuggestions, |
| 1570 | std::size(kRealboxTwoPreviousSearchRelatedSuggestions), nullptr}, |
| 1571 | {"counterfactual (don't show secondary suggestions)", |
| 1572 | kRealboxSecondaryZeroSuggestCounterfactual, |
| 1573 | std::size(kRealboxSecondaryZeroSuggestCounterfactual), nullptr}}; |
Moe Ahmadi | 6a814b9 | 2023-04-11 23:28:46 | [diff] [blame] | 1574 | |
manukh | d84f4275 | 2022-06-25 02:11:08 | [diff] [blame] | 1575 | #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || |
| 1576 | // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1577 | |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1578 | #if BUILDFLAG(IS_ANDROID) |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1579 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment1[] = { |
| 1580 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "true"}, |
| 1581 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "true"}, |
| 1582 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, ""}}; |
| 1583 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment2[] = { |
| 1584 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "false"}, |
| 1585 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "true"}, |
| 1586 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, ""}}; |
| 1587 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment3[] = { |
| 1588 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "true"}, |
| 1589 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "false"}, |
| 1590 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, ""}}; |
| 1591 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment4[] = { |
| 1592 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "true"}, |
| 1593 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "true"}, |
Tomasz Wiszkowski | 5a2683c | 2023-05-24 22:19:21 | [diff] [blame] | 1594 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, "reviews"}}; |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1595 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment5[] = { |
| 1596 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "true"}, |
| 1597 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "true"}, |
Tomasz Wiszkowski | 5a2683c | 2023-05-24 22:19:21 | [diff] [blame] | 1598 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, "call"}}; |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1599 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment6[] = { |
| 1600 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "true"}, |
| 1601 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "true"}, |
Tomasz Wiszkowski | 5a2683c | 2023-05-24 22:19:21 | [diff] [blame] | 1602 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, "directions"}}; |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1603 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment7[] = { |
| 1604 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "true"}, |
| 1605 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "false"}, |
Tomasz Wiszkowski | 5a2683c | 2023-05-24 22:19:21 | [diff] [blame] | 1606 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, "call"}}; |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1607 | constexpr FeatureEntry::FeatureParam kOmniboxActionsInSuggestTreatment8[] = { |
| 1608 | {OmniboxFieldTrial::kActionsInSuggestPromoteEntitySuggestion.name, "false"}, |
| 1609 | {OmniboxFieldTrial::kActionsInSuggestPromoteReviewsAction.name, "false"}, |
Tomasz Wiszkowski | 5a2683c | 2023-05-24 22:19:21 | [diff] [blame] | 1610 | {OmniboxFieldTrial::kActionsInSuggestRemoveActionTypes.name, "call"}}; |
Moe Ahmadi | 82cd830 | 2023-04-13 04:04:41 | [diff] [blame] | 1611 | |
| 1612 | constexpr FeatureEntry::FeatureVariation kOmniboxActionsInSuggestVariants[] = { |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1613 | {"T1: Promote, Reviews, Directions, Calls", |
| 1614 | kOmniboxActionsInSuggestTreatment1, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1615 | std::size(kOmniboxActionsInSuggestTreatment1), "t3366528"}, |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1616 | {"T2: Reviews, Directions, Calls", kOmniboxActionsInSuggestTreatment2, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1617 | std::size(kOmniboxActionsInSuggestTreatment2), "t3366528"}, |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1618 | {"T3: Promote, Calls, Directions, Reviews", |
| 1619 | kOmniboxActionsInSuggestTreatment3, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1620 | std::size(kOmniboxActionsInSuggestTreatment3), "t3366528"}, |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1621 | {"T4: Promote, Directions, Calls", kOmniboxActionsInSuggestTreatment4, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1622 | std::size(kOmniboxActionsInSuggestTreatment4), "t3366528"}, |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1623 | {"T5: Promote, Reviews, Directions", kOmniboxActionsInSuggestTreatment5, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1624 | std::size(kOmniboxActionsInSuggestTreatment5), "t3366528"}, |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1625 | {"T6: Promote, Reviews, Calls", kOmniboxActionsInSuggestTreatment6, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1626 | std::size(kOmniboxActionsInSuggestTreatment6), "t3366528"}, |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1627 | {"T7: Promote, Directions, Reviews", kOmniboxActionsInSuggestTreatment7, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1628 | std::size(kOmniboxActionsInSuggestTreatment7), "t3366528"}, |
Tomasz Wiszkowski | 505fb5a | 2023-05-09 21:26:45 | [diff] [blame] | 1629 | {"T8: Directions, Reviews", kOmniboxActionsInSuggestTreatment8, |
Tomasz Wiszkowski | 8fdacf0b | 2023-06-22 21:43:12 | [diff] [blame] | 1630 | std::size(kOmniboxActionsInSuggestTreatment8), "t3366528"}, |
Moe Ahmadi | 82cd830 | 2023-04-13 04:04:41 | [diff] [blame] | 1631 | }; |
| 1632 | |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1633 | constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith5Trends[] = { |
Tomasz Wiszkowski | 7fd83af | 2023-06-15 19:46:45 | [diff] [blame] | 1634 | {OmniboxFieldTrial::kInspireMeAdditionalTrendingQueries.name, "5"}, |
| 1635 | {OmniboxFieldTrial::kInspireMeAdditionalRelatedQueries.name, "0"}}; |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1636 | constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith5Related[] = { |
Tomasz Wiszkowski | 7fd83af | 2023-06-15 19:46:45 | [diff] [blame] | 1637 | {OmniboxFieldTrial::kInspireMeAdditionalTrendingQueries.name, "0"}, |
| 1638 | {OmniboxFieldTrial::kInspireMeAdditionalRelatedQueries.name, "5"}}; |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1639 | constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith5Mixed[] = { |
Tomasz Wiszkowski | 7fd83af | 2023-06-15 19:46:45 | [diff] [blame] | 1640 | {OmniboxFieldTrial::kInspireMeAdditionalTrendingQueries.name, "2"}, |
| 1641 | {OmniboxFieldTrial::kInspireMeAdditionalRelatedQueries.name, "3"}}; |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1642 | constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith10Trends[] = { |
Tomasz Wiszkowski | 7fd83af | 2023-06-15 19:46:45 | [diff] [blame] | 1643 | {OmniboxFieldTrial::kInspireMeAdditionalTrendingQueries.name, "10"}, |
| 1644 | {OmniboxFieldTrial::kInspireMeAdditionalRelatedQueries.name, "0"}}; |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1645 | constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith10Related[] = { |
Tomasz Wiszkowski | 7fd83af | 2023-06-15 19:46:45 | [diff] [blame] | 1646 | {OmniboxFieldTrial::kInspireMeAdditionalTrendingQueries.name, "0"}, |
| 1647 | {OmniboxFieldTrial::kInspireMeAdditionalRelatedQueries.name, "10"}}; |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1648 | constexpr FeatureEntry::FeatureParam kOmniboxInspireMeWith10Mixed[] = { |
Tomasz Wiszkowski | 7fd83af | 2023-06-15 19:46:45 | [diff] [blame] | 1649 | {OmniboxFieldTrial::kInspireMeAdditionalTrendingQueries.name, "5"}, |
| 1650 | {OmniboxFieldTrial::kInspireMeAdditionalRelatedQueries.name, "5"}}; |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1651 | |
| 1652 | constexpr FeatureEntry::FeatureVariation kOmniboxInspireMeVariants[] = { |
| 1653 | {"5 Trends", kOmniboxInspireMeWith5Trends, |
Tomasz Wiszkowski | 4881cdb | 2023-04-12 17:06:22 | [diff] [blame] | 1654 | std::size(kOmniboxInspireMeWith5Trends), "t3363415"}, |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1655 | {"5 Related", kOmniboxInspireMeWith5Related, |
Tomasz Wiszkowski | 4881cdb | 2023-04-12 17:06:22 | [diff] [blame] | 1656 | std::size(kOmniboxInspireMeWith5Related), "t3363415"}, |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1657 | {"3 Related + 2 Trends", kOmniboxInspireMeWith5Mixed, |
Tomasz Wiszkowski | 4881cdb | 2023-04-12 17:06:22 | [diff] [blame] | 1658 | std::size(kOmniboxInspireMeWith5Mixed), "t3363415"}, |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1659 | {"10 Trends", kOmniboxInspireMeWith10Trends, |
Tomasz Wiszkowski | 4881cdb | 2023-04-12 17:06:22 | [diff] [blame] | 1660 | std::size(kOmniboxInspireMeWith10Trends), "t3363415"}, |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1661 | {"10 Related", kOmniboxInspireMeWith10Related, |
Tomasz Wiszkowski | 4881cdb | 2023-04-12 17:06:22 | [diff] [blame] | 1662 | std::size(kOmniboxInspireMeWith10Related), "t3363415"}, |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1663 | {"5 Related + 5 Trends", kOmniboxInspireMeWith10Mixed, |
Tomasz Wiszkowski | 4881cdb | 2023-04-12 17:06:22 | [diff] [blame] | 1664 | std::size(kOmniboxInspireMeWith10Mixed), "t3363415"}}; |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 1665 | #endif // BUILDFLAG(IS_ANDROID) |
| 1666 | |
manukh | 33cac6c | 2023-03-01 18:17:22 | [diff] [blame] | 1667 | const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconFavicons[] = { |
| 1668 | {"OmniboxSquareSuggestIconIcons", "true"}}; |
| 1669 | const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconAnswers[] = { |
| 1670 | {"OmniboxSquareSuggestIconAnswers", "true"}}; |
manukh | fe67680 | 2023-03-15 18:21:08 | [diff] [blame] | 1671 | const FeatureEntry::FeatureParam |
| 1672 | kOmniboxSquareSuggestionIconFaviconsAndAnswers[] = { |
| 1673 | {"OmniboxSquareSuggestIconIcons", "true"}, |
| 1674 | {"OmniboxSquareSuggestIconAnswers", "true"}, |
| 1675 | }; |
manukh | 33cac6c | 2023-03-01 18:17:22 | [diff] [blame] | 1676 | const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconEntities[] = { |
| 1677 | {"OmniboxSquareSuggestIconEntities", "true"}}; |
| 1678 | const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconAll[] = { |
| 1679 | {"OmniboxSquareSuggestIconIcons", "true"}, |
| 1680 | {"OmniboxSquareSuggestIconAnswers", "true"}, |
| 1681 | {"OmniboxSquareSuggestIconEntities", "true"}, |
| 1682 | }; |
manukh | ab572c9 | 2023-03-10 18:13:39 | [diff] [blame] | 1683 | const FeatureEntry::FeatureParam kOmniboxSquareSuggestionIconAllFullEntity[] = { |
| 1684 | {"OmniboxSquareSuggestIconIcons", "true"}, |
| 1685 | {"OmniboxSquareSuggestIconAnswers", "true"}, |
| 1686 | {"OmniboxSquareSuggestIconEntities", "true"}, |
| 1687 | {"OmniboxSquareSuggestIconEntitiesScale", "1"}, |
| 1688 | }; |
manukh | 33cac6c | 2023-03-01 18:17:22 | [diff] [blame] | 1689 | |
| 1690 | const FeatureEntry::FeatureVariation kOmniboxSquareSuggestionIconVariations[] = |
manukh | ab572c9 | 2023-03-10 18:13:39 | [diff] [blame] | 1691 | { |
| 1692 | {"Favicons", kOmniboxSquareSuggestionIconFavicons, |
| 1693 | std::size(kOmniboxSquareSuggestionIconFavicons), nullptr}, |
| 1694 | {"Answers", kOmniboxSquareSuggestionIconAnswers, |
| 1695 | std::size(kOmniboxSquareSuggestionIconAnswers), nullptr}, |
manukh | fe67680 | 2023-03-15 18:21:08 | [diff] [blame] | 1696 | {"Favicons and answers", kOmniboxSquareSuggestionIconFaviconsAndAnswers, |
| 1697 | std::size(kOmniboxSquareSuggestionIconFaviconsAndAnswers), nullptr}, |
manukh | ab572c9 | 2023-03-10 18:13:39 | [diff] [blame] | 1698 | {"Entities", kOmniboxSquareSuggestionIconEntities, |
| 1699 | std::size(kOmniboxSquareSuggestionIconEntities), nullptr}, |
| 1700 | {"All", kOmniboxSquareSuggestionIconAll, |
| 1701 | std::size(kOmniboxSquareSuggestionIconAll), nullptr}, |
| 1702 | {"All with full entities", kOmniboxSquareSuggestionIconAllFullEntity, |
| 1703 | std::size(kOmniboxSquareSuggestionIconAllFullEntity), nullptr}, |
| 1704 | }; |
manukh | 33cac6c | 2023-03-01 18:17:22 | [diff] [blame] | 1705 | |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1706 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches5[] = { |
| 1707 | {"MaxZeroSuggestMatches", "5"}}; |
| 1708 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches6[] = { |
| 1709 | {"MaxZeroSuggestMatches", "6"}}; |
| 1710 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches7[] = { |
| 1711 | {"MaxZeroSuggestMatches", "7"}}; |
| 1712 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches8[] = { |
| 1713 | {"MaxZeroSuggestMatches", "8"}}; |
| 1714 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches9[] = { |
| 1715 | {"MaxZeroSuggestMatches", "9"}}; |
| 1716 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches10[] = { |
| 1717 | {"MaxZeroSuggestMatches", "10"}}; |
| 1718 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches11[] = { |
| 1719 | {"MaxZeroSuggestMatches", "11"}}; |
| 1720 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches12[] = { |
| 1721 | {"MaxZeroSuggestMatches", "12"}}; |
| 1722 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches13[] = { |
| 1723 | {"MaxZeroSuggestMatches", "13"}}; |
| 1724 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches14[] = { |
| 1725 | {"MaxZeroSuggestMatches", "14"}}; |
| 1726 | const FeatureEntry::FeatureParam kMaxZeroSuggestMatches15[] = { |
| 1727 | {"MaxZeroSuggestMatches", "15"}}; |
| 1728 | |
manuk | fdd9740 | 2020-07-22 18:19:17 | [diff] [blame] | 1729 | const FeatureEntry::FeatureVariation kMaxZeroSuggestMatchesVariations[] = { |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1730 | {"5", kMaxZeroSuggestMatches5, std::size(kMaxZeroSuggestMatches5), nullptr}, |
| 1731 | {"6", kMaxZeroSuggestMatches6, std::size(kMaxZeroSuggestMatches6), nullptr}, |
| 1732 | {"7", kMaxZeroSuggestMatches7, std::size(kMaxZeroSuggestMatches7), nullptr}, |
| 1733 | {"8", kMaxZeroSuggestMatches8, std::size(kMaxZeroSuggestMatches8), nullptr}, |
| 1734 | {"9", kMaxZeroSuggestMatches9, std::size(kMaxZeroSuggestMatches9), nullptr}, |
| 1735 | {"10", kMaxZeroSuggestMatches10, std::size(kMaxZeroSuggestMatches10), |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1736 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1737 | {"11", kMaxZeroSuggestMatches11, std::size(kMaxZeroSuggestMatches11), |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1738 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1739 | {"12", kMaxZeroSuggestMatches12, std::size(kMaxZeroSuggestMatches12), |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1740 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1741 | {"13", kMaxZeroSuggestMatches13, std::size(kMaxZeroSuggestMatches13), |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1742 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1743 | {"14", kMaxZeroSuggestMatches14, std::size(kMaxZeroSuggestMatches14), |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1744 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1745 | {"15", kMaxZeroSuggestMatches15, std::size(kMaxZeroSuggestMatches15), |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1746 | nullptr}}; |
manuk | fdd9740 | 2020-07-22 18:19:17 | [diff] [blame] | 1747 | |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1748 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches3[] = { |
| 1749 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "3"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1750 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches4[] = { |
| 1751 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "4"}}; |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1752 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches5[] = { |
| 1753 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "5"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1754 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches6[] = { |
| 1755 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "6"}}; |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1756 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches7[] = { |
| 1757 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "7"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1758 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches8[] = { |
| 1759 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "8"}}; |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1760 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches9[] = { |
| 1761 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "9"}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1762 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches10[] = { |
| 1763 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "10"}}; |
| 1764 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches12[] = { |
| 1765 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "12"}}; |
| 1766 | |
| 1767 | const FeatureEntry::FeatureVariation |
| 1768 | kOmniboxUIMaxAutocompleteMatchesVariations[] = { |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1769 | {"3 matches", kOmniboxUIMaxAutocompleteMatches3, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1770 | std::size(kOmniboxUIMaxAutocompleteMatches3), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1771 | {"4 matches", kOmniboxUIMaxAutocompleteMatches4, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1772 | std::size(kOmniboxUIMaxAutocompleteMatches4), nullptr}, |
Justin Donnelly | d1e5c30 | 2018-01-17 15:21:30 | [diff] [blame] | 1773 | {"5 matches", kOmniboxUIMaxAutocompleteMatches5, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1774 | std::size(kOmniboxUIMaxAutocompleteMatches5), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1775 | {"6 matches", kOmniboxUIMaxAutocompleteMatches6, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1776 | std::size(kOmniboxUIMaxAutocompleteMatches6), nullptr}, |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1777 | {"7 matches", kOmniboxUIMaxAutocompleteMatches7, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1778 | std::size(kOmniboxUIMaxAutocompleteMatches7), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1779 | {"8 matches", kOmniboxUIMaxAutocompleteMatches8, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1780 | std::size(kOmniboxUIMaxAutocompleteMatches8), nullptr}, |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 1781 | {"9 matches", kOmniboxUIMaxAutocompleteMatches9, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1782 | std::size(kOmniboxUIMaxAutocompleteMatches9), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1783 | {"10 matches", kOmniboxUIMaxAutocompleteMatches10, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1784 | std::size(kOmniboxUIMaxAutocompleteMatches10), nullptr}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1785 | {"12 matches", kOmniboxUIMaxAutocompleteMatches12, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1786 | std::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}}; |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 1787 | |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 1788 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches2[] = { |
| 1789 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "2"}}; |
| 1790 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches3[] = { |
| 1791 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "3"}}; |
| 1792 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches4[] = { |
| 1793 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "4"}}; |
| 1794 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches5[] = { |
| 1795 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "5"}}; |
| 1796 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches6[] = { |
| 1797 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "6"}}; |
| 1798 | |
| 1799 | const FeatureEntry::FeatureVariation kOmniboxMaxURLMatchesVariations[] = { |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1800 | {"2 matches", kOmniboxMaxURLMatches2, std::size(kOmniboxMaxURLMatches2), |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 1801 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1802 | {"3 matches", kOmniboxMaxURLMatches3, std::size(kOmniboxMaxURLMatches3), |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 1803 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1804 | {"4 matches", kOmniboxMaxURLMatches4, std::size(kOmniboxMaxURLMatches4), |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 1805 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1806 | {"5 matches", kOmniboxMaxURLMatches5, std::size(kOmniboxMaxURLMatches5), |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 1807 | nullptr}, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1808 | {"6 matches", kOmniboxMaxURLMatches6, std::size(kOmniboxMaxURLMatches6), |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 1809 | nullptr}}; |
| 1810 | |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1811 | const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete90[] = { |
| 1812 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "0"}, |
| 1813 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}; |
| 1814 | const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete91[] = { |
| 1815 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "1"}, |
| 1816 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}; |
| 1817 | const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete92[] = { |
| 1818 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "2"}, |
| 1819 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "9"}}; |
| 1820 | const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete100[] = { |
| 1821 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "0"}, |
| 1822 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}; |
| 1823 | const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete101[] = { |
| 1824 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "1"}, |
| 1825 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}; |
| 1826 | const FeatureEntry::FeatureParam kOmniboxDynamicMaxAutocomplete102[] = { |
| 1827 | {"OmniboxDynamicMaxAutocompleteUrlCutoff", "2"}, |
| 1828 | {"OmniboxDynamicMaxAutocompleteIncreasedLimit", "10"}}; |
| 1829 | |
manukh | d187041 | 2020-09-15 03:42:14 | [diff] [blame] | 1830 | const FeatureEntry::FeatureVariation |
| 1831 | kOmniboxDynamicMaxAutocompleteVariations[] = { |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1832 | {"9 suggestions if 0 or fewer URLs", kOmniboxDynamicMaxAutocomplete90, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1833 | std::size(kOmniboxDynamicMaxAutocomplete90), nullptr}, |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1834 | {"9 suggestions if 1 or fewer URLs", kOmniboxDynamicMaxAutocomplete91, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1835 | std::size(kOmniboxDynamicMaxAutocomplete91), nullptr}, |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1836 | {"9 suggestions if 2 or fewer URLs", kOmniboxDynamicMaxAutocomplete92, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1837 | std::size(kOmniboxDynamicMaxAutocomplete92), nullptr}, |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1838 | {"10 suggestions if 0 or fewer URLs", kOmniboxDynamicMaxAutocomplete100, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1839 | std::size(kOmniboxDynamicMaxAutocomplete100), nullptr}, |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1840 | {"10 suggestions if 1 or fewer URLs", kOmniboxDynamicMaxAutocomplete101, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1841 | std::size(kOmniboxDynamicMaxAutocomplete101), nullptr}, |
Peter Kasting | 7de052ce | 2021-08-11 19:26:06 | [diff] [blame] | 1842 | {"10 suggestions if 2 or fewer URLs", kOmniboxDynamicMaxAutocomplete102, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1843 | std::size(kOmniboxDynamicMaxAutocomplete102), nullptr}}; |
manukh | d187041 | 2020-09-15 03:42:14 | [diff] [blame] | 1844 | |
Yohanes Shimelis | fe3b128d | 2022-10-14 00:56:04 | [diff] [blame] | 1845 | const FeatureEntry::FeatureParam kOmniboxUniformRowHeight36[] = { |
Yohanes Shimelis | 6ee9a07 | 2022-12-08 20:09:20 | [diff] [blame] | 1846 | {"OmniboxRichSuggestionVerticalMargin", "4"}}; |
Yohanes Shimelis | fe3b128d | 2022-10-14 00:56:04 | [diff] [blame] | 1847 | const FeatureEntry::FeatureParam kOmniboxUniformRowHeight40[] = { |
Yohanes Shimelis | 6ee9a07 | 2022-12-08 20:09:20 | [diff] [blame] | 1848 | {"OmniboxRichSuggestionVerticalMargin", "6"}}; |
Yohanes Shimelis | fe3b128d | 2022-10-14 00:56:04 | [diff] [blame] | 1849 | |
| 1850 | const FeatureEntry::FeatureVariation kOmniboxSuggestionHeightVariations[] = { |
Yohanes Shimelis | 6ee9a07 | 2022-12-08 20:09:20 | [diff] [blame] | 1851 | {"36px omnibox suggestions", kOmniboxUniformRowHeight36, |
Yohanes Shimelis | fe3b128d | 2022-10-14 00:56:04 | [diff] [blame] | 1852 | std::size(kOmniboxUniformRowHeight36), nullptr}, |
Yohanes Shimelis | 6ee9a07 | 2022-12-08 20:09:20 | [diff] [blame] | 1853 | {"40px omnibox suggestions", kOmniboxUniformRowHeight40, |
Yohanes Shimelis | fe3b128d | 2022-10-14 00:56:04 | [diff] [blame] | 1854 | std::size(kOmniboxUniformRowHeight40), nullptr}, |
| 1855 | }; |
| 1856 | |
Khalid Peer | f9cc86926 | 2023-03-30 20:14:20 | [diff] [blame] | 1857 | const FeatureEntry::FeatureParam kOmniboxFontSize12[] = { |
| 1858 | {"OmniboxFontSizeNonTouchUI", "12"}}; |
| 1859 | const FeatureEntry::FeatureParam kOmniboxFontSize13[] = { |
| 1860 | {"OmniboxFontSizeNonTouchUI", "13"}}; |
| 1861 | const FeatureEntry::FeatureParam kOmniboxFontSize14[] = { |
| 1862 | {"OmniboxFontSizeNonTouchUI", "14"}}; |
| 1863 | |
| 1864 | const FeatureEntry::FeatureVariation kOmniboxFontSizeVariations[] = { |
| 1865 | {"12pt omnibox font", kOmniboxFontSize12, std::size(kOmniboxFontSize12), |
| 1866 | nullptr}, |
| 1867 | {"13pt omnibox font", kOmniboxFontSize13, std::size(kOmniboxFontSize13), |
| 1868 | nullptr}, |
| 1869 | {"14pt omnibox font", kOmniboxFontSize14, std::size(kOmniboxFontSize14), |
| 1870 | nullptr}, |
| 1871 | }; |
| 1872 | |
Tomasz Wiszkowski | 11555e8 | 2023-03-23 17:03:38 | [diff] [blame] | 1873 | const FeatureEntry::FeatureParam kRepeatableQueries_6Searches_90Days[] = { |
| 1874 | {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| 1875 | {"RepeatableQueriesMinVisitCount", "6"}, |
| 1876 | }; |
| 1877 | const FeatureEntry::FeatureParam kRepeatableQueries_12Searches_90Days[] = { |
| 1878 | {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| 1879 | {"RepeatableQueriesMinVisitCount", "12"}, |
| 1880 | }; |
| 1881 | const FeatureEntry::FeatureParam kRepeatableQueries_6Searches_7Days[] = { |
| 1882 | {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| 1883 | {"RepeatableQueriesMinVisitCount", "6"}, |
| 1884 | {"RepeatableQueriesMaxAgeDays", "7"}, |
| 1885 | }; |
| 1886 | const FeatureEntry::FeatureParam kRepeatableQueries_12Searches_7Days[] = { |
| 1887 | {"RepeatableQueriesIgnoreDuplicateVisits", "true"}, |
| 1888 | {"RepeatableQueriesMinVisitCount", "12"}, |
| 1889 | {"RepeatableQueriesMaxAgeDays", "7"}, |
| 1890 | }; |
Moe Ahmadi | 359d072 | 2022-05-16 23:17:33 | [diff] [blame] | 1891 | |
| 1892 | const FeatureEntry::FeatureVariation kOrganicRepeatableQueriesVariations[] = { |
Tomasz Wiszkowski | 11555e8 | 2023-03-23 17:03:38 | [diff] [blame] | 1893 | {"6+ uses, once in last 90d", kRepeatableQueries_6Searches_90Days, |
| 1894 | std::size(kRepeatableQueries_6Searches_90Days), nullptr}, |
| 1895 | {"12+ uses, once in last 90d", kRepeatableQueries_12Searches_90Days, |
| 1896 | std::size(kRepeatableQueries_12Searches_90Days), nullptr}, |
| 1897 | {"6+ uses, once in last 7d", kRepeatableQueries_6Searches_7Days, |
| 1898 | std::size(kRepeatableQueries_6Searches_7Days), nullptr}, |
| 1899 | {"12+ uses, once in last 7d", kRepeatableQueries_12Searches_7Days, |
| 1900 | std::size(kRepeatableQueries_12Searches_7Days), nullptr}, |
Ender | 8bd09f3 | 2022-07-01 02:30:49 | [diff] [blame] | 1901 | }; |
Moe Ahmadi | 359d072 | 2022-05-16 23:17:33 | [diff] [blame] | 1902 | |
Taylor Bergquist | db93697 | 2021-02-10 23:13:13 | [diff] [blame] | 1903 | const FeatureEntry::FeatureParam kMinimumTabWidthSettingPinned[] = { |
| 1904 | {features::kMinimumTabWidthFeatureParameterName, "54"}}; |
| 1905 | const FeatureEntry::FeatureParam kMinimumTabWidthSettingMedium[] = { |
| 1906 | {features::kMinimumTabWidthFeatureParameterName, "72"}}; |
| 1907 | const FeatureEntry::FeatureParam kMinimumTabWidthSettingLarge[] = { |
| 1908 | {features::kMinimumTabWidthFeatureParameterName, "140"}}; |
| 1909 | const FeatureEntry::FeatureParam kMinimumTabWidthSettingFull[] = { |
| 1910 | {features::kMinimumTabWidthFeatureParameterName, "256"}}; |
| 1911 | |
| 1912 | const FeatureEntry::FeatureVariation kTabScrollingVariations[] = { |
| 1913 | {" - tabs shrink to pinned tab width", kMinimumTabWidthSettingPinned, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1914 | std::size(kMinimumTabWidthSettingPinned), nullptr}, |
Taylor Bergquist | db93697 | 2021-02-10 23:13:13 | [diff] [blame] | 1915 | {" - tabs shrink to a medium width", kMinimumTabWidthSettingMedium, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1916 | std::size(kMinimumTabWidthSettingMedium), nullptr}, |
Taylor Bergquist | db93697 | 2021-02-10 23:13:13 | [diff] [blame] | 1917 | {" - tabs shrink to a large width", kMinimumTabWidthSettingLarge, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1918 | std::size(kMinimumTabWidthSettingLarge), nullptr}, |
Elaine Chien | 874f633 | 2021-03-16 00:16:55 | [diff] [blame] | 1919 | {" - tabs don't shrink", kMinimumTabWidthSettingFull, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1920 | std::size(kMinimumTabWidthSettingFull), nullptr}}; |
Taylor Bergquist | db93697 | 2021-02-10 23:13:13 | [diff] [blame] | 1921 | |
David Pennington | 423db8f | 2022-10-24 22:30:04 | [diff] [blame] | 1922 | const FeatureEntry::FeatureParam kTabScrollingButtonPositionRight[] = { |
| 1923 | {features::kTabScrollingButtonPositionParameterName, "0"}}; |
| 1924 | const FeatureEntry::FeatureParam kTabScrollingButtonPositionLeft[] = { |
| 1925 | {features::kTabScrollingButtonPositionParameterName, "1"}}; |
| 1926 | const FeatureEntry::FeatureParam kTabScrollingButtonPositionSplit[] = { |
| 1927 | {features::kTabScrollingButtonPositionParameterName, "2"}}; |
| 1928 | |
| 1929 | const FeatureEntry::FeatureVariation kTabScrollingButtonPositionVariations[] = { |
| 1930 | {" - to the right of the tabstrip", kTabScrollingButtonPositionRight, |
| 1931 | std::size(kTabScrollingButtonPositionRight), nullptr}, |
| 1932 | {" - to the left of the tabstrip", kTabScrollingButtonPositionLeft, |
| 1933 | std::size(kTabScrollingButtonPositionLeft), nullptr}, |
| 1934 | {" - on both sides of the tabstrip", kTabScrollingButtonPositionSplit, |
| 1935 | std::size(kTabScrollingButtonPositionSplit), nullptr}}; |
| 1936 | |
Shibalik Mohapatra | 9a31f7d3 | 2022-10-26 23:53:59 | [diff] [blame] | 1937 | const FeatureEntry::FeatureParam kTabScrollingWithDraggingWithConstantSpeed[] = |
| 1938 | {{features::kTabScrollingWithDraggingModeName, "1"}}; |
| 1939 | const FeatureEntry::FeatureParam kTabScrollingWithDraggingWithVariableSpeed[] = |
| 1940 | {{features::kTabScrollingWithDraggingModeName, "2"}}; |
| 1941 | |
| 1942 | const FeatureEntry::FeatureVariation kTabScrollingWithDraggingVariations[] = { |
| 1943 | {" - tabs scrolling with constant speed", |
| 1944 | kTabScrollingWithDraggingWithConstantSpeed, |
| 1945 | std::size(kTabScrollingWithDraggingWithConstantSpeed), nullptr}, |
| 1946 | {" - tabs scrolling with variable speed region", |
| 1947 | kTabScrollingWithDraggingWithVariableSpeed, |
| 1948 | std::size(kTabScrollingWithDraggingWithVariableSpeed), nullptr}}; |
| 1949 | |
David Pennington | 02c635e | 2022-11-18 01:03:45 | [diff] [blame] | 1950 | const FeatureEntry::FeatureParam kScrollableTabStripOverflowDivider[] = { |
| 1951 | {features::kScrollableTabStripOverflowModeName, "1"}}; |
| 1952 | const FeatureEntry::FeatureParam kScrollableTabStripOverflowFade[] = { |
| 1953 | {features::kScrollableTabStripOverflowModeName, "2"}}; |
| 1954 | const FeatureEntry::FeatureParam kScrollableTabStripOverflowShadow[] = { |
| 1955 | {features::kScrollableTabStripOverflowModeName, "3"}}; |
| 1956 | |
| 1957 | const FeatureEntry::FeatureVariation kScrollableTabStripOverflowVariations[] = { |
| 1958 | {" - Divider", kScrollableTabStripOverflowDivider, |
| 1959 | std::size(kScrollableTabStripOverflowDivider), nullptr}, // Divider |
| 1960 | {" - Fade", kScrollableTabStripOverflowFade, |
| 1961 | std::size(kScrollableTabStripOverflowFade), nullptr}, // Fade |
| 1962 | {" - Shadow", kScrollableTabStripOverflowShadow, |
| 1963 | std::size(kScrollableTabStripOverflowShadow), nullptr}, // Shadow |
| 1964 | }; |
| 1965 | |
Yuheng Huang | 59d1d30 | 2021-10-29 21:21:14 | [diff] [blame] | 1966 | const FeatureEntry::FeatureParam kTabSearchSearchThresholdSmall[] = { |
| 1967 | {features::kTabSearchSearchThresholdName, "0.3"}}; |
| 1968 | const FeatureEntry::FeatureParam kTabSearchSearchThresholdMedium[] = { |
| 1969 | {features::kTabSearchSearchThresholdName, "0.6"}}; |
| 1970 | const FeatureEntry::FeatureParam kTabSearchSearchThresholdLarge[] = { |
| 1971 | {features::kTabSearchSearchThresholdName, "0.8"}}; |
| 1972 | |
| 1973 | const FeatureEntry::FeatureVariation kTabSearchSearchThresholdVariations[] = { |
| 1974 | {" - fuzzy level: small", kTabSearchSearchThresholdSmall, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1975 | std::size(kTabSearchSearchThresholdSmall), nullptr}, |
Yuheng Huang | 59d1d30 | 2021-10-29 21:21:14 | [diff] [blame] | 1976 | {" - fuzzy level: medium", kTabSearchSearchThresholdMedium, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1977 | std::size(kTabSearchSearchThresholdMedium), nullptr}, |
Yuheng Huang | 59d1d30 | 2021-10-29 21:21:14 | [diff] [blame] | 1978 | {" - fuzzy level: large", kTabSearchSearchThresholdLarge, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 1979 | std::size(kTabSearchSearchThresholdLarge), nullptr}}; |
Yuheng Huang | 59d1d30 | 2021-10-29 21:21:14 | [diff] [blame] | 1980 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 1981 | #if !BUILDFLAG(IS_ANDROID) |
Mei Liang | 4ab1b5d4 | 2023-04-20 01:07:48 | [diff] [blame] | 1982 | const flags_ui::FeatureEntry::FeatureParam kDelayPriceTrackingChip[] = { |
| 1983 | {commerce::kCommercePriceTrackingChipExperimentVariationParam, "1"}}; |
| 1984 | |
Mei Liang | f8d132d | 2023-04-27 22:33:18 | [diff] [blame] | 1985 | const flags_ui::FeatureEntry::FeatureParam kIphForPriceTrackingChip[] = { |
| 1986 | {commerce::kCommercePriceTrackingChipExperimentVariationParam, "2"}}; |
| 1987 | |
Mei Liang | 4ab1b5d4 | 2023-04-20 01:07:48 | [diff] [blame] | 1988 | const FeatureEntry::FeatureVariation kPriceTrackingChipExperimentVariations[] = |
| 1989 | { |
| 1990 | {"- Delay Chip", kDelayPriceTrackingChip, |
| 1991 | std::size(kDelayPriceTrackingChip), nullptr}, |
Mei Liang | f8d132d | 2023-04-27 22:33:18 | [diff] [blame] | 1992 | {"- Chip IPH", kIphForPriceTrackingChip, |
| 1993 | std::size(kIphForPriceTrackingChip), nullptr}, |
Mei Liang | 4ab1b5d4 | 2023-04-20 01:07:48 | [diff] [blame] | 1994 | }; |
Tibor Goldschwendt | acb655f | 2020-11-24 23:23:06 | [diff] [blame] | 1995 | |
Yue Zhang | cf6b1e2 | 2021-01-26 17:28:36 | [diff] [blame] | 1996 | const FeatureEntry::FeatureParam kNtpChromeCartModuleFakeData[] = { |
Mei Liang | 9cdacfe | 2021-04-08 00:41:05 | [diff] [blame] | 1997 | {ntp_features::kNtpChromeCartModuleDataParam, "fake"}, |
| 1998 | {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountParam, "true"}}; |
| 1999 | const FeatureEntry::FeatureParam kNtpChromeCartModuleAbandonedCartDiscount[] = { |
Yue Zhang | 6a24a7d | 2021-05-18 16:09:38 | [diff] [blame] | 2000 | {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountParam, "true"}, |
Yue Zhang | 7938e7ad | 2021-09-16 18:15:14 | [diff] [blame] | 2001 | {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountUseUtmParam, |
| 2002 | "true"}, |
Yue Zhang | 6a24a7d | 2021-05-18 16:09:38 | [diff] [blame] | 2003 | {"partner-merchant-pattern", |
Yue Zhang | fd8fe08 | 2021-12-03 00:15:04 | [diff] [blame] | 2004 | "(electronicexpress.com|zazzle.com|wish.com|homesquare.com|iherb.com|" |
Yue Zhang | 6fef6ba | 2021-12-03 01:49:04 | [diff] [blame] | 2005 | "zappos.com|otterbox.com)"}}; |
Yue Zhang | 440f630 | 2021-05-24 21:38:58 | [diff] [blame] | 2006 | const FeatureEntry::FeatureParam kNtpChromeCartModuleHeuristicsImprovement[] = { |
| 2007 | {ntp_features::kNtpChromeCartModuleHeuristicsImprovementParam, "true"}}; |
Mei Liang | 85f05c3 | 2021-08-18 19:46:35 | [diff] [blame] | 2008 | const FeatureEntry::FeatureParam kNtpChromeCartModuleRBDAndCouponDiscount[] = { |
| 2009 | {ntp_features::kNtpChromeCartModuleHeuristicsImprovementParam, "true"}, |
| 2010 | {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountParam, "true"}, |
Yue Zhang | 7938e7ad | 2021-09-16 18:15:14 | [diff] [blame] | 2011 | {ntp_features::kNtpChromeCartModuleAbandonedCartDiscountUseUtmParam, |
| 2012 | "true"}, |
Mei Liang | 85f05c3 | 2021-08-18 19:46:35 | [diff] [blame] | 2013 | {"partner-merchant-pattern", |
| 2014 | "(electronicexpress.com|zazzle.com|wish.com|homesquare.com)"}, |
| 2015 | {ntp_features::kNtpChromeCartModuleCouponParam, "true"}}; |
Yue Zhang | cf6b1e2 | 2021-01-26 17:28:36 | [diff] [blame] | 2016 | const FeatureEntry::FeatureVariation kNtpChromeCartModuleVariations[] = { |
Mei Liang | 9cdacfe | 2021-04-08 00:41:05 | [diff] [blame] | 2017 | {"- Fake Data And Discount", kNtpChromeCartModuleFakeData, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2018 | std::size(kNtpChromeCartModuleFakeData), nullptr}, |
Mei Liang | 9cdacfe | 2021-04-08 00:41:05 | [diff] [blame] | 2019 | {"- Abandoned Cart Discount", kNtpChromeCartModuleAbandonedCartDiscount, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2020 | std::size(kNtpChromeCartModuleAbandonedCartDiscount), nullptr}, |
Yue Zhang | 440f630 | 2021-05-24 21:38:58 | [diff] [blame] | 2021 | {"- Heuristics Improvement", kNtpChromeCartModuleHeuristicsImprovement, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2022 | std::size(kNtpChromeCartModuleHeuristicsImprovement), nullptr}, |
Mei Liang | 85f05c3 | 2021-08-18 19:46:35 | [diff] [blame] | 2023 | {"- RBD and Coupons", kNtpChromeCartModuleRBDAndCouponDiscount, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2024 | std::size(kNtpChromeCartModuleRBDAndCouponDiscount), nullptr}, |
Yue Zhang | cf6b1e2 | 2021-01-26 17:28:36 | [diff] [blame] | 2025 | }; |
| 2026 | |
Mei Liang | 5415f2d | 2022-02-25 07:49:25 | [diff] [blame] | 2027 | // The following are consent v2 variations in the Chrome Cart module. |
Mei Liang | 5415f2d | 2022-02-25 07:49:25 | [diff] [blame] | 2028 | const flags_ui::FeatureEntry::FeatureParam kDiscountConsentNtpDialog[] = { |
Yue Zhang | 288349b | 2022-03-17 20:09:54 | [diff] [blame] | 2029 | {commerce::kNtpChromeCartModuleDiscountConsentNtpVariationParam, "3"}}; |
Mei Liang | cd717a4 | 2022-04-19 20:27:36 | [diff] [blame] | 2030 | const flags_ui::FeatureEntry::FeatureParam kDiscountConsentNtpNativeDialog[] = { |
| 2031 | {commerce::kNtpChromeCartModuleDiscountConsentNtpVariationParam, "4"}}; |
| 2032 | |
Mei Liang | 5415f2d | 2022-02-25 07:49:25 | [diff] [blame] | 2033 | const FeatureEntry::FeatureVariation kDiscountConsentV2Variations[] = { |
Mei Liang | cd717a4 | 2022-04-19 20:27:36 | [diff] [blame] | 2034 | {"WebUi Dialog Consent", kDiscountConsentNtpDialog, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2035 | std::size(kDiscountConsentNtpDialog), nullptr}, |
Mei Liang | cd717a4 | 2022-04-19 20:27:36 | [diff] [blame] | 2036 | {"Native Dialog Consent", kDiscountConsentNtpNativeDialog, |
| 2037 | std::size(kDiscountConsentNtpNativeDialog), nullptr}, |
Mei Liang | 5415f2d | 2022-02-25 07:49:25 | [diff] [blame] | 2038 | }; |
| 2039 | |
Mei Liang | d5813c3 | 2022-10-29 01:09:07 | [diff] [blame] | 2040 | // The following is Code-based RBD variation. |
| 2041 | const flags_ui::FeatureEntry::FeatureParam kCodeBasedRBDEnabled[] = { |
| 2042 | {commerce::kCodeBasedRuleDiscountParam, "true"}}; |
| 2043 | |
| 2044 | const FeatureEntry::FeatureVariation kCodeBasedRBDVariations[] = { |
| 2045 | {"code-based RBD", kCodeBasedRBDEnabled, std::size(kCodeBasedRBDEnabled), |
Mei Liang | 7ec16ed1 | 2023-04-18 20:39:19 | [diff] [blame] | 2046 | "t3362898"}, |
Mei Liang | d5813c3 | 2022-10-29 01:09:07 | [diff] [blame] | 2047 | }; |
| 2048 | |
Mei Liang | d3726df | 2022-10-31 18:29:02 | [diff] [blame] | 2049 | // The following is Merchant wide promotion variation. |
| 2050 | const flags_ui::FeatureEntry::FeatureParam kMerchantWideFetchEnabled[] = { |
| 2051 | {commerce::kReadyToFetchMerchantWidePromotionParam, "true"}}; |
| 2052 | |
| 2053 | const FeatureEntry::FeatureVariation kMerchantWidePromotionVariations[] = { |
| 2054 | {"- Enable fetch", kMerchantWideFetchEnabled, |
| 2055 | std::size(kMerchantWideFetchEnabled), nullptr}, |
| 2056 | }; |
| 2057 | |
Tibor Goldschwendt | d18751b | 2021-05-11 02:03:26 | [diff] [blame] | 2058 | const FeatureEntry::FeatureParam kNtpDriveModuleFakeData[] = { |
| 2059 | {ntp_features::kNtpDriveModuleDataParam, "fake"}}; |
Tibor Goldschwendt | cd7bb1f | 2021-05-20 23:07:34 | [diff] [blame] | 2060 | const FeatureEntry::FeatureParam kNtpDriveModuleManagedUsersOnly[] = { |
| 2061 | {ntp_features::kNtpDriveModuleManagedUsersOnlyParam, "true"}}; |
Tibor Goldschwendt | d18751b | 2021-05-11 02:03:26 | [diff] [blame] | 2062 | const FeatureEntry::FeatureVariation kNtpDriveModuleVariations[] = { |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2063 | {"- Fake Data", kNtpDriveModuleFakeData, std::size(kNtpDriveModuleFakeData), |
| 2064 | nullptr}, |
Tibor Goldschwendt | cd7bb1f | 2021-05-20 23:07:34 | [diff] [blame] | 2065 | {"- Managed Users Only", kNtpDriveModuleManagedUsersOnly, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2066 | std::size(kNtpDriveModuleManagedUsersOnly), nullptr}, |
Tibor Goldschwendt | d18751b | 2021-05-11 02:03:26 | [diff] [blame] | 2067 | }; |
Rohit Bhatia | 3418936 | 2021-09-04 03:55:20 | [diff] [blame] | 2068 | |
Roman Arora | 6a6024d1 | 2023-03-03 21:05:39 | [diff] [blame] | 2069 | // History clusters fake data params are expressed as a comma separated tuple |
| 2070 | // consisting of a number of desired visits and the number of such visits to be |
| 2071 | // marked as having url keyed images. The number of visits must be greater than |
| 2072 | // or equal to the number of visits marked as having images. |
| 2073 | const FeatureEntry::FeatureParam |
| 2074 | kNtpHistoryClustersModuleFakeData2Visits2Images[] = { |
Roman Arora | 1a10832 | 2023-05-03 16:57:36 | [diff] [blame] | 2075 | {ntp_features::kNtpHistoryClustersModuleDataParam, "1,2,2"}}; |
Roman Arora | 6a6024d1 | 2023-03-03 21:05:39 | [diff] [blame] | 2076 | const FeatureEntry::FeatureParam |
| 2077 | kNtpHistoryClustersModuleFakeData3Visits1Image[] = { |
Roman Arora | 1a10832 | 2023-05-03 16:57:36 | [diff] [blame] | 2078 | {ntp_features::kNtpHistoryClustersModuleDataParam, "1,3,1"}}; |
Roman Arora | 6a6024d1 | 2023-03-03 21:05:39 | [diff] [blame] | 2079 | const FeatureEntry::FeatureParam |
| 2080 | kNtpHistoryClustersModuleFakeData4Visits2Images[] = { |
Roman Arora | 1a10832 | 2023-05-03 16:57:36 | [diff] [blame] | 2081 | {ntp_features::kNtpHistoryClustersModuleDataParam, "1,4,2"}}; |
| 2082 | const FeatureEntry::FeatureParam kNtpHistoryClustersModuleV2OneJourney[] = { |
| 2083 | {ntp_features::kNtpHistoryClustersModuleDataParam, "1,2,2"}}; |
| 2084 | const FeatureEntry::FeatureParam kNtpHistoryClustersModuleV2TwoJourneys[] = { |
| 2085 | {ntp_features::kNtpHistoryClustersModuleDataParam, "2,2,2"}}; |
| 2086 | const FeatureEntry::FeatureParam kNtpHistoryClustersModuleV2ThreeJourneys[] = { |
| 2087 | {ntp_features::kNtpHistoryClustersModuleDataParam, "3,2,2"}}; |
Roman Arora | 6a6024d1 | 2023-03-03 21:05:39 | [diff] [blame] | 2088 | const FeatureEntry::FeatureVariation kNtpHistoryClustersModuleVariations[] = { |
| 2089 | {"- Fake Data - Layout 1", kNtpHistoryClustersModuleFakeData2Visits2Images, |
| 2090 | std::size(kNtpHistoryClustersModuleFakeData2Visits2Images), nullptr}, |
| 2091 | {"- Fake Data - Layout 2", kNtpHistoryClustersModuleFakeData3Visits1Image, |
| 2092 | std::size(kNtpHistoryClustersModuleFakeData3Visits1Image), nullptr}, |
| 2093 | {"- Fake Data - Layout 3", kNtpHistoryClustersModuleFakeData4Visits2Images, |
Roman Arora | 1a10832 | 2023-05-03 16:57:36 | [diff] [blame] | 2094 | std::size(kNtpHistoryClustersModuleFakeData4Visits2Images), nullptr}, |
| 2095 | {"- v2 Fake Data - 1 Journey", kNtpHistoryClustersModuleV2OneJourney, |
| 2096 | std::size(kNtpHistoryClustersModuleV2OneJourney), nullptr}, |
| 2097 | {"- v2 Fake Data - 2 Journeys", kNtpHistoryClustersModuleV2TwoJourneys, |
| 2098 | std::size(kNtpHistoryClustersModuleV2TwoJourneys), nullptr}, |
| 2099 | {"- v2 Fake Data - 3 Journeys", kNtpHistoryClustersModuleV2ThreeJourneys, |
| 2100 | std::size(kNtpHistoryClustersModuleV2ThreeJourneys), nullptr}, |
| 2101 | }; |
Roman Arora | 6a6024d1 | 2023-03-03 21:05:39 | [diff] [blame] | 2102 | |
Yue Zhang | 39cc225 | 2023-04-19 15:44:36 | [diff] [blame] | 2103 | const FeatureEntry::FeatureParam |
| 2104 | kNtpChromeCartInHistoryClustersModuleFakeData0[] = { |
| 2105 | {ntp_features::kNtpChromeCartInHistoryClustersModuleDataParam, "0"}}; |
| 2106 | const FeatureEntry::FeatureParam |
| 2107 | kNtpChromeCartInHistoryClustersModuleFakeData1[] = { |
| 2108 | {ntp_features::kNtpChromeCartInHistoryClustersModuleDataParam, "1"}}; |
| 2109 | const FeatureEntry::FeatureParam |
| 2110 | kNtpChromeCartInHistoryClustersModuleFakeData2[] = { |
| 2111 | {ntp_features::kNtpChromeCartInHistoryClustersModuleDataParam, "3"}}; |
| 2112 | const FeatureEntry::FeatureParam |
| 2113 | kNtpChromeCartInHistoryClustersModuleFakeData3[] = { |
| 2114 | {ntp_features::kNtpChromeCartInHistoryClustersModuleDataParam, "6"}}; |
| 2115 | |
| 2116 | const FeatureEntry::FeatureVariation |
| 2117 | kNtpChromeCartInHistoryClustersModuleVariations[] = { |
| 2118 | {" - Fake cart: 0 product image", |
| 2119 | kNtpChromeCartInHistoryClustersModuleFakeData0, |
| 2120 | std::size(kNtpChromeCartInHistoryClustersModuleFakeData0), nullptr}, |
| 2121 | {" - Fake cart: 1 product image", |
| 2122 | kNtpChromeCartInHistoryClustersModuleFakeData1, |
| 2123 | std::size(kNtpChromeCartInHistoryClustersModuleFakeData1), nullptr}, |
| 2124 | {" - Fake cart: 3 product images", |
| 2125 | kNtpChromeCartInHistoryClustersModuleFakeData2, |
| 2126 | std::size(kNtpChromeCartInHistoryClustersModuleFakeData2), nullptr}, |
| 2127 | {" - Fake cart: 6 product images", |
| 2128 | kNtpChromeCartInHistoryClustersModuleFakeData3, |
| 2129 | std::size(kNtpChromeCartInHistoryClustersModuleFakeData3), nullptr}}; |
| 2130 | |
Paul Adedeji | f0a215d8 | 2022-08-03 01:55:46 | [diff] [blame] | 2131 | const FeatureEntry::FeatureParam kNtpMiddleSlotPromoDismissalFakeData[] = { |
| 2132 | {ntp_features::kNtpMiddleSlotPromoDismissalParam, "fake"}}; |
| 2133 | const FeatureEntry::FeatureVariation kNtpMiddleSlotPromoDismissalVariations[] = |
| 2134 | { |
| 2135 | {"- Fake Data", kNtpMiddleSlotPromoDismissalFakeData, |
| 2136 | std::size(kNtpMiddleSlotPromoDismissalFakeData), nullptr}, |
| 2137 | }; |
| 2138 | |
Jeremy Selier | 4ced86ee | 2021-10-02 18:35:19 | [diff] [blame] | 2139 | const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData0[] = { |
| 2140 | {ntp_features::kNtpPhotosModuleDataParam, "0"}}; |
| 2141 | const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData1[] = { |
| 2142 | {ntp_features::kNtpPhotosModuleDataParam, "1"}}; |
| 2143 | const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData2[] = { |
| 2144 | {ntp_features::kNtpPhotosModuleDataParam, "2"}}; |
| 2145 | const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData3[] = { |
| 2146 | {ntp_features::kNtpPhotosModuleDataParam, "3"}}; |
| 2147 | const FeatureEntry::FeatureParam kNtpPhotosModuleFakeData4[] = { |
| 2148 | {ntp_features::kNtpPhotosModuleDataParam, "4"}}; |
| 2149 | |
| 2150 | const FeatureEntry::FeatureVariation kNtpPhotosModuleVariations[] = { |
| 2151 | {" - Fake memories: 0", kNtpPhotosModuleFakeData0, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2152 | std::size(kNtpPhotosModuleFakeData0), nullptr}, |
Jeremy Selier | 4ced86ee | 2021-10-02 18:35:19 | [diff] [blame] | 2153 | {" - Fake memories: 1", kNtpPhotosModuleFakeData1, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2154 | std::size(kNtpPhotosModuleFakeData1), nullptr}, |
Jeremy Selier | 4ced86ee | 2021-10-02 18:35:19 | [diff] [blame] | 2155 | {" - Fake memories: 2", kNtpPhotosModuleFakeData2, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2156 | std::size(kNtpPhotosModuleFakeData2), nullptr}, |
Jeremy Selier | 4ced86ee | 2021-10-02 18:35:19 | [diff] [blame] | 2157 | {" - Fake memories: 3", kNtpPhotosModuleFakeData3, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2158 | std::size(kNtpPhotosModuleFakeData3), nullptr}, |
Jeremy Selier | 4ced86ee | 2021-10-02 18:35:19 | [diff] [blame] | 2159 | {" - Fake memories: 4", kNtpPhotosModuleFakeData4, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2160 | std::size(kNtpPhotosModuleFakeData4), nullptr}}; |
Jeremy Selier | 4ced86ee | 2021-10-02 18:35:19 | [diff] [blame] | 2161 | |
Madhuri Palagummi | fb44d9e | 2022-02-17 04:02:06 | [diff] [blame] | 2162 | const FeatureEntry::FeatureParam kNtpPhotosModuleOptInRHTitle[] = { |
| 2163 | {ntp_features::kNtpPhotosModuleOptInTitleParam, "0"}}; |
| 2164 | const FeatureEntry::FeatureParam kNtpPhotosModuleOptInFavoriteTitle[] = { |
| 2165 | {ntp_features::kNtpPhotosModuleOptInTitleParam, "1"}}; |
| 2166 | const FeatureEntry::FeatureParam kNtpPhotosModuleOptInPersonalizedTitle[] = { |
| 2167 | {ntp_features::kNtpPhotosModuleOptInTitleParam, "2"}}; |
Madhuri Palagummi | c0fb284 | 2022-02-18 19:17:38 | [diff] [blame] | 2168 | const FeatureEntry::FeatureParam kNtpPhotosModuleOptInTripsTitle[] = { |
| 2169 | {ntp_features::kNtpPhotosModuleOptInTitleParam, "3"}}; |
Madhuri Palagummi | fb44d9e | 2022-02-17 04:02:06 | [diff] [blame] | 2170 | |
| 2171 | const FeatureEntry::FeatureVariation kNtpPhotosModuleOptInTitleVariations[] = { |
| 2172 | {" - Recent Highlights", kNtpPhotosModuleOptInRHTitle, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2173 | std::size(kNtpPhotosModuleOptInRHTitle), nullptr}, |
Madhuri Palagummi | fb44d9e | 2022-02-17 04:02:06 | [diff] [blame] | 2174 | {" - Favorite people", kNtpPhotosModuleOptInFavoriteTitle, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2175 | std::size(kNtpPhotosModuleOptInFavoriteTitle), nullptr}, |
Madhuri Palagummi | fb44d9e | 2022-02-17 04:02:06 | [diff] [blame] | 2176 | {" - Personalized title", kNtpPhotosModuleOptInPersonalizedTitle, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2177 | std::size(kNtpPhotosModuleOptInPersonalizedTitle), nullptr}, |
Madhuri Palagummi | c0fb284 | 2022-02-18 19:17:38 | [diff] [blame] | 2178 | {" - Trips title", kNtpPhotosModuleOptInTripsTitle, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2179 | std::size(kNtpPhotosModuleOptInTripsTitle), nullptr}}; |
Madhuri Palagummi | fb44d9e | 2022-02-17 04:02:06 | [diff] [blame] | 2180 | |
Madhuri Palagummi | b85db6417 | 2022-02-18 02:32:05 | [diff] [blame] | 2181 | const FeatureEntry::FeatureParam kNtpPhotosModuleLogo1ArtWork[] = { |
| 2182 | {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "1"}}; |
| 2183 | const FeatureEntry::FeatureParam kNtpPhotosModuleLogo2ArtWork[] = { |
| 2184 | {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "2"}}; |
| 2185 | const FeatureEntry::FeatureParam kNtpPhotosModuleIllustrationsArtWork[] = { |
| 2186 | {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "3"}}; |
| 2187 | const FeatureEntry::FeatureParam kNtpPhotosModuleStockpileArtWork[] = { |
| 2188 | {ntp_features::kNtpPhotosModuleOptInArtWorkParam, "4"}}; |
| 2189 | |
| 2190 | const FeatureEntry::FeatureVariation kNtpPhotosModuleOptInArtWorkVariations[] = |
| 2191 | {{" - Artwork with Logo - 1", kNtpPhotosModuleLogo1ArtWork, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2192 | std::size(kNtpPhotosModuleLogo1ArtWork), nullptr}, |
Madhuri Palagummi | b85db6417 | 2022-02-18 02:32:05 | [diff] [blame] | 2193 | {" - Artwork with Logo - 2", kNtpPhotosModuleLogo2ArtWork, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2194 | std::size(kNtpPhotosModuleLogo2ArtWork), nullptr}, |
Madhuri Palagummi | b85db6417 | 2022-02-18 02:32:05 | [diff] [blame] | 2195 | {" - Artwork with Illustrations", kNtpPhotosModuleIllustrationsArtWork, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2196 | std::size(kNtpPhotosModuleIllustrationsArtWork), nullptr}, |
Madhuri Palagummi | b85db6417 | 2022-02-18 02:32:05 | [diff] [blame] | 2197 | {" - Artwork with Stockpile", kNtpPhotosModuleStockpileArtWork, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2198 | std::size(kNtpPhotosModuleStockpileArtWork), nullptr}}; |
Madhuri Palagummi | b85db6417 | 2022-02-18 02:32:05 | [diff] [blame] | 2199 | |
John Lee | 07f68aa | 2023-05-19 21:32:58 | [diff] [blame] | 2200 | const FeatureEntry::FeatureParam kNtpRealboxRevertWidthOnBlur[] = { |
| 2201 | {ntp_features::kNtpRealboxWidthBehaviorParam, "revert"}}; |
| 2202 | const FeatureEntry::FeatureParam kNtpRealboxAlwaysWide[] = { |
| 2203 | {ntp_features::kNtpRealboxWidthBehaviorParam, "wide"}}; |
| 2204 | const FeatureEntry::FeatureVariation kNtpRealboxWidthBehaviorVariations[] = { |
| 2205 | {" - Reverts back on blur if there is secondary column", |
| 2206 | kNtpRealboxRevertWidthOnBlur, std::size(kNtpRealboxRevertWidthOnBlur), |
| 2207 | nullptr}, |
| 2208 | {" - Always wide", kNtpRealboxAlwaysWide, std::size(kNtpRealboxAlwaysWide), |
| 2209 | nullptr}}; |
| 2210 | |
Paul Adedeji | 8fbfb25 | 2022-07-25 19:08:01 | [diff] [blame] | 2211 | const FeatureEntry::FeatureParam kNtpRecipeTasksModuleFakeData[] = { |
| 2212 | {ntp_features::kNtpRecipeTasksModuleDataParam, "fake"}}; |
| 2213 | const FeatureEntry::FeatureParam kNtpRecipeTasksModuleHistorical7Days[] = { |
| 2214 | {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "historical-7"}}; |
| 2215 | const FeatureEntry::FeatureParam kNtpRecipeTasksModuleHistorical14Days[] = { |
| 2216 | {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "historical-14"}}; |
| 2217 | const FeatureEntry::FeatureParam kNtpRecipeTasksModuleMix7Days[] = { |
| 2218 | {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "mix-7"}}; |
| 2219 | const FeatureEntry::FeatureParam kNtpRecipeTasksModuleMix14Days[] = { |
| 2220 | {ntp_features::kNtpRecipeTasksModuleExperimentGroupParam, "mix-14"}}; |
| 2221 | const FeatureEntry::FeatureVariation kNtpRecipeTasksModuleVariations[] = { |
| 2222 | {"- Fake Data", kNtpRecipeTasksModuleFakeData, |
| 2223 | std::size(kNtpRecipeTasksModuleFakeData), nullptr}, |
| 2224 | {"- Historical Arm (7 days)", kNtpRecipeTasksModuleHistorical7Days, |
| 2225 | std::size(kNtpRecipeTasksModuleHistorical7Days), "t3349934"}, |
| 2226 | {"- Historical Arm (14 days)", kNtpRecipeTasksModuleHistorical14Days, |
| 2227 | std::size(kNtpRecipeTasksModuleHistorical14Days), "t3349935"}, |
| 2228 | {"- Recommended Mix Arm (7 days)", kNtpRecipeTasksModuleMix7Days, |
| 2229 | std::size(kNtpRecipeTasksModuleMix7Days), "t3349936"}, |
| 2230 | {"- Recommended Mix Arm (14 days)", kNtpRecipeTasksModuleMix14Days, |
| 2231 | std::size(kNtpRecipeTasksModuleMix14Days), "t3349937"}, |
| 2232 | }; |
| 2233 | |
Rohit Bhatia | 3418936 | 2021-09-04 03:55:20 | [diff] [blame] | 2234 | const FeatureEntry::FeatureParam kNtpSafeBrowsingModuleFastCooldown[] = { |
| 2235 | {ntp_features::kNtpSafeBrowsingModuleCooldownPeriodDaysParam, "0.001"}, |
| 2236 | {ntp_features::kNtpSafeBrowsingModuleCountMaxParam, "1"}}; |
| 2237 | const FeatureEntry::FeatureVariation kNtpSafeBrowsingModuleVariations[] = { |
| 2238 | {"(Fast Cooldown)", kNtpSafeBrowsingModuleFastCooldown, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2239 | std::size(kNtpSafeBrowsingModuleFastCooldown), nullptr}, |
Rohit Bhatia | 3418936 | 2021-09-04 03:55:20 | [diff] [blame] | 2240 | }; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2241 | #endif // !BUILDFLAG(IS_ANDROID) |
Moe Ahmadi | 113a087 | 2020-08-10 21:07:40 | [diff] [blame] | 2242 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2243 | #if BUILDFLAG(IS_ANDROID) |
Anthony Vallee-Dubois | 265c569 | 2018-06-01 15:57:14 | [diff] [blame] | 2244 | |
Donn Denman | be6617c | 2021-03-01 15:17:00 | [diff] [blame] | 2245 | const FeatureEntry::FeatureParam kRelatedSearchesUrl = {"stamp", "1Ru"}; |
| 2246 | const FeatureEntry::FeatureParam kRelatedSearchesContent = {"stamp", "1Rc"}; |
Gang Wu | 149fccb7 | 2023-03-03 00:40:28 | [diff] [blame] | 2247 | const FeatureEntry::FeatureParam kRelatedSearchesAllLanguages = { |
| 2248 | "all_languages", "true"}; |
Donn Denman | be6617c | 2021-03-01 15:17:00 | [diff] [blame] | 2249 | const FeatureEntry::FeatureVariation kRelatedSearchesVariations[] = { |
| 2250 | {"from URL", &kRelatedSearchesUrl, 1, nullptr}, |
| 2251 | {"from content", &kRelatedSearchesContent, 1, nullptr}, |
Gang Wu | 149fccb7 | 2023-03-03 00:40:28 | [diff] [blame] | 2252 | {"support all languages", &kRelatedSearchesAllLanguages, 1, nullptr}, |
Donn Denman | be6617c | 2021-03-01 15:17:00 | [diff] [blame] | 2253 | }; |
Donn Denman | be6617c | 2021-03-01 15:17:00 | [diff] [blame] | 2254 | |
Gang Wu | fc9c6f5 | 2022-09-13 05:28:19 | [diff] [blame] | 2255 | const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith300Dp[] = |
| 2256 | {{"contextual_search_minimum_page_height_dp", "300"}}; |
| 2257 | const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith400Dp[] = |
| 2258 | {{"contextual_search_minimum_page_height_dp", "400"}}; |
| 2259 | const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith500Dp[] = |
| 2260 | {{"contextual_search_minimum_page_height_dp", "500"}}; |
| 2261 | const FeatureEntry::FeatureParam kContextualSearchSuppressShortViewWith600Dp[] = |
| 2262 | {{"contextual_search_minimum_page_height_dp", "600"}}; |
| 2263 | const FeatureEntry::FeatureVariation |
| 2264 | kContextualSearchSuppressShortViewVariations[] = { |
| 2265 | {"(300 dp)", kContextualSearchSuppressShortViewWith300Dp, |
| 2266 | std::size(kContextualSearchSuppressShortViewWith300Dp), nullptr}, |
| 2267 | {"(400 dp)", kContextualSearchSuppressShortViewWith400Dp, |
| 2268 | std::size(kContextualSearchSuppressShortViewWith400Dp), nullptr}, |
| 2269 | {"(500 dp)", kContextualSearchSuppressShortViewWith500Dp, |
| 2270 | std::size(kContextualSearchSuppressShortViewWith500Dp), nullptr}, |
| 2271 | {"(600 dp)", kContextualSearchSuppressShortViewWith600Dp, |
| 2272 | std::size(kContextualSearchSuppressShortViewWith600Dp), nullptr}, |
| 2273 | }; |
| 2274 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2275 | #endif // BUILDFLAG(IS_ANDROID) |
Dan Harrington | 541db9e | 2018-07-30 18:36:30 | [diff] [blame] | 2276 | |
Joao Victor Almeida | 371702c | 2021-01-08 18:41:56 | [diff] [blame] | 2277 | const FeatureEntry::FeatureParam |
| 2278 | kResamplingScrollEventsPredictionTimeBasedEnabled[] = { |
| 2279 | {"mode", features::kPredictionTypeTimeBased}, |
| 2280 | {"latency", features::kPredictionTypeDefaultTime}}; |
| 2281 | const FeatureEntry::FeatureParam |
| 2282 | kResamplingScrollEventsPredictionFramesBasedEnabled[] = { |
| 2283 | {"mode", features::kPredictionTypeFramesBased}, |
| 2284 | {"latency", features::kPredictionTypeDefaultFramesRatio}}; |
| 2285 | const FeatureEntry::FeatureVariation |
| 2286 | kResamplingScrollEventsExperimentalPredictionVariations[] = { |
| 2287 | {features::kPredictionTypeTimeBased, |
| 2288 | kResamplingScrollEventsPredictionTimeBasedEnabled, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2289 | std::size(kResamplingScrollEventsPredictionTimeBasedEnabled), nullptr}, |
Joao Victor Almeida | 371702c | 2021-01-08 18:41:56 | [diff] [blame] | 2290 | {features::kPredictionTypeFramesBased, |
| 2291 | kResamplingScrollEventsPredictionFramesBasedEnabled, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2292 | std::size(kResamplingScrollEventsPredictionFramesBasedEnabled), |
Joao Victor Almeida | 371702c | 2021-01-08 18:41:56 | [diff] [blame] | 2293 | nullptr}}; |
| 2294 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2295 | #if BUILDFLAG(IS_ANDROID) |
Calder Kitagawa | 42d2489 | 2023-03-14 18:25:43 | [diff] [blame] | 2296 | const FeatureEntry::FeatureParam kTabGroupsContinuationAndroid_LowEndSupport[] = |
| 2297 | { |
| 2298 | {"gts-low-end-support", "true"}, |
| 2299 | {"gts-accessibility-support", "false"}, |
| 2300 | {"gts-accessibility-list-mode", "false"}, |
| 2301 | }; |
| 2302 | const FeatureEntry::FeatureParam |
| 2303 | kTabGroupsContinuationAndroid_LowEndAndAccessibilitySupport[] = { |
| 2304 | {"gts-low-end-support", "true"}, |
| 2305 | {"gts-accessibility-support", "true"}, |
| 2306 | {"gts-accessibility-list-mode", "false"}, |
| 2307 | }; |
| 2308 | const FeatureEntry::FeatureParam |
| 2309 | kTabGroupsContinuationAndroid_LowEndAndAccessibilityListSupport[] = { |
| 2310 | {"gts-low-end-support", "true"}, |
| 2311 | {"gts-accessibility-support", "true"}, |
| 2312 | {"gts-accessibility-list-mode", "true"}, |
| 2313 | }; |
| 2314 | const FeatureEntry::FeatureVariation kTabGroupsContinuationAndroidVariations[] = |
| 2315 | { |
| 2316 | {"Low-end device support", kTabGroupsContinuationAndroid_LowEndSupport, |
| 2317 | std::size(kTabGroupsContinuationAndroid_LowEndSupport), nullptr}, |
| 2318 | {"Low-end & Accessibility Grid or List support", |
| 2319 | kTabGroupsContinuationAndroid_LowEndAndAccessibilitySupport, |
| 2320 | std::size(kTabGroupsContinuationAndroid_LowEndAndAccessibilitySupport), |
| 2321 | nullptr}, |
| 2322 | {"Low-end & Accessibility List-only support", |
| 2323 | kTabGroupsContinuationAndroid_LowEndAndAccessibilityListSupport, |
| 2324 | std::size( |
| 2325 | kTabGroupsContinuationAndroid_LowEndAndAccessibilityListSupport), |
| 2326 | nullptr}, |
| 2327 | }; |
| 2328 | |
Xi Han | 3dec578 | 2022-10-26 20:23:19 | [diff] [blame] | 2329 | const FeatureEntry::FeatureParam kStartSurfaceReturnTime_Immediate[] = { |
Xi Han | 151c671c | 2023-04-20 14:17:49 | [diff] [blame] | 2330 | {"start_surface_return_time_seconds", "0"}, |
| 2331 | {"start_surface_return_time_on_tablet_seconds", "0"}}; |
Xi Han | 8224f2c | 2023-01-16 21:07:21 | [diff] [blame] | 2332 | const FeatureEntry::FeatureParam kStartSurfaceReturnTime_10Seconds[] = { |
Xi Han | 151c671c | 2023-04-20 14:17:49 | [diff] [blame] | 2333 | {"start_surface_return_time_seconds", "10"}, |
| 2334 | {"start_surface_return_time_on_tablet_seconds", "10"}}; |
Xi Han | 3dec578 | 2022-10-26 20:23:19 | [diff] [blame] | 2335 | const FeatureEntry::FeatureParam kStartSurfaceReturnTime_1Minute[] = { |
Xi Han | 151c671c | 2023-04-20 14:17:49 | [diff] [blame] | 2336 | {"start_surface_return_time_seconds", "60"}, |
| 2337 | {"start_surface_return_time_on_tablet_seconds", "60"}}; |
Xi Han | 3dec578 | 2022-10-26 20:23:19 | [diff] [blame] | 2338 | const FeatureEntry::FeatureParam kStartSurfaceReturnTime_5Minute[] = { |
Xi Han | 151c671c | 2023-04-20 14:17:49 | [diff] [blame] | 2339 | {"start_surface_return_time_seconds", "300"}, |
| 2340 | {"start_surface_return_time_on_tablet_seconds", "300"}}; |
Xi Han | 3dec578 | 2022-10-26 20:23:19 | [diff] [blame] | 2341 | const FeatureEntry::FeatureParam kStartSurfaceReturnTime_60Minute[] = { |
Xi Han | 151c671c | 2023-04-20 14:17:49 | [diff] [blame] | 2342 | {"start_surface_return_time_seconds", "3600"}, |
| 2343 | {"start_surface_return_time_on_tablet_seconds", "3600"}}; |
Xi Han | 3dec578 | 2022-10-26 20:23:19 | [diff] [blame] | 2344 | const FeatureEntry::FeatureVariation kStartSurfaceReturnTimeVariations[] = { |
| 2345 | {"Immediate", kStartSurfaceReturnTime_Immediate, |
| 2346 | std::size(kStartSurfaceReturnTime_Immediate), nullptr}, |
Xi Han | 8224f2c | 2023-01-16 21:07:21 | [diff] [blame] | 2347 | {"10 seconds", kStartSurfaceReturnTime_10Seconds, |
| 2348 | std::size(kStartSurfaceReturnTime_10Seconds), nullptr}, |
Xi Han | 3dec578 | 2022-10-26 20:23:19 | [diff] [blame] | 2349 | {"1 minute", kStartSurfaceReturnTime_1Minute, |
| 2350 | std::size(kStartSurfaceReturnTime_1Minute), nullptr}, |
| 2351 | {"5 minute", kStartSurfaceReturnTime_5Minute, |
| 2352 | std::size(kStartSurfaceReturnTime_5Minute), nullptr}, |
| 2353 | {"60 minute", kStartSurfaceReturnTime_60Minute, |
| 2354 | std::size(kStartSurfaceReturnTime_60Minute), nullptr}, |
| 2355 | }; |
| 2356 | #endif // BUILDFLAG(IS_ANDROID) |
| 2357 | #if BUILDFLAG(IS_ANDROID) |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 2358 | const FeatureEntry::FeatureParam kTabGridLayoutAndroid_NewTabVariation[] = { |
Wei-Yin Chen (陳威尹) | 7081986 | 2020-01-16 09:19:59 | [diff] [blame] | 2359 | {"tab_grid_layout_android_new_tab", "NewTabVariation"}, |
| 2360 | {"allow_to_refetch", "true"}}; |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 2361 | |
Mei Liang | dc9585c | 2020-08-17 00:45:30 | [diff] [blame] | 2362 | const FeatureEntry::FeatureParam kTabGridLayoutAndroid_TallNTV[] = { |
Sirisha Kavuluru | 1ca0bdc | 2022-03-31 00:11:44 | [diff] [blame] | 2363 | {"thumbnail_aspect_ratio", "0.85"}, |
Mei Liang | dc9585c | 2020-08-17 00:45:30 | [diff] [blame] | 2364 | {"allow_to_refetch", "true"}, |
Calder Kitagawa | 2d18044 | 2023-03-10 17:13:56 | [diff] [blame] | 2365 | {"tab_grid_layout_android_new_tab", "NewTabVariation"}}; |
Wei-Yin Chen (陳威尹) | 7081986 | 2020-01-16 09:19:59 | [diff] [blame] | 2366 | |
Mei Liang | 5194ca3 | 2021-11-02 18:06:37 | [diff] [blame] | 2367 | const FeatureEntry::FeatureParam |
| 2368 | kTabGridLayoutAndroid_TabGroupAutoCreation_TabGroupFirst[] = { |
| 2369 | {"enable_tab_group_auto_creation", "false"}, |
| 2370 | {"show_open_in_tab_group_menu_item_first", "true"}}; |
| 2371 | |
Mei Liang | 55b53944 | 2021-03-30 20:49:42 | [diff] [blame] | 2372 | const FeatureEntry::FeatureParam kTabGridLayoutAndroid_TabGroupAutoCreation[] = |
Mei Liang | 5194ca3 | 2021-11-02 18:06:37 | [diff] [blame] | 2373 | {{"enable_tab_group_auto_creation", "false"}, |
| 2374 | {"show_open_in_tab_group_menu_item_first", "false"}}; |
Mei Liang | 55b53944 | 2021-03-30 20:49:42 | [diff] [blame] | 2375 | |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 2376 | const FeatureEntry::FeatureVariation kTabGridLayoutAndroidVariations[] = { |
| 2377 | {"New Tab Variation", kTabGridLayoutAndroid_NewTabVariation, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2378 | std::size(kTabGridLayoutAndroid_NewTabVariation), nullptr}, |
Mei Liang | dc9585c | 2020-08-17 00:45:30 | [diff] [blame] | 2379 | {"Tall NTV", kTabGridLayoutAndroid_TallNTV, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2380 | std::size(kTabGridLayoutAndroid_TallNTV), nullptr}, |
Mei Liang | 55b53944 | 2021-03-30 20:49:42 | [diff] [blame] | 2381 | {"Without auto group", kTabGridLayoutAndroid_TabGroupAutoCreation, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2382 | std::size(kTabGridLayoutAndroid_TabGroupAutoCreation), nullptr}, |
Mei Liang | 5194ca3 | 2021-11-02 18:06:37 | [diff] [blame] | 2383 | {"Without auto group-group first", |
| 2384 | kTabGridLayoutAndroid_TabGroupAutoCreation_TabGroupFirst, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2385 | std::size(kTabGridLayoutAndroid_TabGroupAutoCreation_TabGroupFirst), |
Mei Liang | 5194ca3 | 2021-11-02 18:06:37 | [diff] [blame] | 2386 | nullptr}, |
Zhiyuan Cai | 7a67fff | 2021-06-18 21:35:53 | [diff] [blame] | 2387 | }; |
| 2388 | |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 2389 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurface[] = { |
Xi Han | a9ec388 | 2022-08-19 18:45:31 | [diff] [blame] | 2390 | {"open_ntp_instead_of_start", "false"}, |
Xi Han | 1c1b546 | 2022-09-27 23:34:52 | [diff] [blame] | 2391 | {"open_start_as_homepage", "true"}, |
Xi Han | a9ec388 | 2022-08-19 18:45:31 | [diff] [blame] | 2392 | {"show_last_active_tab_only", "false"}, |
Xi Han | d3ca006 | 2021-07-27 13:03:25 | [diff] [blame] | 2393 | {"show_tabs_in_mru_order", "true"}}; |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 2394 | |
Xi Han | f9a4f20d | 2021-09-02 16:50:39 | [diff] [blame] | 2395 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_CandidateA[] = { |
Xi Han | 1c1b546 | 2022-09-27 23:34:52 | [diff] [blame] | 2396 | {"open_ntp_instead_of_start", "false"}, |
| 2397 | {"open_start_as_homepage", "true"}}; |
Xi Han | f9a4f20d | 2021-09-02 16:50:39 | [diff] [blame] | 2398 | |
spdonghao | a8b196c | 2021-09-15 18:37:01 | [diff] [blame] | 2399 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_CandidateA_SyncCheck[] = { |
Xi Han | a9ec388 | 2022-08-19 18:45:31 | [diff] [blame] | 2400 | {"open_ntp_instead_of_start", "false"}, |
Xi Han | 1c1b546 | 2022-09-27 23:34:52 | [diff] [blame] | 2401 | {"open_start_as_homepage", "true"}, |
spdonghao | a8b196c | 2021-09-15 18:37:01 | [diff] [blame] | 2402 | {"check_sync_before_show_start_at_startup", "true"}}; |
| 2403 | |
| 2404 | const FeatureEntry::FeatureParam |
| 2405 | kStartSurfaceAndroid_CandidateA_SigninPromoTimeLimit[] = { |
Xi Han | a9ec388 | 2022-08-19 18:45:31 | [diff] [blame] | 2406 | {"open_ntp_instead_of_start", "false"}, |
Xi Han | 1c1b546 | 2022-09-27 23:34:52 | [diff] [blame] | 2407 | {"open_start_as_homepage", "true"}, |
spdonghao | a8b196c | 2021-09-15 18:37:01 | [diff] [blame] | 2408 | {"sign_in_promo_show_since_last_background_limit_ms", "30000"}}; |
| 2409 | |
Xi Han | f9a4f20d | 2021-09-02 16:50:39 | [diff] [blame] | 2410 | const FeatureEntry::FeatureParam kStartSurfaceAndroid_CandidateB[] = { |
Xi Han | f9a4f20d | 2021-09-02 16:50:39 | [diff] [blame] | 2411 | {"open_ntp_instead_of_start", "true"}}; |
| 2412 | |
Side Yilmaz | a57553f9 | 2022-03-25 15:02:46 | [diff] [blame] | 2413 | const FeatureEntry::FeatureParam |
| 2414 | kStartSurfaceAndroid_CandidateB_AlwaysShowIncognito[] = { |
Xi Han | a9ec388 | 2022-08-19 18:45:31 | [diff] [blame] | 2415 | {"hide_switch_when_no_incognito_tabs", "false"}}; |
Side Yilmaz | a57553f9 | 2022-03-25 15:02:46 | [diff] [blame] | 2416 | |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 2417 | const FeatureEntry::FeatureVariation kStartSurfaceAndroidVariations[] = { |
Xi Han | 5f2854c1 | 2022-07-29 15:54:56 | [diff] [blame] | 2418 | {"Candidate A", kStartSurfaceAndroid_CandidateA, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2419 | std::size(kStartSurfaceAndroid_CandidateA), nullptr}, |
Xi Han | 5f2854c1 | 2022-07-29 15:54:56 | [diff] [blame] | 2420 | {"Candidate A + Sync check", kStartSurfaceAndroid_CandidateA_SyncCheck, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2421 | std::size(kStartSurfaceAndroid_CandidateA_SyncCheck), nullptr}, |
Xi Han | 5f2854c1 | 2022-07-29 15:54:56 | [diff] [blame] | 2422 | {"Candidate A + Sign in promo backgrounded time limit", |
spdonghao | a8b196c | 2021-09-15 18:37:01 | [diff] [blame] | 2423 | kStartSurfaceAndroid_CandidateA_SigninPromoTimeLimit, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2424 | std::size(kStartSurfaceAndroid_CandidateA_SigninPromoTimeLimit), nullptr}, |
Xi Han | 5f2854c1 | 2022-07-29 15:54:56 | [diff] [blame] | 2425 | {"Candidate B", kStartSurfaceAndroid_CandidateB, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2426 | std::size(kStartSurfaceAndroid_CandidateB), nullptr}, |
Xi Han | 5f2854c1 | 2022-07-29 15:54:56 | [diff] [blame] | 2427 | {"Candidate B + Always show Incognito icon", |
Side Yilmaz | a57553f9 | 2022-03-25 15:02:46 | [diff] [blame] | 2428 | kStartSurfaceAndroid_CandidateB_AlwaysShowIncognito, |
| 2429 | std::size(kStartSurfaceAndroid_CandidateB_AlwaysShowIncognito), nullptr}, |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 2430 | {"Single Surface", kStartSurfaceAndroid_SingleSurface, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2431 | std::size(kStartSurfaceAndroid_SingleSurface), nullptr}, |
Xi Han | dbe10bc0 | 2021-04-06 17:37:58 | [diff] [blame] | 2432 | }; |
Yue Zhang | 922416a | 2020-05-12 00:20:45 | [diff] [blame] | 2433 | |
Xinyi Ji | 1f663ab | 2023-06-12 18:27:20 | [diff] [blame] | 2434 | const FeatureEntry::FeatureParam kSurfacePolish_polish_omnibox_size[] = { |
| 2435 | {"polish_omnibox_size", "true"}, |
| 2436 | {"polish_omnibox_color", "false"}}; |
| 2437 | |
| 2438 | const FeatureEntry::FeatureParam |
| 2439 | kSurfacePolish_polish_omnibox_size_and_color[] = { |
| 2440 | {"polish_omnibox_size", "true"}, |
| 2441 | {"polish_omnibox_color", "true"}}; |
| 2442 | |
Xi Han | d1b7e26 | 2023-06-15 12:34:55 | [diff] [blame] | 2443 | const FeatureEntry::FeatureParam kSurfacePolish_use_magic_space[] = { |
| 2444 | {"polish_omnibox_size", "true"}, |
| 2445 | {"polish_omnibox_color", "true"}, |
| 2446 | {"use_magic_space", "true"}}; |
| 2447 | |
Xinyi Ji | 1f663ab | 2023-06-12 18:27:20 | [diff] [blame] | 2448 | const FeatureEntry::FeatureVariation kSurfacePolishVariations[] = { |
| 2449 | {"Polish omnibox size", kSurfacePolish_polish_omnibox_size, |
| 2450 | std::size(kSurfacePolish_polish_omnibox_size), nullptr}, |
| 2451 | {"Polish omnibox size and color", |
| 2452 | kSurfacePolish_polish_omnibox_size_and_color, |
| 2453 | std::size(kSurfacePolish_polish_omnibox_size_and_color), nullptr}, |
Xi Han | d1b7e26 | 2023-06-15 12:34:55 | [diff] [blame] | 2454 | {"Use magic space", kSurfacePolish_use_magic_space, |
| 2455 | std::size(kSurfacePolish_use_magic_space), nullptr}, |
Xinyi Ji | 1f663ab | 2023-06-12 18:27:20 | [diff] [blame] | 2456 | }; |
| 2457 | |
Xi Han | 8e1b245 | 2022-05-26 15:43:16 | [diff] [blame] | 2458 | const FeatureEntry::FeatureParam kFeedPositionAndroid_push_down_feed_small[] = { |
| 2459 | {"push_down_feed_small", "true"}}; |
| 2460 | |
| 2461 | const FeatureEntry::FeatureParam kFeedPositionAndroid_push_down_feed_large[] = { |
| 2462 | {"push_down_feed_large", "true"}}; |
| 2463 | |
| 2464 | const FeatureEntry::FeatureParam kFeedPositionAndroid_pull_up_feed[] = { |
| 2465 | {"pull_up_feed", "true"}}; |
| 2466 | |
spdonghao | 1891d9e | 2022-07-08 04:08:43 | [diff] [blame] | 2467 | const FeatureEntry::FeatureParam |
| 2468 | kFeedPositionAndroid_push_down_feed_large_target_feed_active[] = { |
| 2469 | {"push_down_feed_large", "true"}, |
| 2470 | {"feed_active_targeting", "active"}}; |
| 2471 | |
| 2472 | const FeatureEntry::FeatureParam |
| 2473 | kFeedPositionAndroid_push_down_feed_large_target_non_feed_active[] = { |
| 2474 | {"push_down_feed_large", "true"}, |
| 2475 | {"feed_active_targeting", "non-active"}}; |
| 2476 | |
| 2477 | const FeatureEntry::FeatureParam |
| 2478 | kFeedPositionAndroid_pull_up_feed_target_feed_active[] = { |
| 2479 | {"pull_up_feed", "true"}, |
| 2480 | {"feed_active_targeting", "active"}}; |
| 2481 | |
| 2482 | const FeatureEntry::FeatureParam |
| 2483 | kFeedPositionAndroid_pull_up_feed_target_non_feed_active[] = { |
| 2484 | {"pull_up_feed", "true"}, |
| 2485 | {"feed_active_targeting", "non-active"}}; |
| 2486 | |
Xi Han | 8e1b245 | 2022-05-26 15:43:16 | [diff] [blame] | 2487 | const FeatureEntry::FeatureVariation kFeedPositionAndroidVariations[] = { |
| 2488 | {"Push down Feed (small)", kFeedPositionAndroid_push_down_feed_small, |
| 2489 | std::size(kFeedPositionAndroid_push_down_feed_small), nullptr}, |
| 2490 | {"Push down Feed (large)", kFeedPositionAndroid_push_down_feed_large, |
| 2491 | std::size(kFeedPositionAndroid_push_down_feed_large), nullptr}, |
| 2492 | {"Pull up Feed", kFeedPositionAndroid_pull_up_feed, |
| 2493 | std::size(kFeedPositionAndroid_pull_up_feed), nullptr}, |
spdonghao | 1891d9e | 2022-07-08 04:08:43 | [diff] [blame] | 2494 | {"Push down Feed (large) with targeting Feed active users", |
| 2495 | kFeedPositionAndroid_push_down_feed_large_target_feed_active, |
| 2496 | std::size(kFeedPositionAndroid_push_down_feed_large_target_feed_active), |
| 2497 | nullptr}, |
| 2498 | {"Push down Feed (large) with targeting non-Feed active users", |
| 2499 | kFeedPositionAndroid_push_down_feed_large_target_non_feed_active, |
| 2500 | std::size( |
| 2501 | kFeedPositionAndroid_push_down_feed_large_target_non_feed_active), |
| 2502 | nullptr}, |
| 2503 | {"Pull up Feed with targeting Feed active users", |
| 2504 | kFeedPositionAndroid_pull_up_feed_target_feed_active, |
| 2505 | std::size(kFeedPositionAndroid_pull_up_feed_target_feed_active), nullptr}, |
| 2506 | {"Pull up Feed with targeting non-Feed active users", |
| 2507 | kFeedPositionAndroid_pull_up_feed_target_non_feed_active, |
| 2508 | std::size(kFeedPositionAndroid_pull_up_feed_target_non_feed_active), |
| 2509 | nullptr}, |
Xi Han | 8e1b245 | 2022-05-26 15:43:16 | [diff] [blame] | 2510 | }; |
| 2511 | |
Xi Han | 502b089 | 2022-07-06 18:22:16 | [diff] [blame] | 2512 | const FeatureEntry::FeatureParam kSearchResumption_use_new_service[] = { |
| 2513 | {"use_new_service", "true"}}; |
| 2514 | const FeatureEntry::FeatureVariation |
| 2515 | kSearchResumptionModuleAndroidVariations[] = { |
| 2516 | {"Use New Service", kSearchResumption_use_new_service, |
| 2517 | std::size(kSearchResumption_use_new_service), nullptr}, |
| 2518 | }; |
| 2519 | |
Shakti Sahu | e6d6fdd | 2022-02-05 02:29:06 | [diff] [blame] | 2520 | const FeatureEntry::FeatureParam kFeatureNotificationGuide_low_engaged[] = { |
| 2521 | {"enable_feature_incognito_tab", "true"}, |
| 2522 | {"enable_feature_ntp_suggestion_card", "true"}, |
| 2523 | {"enable_feature_voice_search", "true"}}; |
| 2524 | |
| 2525 | const FeatureEntry::FeatureParam kFeatureNotificationGuide_default_browser[] = { |
| 2526 | {"enable_feature_default_browser", "true"}}; |
| 2527 | |
| 2528 | const FeatureEntry::FeatureVariation kFeatureNotificationGuideVariations[] = { |
| 2529 | {"Low engaged users", kFeatureNotificationGuide_low_engaged, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2530 | std::size(kFeatureNotificationGuide_low_engaged), nullptr}, |
Shakti Sahu | e6d6fdd | 2022-02-05 02:29:06 | [diff] [blame] | 2531 | {"Default browser", kFeatureNotificationGuide_default_browser, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2532 | std::size(kFeatureNotificationGuide_default_browser), nullptr}, |
Shakti Sahu | e6d6fdd | 2022-02-05 02:29:06 | [diff] [blame] | 2533 | }; |
Salvador Guerrero | 4d5ff6e6 | 2022-03-24 00:03:20 | [diff] [blame] | 2534 | |
| 2535 | const FeatureEntry::FeatureParam |
Salvador Guerrero | 4d5ff6e6 | 2022-03-24 00:03:20 | [diff] [blame] | 2536 | kNotificationPermissionRationale_show_dialog_next_start[] = { |
| 2537 | {"always_show_rationale_before_requesting_permission", "true"}, |
Salvador Guerrero | 4d5ff6e6 | 2022-03-24 00:03:20 | [diff] [blame] | 2538 | {"permission_request_interval_days", "0"}, |
| 2539 | }; |
| 2540 | |
| 2541 | const FeatureEntry::FeatureVariation |
| 2542 | kNotificationPermissionRationaleVariations[] = { |
Salvador Guerrero | 0af3699 | 2023-01-23 20:46:47 | [diff] [blame] | 2543 | {"- Show rationale UI on next startup", |
Salvador Guerrero | 4d5ff6e6 | 2022-03-24 00:03:20 | [diff] [blame] | 2544 | kNotificationPermissionRationale_show_dialog_next_start, |
| 2545 | std::size(kNotificationPermissionRationale_show_dialog_next_start), |
| 2546 | nullptr}, |
Salvador Guerrero | 4d5ff6e6 | 2022-03-24 00:03:20 | [diff] [blame] | 2547 | }; |
| 2548 | |
Pete Williamson | 7c87815 | 2021-07-01 00:50:38 | [diff] [blame] | 2549 | const FeatureEntry::FeatureParam kWebFeed_accelerator[] = { |
Carlos Knippschild | f727bc3 | 2021-07-26 21:34:08 | [diff] [blame] | 2550 | {"intro_style", "accelerator"}}; |
Pete Williamson | 7c87815 | 2021-07-01 00:50:38 | [diff] [blame] | 2551 | |
Carlos Knippschild | f727bc3 | 2021-07-26 21:34:08 | [diff] [blame] | 2552 | const FeatureEntry::FeatureParam kWebFeed_IPH[] = {{"intro_style", "IPH"}}; |
Pete Williamson | 7c87815 | 2021-07-01 00:50:38 | [diff] [blame] | 2553 | |
| 2554 | const FeatureEntry::FeatureVariation kWebFeedVariations[] = { |
| 2555 | {"accelerator recommendations", kWebFeed_accelerator, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2556 | std::size(kWebFeed_accelerator), nullptr}, |
| 2557 | {"IPH recommendations", kWebFeed_IPH, std::size(kWebFeed_IPH), nullptr}, |
Pete Williamson | 7c87815 | 2021-07-01 00:50:38 | [diff] [blame] | 2558 | }; |
| 2559 | |
Pete Williamson | 564dee2 | 2022-05-02 18:14:37 | [diff] [blame] | 2560 | const FeatureEntry::FeatureParam kWebFeedAwareness_new_animation[] = { |
Cathy Li | 21473c2 | 2022-09-22 00:11:14 | [diff] [blame] | 2561 | {"awareness_style", "new_animation"}}; |
Cathy Li | 9f8e10a | 2022-10-14 02:15:14 | [diff] [blame] | 2562 | const FeatureEntry::FeatureParam kWebFeedAwareness_new_animation_no_limit[] = { |
| 2563 | {"awareness_style", "new_animation_no_limit"}}; |
Pete Williamson | 564dee2 | 2022-05-02 18:14:37 | [diff] [blame] | 2564 | |
| 2565 | const FeatureEntry::FeatureParam kWebFeedAwareness_IPH[] = { |
| 2566 | {"awareness_style", "IPH"}}; |
| 2567 | |
| 2568 | const FeatureEntry::FeatureVariation kWebFeedAwarenessVariations[] = { |
| 2569 | {"new animation", kWebFeedAwareness_new_animation, |
| 2570 | std::size(kWebFeedAwareness_new_animation), nullptr}, |
Cathy Li | 9f8e10a | 2022-10-14 02:15:14 | [diff] [blame] | 2571 | {"new animation rate limit off", kWebFeedAwareness_new_animation_no_limit, |
| 2572 | std::size(kWebFeedAwareness_new_animation_no_limit), nullptr}, |
Pete Williamson | 564dee2 | 2022-05-02 18:14:37 | [diff] [blame] | 2573 | {"IPH and dot", kWebFeedAwareness_IPH, std::size(kWebFeedAwareness_IPH), |
| 2574 | nullptr}, |
| 2575 | }; |
| 2576 | |
Ian Wells | 6cf75a8 | 2022-07-13 02:11:02 | [diff] [blame] | 2577 | const FeatureEntry::FeatureParam kFeedCloseRefresh_Open[] = { |
| 2578 | {"require_interaction", "false"}}; |
| 2579 | |
| 2580 | const FeatureEntry::FeatureParam kFeedCloseRefresh_Interact[] = { |
| 2581 | {"require_interaction", "true"}}; |
| 2582 | |
| 2583 | const FeatureEntry::FeatureVariation kFeedCloseRefreshVariations[] = { |
| 2584 | {"Open", kFeedCloseRefresh_Open, std::size(kFeedCloseRefresh_Open), |
| 2585 | nullptr}, |
| 2586 | {"Interact", kFeedCloseRefresh_Interact, |
| 2587 | std::size(kFeedCloseRefresh_Interact), nullptr}, |
| 2588 | }; |
| 2589 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2590 | #endif // BUILDFLAG(IS_ANDROID) |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 2591 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2592 | #if BUILDFLAG(IS_ANDROID) |
Shakti Sahu | 1c04a287 | 2021-03-17 16:38:48 | [diff] [blame] | 2593 | const FeatureEntry::FeatureParam kAddToHomescreen_UseTextBubble[] = { |
| 2594 | {"use_text_bubble", "true"}}; |
| 2595 | const FeatureEntry::FeatureParam kAddToHomescreen_UseMessage[] = { |
| 2596 | {"use_message", "true"}}; |
| 2597 | |
| 2598 | const FeatureEntry::FeatureVariation kAddToHomescreenIPHVariations[] = { |
| 2599 | {"Use Text Bubble", kAddToHomescreen_UseTextBubble, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2600 | std::size(kAddToHomescreen_UseTextBubble), nullptr}, |
Shakti Sahu | 1c04a287 | 2021-03-17 16:38:48 | [diff] [blame] | 2601 | {"Use Message", kAddToHomescreen_UseMessage, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2602 | std::size(kAddToHomescreen_UseMessage), nullptr}}; |
Shakti Sahu | 1c04a287 | 2021-03-17 16:38:48 | [diff] [blame] | 2603 | #endif |
| 2604 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2605 | #if BUILDFLAG(IS_ANDROID) |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 2606 | const FeatureEntry::FeatureParam |
| 2607 | kAutofillUseMobileLabelDisambiguationShowAll[] = { |
| 2608 | {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName, |
| 2609 | autofill::features:: |
| 2610 | kAutofillUseMobileLabelDisambiguationParameterShowAll}}; |
| 2611 | const FeatureEntry::FeatureParam |
| 2612 | kAutofillUseMobileLabelDisambiguationShowOne[] = { |
| 2613 | {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName, |
| 2614 | autofill::features:: |
| 2615 | kAutofillUseMobileLabelDisambiguationParameterShowOne}}; |
| 2616 | |
| 2617 | const FeatureEntry::FeatureVariation |
| 2618 | kAutofillUseMobileLabelDisambiguationVariations[] = { |
| 2619 | {"(show all)", kAutofillUseMobileLabelDisambiguationShowAll, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2620 | std::size(kAutofillUseMobileLabelDisambiguationShowAll), nullptr}, |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 2621 | {"(show one)", kAutofillUseMobileLabelDisambiguationShowOne, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2622 | std::size(kAutofillUseMobileLabelDisambiguationShowOne), nullptr}}; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2623 | #endif // BUILDFLAG(IS_ANDROID) |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 2624 | |
Christian Dullweber | 9c02023 | 2023-06-06 07:44:28 | [diff] [blame] | 2625 | constexpr FeatureEntry::FeatureParam kStorageAccessAPI_WithPrompt[] = { |
| 2626 | {"storage_access_api_auto_deny_outside_fps", "false"}}; |
| 2627 | |
| 2628 | const FeatureEntry::FeatureVariation kStorageAccessAPIVariations[] = { |
| 2629 | {"(with prompt)", kStorageAccessAPI_WithPrompt, |
| 2630 | std::size(kStorageAccessAPI_WithPrompt), nullptr}}; |
| 2631 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2632 | #if BUILDFLAG(IS_ANDROID) |
Yu Su | 49408c0 | 2021-03-12 02:04:13 | [diff] [blame] | 2633 | const FeatureEntry::FeatureParam kLensCameraAssistedSearchLensButtonStart[] = { |
| 2634 | {"searchBoxStartVariantForLensCameraAssistedSearch", "true"}}; |
| 2635 | |
| 2636 | const FeatureEntry::FeatureParam kLensCameraAssistedSearchLensButtonEnd[] = { |
| 2637 | {"searchBoxStartVariantForLensCameraAssistedSearch", "false"}}; |
| 2638 | |
Yu Su | 438965c | 2021-07-13 23:11:59 | [diff] [blame] | 2639 | const FeatureEntry::FeatureParam |
| 2640 | kLensCameraAssistedSkipAgsaVersionCheckEnabled[] = { |
| 2641 | {"skipAgsaVersionCheck", "true"}}; |
| 2642 | |
| 2643 | const FeatureEntry::FeatureParam |
| 2644 | kLensCameraAssistedSkipAgsaVersionCheckDisabled[] = { |
| 2645 | {"skipAgsaVersionCheck", "false"}}; |
| 2646 | |
Yu Su | 42a4ea6 | 2022-04-05 19:59:04 | [diff] [blame] | 2647 | const FeatureEntry::FeatureParam kLensCameraAssistedSearchOnTablet[] = { |
| 2648 | {"enableCameraAssistedSearchOnTablet", "true"}}; |
| 2649 | |
Yu Su | 49408c0 | 2021-03-12 02:04:13 | [diff] [blame] | 2650 | const FeatureEntry::FeatureVariation kLensCameraAssistedSearchVariations[] = { |
| 2651 | {"(Lens then Mic)", kLensCameraAssistedSearchLensButtonStart, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2652 | std::size(kLensCameraAssistedSearchLensButtonStart), nullptr}, |
Yu Su | 49408c0 | 2021-03-12 02:04:13 | [diff] [blame] | 2653 | {"(Mic then Lens)", kLensCameraAssistedSearchLensButtonEnd, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2654 | std::size(kLensCameraAssistedSearchLensButtonEnd), nullptr}, |
Yu Su | 438965c | 2021-07-13 23:11:59 | [diff] [blame] | 2655 | {"(without AGSA version check)", |
| 2656 | kLensCameraAssistedSkipAgsaVersionCheckEnabled, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2657 | std::size(kLensCameraAssistedSkipAgsaVersionCheckEnabled), nullptr}, |
Yu Su | 438965c | 2021-07-13 23:11:59 | [diff] [blame] | 2658 | {"(with AGSA version check )", |
| 2659 | kLensCameraAssistedSkipAgsaVersionCheckDisabled, |
Yu Su | 42a4ea6 | 2022-04-05 19:59:04 | [diff] [blame] | 2660 | std::size(kLensCameraAssistedSkipAgsaVersionCheckDisabled), nullptr}, |
| 2661 | {"(on Tablet)", kLensCameraAssistedSearchOnTablet, |
| 2662 | std::size(kLensCameraAssistedSearchOnTablet), nullptr}}; |
Yu Su | 49408c0 | 2021-03-12 02:04:13 | [diff] [blame] | 2663 | |
Yu Su | e1281339 | 2022-02-15 19:26:25 | [diff] [blame] | 2664 | const FeatureEntry::FeatureParam kLensContextMenuSearchOnTablet[] = { |
| 2665 | {"enableContextMenuSearchOnTablet", "true"}}; |
| 2666 | |
| 2667 | const FeatureEntry::FeatureVariation kLensContextMenuSearchVariations[] = { |
| 2668 | {"(on Tablet)", kLensContextMenuSearchOnTablet, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2669 | std::size(kLensContextMenuSearchOnTablet), nullptr}, |
Yu Su | e1281339 | 2022-02-15 19:26:25 | [diff] [blame] | 2670 | }; |
| 2671 | |
Anudeep Palanki | c903c59e | 2023-01-26 16:46:55 | [diff] [blame] | 2672 | const FeatureEntry::FeatureParam kContextMenuSearchImageWithGoogle[] = { |
| 2673 | {"useLensContextMenuAlternateText1", "true"}}; |
| 2674 | |
| 2675 | const FeatureEntry::FeatureParam kContextMenuSearchInsideImageWithGoogle[] = { |
| 2676 | {"useLensContextMenuAlternateText2", "true"}}; |
| 2677 | |
| 2678 | const FeatureEntry::FeatureVariation |
| 2679 | kContextMenuGoogleLensSearchOptimizationVariations[] = { |
| 2680 | {"Context Menu: Search image With Google", |
| 2681 | kContextMenuSearchImageWithGoogle, |
| 2682 | std::size(kContextMenuSearchImageWithGoogle), nullptr}, |
| 2683 | {"Context Menu: Search inside image With Google", |
| 2684 | kContextMenuSearchInsideImageWithGoogle, |
| 2685 | std::size(kContextMenuSearchInsideImageWithGoogle), nullptr}, |
| 2686 | }; |
| 2687 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2688 | #endif // BUILDFLAG(IS_ANDROID) |
Yu Su | 50dfedd5 | 2020-06-19 02:34:49 | [diff] [blame] | 2689 | |
Xing Liu | 1919ec23 | 2019-07-22 20:38:04 | [diff] [blame] | 2690 | const FeatureEntry::Choice kNotificationSchedulerChoices[] = { |
| 2691 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2692 | {flag_descriptions:: |
| 2693 | kNotificationSchedulerImmediateBackgroundTaskDescription, |
| 2694 | notifications::switches::kNotificationSchedulerImmediateBackgroundTask, |
| 2695 | ""}, |
| 2696 | }; |
| 2697 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2698 | #if BUILDFLAG(IS_ANDROID) |
Theresa Wellington | c412e9b | 2019-09-23 18:16:30 | [diff] [blame] | 2699 | |
Gang Wu | 1044e8c | 2022-09-15 00:26:16 | [diff] [blame] | 2700 | const FeatureEntry::FeatureParam |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2701 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallMargin[] = { |
Gang Wu | 1044e8c | 2022-09-15 00:26:16 | [diff] [blame] | 2702 | {"enable_modernize_visual_update_on_tablet", "false"}, |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2703 | {"modernize_visual_update_active_color_on_omnibox", "true"}, |
| 2704 | {"modernize_visual_update_small_bottom_margin", "true"}}; |
Gang Wu | 1044e8c | 2022-09-15 00:26:16 | [diff] [blame] | 2705 | |
| 2706 | const FeatureEntry::FeatureParam |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2707 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallerMarginsMergeClipboard[] = |
| 2708 | {{"enable_modernize_visual_update_on_tablet", "false"}, |
| 2709 | {"modernize_visual_update_active_color_on_omnibox", "true"}, |
| 2710 | {"modernize_visual_update_smaller_margins", "true"}, |
| 2711 | {"modernize_visual_update_merge_clipboard_on_ntp", "true"}}; |
| 2712 | |
| 2713 | const FeatureEntry::FeatureParam |
| 2714 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallestMargins[] = { |
Gang Wu | 1044e8c | 2022-09-15 00:26:16 | [diff] [blame] | 2715 | {"enable_modernize_visual_update_on_tablet", "false"}, |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2716 | {"modernize_visual_update_active_color_on_omnibox", "true"}, |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2717 | {"modernize_visual_update_smallest_margins", "true"}, |
| 2718 | {"modernize_visual_update_merge_clipboard_on_ntp", "false"}}; |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2719 | |
| 2720 | const FeatureEntry::FeatureParam |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2721 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallestMarginsMergeClipboard[] = |
| 2722 | {{"enable_modernize_visual_update_on_tablet", "false"}, |
| 2723 | {"modernize_visual_update_active_color_on_omnibox", "true"}, |
| 2724 | {"modernize_visual_update_smallest_margins", "true"}, |
| 2725 | {"modernize_visual_update_merge_clipboard_on_ntp", "true"}}; |
Gang Wu | 684ddf5 | 2022-08-17 18:09:04 | [diff] [blame] | 2726 | |
| 2727 | const FeatureEntry::FeatureParam kOmniboxModernizeVisualUpdateIncludeTablets[] = |
| 2728 | {{"enable_modernize_visual_update_on_tablet", "true"}}; |
| 2729 | |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2730 | const FeatureEntry::FeatureVariation kOmniboxModernizeVisualUpdateVariations[] = { |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2731 | {"(Small vertical margin)", |
| 2732 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallMargin, |
| 2733 | std::size(kOmniboxModernizeVisualUpdateExcludeTabletsSmallMargin), |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2734 | nullptr}, |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2735 | {"(Smaller margins, merge clipboard)", |
| 2736 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallerMarginsMergeClipboard, |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2737 | std::size( |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2738 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallerMarginsMergeClipboard), |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2739 | nullptr}, |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2740 | {"(Smallest margins, merge clipboard)", |
| 2741 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallestMarginsMergeClipboard, |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2742 | std::size( |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2743 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallestMarginsMergeClipboard), |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2744 | nullptr}, |
Patrick Noland | 7a51d50 | 2023-04-20 20:37:29 | [diff] [blame] | 2745 | {"(Smallest margins, don't merge clipboard)", |
| 2746 | kOmniboxModernizeVisualUpdateExcludeTabletsSmallestMargins, |
| 2747 | std::size(kOmniboxModernizeVisualUpdateExcludeTabletsSmallestMargins), |
Gang Wu | dc506f60 | 2022-10-14 17:48:57 | [diff] [blame] | 2748 | nullptr}, |
| 2749 | {"(Tablet)", kOmniboxModernizeVisualUpdateIncludeTablets, |
| 2750 | std::size(kOmniboxModernizeVisualUpdateIncludeTablets), nullptr}, |
Gang Wu | 684ddf5 | 2022-08-17 18:09:04 | [diff] [blame] | 2751 | }; |
| 2752 | |
Finnur Thorarinsson | 4e43a085 | 2023-03-23 09:20:02 | [diff] [blame] | 2753 | const FeatureEntry::FeatureParam kPhotoPickerAdoptionStudyActionGetContent[] = { |
| 2754 | {"use_action_get_content", "true"}}; |
| 2755 | const FeatureEntry::FeatureParam kPhotoPickerAdoptionStudyActionPickImages[] = { |
| 2756 | {"use_action_pick_images", "true"}}; |
| 2757 | const FeatureEntry::FeatureParam |
| 2758 | kPhotoPickerAdoptionStudyActionPickImagesPlus[] = { |
| 2759 | {"use_action_pick_images_plus", "true"}}; |
| 2760 | const FeatureEntry::FeatureParam |
| 2761 | kPhotoPickerAdoptionStudyChromePickerWithoutBrowse[] = { |
| 2762 | {"chrome_picker_suppress_browse", "true"}}; |
| 2763 | |
| 2764 | const FeatureEntry::FeatureVariation |
| 2765 | kPhotoPickerAdoptionStudyFeatureVariations[] = { |
| 2766 | {"(Android Picker w/ACTION_GET_CONTENT)", |
| 2767 | kPhotoPickerAdoptionStudyActionGetContent, |
| 2768 | std::size(kPhotoPickerAdoptionStudyActionGetContent), nullptr}, |
| 2769 | {"(Android Picker w/ACTION_PICK_IMAGES)", |
| 2770 | kPhotoPickerAdoptionStudyActionPickImages, |
| 2771 | std::size(kPhotoPickerAdoptionStudyActionPickImages), nullptr}, |
| 2772 | {"(Android Picker w/ACTION_PICK_IMAGES Plus)", |
| 2773 | kPhotoPickerAdoptionStudyActionPickImagesPlus, |
| 2774 | std::size(kPhotoPickerAdoptionStudyActionPickImagesPlus), nullptr}, |
| 2775 | {"(Chrome Picker without Browse)", |
| 2776 | kPhotoPickerAdoptionStudyChromePickerWithoutBrowse, |
| 2777 | std::size(kPhotoPickerAdoptionStudyChromePickerWithoutBrowse), |
| 2778 | nullptr}}; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2779 | #endif // BUILDFLAG(IS_ANDROID) |
Brandon Wylie | b57a5dc | 2019-08-14 02:13:11 | [diff] [blame] | 2780 | |
Mingyu Lei | f208fa2 | 2022-09-08 04:10:49 | [diff] [blame] | 2781 | // TODO(crbug.com/991082,1015377): Remove after proper support for back/forward |
Arthur Hemery | 2fbd78e | 2019-10-17 18:31:19 | [diff] [blame] | 2782 | // cache is implemented. |
Alexander Timin | 45cc3fe | 2019-11-15 22:54:16 | [diff] [blame] | 2783 | const FeatureEntry::FeatureParam kBackForwardCache_ForceCaching[] = { |
| 2784 | {"TimeToLiveInBackForwardCacheInSeconds", "300"}, |
Mingyu Lei | f208fa2 | 2022-09-08 04:10:49 | [diff] [blame] | 2785 | {"should_ignore_blocklists", "true"}}; |
Alexander Timin | 6d24bd2f | 2019-09-17 19:52:03 | [diff] [blame] | 2786 | |
| 2787 | const FeatureEntry::FeatureVariation kBackForwardCacheVariations[] = { |
Rakina Zata Amni | 95a2a91d | 2020-07-14 12:41:44 | [diff] [blame] | 2788 | {"force caching all pages (experimental)", kBackForwardCache_ForceCaching, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2789 | std::size(kBackForwardCache_ForceCaching), nullptr}, |
Alexander Timin | 6d24bd2f | 2019-09-17 19:52:03 | [diff] [blame] | 2790 | }; |
| 2791 | |
Rakina Zata Amni | bd37a57 | 2023-06-14 09:58:16 | [diff] [blame] | 2792 | const FeatureEntry::FeatureParam kRenderDocument_Subframe[] = { |
| 2793 | {"level", "subframe"}}; |
| 2794 | const FeatureEntry::FeatureParam kRenderDocument_AllFrames[] = { |
| 2795 | {"level", "all-frames"}}; |
| 2796 | |
| 2797 | const FeatureEntry::FeatureVariation kRenderDocumentVariations[] = { |
| 2798 | {"Swap RenderFrameHosts on same-site navigations from subframes and " |
| 2799 | "crashed frames (experimental)", |
| 2800 | kRenderDocument_Subframe, std::size(kRenderDocument_Subframe), nullptr}, |
| 2801 | {"Swap RenderFrameHosts on same-site navigations from any frame " |
| 2802 | "(experimental)", |
| 2803 | kRenderDocument_AllFrames, std::size(kRenderDocument_AllFrames), nullptr}, |
| 2804 | }; |
| 2805 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2806 | #if BUILDFLAG(IS_ANDROID) |
Yi Gu | 13cc724 | 2020-12-10 03:23:37 | [diff] [blame] | 2807 | const FeatureEntry::Choice kWebOtpBackendChoices[] = { |
| 2808 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2809 | {flag_descriptions::kWebOtpBackendSmsVerification, switches::kWebOtpBackend, |
| 2810 | switches::kWebOtpBackendSmsVerification}, |
| 2811 | {flag_descriptions::kWebOtpBackendUserConsent, switches::kWebOtpBackend, |
| 2812 | switches::kWebOtpBackendUserConsent}, |
| 2813 | {flag_descriptions::kWebOtpBackendAuto, switches::kWebOtpBackend, |
| 2814 | switches::kWebOtpBackendAuto}, |
Ayu Ishii | dbdd5c9 | 2020-03-20 23:40:52 | [diff] [blame] | 2815 | }; |
Xing Liu | 06f2fa0 | 2020-04-30 02:45:19 | [diff] [blame] | 2816 | |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2817 | const FeatureEntry::Choice kQueryTilesCountryChoices[] = { |
| 2818 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2819 | {flag_descriptions::kQueryTilesCountryCodeUS, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2820 | query_tiles::switches::kQueryTilesCountryCode, "US"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2821 | {flag_descriptions::kQueryTilesCountryCodeIndia, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2822 | query_tiles::switches::kQueryTilesCountryCode, "IN"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2823 | {flag_descriptions::kQueryTilesCountryCodeBrazil, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2824 | query_tiles::switches::kQueryTilesCountryCode, "BR"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2825 | {flag_descriptions::kQueryTilesCountryCodeNigeria, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2826 | query_tiles::switches::kQueryTilesCountryCode, "NG"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2827 | {flag_descriptions::kQueryTilesCountryCodeIndonesia, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 2828 | query_tiles::switches::kQueryTilesCountryCode, "ID"}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 2829 | }; |
Xing Liu | 06f2fa0 | 2020-04-30 02:45:19 | [diff] [blame] | 2830 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2831 | #endif // BUILDFLAG(IS_ANDROID) |
Ayu Ishii | dbdd5c9 | 2020-03-20 23:40:52 | [diff] [blame] | 2832 | |
Lily Chen | 17c5797 | 2020-04-22 19:27:44 | [diff] [blame] | 2833 | // The choices for --enable-experimental-cookie-features. This really should |
| 2834 | // just be a SINGLE_VALUE_TYPE, but it is misleading to have the choices be |
| 2835 | // labeled "Disabled"/"Enabled". So instead this is made to be a |
| 2836 | // MULTI_VALUE_TYPE with choices "Default"/"Enabled". |
| 2837 | const FeatureEntry::Choice kEnableExperimentalCookieFeaturesChoices[] = { |
| 2838 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 2839 | {flags_ui::kGenericExperimentChoiceEnabled, |
| 2840 | switches::kEnableExperimentalCookieFeatures, ""}, |
| 2841 | }; |
| 2842 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 2843 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
yjliu | 8f78e8b | 2020-07-22 20:51:21 | [diff] [blame] | 2844 | const FeatureEntry::Choice kFrameThrottleFpsChoices[] = { |
| 2845 | {flag_descriptions::kFrameThrottleFpsDefault, "", ""}, |
| 2846 | {flag_descriptions::kFrameThrottleFps5, ash::switches::kFrameThrottleFps, |
| 2847 | "5"}, |
| 2848 | {flag_descriptions::kFrameThrottleFps10, ash::switches::kFrameThrottleFps, |
| 2849 | "10"}, |
| 2850 | {flag_descriptions::kFrameThrottleFps15, ash::switches::kFrameThrottleFps, |
| 2851 | "15"}, |
| 2852 | {flag_descriptions::kFrameThrottleFps20, ash::switches::kFrameThrottleFps, |
| 2853 | "20"}, |
| 2854 | {flag_descriptions::kFrameThrottleFps25, ash::switches::kFrameThrottleFps, |
| 2855 | "25"}, |
| 2856 | {flag_descriptions::kFrameThrottleFps30, ash::switches::kFrameThrottleFps, |
| 2857 | "30"}}; |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 2858 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
yjliu | 8f78e8b | 2020-07-22 20:51:21 | [diff] [blame] | 2859 | |
Joao Victor Almeida | 947a3c7c | 2021-07-29 23:44:36 | [diff] [blame] | 2860 | const FeatureEntry::FeatureParam kDrawPredictedPointExperiment1Point12Ms[] = { |
| 2861 | {"predicted_points", features::kDraw1Point12Ms}}; |
| 2862 | const FeatureEntry::FeatureParam kDrawPredictedPointExperiment2Points6Ms[] = { |
| 2863 | {"predicted_points", features::kDraw2Points6Ms}}; |
| 2864 | const FeatureEntry::FeatureParam kDrawPredictedPointExperiment1Point6Ms[] = { |
| 2865 | {"predicted_points", features::kDraw1Point6Ms}}; |
| 2866 | const FeatureEntry::FeatureParam kDrawPredictedPointExperiment2Points3Ms[] = { |
| 2867 | {"predicted_points", features::kDraw2Points3Ms}}; |
| 2868 | |
| 2869 | const FeatureEntry::FeatureVariation kDrawPredictedPointVariations[] = { |
Mario Bianucci | 3be046eb | 2021-02-26 18:41:48 | [diff] [blame] | 2870 | {flag_descriptions::kDraw1PredictedPoint12Ms, |
Joao Victor Almeida | 947a3c7c | 2021-07-29 23:44:36 | [diff] [blame] | 2871 | kDrawPredictedPointExperiment1Point12Ms, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2872 | std::size(kDrawPredictedPointExperiment1Point12Ms), nullptr}, |
Mario Bianucci | 3be046eb | 2021-02-26 18:41:48 | [diff] [blame] | 2873 | {flag_descriptions::kDraw2PredictedPoints6Ms, |
Joao Victor Almeida | 947a3c7c | 2021-07-29 23:44:36 | [diff] [blame] | 2874 | kDrawPredictedPointExperiment2Points6Ms, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2875 | std::size(kDrawPredictedPointExperiment2Points6Ms), nullptr}, |
Mario Bianucci | 3be046eb | 2021-02-26 18:41:48 | [diff] [blame] | 2876 | {flag_descriptions::kDraw1PredictedPoint6Ms, |
Joao Victor Almeida | 947a3c7c | 2021-07-29 23:44:36 | [diff] [blame] | 2877 | kDrawPredictedPointExperiment1Point6Ms, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2878 | std::size(kDrawPredictedPointExperiment1Point6Ms), nullptr}, |
Mario Bianucci | 3be046eb | 2021-02-26 18:41:48 | [diff] [blame] | 2879 | {flag_descriptions::kDraw2PredictedPoints3Ms, |
Joao Victor Almeida | 947a3c7c | 2021-07-29 23:44:36 | [diff] [blame] | 2880 | kDrawPredictedPointExperiment2Points3Ms, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2881 | std::size(kDrawPredictedPointExperiment2Points3Ms), nullptr}}; |
Mario Bianucci | 3be046eb | 2021-02-26 18:41:48 | [diff] [blame] | 2882 | |
Yi Gu | 99ea66c8 | 2022-03-10 22:04:44 | [diff] [blame] | 2883 | const FeatureEntry::FeatureParam kFedCmVariationIdpSignout[] = { |
| 2884 | {features::kFedCmIdpSignoutFieldTrialParamName, "true"}}; |
Peter Kotwicz | 980079f | 2021-12-02 07:18:34 | [diff] [blame] | 2885 | const FeatureEntry::FeatureVariation kFedCmFeatureVariations[] = { |
Yi Gu | 99ea66c8 | 2022-03-10 22:04:44 | [diff] [blame] | 2886 | {"- with FedCM IDP sign-out", kFedCmVariationIdpSignout, |
Peter Kotwicz | c3eee05 | 2022-05-03 20:40:21 | [diff] [blame] | 2887 | std::size(kFedCmVariationIdpSignout), nullptr}, |
Peter Kotwicz | c3eee05 | 2022-05-03 20:40:21 | [diff] [blame] | 2888 | }; |
Peter Kotwicz | 980079f | 2021-12-02 07:18:34 | [diff] [blame] | 2889 | |
mojahsu | 3144bf3 | 2021-05-26 10:14:46 | [diff] [blame] | 2890 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 2891 | const FeatureEntry::Choice kForceControlFaceAeChoices[] = { |
| 2892 | {"Default", "", ""}, |
| 2893 | {"Enable", media::switches::kForceControlFaceAe, "enable"}, |
| 2894 | {"Disable", media::switches::kForceControlFaceAe, "disable"}}; |
Ricky Liang | a3e6a16 | 2021-08-16 07:43:14 | [diff] [blame] | 2895 | |
Ren-Pei Zeng | 61605a5 | 2021-12-06 13:07:48 | [diff] [blame] | 2896 | const FeatureEntry::Choice kAutoFramingOverrideChoices[] = { |
| 2897 | {"Default", "", ""}, |
| 2898 | {"Force enabled", media::switches::kAutoFramingOverride, |
| 2899 | media::switches::kAutoFramingForceEnabled}, |
| 2900 | {"Force disabled", media::switches::kAutoFramingOverride, |
| 2901 | media::switches::kAutoFramingForceDisabled}}; |
mojahsu | 3144bf3 | 2021-05-26 10:14:46 | [diff] [blame] | 2902 | #endif |
| 2903 | |
Fergus Dall | 9d0e95a | 2021-07-30 08:10:11 | [diff] [blame] | 2904 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 2905 | const FeatureEntry::Choice kCrostiniContainerChoices[] = { |
| 2906 | {"Default", "", ""}, |
Fergus Dall | 9d0e95a | 2021-07-30 08:10:11 | [diff] [blame] | 2907 | {"Buster", crostini::kCrostiniContainerFlag, "buster"}, |
| 2908 | {"Bullseye", crostini::kCrostiniContainerFlag, "bullseye"}, |
Timothy Loh | f12b0d2 | 2023-06-21 08:04:14 | [diff] [blame] | 2909 | {"Bookworm", crostini::kCrostiniContainerFlag, "bookworm"}, |
Fergus Dall | 9d0e95a | 2021-07-30 08:10:11 | [diff] [blame] | 2910 | }; |
| 2911 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 2912 | |
Jan Keitel | 7babdb5 | 2022-06-24 13:15:32 | [diff] [blame] | 2913 | #if BUILDFLAG(IS_ANDROID) |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 2914 | // The variations of --metrics-settings-android. |
| 2915 | const FeatureEntry::FeatureParam kMetricsSettingsAndroidAlternativeOne[] = { |
| 2916 | {"fre", "1"}}; |
| 2917 | |
| 2918 | const FeatureEntry::FeatureParam kMetricsSettingsAndroidAlternativeTwo[] = { |
| 2919 | {"fre", "2"}}; |
| 2920 | |
| 2921 | const FeatureEntry::FeatureVariation kMetricsSettingsAndroidVariations[] = { |
| 2922 | {"Alternative FRE 1", kMetricsSettingsAndroidAlternativeOne, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2923 | std::size(kMetricsSettingsAndroidAlternativeOne), nullptr}, |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 2924 | {"Alternative FRE 2", kMetricsSettingsAndroidAlternativeTwo, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2925 | std::size(kMetricsSettingsAndroidAlternativeTwo), nullptr}, |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 2926 | }; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2927 | #endif // BUILDFLAG(IS_ANDROID) |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 2928 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2929 | #if !BUILDFLAG(IS_ANDROID) |
Chris Thompson | 657d5c8 | 2020-10-08 23:04:10 | [diff] [blame] | 2930 | // SCT Auditing feature variations. |
| 2931 | const FeatureEntry::FeatureParam kSCTAuditingSamplingRateNone[] = { |
| 2932 | {"sampling_rate", "0.0"}}; |
| 2933 | const FeatureEntry::FeatureParam kSCTAuditingSamplingRateAlternativeOne[] = { |
| 2934 | {"sampling_rate", "0.0001"}}; |
| 2935 | const FeatureEntry::FeatureParam kSCTAuditingSamplingRateAlternativeTwo[] = { |
| 2936 | {"sampling_rate", "0.001"}}; |
| 2937 | |
| 2938 | const FeatureEntry::FeatureVariation kSCTAuditingVariations[] = { |
| 2939 | {"Sampling rate 0%", kSCTAuditingSamplingRateNone, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2940 | std::size(kSCTAuditingSamplingRateNone), nullptr}, |
Chris Thompson | 657d5c8 | 2020-10-08 23:04:10 | [diff] [blame] | 2941 | {"Sampling rate 0.01%", kSCTAuditingSamplingRateAlternativeOne, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2942 | std::size(kSCTAuditingSamplingRateAlternativeOne), nullptr}, |
Chris Thompson | 657d5c8 | 2020-10-08 23:04:10 | [diff] [blame] | 2943 | {"Sampling rate 0.1%", kSCTAuditingSamplingRateAlternativeTwo, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2944 | std::size(kSCTAuditingSamplingRateAlternativeTwo), nullptr}, |
Chris Thompson | 657d5c8 | 2020-10-08 23:04:10 | [diff] [blame] | 2945 | }; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2946 | #endif // !BUILDFLAG(IS_ANDROID) |
Chris Thompson | 657d5c8 | 2020-10-08 23:04:10 | [diff] [blame] | 2947 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2948 | #if BUILDFLAG(IS_ANDROID) |
Basia Zimirska | 12b7edca | 2021-08-09 17:24:46 | [diff] [blame] | 2949 | // The variations of ContentLanguagesInLanguagePicker. |
| 2950 | const FeatureEntry::FeatureParam |
| 2951 | kContentLanguagesInLanguagePickerDisableObservers[] = { |
| 2952 | {language::kContentLanguagesDisableObserversParam, "true"}}; |
| 2953 | |
| 2954 | const FeatureEntry::FeatureVariation |
| 2955 | kContentLanguagesInLanguaePickerVariations[] = { |
| 2956 | {"Without observers", kContentLanguagesInLanguagePickerDisableObservers, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2957 | std::size(kContentLanguagesInLanguagePickerDisableObservers), nullptr}, |
Basia Zimirska | 12b7edca | 2021-08-09 17:24:46 | [diff] [blame] | 2958 | }; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 2959 | #endif // BUILDFLAG(IS_ANDROID) |
Basia Zimirska | 12b7edca | 2021-08-09 17:24:46 | [diff] [blame] | 2960 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 2961 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
tby | 630ca62 | 2022-02-02 07:22:17 | [diff] [blame] | 2962 | const FeatureEntry::FeatureParam kProductivityLauncher_WithoutContinue[] = { |
| 2963 | {"enable_continue", "false"}}; |
| 2964 | |
| 2965 | const FeatureEntry::FeatureVariation kProductivityLauncherVariations[] = { |
| 2966 | {"without Continue", kProductivityLauncher_WithoutContinue, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 2967 | std::size(kProductivityLauncher_WithoutContinue), nullptr}}; |
tby | 630ca62 | 2022-02-02 07:22:17 | [diff] [blame] | 2968 | |
Rachel Wong | bde90d7 | 2022-07-11 06:18:27 | [diff] [blame] | 2969 | const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay10Mins[] = { |
| 2970 | {"long_delay_minutes", "10"}}; |
| 2971 | const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay12Hours[] = { |
| 2972 | {"long_delay_minutes", "720"}}; |
| 2973 | const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay24Hours[] = { |
| 2974 | {"long_delay_minutes", "1440"}}; |
| 2975 | const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay36Hours[] = { |
| 2976 | {"long_delay_minutes", "2160"}}; |
| 2977 | const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay48Hours[] = { |
| 2978 | {"long_delay_minutes", "2880"}}; |
| 2979 | const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay60Hours[] = { |
| 2980 | {"long_delay_minutes", "3600"}}; |
| 2981 | const FeatureEntry::FeatureParam kLauncherItemSuggest_LongDelay72Hours[] = { |
| 2982 | {"long_delay_minutes", "4320"}}; |
| 2983 | |
| 2984 | const FeatureEntry::FeatureVariation kLauncherItemSuggestVariations[] = { |
| 2985 | {"with 10 minute long delay", kLauncherItemSuggest_LongDelay10Mins, |
| 2986 | std::size(kLauncherItemSuggest_LongDelay10Mins), nullptr}, |
| 2987 | {"with 12 hour long delay", kLauncherItemSuggest_LongDelay12Hours, |
| 2988 | std::size(kLauncherItemSuggest_LongDelay12Hours), nullptr}, |
| 2989 | {"with 24 hour long delay", kLauncherItemSuggest_LongDelay24Hours, |
| 2990 | std::size(kLauncherItemSuggest_LongDelay24Hours), nullptr}, |
| 2991 | {"with 36 hour long delay", kLauncherItemSuggest_LongDelay36Hours, |
| 2992 | std::size(kLauncherItemSuggest_LongDelay36Hours), nullptr}, |
| 2993 | {"with 48 hour long delay", kLauncherItemSuggest_LongDelay48Hours, |
| 2994 | std::size(kLauncherItemSuggest_LongDelay48Hours), nullptr}, |
| 2995 | {"with 60 hour long delay", kLauncherItemSuggest_LongDelay60Hours, |
| 2996 | std::size(kLauncherItemSuggest_LongDelay60Hours), nullptr}, |
| 2997 | {"with 72 hour long delay", kLauncherItemSuggest_LongDelay72Hours, |
| 2998 | std::size(kLauncherItemSuggest_LongDelay72Hours), nullptr}}; |
| 2999 | |
Matthew Mourgos | 0f79f50 | 2023-03-17 21:22:40 | [diff] [blame] | 3000 | const FeatureEntry::FeatureParam kEolIncentiveOffer[] = { |
| 3001 | {"incentive_type", "offer"}}; |
| 3002 | const FeatureEntry::FeatureParam kEolIncentiveNoOffer[] = { |
| 3003 | {"incentive_type", "no_offer"}}; |
| 3004 | |
| 3005 | const FeatureEntry::FeatureVariation kEolIncentiveVariations[] = { |
| 3006 | {"with offer", kEolIncentiveOffer, std::size(kEolIncentiveOffer), nullptr}, |
| 3007 | {"with no offer", kEolIncentiveNoOffer, std::size(kEolIncentiveNoOffer), |
| 3008 | nullptr}}; |
| 3009 | |
tby | 989a5b5ad | 2021-04-16 06:42:20 | [diff] [blame] | 3010 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 3011 | |
Simon Hangl | f8a8cf5 | 2023-05-16 19:58:10 | [diff] [blame] | 3012 | #if BUILDFLAG(IS_CHROMEOS) |
| 3013 | constexpr char kTaskManagerEndProcessDisabledForExtensionInternalName[] = |
| 3014 | "enable-task-manager-end-process-disabled-for-extension"; |
| 3015 | #endif // BUILDFLAG(IS_CHROMEOS) |
| 3016 | |
Jeffrey Young | 35f24d3 | 2021-01-27 22:58:21 | [diff] [blame] | 3017 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Colin Kincaid | 292cfc4 | 2022-05-03 19:17:07 | [diff] [blame] | 3018 | constexpr char kWallpaperFastRefreshInternalName[] = "wallpaper-fast-refresh"; |
Jerry Liu | a21b6162 | 2022-12-20 00:52:12 | [diff] [blame] | 3019 | constexpr char kWallpaperGooglePhotosSharedAlbumsInternalName[] = |
| 3020 | "wallpaper-google-photos-shared-albums"; |
Sean Kau | 1d8791e3 | 2021-11-08 22:51:54 | [diff] [blame] | 3021 | constexpr char kWallpaperPerDeskName[] = "per-desk-wallpaper"; |
Tao Wu | 4b5d816 | 2022-11-10 19:58:07 | [diff] [blame] | 3022 | constexpr char kLibAssistantV2MigrationInternalName[] = |
| 3023 | "cros-libassistant-v2-migration"; |
Jason Thai | aa62a03 | 2023-04-05 21:07:42 | [diff] [blame] | 3024 | constexpr char kTimeOfDayWallpaperInternalName[] = "time-of-day-wallpaper"; |
| 3025 | constexpr char kTimeOfDayScreenSaverInternalName[] = "time-of-day-screen-saver"; |
Jeffrey Young | 35f24d3 | 2021-01-27 22:58:21 | [diff] [blame] | 3026 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 3027 | |
danielng | 1078c637 | 2021-06-28 06:31:36 | [diff] [blame] | 3028 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
danielng | dd3ef94 | 2021-10-28 06:42:48 | [diff] [blame] | 3029 | constexpr char kBorealisBigGlInternalName[] = "borealis-big-gl"; |
Dominik Behr | 03b5c24f | 2023-04-18 21:20:52 | [diff] [blame] | 3030 | constexpr char kBorealisDGPUInternalName[] = "borealis-dgpu"; |
danielng | 1078c637 | 2021-06-28 06:31:36 | [diff] [blame] | 3031 | constexpr char kBorealisDiskManagementInternalName[] = |
| 3032 | "borealis-disk-management"; |
Nicholas Hollingum | 449d825 | 2021-11-29 00:18:29 | [diff] [blame] | 3033 | constexpr char kBorealisForceBetaClientInternalName[] = |
| 3034 | "borealis-force-beta-client"; |
Nicholas Hollingum | e867209 | 2022-08-25 04:23:16 | [diff] [blame] | 3035 | constexpr char kBorealisForceDoubleScaleInternalName[] = |
| 3036 | "borealis-force-double-scale"; |
Nicholas Hollingum | 449d825 | 2021-11-29 00:18:29 | [diff] [blame] | 3037 | constexpr char kBorealisLinuxModeInternalName[] = "borealis-linux-mode"; |
Nicholas Hollingum | 97500cc1 | 2022-03-03 22:44:43 | [diff] [blame] | 3038 | // This differs slightly from its symbol's name since "enabled" is used |
| 3039 | // internally to refer to whether borealis is installed or not. |
| 3040 | constexpr char kBorealisPermittedInternalName[] = "borealis-enabled"; |
danielng | 573ad374 | 2022-07-06 05:26:24 | [diff] [blame] | 3041 | constexpr char kBorealisStorageBallooningInternalName[] = |
| 3042 | "borealis-storage-ballooning"; |
Max Lee | fb53d9c | 2022-09-01 00:23:34 | [diff] [blame] | 3043 | constexpr char kVmPerBootShaderCacheName[] = "vm-per-boot-shader-cache"; |
Colin Kincaid | fdf4661 | 2023-03-23 01:23:23 | [diff] [blame] | 3044 | constexpr char kClipboardHistoryLongpressInternalName[] = |
| 3045 | "clipboard-history-longpress"; |
Colin Kincaid | b78ba32 | 2023-06-22 02:25:37 | [diff] [blame] | 3046 | constexpr char kClipboardHistoryRefreshInternalName[] = |
| 3047 | "clipboard-history-refresh"; |
James Cook | 49358cc | 2022-08-30 20:30:26 | [diff] [blame] | 3048 | constexpr char kWelcomeScreenInternalName[] = "welcome-screen"; |
Sarvesh | 02d88ff | 2023-01-18 23:10:41 | [diff] [blame] | 3049 | constexpr char kBluetoothUseFlossInternalName[] = "bluetooth-use-floss"; |
Colin Kincaid | 0dcc3b02 | 2022-05-26 15:51:57 | [diff] [blame] | 3050 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 3051 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 3052 | #if BUILDFLAG(IS_ANDROID) |
Brandon Wylie | f203eee | 2021-10-11 22:55:45 | [diff] [blame] | 3053 | const FeatureEntry::FeatureParam kBookmarksRefreshVisuals[] = { |
| 3054 | {"bookmark_visuals_enabled", "true"}}; |
Brandon Wylie | adcffae | 2022-03-01 06:01:37 | [diff] [blame] | 3055 | const FeatureEntry::FeatureParam kBookmarksRefreshCompactVisuals[] = { |
| 3056 | {"bookmark_visuals_enabled", "true"}, |
| 3057 | {"bookmark_compact_visuals_enabled", "true"}}; |
Brandon Wylie | f203eee | 2021-10-11 22:55:45 | [diff] [blame] | 3058 | const FeatureEntry::FeatureParam kBookmarksRefreshAppMenu[] = { |
Brandon Wylie | 840e508 | 2021-10-21 21:22:23 | [diff] [blame] | 3059 | {"bookmark_in_app_menu", "true"}}; |
Brandon Wylie | adcffae | 2022-03-01 06:01:37 | [diff] [blame] | 3060 | const FeatureEntry::FeatureParam kBookmarksRefreshNormal[] = { |
Brandon Wylie | f203eee | 2021-10-11 22:55:45 | [diff] [blame] | 3061 | {"bookmark_visuals_enabled", "true"}, |
Brandon Wylie | 840e508 | 2021-10-21 21:22:23 | [diff] [blame] | 3062 | {"bookmark_in_app_menu", "true"}}; |
Brandon Wylie | adcffae | 2022-03-01 06:01:37 | [diff] [blame] | 3063 | const FeatureEntry::FeatureParam kBookmarksRefreshCompact[] = { |
| 3064 | {"bookmark_visuals_enabled", "true"}, |
| 3065 | {"bookmark_compact_visuals_enabled", "true"}, |
| 3066 | {"bookmark_in_app_menu", "true"}}; |
Brandon Wylie | f203eee | 2021-10-11 22:55:45 | [diff] [blame] | 3067 | |
| 3068 | const FeatureEntry::FeatureVariation kBookmarksRefreshVariations[] = { |
Brandon Wylie | adcffae | 2022-03-01 06:01:37 | [diff] [blame] | 3069 | {"(enabled w/ visuals)", kBookmarksRefreshNormal, |
| 3070 | std::size(kBookmarksRefreshNormal), nullptr}, |
| 3071 | {"(enabled w/ compact visuals)", kBookmarksRefreshCompact, |
| 3072 | std::size(kBookmarksRefreshCompact), nullptr}, |
| 3073 | {"(visuals only)", kBookmarksRefreshVisuals, |
Alex Moshchuk | bcd7cf1 | 2022-02-28 23:33:36 | [diff] [blame] | 3074 | std::size(kBookmarksRefreshVisuals), nullptr}, |
Brandon Wylie | adcffae | 2022-03-01 06:01:37 | [diff] [blame] | 3075 | {"(compact visuals only)", kBookmarksRefreshCompactVisuals, |
| 3076 | std::size(kBookmarksRefreshCompactVisuals), nullptr}, |
Brandon Wylie | 15482cd | 2021-11-11 23:24:22 | [diff] [blame] | 3077 | {"(app menu item only)", kBookmarksRefreshAppMenu, |
Brandon Wylie | adcffae | 2022-03-01 06:01:37 | [diff] [blame] | 3078 | std::size(kBookmarksRefreshAppMenu), nullptr}}; |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 3079 | #endif // BUILDFLAG(IS_ANDROID) |
ckitagawa | 7016ceca | 2021-07-15 00:37:50 | [diff] [blame] | 3080 | |
bttk | 90927fd | 2021-11-12 19:38:27 | [diff] [blame] | 3081 | const FeatureEntry::FeatureParam kLargeFaviconFromGoogle96[] = { |
| 3082 | {"favicon_size_in_dip", "96"}}; |
| 3083 | const FeatureEntry::FeatureParam kLargeFaviconFromGoogle128[] = { |
| 3084 | {"favicon_size_in_dip", "128"}}; |
| 3085 | |
| 3086 | const FeatureEntry::FeatureVariation kLargeFaviconFromGoogleVariations[] = { |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 3087 | {"(96dip)", kLargeFaviconFromGoogle96, std::size(kLargeFaviconFromGoogle96), |
| 3088 | nullptr}, |
bttk | 90927fd | 2021-11-12 19:38:27 | [diff] [blame] | 3089 | {"(128dip)", kLargeFaviconFromGoogle128, |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 3090 | std::size(kLargeFaviconFromGoogle128), nullptr}}; |
bttk | 90927fd | 2021-11-12 19:38:27 | [diff] [blame] | 3091 | |
Neil Coronado | 00ce7301 | 2022-02-14 21:39:01 | [diff] [blame] | 3092 | #if BUILDFLAG(IS_ANDROID) |
Sirisha Kavuluru | 22e7a20 | 2022-10-31 21:06:01 | [diff] [blame] | 3093 | const FeatureEntry::FeatureParam kContentVisibilityDelay10[] = { |
| 3094 | {"content_visibility_delay", "10"}}; |
| 3095 | const FeatureEntry::FeatureParam kContentVisibilityDelay5[] = { |
| 3096 | {"content_visibility_delay", "5"}}; |
| 3097 | const FeatureEntry::FeatureVariation kFoldableJankFixDelayVariations[] = { |
| 3098 | {"10ms delay", kContentVisibilityDelay10, |
| 3099 | std::size(kContentVisibilityDelay10), nullptr}, |
| 3100 | {"5ms delay", kContentVisibilityDelay5, std::size(kContentVisibilityDelay5), |
| 3101 | nullptr}}; |
| 3102 | #endif // BUILDFLAG(IS_ANDROID) |
| 3103 | |
| 3104 | #if BUILDFLAG(IS_ANDROID) |
Brandon Fong | 7ec73ac | 2023-06-15 19:08:59 | [diff] [blame] | 3105 | const FeatureEntry::FeatureParam kRestoreTabsOnFRE_skipFeatureEngagement[] = { |
| 3106 | {"skip_feature_engagement", "true"}}; |
| 3107 | const FeatureEntry::FeatureVariation kRestoreTabsOnFREVariations[] = { |
| 3108 | {"- skip feature engagement", kRestoreTabsOnFRE_skipFeatureEngagement, |
| 3109 | std::size(kRestoreTabsOnFRE_skipFeatureEngagement), nullptr}, |
| 3110 | }; |
| 3111 | #endif // BUILDFLAG(IS_ANDROID) |
| 3112 | |
| 3113 | #if BUILDFLAG(IS_ANDROID) |
Zhe Li | b99a5faa6 | 2022-10-14 22:57:44 | [diff] [blame] | 3114 | const FeatureEntry::FeatureParam kTabStripRedesignFolio[] = { |
| 3115 | {"enable_folio", "true"}}; |
| 3116 | const FeatureEntry::FeatureParam kTabStripRedesignDetached[] = { |
| 3117 | {"enable_detached", "true"}}; |
Zhe Li | 2595b2d | 2023-04-11 20:29:26 | [diff] [blame] | 3118 | const FeatureEntry::FeatureParam kTabStripRedesignDisableNtbAnchorFolio[] = { |
| 3119 | {"disable_ntb_anchor", "true"}, |
| 3120 | {"enable_folio", "true"}}; |
| 3121 | const FeatureEntry::FeatureParam kTabStripRedesignDisableNtbAnchorDetached[] = { |
| 3122 | {"disable_ntb_anchor", "true"}, |
| 3123 | {"enable_detached", "true"}}; |
Zhe Li | cc2ae25 | 2023-05-24 20:29:13 | [diff] [blame] | 3124 | const FeatureEntry::FeatureParam kTabStripRedesignDisableButtonStyleFolio[] = { |
| 3125 | {"disable_btn_style", "true"}, |
| 3126 | {"enable_folio", "true"}}; |
| 3127 | const FeatureEntry::FeatureParam kTabStripRedesignDisableButtonStyleDetached[] = |
| 3128 | {{"disable_btn_style", "true"}, {"enable_detached", "true"}}; |
Zhe Li | b99a5faa6 | 2022-10-14 22:57:44 | [diff] [blame] | 3129 | |
| 3130 | const FeatureEntry::FeatureVariation kTabStripRedesignVariations[] = { |
| 3131 | {"Folio", kTabStripRedesignFolio, std::size(kTabStripRedesignFolio), |
| 3132 | nullptr}, |
| 3133 | {"Detached", kTabStripRedesignDetached, |
| 3134 | std::size(kTabStripRedesignDetached), nullptr}, |
Zhe Li | 02cffa7 | 2023-05-12 01:05:44 | [diff] [blame] | 3135 | {"Folio NTB Unanchored ", kTabStripRedesignDisableNtbAnchorFolio, |
Zhe Li | 2595b2d | 2023-04-11 20:29:26 | [diff] [blame] | 3136 | std::size(kTabStripRedesignDisableNtbAnchorFolio), nullptr}, |
Zhe Li | 02cffa7 | 2023-05-12 01:05:44 | [diff] [blame] | 3137 | {"Detached NTB Unanchored", kTabStripRedesignDisableNtbAnchorDetached, |
Zhe Li | cc2ae25 | 2023-05-24 20:29:13 | [diff] [blame] | 3138 | std::size(kTabStripRedesignDisableNtbAnchorDetached), nullptr}, |
| 3139 | {"Folio Remove Button Style", kTabStripRedesignDisableButtonStyleFolio, |
| 3140 | std::size(kTabStripRedesignDisableButtonStyleFolio), nullptr}, |
| 3141 | {"Detached Remove Button Style", |
| 3142 | kTabStripRedesignDisableButtonStyleDetached, |
| 3143 | std::size(kTabStripRedesignDisableButtonStyleDetached), nullptr}}; |
Zhe Li | b99a5faa6 | 2022-10-14 22:57:44 | [diff] [blame] | 3144 | #endif // BUILDFLAG(IS_ANDROID) |
| 3145 | |
Nicolas MacBeth | 3dcf753 | 2023-04-21 21:30:13 | [diff] [blame] | 3146 | #if !BUILDFLAG(IS_ANDROID) && BUILDFLAG(GOOGLE_CHROME_BRANDING) |
| 3147 | constexpr FeatureEntry::FeatureParam kIOSPromoPasswordBubbleContextualDirect[] = |
| 3148 | {{"activation", "contextual-direct"}}; |
| 3149 | constexpr FeatureEntry::FeatureParam |
| 3150 | kIOSPromoPasswordBubbleContextualIndirect[] = { |
| 3151 | {"activation", "contextual-indirect"}}; |
| 3152 | constexpr FeatureEntry::FeatureParam |
| 3153 | kIOSPromoPasswordBubbleNonContextualDirect[] = { |
| 3154 | {"activation", "non-contextual-direct"}}; |
| 3155 | constexpr FeatureEntry::FeatureParam |
| 3156 | kIOSPromoPasswordBubbleNonContextualIndirect[] = { |
| 3157 | {"activation", "non-contextual-indirect"}}; |
| 3158 | constexpr FeatureEntry::FeatureParam kIOSPromoPasswordBubbleAlwaysShowDirect[] = |
| 3159 | {{"activation", "always-show-direct"}}; |
| 3160 | constexpr FeatureEntry::FeatureParam |
| 3161 | kIOSPromoPasswordBubbleAlwaysShowIndirect[] = { |
| 3162 | {"activation", "always-show-indirect"}}; |
| 3163 | |
| 3164 | constexpr FeatureEntry::FeatureVariation kIOSPromoPasswordBubbleVariations[] = { |
| 3165 | {"contextual & direct activation", kIOSPromoPasswordBubbleContextualDirect, |
| 3166 | std::size(kIOSPromoPasswordBubbleContextualDirect), nullptr}, |
| 3167 | {"contextual & indirect activation", |
| 3168 | kIOSPromoPasswordBubbleContextualIndirect, |
| 3169 | std::size(kIOSPromoPasswordBubbleContextualIndirect), nullptr}, |
| 3170 | {"non-contextual & direct activation", |
| 3171 | kIOSPromoPasswordBubbleNonContextualDirect, |
| 3172 | std::size(kIOSPromoPasswordBubbleNonContextualDirect), nullptr}, |
| 3173 | {"non-contextual & indirect activation", |
| 3174 | kIOSPromoPasswordBubbleNonContextualIndirect, |
| 3175 | std::size(kIOSPromoPasswordBubbleNonContextualIndirect), nullptr}, |
| 3176 | {"always show direct activation", kIOSPromoPasswordBubbleAlwaysShowDirect, |
| 3177 | std::size(kIOSPromoPasswordBubbleAlwaysShowDirect), nullptr}, |
| 3178 | {"always show indirect activation", |
| 3179 | kIOSPromoPasswordBubbleAlwaysShowIndirect, |
| 3180 | std::size(kIOSPromoPasswordBubbleAlwaysShowIndirect), nullptr}}; |
| 3181 | #endif |
| 3182 | |
Etienne Pierre-doray | 247abce | 2022-03-08 18:45:48 | [diff] [blame] | 3183 | const FeatureEntry::FeatureParam kUnthrottledNestedTimeout_NestingLevel = { |
Etienne Pierre-doray | d10f439 | 2022-10-14 21:30:50 | [diff] [blame] | 3184 | "nesting", "15"}; |
Etienne Pierre-doray | 247abce | 2022-03-08 18:45:48 | [diff] [blame] | 3185 | |
| 3186 | const FeatureEntry::FeatureVariation kUnthrottledNestedTimeout_Variations[] = { |
Etienne Pierre-doray | d10f439 | 2022-10-14 21:30:50 | [diff] [blame] | 3187 | {"15", &kUnthrottledNestedTimeout_NestingLevel, 1, nullptr}, |
Etienne Pierre-doray | 247abce | 2022-03-08 18:45:48 | [diff] [blame] | 3188 | }; |
| 3189 | |
Duncan Mercer | 02bbd946 | 2023-03-29 21:47:58 | [diff] [blame] | 3190 | constexpr FeatureEntry::FeatureParam kLensFormatOptimizationWebp[] = { |
| 3191 | {"use-webp-image-search", "true"}, |
| 3192 | {"use-webp-region-search", "true"}, |
| 3193 | {"use-jpeg-region-search", "false"}}; |
Duncan Mercer | 10a2000a | 2022-11-07 23:00:53 | [diff] [blame] | 3194 | constexpr FeatureEntry::FeatureVariation kLensImageFormatVariations[] = { |
Duncan Mercer | 02bbd946 | 2023-03-29 21:47:58 | [diff] [blame] | 3195 | {"use Webp", kLensFormatOptimizationWebp, |
| 3196 | std::size(kLensFormatOptimizationWebp), nullptr}, |
Duncan Mercer | 10a2000a | 2022-11-07 23:00:53 | [diff] [blame] | 3197 | }; |
| 3198 | |
Jason Hu | a755d7983 | 2023-04-27 00:26:44 | [diff] [blame] | 3199 | constexpr FeatureEntry::FeatureParam kPingLensSequentially[] = { |
| 3200 | {"ping-lens-sequentially", "true"}}; |
| 3201 | constexpr FeatureEntry::FeatureParam kLensPingURL[] = { |
| 3202 | {"lens-ping-url", "https://lens.google.com/_/LensWebStandaloneUi/gen204/"}}; |
| 3203 | constexpr FeatureEntry::FeatureVariation kLensPingVariations[] = { |
| 3204 | {"ping sequentially", kPingLensSequentially, |
| 3205 | std::size(kPingLensSequentially), nullptr}, |
| 3206 | {"ping url", kLensPingURL, std::size(kLensPingURL), nullptr}, |
| 3207 | }; |
| 3208 | |
Ali Stanfield | 56104328 | 2023-03-10 03:04:30 | [diff] [blame] | 3209 | #if BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
mcrouse | ff4a6cf | 2023-05-31 04:46:42 | [diff] [blame] | 3210 | constexpr FeatureEntry::FeatureParam kCscStagingEnvVariation[] = { |
Ali Stanfield | 56104328 | 2023-03-10 03:04:30 | [diff] [blame] | 3211 | {"companion-homepage-url", |
Juan Mojica | 9835395 | 2023-04-19 22:39:50 | [diff] [blame] | 3212 | "https://lens-staging.corp.google.com/companion"}, |
| 3213 | {"companion-image-upload-url", |
| 3214 | "https://lens-staging.corp.google.com/v2/upload"}}; |
mcrouse | ff4a6cf | 2023-05-31 04:46:42 | [diff] [blame] | 3215 | constexpr FeatureEntry::FeatureParam kCscClobberVariation[] = { |
| 3216 | {"open-links-in-current-tab", "true"}, |
| 3217 | }; |
| 3218 | constexpr FeatureEntry::FeatureParam kCscNewTabVariation[] = { |
| 3219 | {"open-links-in-current-tab", "false"}, |
| 3220 | }; |
Ali Stanfield | 56104328 | 2023-03-10 03:04:30 | [diff] [blame] | 3221 | |
| 3222 | constexpr FeatureEntry::FeatureVariation kCscVariations[] = { |
mcrouse | ff4a6cf | 2023-05-31 04:46:42 | [diff] [blame] | 3223 | {"with staging URL", kCscStagingEnvVariation, |
| 3224 | std::size(kCscStagingEnvVariation), nullptr}, |
| 3225 | {"with clobber", kCscClobberVariation, std::size(kCscClobberVariation), |
| 3226 | nullptr}, |
| 3227 | {"with new tab", kCscNewTabVariation, std::size(kCscNewTabVariation), |
| 3228 | nullptr}, |
| 3229 | }; |
| 3230 | |
| 3231 | const FeatureEntry::Choice kSidePanelPinnedStateChoices[] = { |
| 3232 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 3233 | {"Forced Pinned", companion::switches::kForceCompanionPinnedState, |
| 3234 | "pinned"}, |
| 3235 | {"Forced Unpinned", companion::switches::kForceCompanionPinnedState, |
| 3236 | "unpinned"}, |
| 3237 | }; |
Ali Stanfield | 56104328 | 2023-03-10 03:04:30 | [diff] [blame] | 3238 | #endif // BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
| 3239 | |
Jeffrey Kardatzke | a686ded2 | 2022-03-28 18:28:46 | [diff] [blame] | 3240 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 3241 | const FeatureEntry::Choice kAlwaysEnableHdcpChoices[] = { |
| 3242 | {flag_descriptions::kAlwaysEnableHdcpDefault, "", ""}, |
| 3243 | {flag_descriptions::kAlwaysEnableHdcpType0, |
| 3244 | ash::switches::kAlwaysEnableHdcp, "type0"}, |
| 3245 | {flag_descriptions::kAlwaysEnableHdcpType1, |
| 3246 | ash::switches::kAlwaysEnableHdcp, "type1"}, |
| 3247 | }; |
Piotr Pawliczek | d05f6968 | 2023-03-07 03:42:04 | [diff] [blame] | 3248 | |
| 3249 | const FeatureEntry::Choice kPrintingPpdChannelChoices[] = { |
| 3250 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 3251 | {ash::switches::kPrintingPpdChannelProduction, |
| 3252 | ash::switches::kPrintingPpdChannel, |
| 3253 | ash::switches::kPrintingPpdChannelProduction}, |
| 3254 | {ash::switches::kPrintingPpdChannelStaging, |
| 3255 | ash::switches::kPrintingPpdChannel, |
| 3256 | ash::switches::kPrintingPpdChannelStaging}, |
| 3257 | {ash::switches::kPrintingPpdChannelDev, ash::switches::kPrintingPpdChannel, |
| 3258 | ash::switches::kPrintingPpdChannelDev}, |
| 3259 | {ash::switches::kPrintingPpdChannelLocalhost, |
| 3260 | ash::switches::kPrintingPpdChannel, |
| 3261 | ash::switches::kPrintingPpdChannelLocalhost}}; |
Jeffrey Kardatzke | a686ded2 | 2022-03-28 18:28:46 | [diff] [blame] | 3262 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 3263 | |
W. James MacLean | 3b6d087 | 2022-06-24 16:16:14 | [diff] [blame] | 3264 | // Feature variations for kIsolateSandboxedIframes. |
| 3265 | #if !BUILDFLAG(IS_ANDROID) |
| 3266 | // TODO(wjmaclean): Add FeatureParams for a per-frame grouping when support |
| 3267 | // for it is added. |
| 3268 | const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerSite{ |
| 3269 | "grouping", "per-site"}; |
| 3270 | const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerOrigin{ |
| 3271 | "grouping", "per-origin"}; |
W. James MacLean | 37dd4aade | 2022-07-28 15:40:51 | [diff] [blame] | 3272 | const FeatureEntry::FeatureParam kIsolateSandboxedIframesGroupingPerDocument{ |
| 3273 | "grouping", "per-document"}; |
W. James MacLean | 3b6d087 | 2022-06-24 16:16:14 | [diff] [blame] | 3274 | const FeatureEntry::FeatureVariation |
| 3275 | kIsolateSandboxedIframesGroupingVariations[] = { |
| 3276 | {"with grouping by URL's site", |
| 3277 | &kIsolateSandboxedIframesGroupingPerSite, 1, nullptr}, |
| 3278 | {"with grouping by URL's origin", |
| 3279 | &kIsolateSandboxedIframesGroupingPerOrigin, 1, nullptr}, |
W. James MacLean | 37dd4aade | 2022-07-28 15:40:51 | [diff] [blame] | 3280 | {"with each sandboxed frame document in its own process", |
| 3281 | &kIsolateSandboxedIframesGroupingPerDocument, 1, nullptr}, |
W. James MacLean | 3b6d087 | 2022-06-24 16:16:14 | [diff] [blame] | 3282 | }; |
| 3283 | #endif // !BUILDFLAG(IS_ANDROID) |
| 3284 | |
Yoshisato Yanagisawa | 577d8282 | 2022-08-17 01:51:10 | [diff] [blame] | 3285 | const FeatureEntry::FeatureParam |
| 3286 | kServiceWorkerSkipIgnorableFetchHandler_NotSkip[] = { |
| 3287 | {"SkipEmptyFetchHandler", "false"}}; |
| 3288 | const FeatureEntry::FeatureParam |
| 3289 | kServiceWorkerSkipIgnorableFetchHandler_SkipEmpty[] = { |
| 3290 | {"SkipEmptyFetchHandler", "true"}}; |
| 3291 | const FeatureEntry::FeatureVariation |
| 3292 | kServiceWorkerSkipIgnorableFetchHandlerVariations[] = { |
| 3293 | {"Not Skip", kServiceWorkerSkipIgnorableFetchHandler_NotSkip, |
| 3294 | std::size(kServiceWorkerSkipIgnorableFetchHandler_NotSkip), nullptr}, |
| 3295 | {"Skip Empty", kServiceWorkerSkipIgnorableFetchHandler_SkipEmpty, |
| 3296 | std::size(kServiceWorkerSkipIgnorableFetchHandler_SkipEmpty), nullptr}, |
| 3297 | }; |
| 3298 | |
sisidovski | a29a302 | 2023-04-20 07:53:54 | [diff] [blame] | 3299 | const FeatureEntry::FeatureParam |
| 3300 | kServiceWorkerBypassFetchHandler_MainResource[] = { |
| 3301 | {"bypass_for", "main_resource"}, |
| 3302 | {"strategy", "optin"}}; |
| 3303 | const FeatureEntry::FeatureParam |
| 3304 | kServiceWorkerBypassFetchHandler_RaceNetworkRequest[] = { |
| 3305 | {"bypass_for", "all_with_race_network_request"}, |
| 3306 | {"strategy", "optin"}}; |
| 3307 | const FeatureEntry::FeatureParam |
| 3308 | kServiceWorkerBypassFetchHandler_Subresource[] = { |
| 3309 | {"bypass_for", "sub_resource"}, |
| 3310 | {"strategy", "optin"}}; |
| 3311 | const FeatureEntry::FeatureVariation |
| 3312 | kServiceWorkerBypassFetchHandlerVariations[] = { |
| 3313 | {"Main Resource", kServiceWorkerBypassFetchHandler_MainResource, |
| 3314 | std::size(kServiceWorkerBypassFetchHandler_MainResource), nullptr}, |
| 3315 | {"Subesource", kServiceWorkerBypassFetchHandler_Subresource, |
| 3316 | std::size(kServiceWorkerBypassFetchHandler_Subresource), nullptr}, |
| 3317 | {"Race Network Request and Fetch Handler", |
| 3318 | kServiceWorkerBypassFetchHandler_RaceNetworkRequest, |
| 3319 | std::size(kServiceWorkerBypassFetchHandler_RaceNetworkRequest), |
| 3320 | nullptr}, |
| 3321 | }; |
| 3322 | |
Charles Meng | 17ba75d | 2022-08-23 18:45:28 | [diff] [blame] | 3323 | #if !BUILDFLAG(IS_ANDROID) |
Anthony Vallee-Dubois | 3d3039fb | 2023-03-17 16:11:15 | [diff] [blame] | 3324 | const FeatureEntry::FeatureParam kHeuristicMemorySaverAggressive[] = { |
| 3325 | {"threshold_percent", "30"}, |
Joe Mason | 698c287 | 2023-05-10 22:10:41 | [diff] [blame] | 3326 | {"minimum_time_in_background", "30m"}}; |
Anthony Vallee-Dubois | 3d3039fb | 2023-03-17 16:11:15 | [diff] [blame] | 3327 | const FeatureEntry::FeatureParam kHeuristicMemorySaverBalanced[] = { |
| 3328 | {"threshold_percent", "15"}, |
Joe Mason | 698c287 | 2023-05-10 22:10:41 | [diff] [blame] | 3329 | {"minimum_time_in_background", "60m"}}; |
Anthony Vallee-Dubois | 3d3039fb | 2023-03-17 16:11:15 | [diff] [blame] | 3330 | const FeatureEntry::FeatureParam kHeuristicMemorySaverConservative[] = { |
| 3331 | {"threshold_percent", "5"}, |
Joe Mason | 698c287 | 2023-05-10 22:10:41 | [diff] [blame] | 3332 | {"minimum_time_in_background", "120m"}}; |
Anthony Vallee-Dubois | 3d3039fb | 2023-03-17 16:11:15 | [diff] [blame] | 3333 | const FeatureEntry::FeatureVariation kHeuristicMemorySaverVariations[] = { |
| 3334 | {"Aggressive", kHeuristicMemorySaverAggressive, |
| 3335 | std::size(kHeuristicMemorySaverAggressive), nullptr}, |
| 3336 | {"Balanced", kHeuristicMemorySaverBalanced, |
| 3337 | std::size(kHeuristicMemorySaverBalanced), nullptr}, |
| 3338 | {"Conservative", kHeuristicMemorySaverConservative, |
| 3339 | std::size(kHeuristicMemorySaverConservative), nullptr}, |
| 3340 | }; |
Charles Meng | 03ac553 | 2023-04-26 17:36:35 | [diff] [blame] | 3341 | |
Charles Meng | 095d98b | 2023-06-14 16:21:57 | [diff] [blame] | 3342 | const FeatureEntry::FeatureParam |
Charles Meng | d7cec1bf | 2023-06-26 17:26:10 | [diff] [blame] | 3343 | kHighEfficiencyMultistateModeShowRecommendedBadge[] = { |
| 3344 | {"show_recommended_badge", "true"}, |
Charles Meng | 095d98b | 2023-06-14 16:21:57 | [diff] [blame] | 3345 | }; |
Charles Meng | 095d98b | 2023-06-14 16:21:57 | [diff] [blame] | 3346 | const FeatureEntry::FeatureVariation kHighEfficiencyMultistateModeVariations[] = |
| 3347 | { |
| 3348 | {"With Recommended Badge", |
Charles Meng | d7cec1bf | 2023-06-26 17:26:10 | [diff] [blame] | 3349 | kHighEfficiencyMultistateModeShowRecommendedBadge, |
| 3350 | std::size(kHighEfficiencyMultistateModeShowRecommendedBadge), nullptr}, |
Charles Meng | 095d98b | 2023-06-14 16:21:57 | [diff] [blame] | 3351 | }; |
| 3352 | |
Alison Gale | e124dea3 | 2023-05-05 21:39:05 | [diff] [blame] | 3353 | const FeatureEntry::FeatureParam kDiscardedTabTreatmentWithRing30Opacity[] = { |
| 3354 | {"discard_tab_treatment_option", "2"}, |
| 3355 | {"discard_tab_treatment_opacity", "0.3"}}; |
| 3356 | const FeatureEntry::FeatureParam kDiscardedTabTreatmentWithRing40Opacity[] = { |
| 3357 | {"discard_tab_treatment_option", "2"}, |
| 3358 | {"discard_tab_treatment_opacity", "0.4"}}; |
| 3359 | const FeatureEntry::FeatureParam kDiscardedTabTreatmentWithRing50Opacity[] = { |
| 3360 | {"discard_tab_treatment_option", "2"}, |
| 3361 | {"discard_tab_treatment_opacity", "0.5"}}; |
| 3362 | const FeatureEntry::FeatureParam kDiscardedTabTreatmentWithoutRing30Opacity[] = |
| 3363 | {{"discard_tab_treatment_option", "1"}, |
| 3364 | {"discard_tab_treatment_opacity", "0.3"}}; |
| 3365 | const FeatureEntry::FeatureParam kDiscardedTabTreatmentWithoutRing40Opacity[] = |
| 3366 | {{"discard_tab_treatment_option", "1"}, |
| 3367 | {"discard_tab_treatment_opacity", "0.4"}}; |
| 3368 | const FeatureEntry::FeatureParam kDiscardedTabTreatmentWithoutRing50Opacity[] = |
| 3369 | {{"discard_tab_treatment_option", "1"}, |
| 3370 | {"discard_tab_treatment_opacity", "0.5"}}; |
| 3371 | |
| 3372 | const FeatureEntry::FeatureVariation kDiscardedTabTreatmentVariations[] = { |
| 3373 | {"With Ring and 30\% Opacity", kDiscardedTabTreatmentWithRing30Opacity, |
| 3374 | std::size(kDiscardedTabTreatmentWithRing30Opacity), nullptr}, |
| 3375 | {"With Ring and 40\% Opacity", kDiscardedTabTreatmentWithRing40Opacity, |
| 3376 | std::size(kDiscardedTabTreatmentWithRing40Opacity), nullptr}, |
| 3377 | {"With Ring and 50\% Opacity", kDiscardedTabTreatmentWithRing50Opacity, |
| 3378 | std::size(kDiscardedTabTreatmentWithRing50Opacity), nullptr}, |
| 3379 | {"Without Ring and 30\% Opacity", |
| 3380 | kDiscardedTabTreatmentWithoutRing30Opacity, |
| 3381 | std::size(kDiscardedTabTreatmentWithoutRing30Opacity), nullptr}, |
| 3382 | {"Without Ring and 40\% Opacity", |
| 3383 | kDiscardedTabTreatmentWithoutRing40Opacity, |
| 3384 | std::size(kDiscardedTabTreatmentWithoutRing40Opacity), nullptr}, |
| 3385 | {"Without Ring and 50\% Opacity", |
| 3386 | kDiscardedTabTreatmentWithoutRing50Opacity, |
| 3387 | std::size(kDiscardedTabTreatmentWithoutRing50Opacity), nullptr}, |
| 3388 | |
| 3389 | }; |
| 3390 | |
Alison Gale | a3718263 | 2023-05-11 17:44:56 | [diff] [blame] | 3391 | const FeatureEntry::FeatureParam kMemorySavingsReportingFrequent[] = { |
| 3392 | // 100 * 1024 * 1024 |
| 3393 | {"expanded_high_efficiency_chip_threshold_bytes", "104857600"}, |
| 3394 | {"expanded_high_efficiency_chip_frequency", "2h"}, |
| 3395 | {"expanded_high_efficiency_chip_discarded_duration", "1h"}}; |
| 3396 | |
| 3397 | const FeatureEntry::FeatureParam kMemorySavingsReportingInfrequent[] = { |
| 3398 | // 200 * 1024 * 1024 |
| 3399 | {"expanded_high_efficiency_chip_threshold_bytes", "209715200"}, |
| 3400 | {"expanded_high_efficiency_chip_frequency", "1d"}, |
| 3401 | {"expanded_high_efficiency_chip_discarded_duration", "6h"}}; |
| 3402 | |
Alison Gale | 0ef01cb | 2023-06-06 22:27:35 | [diff] [blame] | 3403 | const FeatureEntry::FeatureParam kMemorySavingsReportingVeryFrequent[] = { |
| 3404 | // 100 * 1024 * 1024 |
| 3405 | {"expanded_high_efficiency_chip_threshold_bytes", "104857600"}, |
| 3406 | {"expanded_high_efficiency_chip_frequency", "5m"}, |
| 3407 | {"expanded_high_efficiency_chip_discarded_duration", "5m"}}; |
| 3408 | |
Alison Gale | a3718263 | 2023-05-11 17:44:56 | [diff] [blame] | 3409 | const FeatureEntry::FeatureVariation |
| 3410 | kHighEfficiencyMemorySavingsReportingVariations[] = { |
| 3411 | {"With Frequent Memory Savings Reporting", |
| 3412 | kMemorySavingsReportingFrequent, |
| 3413 | std::size(kMemorySavingsReportingFrequent), nullptr}, |
| 3414 | {"With Infrequent Memory Savings Reporting", |
| 3415 | kMemorySavingsReportingInfrequent, |
| 3416 | std::size(kMemorySavingsReportingInfrequent), nullptr}, |
Alison Gale | 0ef01cb | 2023-06-06 22:27:35 | [diff] [blame] | 3417 | {"With Very Frequent Memory Savings Reporting", |
| 3418 | kMemorySavingsReportingVeryFrequent, |
| 3419 | std::size(kMemorySavingsReportingVeryFrequent), nullptr}, |
Alison Gale | a3718263 | 2023-05-11 17:44:56 | [diff] [blame] | 3420 | }; |
| 3421 | |
Charles Meng | 17ba75d | 2022-08-23 18:45:28 | [diff] [blame] | 3422 | #endif // !BUILDFLAG(IS_ANDROID) |
| 3423 | |
Yuki Awano | eeaad0f | 2022-11-22 22:44:59 | [diff] [blame] | 3424 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 3425 | const FeatureEntry::FeatureParam kGalleryAppPdfEditNotificationEditAndSign[] = { |
| 3426 | {"text", "Edit and Sign"}}; |
| 3427 | const FeatureEntry::FeatureParam |
| 3428 | kGalleryAppPdfEditNotificationOpenWithGalleryApp[] = { |
| 3429 | {"text", "Open with Gallery app"}}; |
| 3430 | const FeatureEntry::FeatureVariation |
| 3431 | kGalleryAppPdfEditNotificationVariations[] = { |
| 3432 | {"Edit and Sign", kGalleryAppPdfEditNotificationEditAndSign, |
| 3433 | std::size(kGalleryAppPdfEditNotificationEditAndSign), nullptr}, |
| 3434 | {"Open with Gallery app", |
| 3435 | kGalleryAppPdfEditNotificationOpenWithGalleryApp, |
| 3436 | std::size(kGalleryAppPdfEditNotificationOpenWithGalleryApp), nullptr}}; |
| 3437 | #endif |
| 3438 | |
Dibyajyoti Pal | be5f001 | 2022-11-29 00:39:34 | [diff] [blame] | 3439 | #if !BUILDFLAG(IS_ANDROID) |
| 3440 | const FeatureEntry::FeatureParam kOsIntegrationSubManagersWriteConfig[] = { |
| 3441 | {"stage", "write_config"}}; |
| 3442 | const FeatureEntry::FeatureParam |
| 3443 | kOsIntegrationSubManagersExecuteAndWriteConfig[] = { |
| 3444 | {"stage", "execute_and_write_config"}}; |
| 3445 | |
| 3446 | const FeatureEntry::FeatureVariation |
| 3447 | kOsIntegrationSubManagersConfigVariations[] = { |
| 3448 | {"Write Config only", kOsIntegrationSubManagersWriteConfig, |
| 3449 | std::size(kOsIntegrationSubManagersWriteConfig), nullptr}, |
| 3450 | {"Execute and Write Config", |
| 3451 | kOsIntegrationSubManagersExecuteAndWriteConfig, |
| 3452 | std::size(kOsIntegrationSubManagersExecuteAndWriteConfig), nullptr}}; |
| 3453 | #endif // !BUILDFLAG(IS_ANDROID) |
| 3454 | |
Alessio Bazzica | 76a4502 | 2022-12-06 17:13:17 | [diff] [blame] | 3455 | const FeatureEntry::FeatureParam kWebRtcApmDownmixMethodAverage[] = { |
| 3456 | {"method", "average"}}; |
| 3457 | const FeatureEntry::FeatureParam kWebRtcApmDownmixMethodFirstChannel[] = { |
| 3458 | {"method", "first"}}; |
| 3459 | const FeatureEntry::FeatureVariation kWebRtcApmDownmixMethodVariations[] = { |
| 3460 | {"- Average all the input channels", kWebRtcApmDownmixMethodAverage, |
| 3461 | std::size(kWebRtcApmDownmixMethodAverage), nullptr}, |
| 3462 | {"- Use first channel", kWebRtcApmDownmixMethodFirstChannel, |
| 3463 | std::size(kWebRtcApmDownmixMethodFirstChannel), nullptr}}; |
| 3464 | |
Tom Van Goethem | a0ecc5b | 2022-12-13 13:21:32 | [diff] [blame] | 3465 | #if !BUILDFLAG(IS_ANDROID) |
| 3466 | const FeatureEntry::FeatureParam |
| 3467 | kSafetyCheckUnusedSitePermissionsNoDelayParam[] = { |
| 3468 | {"unused-site-permissions-no-delay-for-testing", "true"}}; |
| 3469 | |
Side Yilmaz | bcc8fe1 | 2023-01-24 17:00:00 | [diff] [blame] | 3470 | const FeatureEntry::FeatureParam |
| 3471 | kSafetyCheckUnusedSitePermissionsWithDelayParam[] = { |
| 3472 | {"unused-site-permissions-with-delay-for-testing", "true"}}; |
| 3473 | |
Tom Van Goethem | a0ecc5b | 2022-12-13 13:21:32 | [diff] [blame] | 3474 | const FeatureEntry::FeatureVariation |
| 3475 | kSafetyCheckUnusedSitePermissionsVariations[] = { |
Side Yilmaz | bcc8fe1 | 2023-01-24 17:00:00 | [diff] [blame] | 3476 | {"for testing no delay", kSafetyCheckUnusedSitePermissionsNoDelayParam, |
Tom Van Goethem | a0ecc5b | 2022-12-13 13:21:32 | [diff] [blame] | 3477 | std::size(kSafetyCheckUnusedSitePermissionsNoDelayParam), nullptr}, |
Side Yilmaz | bcc8fe1 | 2023-01-24 17:00:00 | [diff] [blame] | 3478 | {"for testing with delay", |
| 3479 | kSafetyCheckUnusedSitePermissionsWithDelayParam, |
| 3480 | std::size(kSafetyCheckUnusedSitePermissionsWithDelayParam), nullptr}, |
Tom Van Goethem | a0ecc5b | 2022-12-13 13:21:32 | [diff] [blame] | 3481 | }; |
| 3482 | #endif |
| 3483 | |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3484 | const FeatureEntry::FeatureParam |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 3485 | kPrivacySandboxSettings4ShowSampleDataForTesting[] = { |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3486 | {privacy_sandbox::kPrivacySandboxSettings4ShowSampleDataForTestingName, |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 3487 | "true"}}; |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3488 | const FeatureEntry::FeatureParam kPrivacySandboxSettings4NoticeRequired[] = { |
| 3489 | {privacy_sandbox::kPrivacySandboxSettings4NoticeRequiredName, "true"}}; |
| 3490 | const FeatureEntry::FeatureParam kPrivacySandboxSettings4ConsentRequired[] = { |
| 3491 | {privacy_sandbox::kPrivacySandboxSettings4ConsentRequiredName, "true"}}; |
Nicola Tommasi | 2543d8b | 2023-04-12 18:37:47 | [diff] [blame] | 3492 | const FeatureEntry::FeatureParam kPrivacySandboxSettings4RestrictedNotice[] = { |
Matt Reichhoff | 028c64aa | 2023-04-26 13:35:07 | [diff] [blame] | 3493 | {privacy_sandbox::kPrivacySandboxSettings4RestrictedNoticeName, "true"}, |
| 3494 | {privacy_sandbox::kPrivacySandboxSettings4NoticeRequiredName, "true"}}; |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3495 | const FeatureEntry::FeatureParam |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 3496 | kPrivacySandboxSettings4ForceShowConsentForTesting[] = { |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3497 | {privacy_sandbox:: |
| 3498 | kPrivacySandboxSettings4ForceShowConsentForTestingName, |
Olesia Marukhno | 1f6e9eb | 2023-01-23 10:24:22 | [diff] [blame] | 3499 | "true"}, |
| 3500 | {privacy_sandbox::kPrivacySandboxSettings4ConsentRequiredName, "true"}}; |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3501 | const FeatureEntry::FeatureParam |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 3502 | kPrivacySandboxSettings4ForceShowROWNoticeForTesting[] = { |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3503 | {privacy_sandbox:: |
| 3504 | kPrivacySandboxSettings4ForceShowNoticeRowForTestingName, |
Olesia Marukhno | 1f6e9eb | 2023-01-23 10:24:22 | [diff] [blame] | 3505 | "true"}, |
| 3506 | {privacy_sandbox::kPrivacySandboxSettings4NoticeRequiredName, "true"}}; |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3507 | const FeatureEntry::FeatureParam |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 3508 | kPrivacySandboxSettings4ForceShowEEANoticeForTesting[] = { |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3509 | {privacy_sandbox:: |
| 3510 | kPrivacySandboxSettings4ForceShowNoticeEeaForTestingName, |
Olesia Marukhno | 1f6e9eb | 2023-01-23 10:24:22 | [diff] [blame] | 3511 | "true"}, |
| 3512 | {privacy_sandbox::kPrivacySandboxSettings4ConsentRequiredName, "true"}}; |
Nicola Tommasi | 7334e22c | 2023-03-30 20:23:20 | [diff] [blame] | 3513 | const FeatureEntry::FeatureParam |
| 3514 | kPrivacySandboxSettings4ForceShowRestrictedNoticeForTesting[] = { |
| 3515 | {privacy_sandbox:: |
| 3516 | kPrivacySandboxSettings4ForceShowNoticeRestrictedForTestingName, |
Matt Reichhoff | 4a8c4a3 | 2023-04-28 16:49:56 | [diff] [blame] | 3517 | "true"}, |
| 3518 | {privacy_sandbox::kPrivacySandboxSettings4RestrictedNoticeName, "true"}, |
| 3519 | {privacy_sandbox::kPrivacySandboxSettings4NoticeRequiredName, "true"}}; |
Nicola Tommasi | 2543d8b | 2023-04-12 18:37:47 | [diff] [blame] | 3520 | const FeatureEntry::FeatureParam |
| 3521 | kPrivacySandboxSettings4ForceRestrictedUserForTesting[] = { |
Dustin J. Mitchell | 0b439f7 | 2023-05-03 13:40:39 | [diff] [blame] | 3522 | {privacy_sandbox::kPrivacySandboxSettings4RestrictedNoticeName, "true"}, |
Nicola Tommasi | 2543d8b | 2023-04-12 18:37:47 | [diff] [blame] | 3523 | {privacy_sandbox:: |
| 3524 | kPrivacySandboxSettings4ForceRestrictedUserForTestingName, |
| 3525 | "true"}}; |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 3526 | |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3527 | const FeatureEntry::FeatureVariation kPrivacySandboxSettings4Variations[] = { |
| 3528 | {"Sample Data", kPrivacySandboxSettings4ShowSampleDataForTesting, |
| 3529 | std::size(kPrivacySandboxSettings4ShowSampleDataForTesting), nullptr}, |
| 3530 | {"Notice Required", kPrivacySandboxSettings4NoticeRequired, |
| 3531 | std::size(kPrivacySandboxSettings4NoticeRequired), nullptr}, |
| 3532 | {"Consent Required", kPrivacySandboxSettings4ConsentRequired, |
| 3533 | std::size(kPrivacySandboxSettings4ConsentRequired), nullptr}, |
Nicola Tommasi | 2543d8b | 2023-04-12 18:37:47 | [diff] [blame] | 3534 | {"Restricted notice", kPrivacySandboxSettings4RestrictedNotice, |
Dustin J. Mitchell | 0b439f7 | 2023-05-03 13:40:39 | [diff] [blame] | 3535 | std::size(kPrivacySandboxSettings4RestrictedNotice), nullptr}, |
Christian Dullweber | 3d48873a | 2023-01-09 11:01:27 | [diff] [blame] | 3536 | {"Force show consent", kPrivacySandboxSettings4ForceShowConsentForTesting, |
| 3537 | std::size(kPrivacySandboxSettings4ForceShowConsentForTesting), nullptr}, |
| 3538 | {"Force show ROW notice", |
| 3539 | kPrivacySandboxSettings4ForceShowROWNoticeForTesting, |
| 3540 | std::size(kPrivacySandboxSettings4ForceShowROWNoticeForTesting), nullptr}, |
| 3541 | {"Force show EEA notice", |
| 3542 | kPrivacySandboxSettings4ForceShowEEANoticeForTesting, |
| 3543 | std::size(kPrivacySandboxSettings4ForceShowEEANoticeForTesting), nullptr}, |
Nicola Tommasi | 7334e22c | 2023-03-30 20:23:20 | [diff] [blame] | 3544 | {"Force show Restricted notice", |
| 3545 | kPrivacySandboxSettings4ForceShowRestrictedNoticeForTesting, |
| 3546 | std::size(kPrivacySandboxSettings4ForceShowRestrictedNoticeForTesting), |
| 3547 | nullptr}, |
Nicola Tommasi | 2543d8b | 2023-04-12 18:37:47 | [diff] [blame] | 3548 | {"Force restricted user", |
| 3549 | kPrivacySandboxSettings4ForceRestrictedUserForTesting, |
| 3550 | std::size(kPrivacySandboxSettings4ForceRestrictedUserForTesting), nullptr}, |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 3551 | }; |
| 3552 | |
Ryan Sultanem | bff00a9 | 2023-03-06 11:45:10 | [diff] [blame] | 3553 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 3554 | const FeatureEntry::FeatureParam kWebAuthFlowInNewTab[] = { |
| 3555 | {"browser_tab_mode", "new_tab"}}; |
| 3556 | const FeatureEntry::FeatureParam kWebAuthFlowInPopupWindow[] = { |
| 3557 | {"browser_tab_mode", "popup_window"}}; |
| 3558 | |
| 3559 | const FeatureEntry::FeatureVariation kWebAuthFlowInBrowserTabVariations[]{ |
| 3560 | {"WebAuthFlow in New Tab", kWebAuthFlowInNewTab, |
| 3561 | std::size(kWebAuthFlowInNewTab), nullptr}, |
| 3562 | {"WebAuthFlow in Popup Window", kWebAuthFlowInPopupWindow, |
| 3563 | std::size(kWebAuthFlowInPopupWindow), nullptr}, |
| 3564 | }; |
| 3565 | #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
| 3566 | |
Jonathan Njeunje | 9dc4e6c | 2023-04-10 03:05:32 | [diff] [blame] | 3567 | const FeatureEntry::FeatureParam kDIPSWithDeletion[] = { |
| 3568 | {"persist_database", "true"}, |
| 3569 | {"delete", "true"}, |
| 3570 | {"triggering_action", "stateful_bounce"}}; |
| 3571 | |
| 3572 | const FeatureEntry::FeatureVariation kDIPSVariations[] = { |
| 3573 | {"With Deletion", kDIPSWithDeletion, std::size(kDIPSWithDeletion), |
| 3574 | nullptr}}; |
| 3575 | |
Ard Oerlemans | c550dd0 | 2023-03-13 10:02:15 | [diff] [blame] | 3576 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 3577 | const FeatureEntry::FeatureParam kVcSegmentationModelHighResolution[] = { |
| 3578 | {"segmentation_model", "high_resolution"}, |
| 3579 | }; |
| 3580 | |
| 3581 | const FeatureEntry::FeatureParam kVcSegmentationModelLowerResolution[] = { |
| 3582 | {"segmentation_model", "lower_resolution"}, |
| 3583 | }; |
| 3584 | |
| 3585 | const FeatureEntry::FeatureVariation kVcSegmentationModelVariations[] = { |
| 3586 | {"High resolution model", kVcSegmentationModelHighResolution, |
| 3587 | std::size(kVcSegmentationModelHighResolution), nullptr}, |
| 3588 | {"Lower resolution model", kVcSegmentationModelLowerResolution, |
| 3589 | std::size(kVcSegmentationModelLowerResolution), nullptr}, |
| 3590 | }; |
Nikolas Bowe | 2d3e0c5 | 2023-05-22 00:20:12 | [diff] [blame] | 3591 | |
| 3592 | const FeatureEntry::FeatureParam kVcLightIntensity10[] = { |
| 3593 | {"light_intensity", "1.0"}, |
| 3594 | }; |
| 3595 | |
| 3596 | const FeatureEntry::FeatureParam kVcLightIntensity13[] = { |
| 3597 | {"light_intensity", "1.3"}, |
| 3598 | }; |
| 3599 | |
| 3600 | const FeatureEntry::FeatureParam kVcLightIntensity15[] = { |
| 3601 | {"light_intensity", "1.5"}, |
| 3602 | }; |
| 3603 | |
| 3604 | const FeatureEntry::FeatureParam kVcLightIntensity17[] = { |
| 3605 | {"light_intensity", "1.7"}, |
| 3606 | }; |
| 3607 | |
| 3608 | const FeatureEntry::FeatureParam kVcLightIntensity18[] = { |
| 3609 | {"light_intensity", "1.8"}, |
| 3610 | }; |
| 3611 | |
| 3612 | const FeatureEntry::FeatureParam kVcLightIntensity20[] = { |
| 3613 | {"light_intensity", "2.0"}, |
| 3614 | }; |
| 3615 | |
| 3616 | const FeatureEntry::FeatureVariation kVcLightIntensityVariations[] = { |
| 3617 | {"1.0", kVcLightIntensity10, std::size(kVcLightIntensity10), nullptr}, |
| 3618 | {"1.3", kVcLightIntensity13, std::size(kVcLightIntensity13), nullptr}, |
| 3619 | {"1.5", kVcLightIntensity15, std::size(kVcLightIntensity15), nullptr}, |
| 3620 | {"1.7", kVcLightIntensity17, std::size(kVcLightIntensity17), nullptr}, |
| 3621 | {"1.8", kVcLightIntensity18, std::size(kVcLightIntensity18), nullptr}, |
| 3622 | {"2.0", kVcLightIntensity20, std::size(kVcLightIntensity20), nullptr}, |
| 3623 | }; |
| 3624 | |
Ard Oerlemans | c550dd0 | 2023-03-13 10:02:15 | [diff] [blame] | 3625 | #endif // BUILDFLAG(IS_CHROME_ASH) |
| 3626 | |
Leonid Baraz | c904d47 | 2023-05-09 23:53:44 | [diff] [blame] | 3627 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 3628 | const FeatureEntry::FeatureParam |
| 3629 | kCrOSLateBootMissiveDisableStorageDegradation[] = { |
| 3630 | {"controlled_degradation", "false"}}; |
| 3631 | const FeatureEntry::FeatureParam |
| 3632 | kCrOSLateBootMissiveEnableStorageDegradation[] = { |
| 3633 | {"controlled_degradation", "true"}}; |
| 3634 | const FeatureEntry::FeatureParam kCrOSLateBootMissiveDisableLegacyStorage[] = { |
Leonid Baraz | 124e3ca | 2023-06-27 01:31:20 | [diff] [blame] | 3635 | {"legacy_storage_enabled", |
| 3636 | "UNDEFINED_PRIORITY"}}; // All others are multi-generation action state. |
Leonid Baraz | c904d47 | 2023-05-09 23:53:44 | [diff] [blame] | 3637 | const FeatureEntry::FeatureParam kCrOSLateBootMissiveEnableLegacyStorage[] = { |
Leonid Baraz | 124e3ca | 2023-06-27 01:31:20 | [diff] [blame] | 3638 | {"legacy_storage_enabled", |
| 3639 | "SECURITY," |
| 3640 | "IMMEDIATE," |
| 3641 | "FAST_BATCH," |
| 3642 | "SLOW_BATCH," |
| 3643 | "BACKGROUND_BATCH," |
| 3644 | "MANUAL_BATCH," |
| 3645 | "MANUAL_BATCH_LACROS,"}}; |
| 3646 | const FeatureEntry::FeatureParam kCrOSLateBootMissivePartialLegacyStorage[] = { |
| 3647 | {"legacy_storage_enabled", |
| 3648 | "SECURITY," |
| 3649 | "IMMEDIATE,"}}; |
| 3650 | const FeatureEntry::FeatureParam kCrOSLateBootMissiveSecurityLegacyStorage[] = { |
| 3651 | {"legacy_storage_enabled", "SECURITY,"}}; |
Leonid Baraz | c904d47 | 2023-05-09 23:53:44 | [diff] [blame] | 3652 | |
| 3653 | const FeatureEntry::FeatureVariation |
| 3654 | kCrOSLateBootMissiveStorageDefaultVariations[] = { |
| 3655 | {"Enable storage degradation", |
| 3656 | kCrOSLateBootMissiveEnableStorageDegradation, |
| 3657 | std::size(kCrOSLateBootMissiveEnableStorageDegradation), nullptr}, |
| 3658 | {"Disable storage degradation", |
| 3659 | kCrOSLateBootMissiveDisableStorageDegradation, |
| 3660 | std::size(kCrOSLateBootMissiveDisableStorageDegradation), nullptr}, |
Leonid Baraz | 124e3ca | 2023-06-27 01:31:20 | [diff] [blame] | 3661 | {"Enable all queues legacy", kCrOSLateBootMissiveEnableLegacyStorage, |
Leonid Baraz | c904d47 | 2023-05-09 23:53:44 | [diff] [blame] | 3662 | std::size(kCrOSLateBootMissiveEnableLegacyStorage), nullptr}, |
Leonid Baraz | 124e3ca | 2023-06-27 01:31:20 | [diff] [blame] | 3663 | {"Disable all queues legacy", kCrOSLateBootMissiveDisableLegacyStorage, |
| 3664 | std::size(kCrOSLateBootMissiveDisableLegacyStorage), nullptr}, |
| 3665 | {"Enable SECURITY and IMMEDIATE queues legacy only", |
| 3666 | kCrOSLateBootMissivePartialLegacyStorage, |
| 3667 | std::size(kCrOSLateBootMissivePartialLegacyStorage), nullptr}, |
| 3668 | {"Enable SECURITY queues legacy only", |
| 3669 | kCrOSLateBootMissiveSecurityLegacyStorage, |
| 3670 | std::size(kCrOSLateBootMissiveSecurityLegacyStorage), nullptr}, |
| 3671 | }; |
Leonid Baraz | c904d47 | 2023-05-09 23:53:44 | [diff] [blame] | 3672 | #endif // BUILDFLAG(IS_CHROME_ASH) |
| 3673 | |
George Benz | 0508630 | 2023-05-02 23:39:10 | [diff] [blame] | 3674 | #if !BUILDFLAG(IS_ANDROID) |
| 3675 | const FeatureEntry::Choice kCastMirroringTargetPlayoutDelayChoices[] = { |
| 3676 | {flag_descriptions::kCastMirroringTargetPlayoutDelayDefault, "", ""}, |
| 3677 | {flag_descriptions::kCastMirroringTargetPlayoutDelay100ms, |
| 3678 | switches::kCastMirroringTargetPlayoutDelay, "100"}, |
| 3679 | {flag_descriptions::kCastMirroringTargetPlayoutDelay150ms, |
| 3680 | switches::kCastMirroringTargetPlayoutDelay, "150"}, |
| 3681 | {flag_descriptions::kCastMirroringTargetPlayoutDelay200ms, |
| 3682 | switches::kCastMirroringTargetPlayoutDelay, "200"}, |
| 3683 | {flag_descriptions::kCastMirroringTargetPlayoutDelay250ms, |
| 3684 | switches::kCastMirroringTargetPlayoutDelay, "250"}, |
| 3685 | {flag_descriptions::kCastMirroringTargetPlayoutDelay300ms, |
| 3686 | switches::kCastMirroringTargetPlayoutDelay, "300"}, |
| 3687 | {flag_descriptions::kCastMirroringTargetPlayoutDelay350ms, |
| 3688 | switches::kCastMirroringTargetPlayoutDelay, "350"}}; |
| 3689 | #endif // !BUILDFLAG(IS_ANDROID) |
| 3690 | |
rgod | 7029ae5 | 2023-05-16 13:01:36 | [diff] [blame] | 3691 | #if !BUILDFLAG(IS_ANDROID) |
| 3692 | const FeatureEntry::FeatureParam kPasswordGenerationTrustedAdvice[] = { |
| 3693 | {password_manager::features::kPasswordGenerationExperimentVariationParam |
| 3694 | .name, |
| 3695 | password_manager::features::kPasswordGenerationExperimentVariationOption[0] |
| 3696 | .name}}; |
| 3697 | const FeatureEntry::FeatureParam kPasswordGenerationSafetyFirst[] = { |
| 3698 | {password_manager::features::kPasswordGenerationExperimentVariationParam |
| 3699 | .name, |
| 3700 | password_manager::features::kPasswordGenerationExperimentVariationOption[1] |
| 3701 | .name}}; |
| 3702 | const FeatureEntry::FeatureParam kPasswordGenerationTrySomethingNew[] = { |
| 3703 | {password_manager::features::kPasswordGenerationExperimentVariationParam |
| 3704 | .name, |
| 3705 | password_manager::features::kPasswordGenerationExperimentVariationOption[2] |
| 3706 | .name}}; |
| 3707 | const FeatureEntry::FeatureParam kPasswordGenerationConvenience[] = { |
| 3708 | {password_manager::features::kPasswordGenerationExperimentVariationParam |
| 3709 | .name, |
| 3710 | password_manager::features::kPasswordGenerationExperimentVariationOption[3] |
| 3711 | .name}}; |
rgod | 8a74133 | 2023-05-23 19:41:03 | [diff] [blame] | 3712 | const FeatureEntry::FeatureParam kPasswordGenerationCrossDevice[] = { |
| 3713 | {password_manager::features::kPasswordGenerationExperimentVariationParam |
| 3714 | .name, |
| 3715 | password_manager::features::kPasswordGenerationExperimentVariationOption[4] |
| 3716 | .name}}; |
rgod | 23ba576 | 2023-07-03 15:46:47 | [diff] [blame] | 3717 | const FeatureEntry::FeatureParam kPasswordGenerationEditPassword[] = { |
| 3718 | {password_manager::features::kPasswordGenerationExperimentVariationParam |
| 3719 | .name, |
| 3720 | password_manager::features::kPasswordGenerationExperimentVariationOption[5] |
| 3721 | .name}}; |
rgod | 7029ae5 | 2023-05-16 13:01:36 | [diff] [blame] | 3722 | |
| 3723 | const FeatureEntry::FeatureVariation kPasswordGenerationExperimentVariations[] = |
| 3724 | { |
| 3725 | {"Trusted advice", kPasswordGenerationTrustedAdvice, |
| 3726 | std::size(kPasswordGenerationTrustedAdvice), nullptr}, |
| 3727 | {"Safety first", kPasswordGenerationSafetyFirst, |
| 3728 | std::size(kPasswordGenerationSafetyFirst), nullptr}, |
| 3729 | {"Try something new", kPasswordGenerationTrySomethingNew, |
| 3730 | std::size(kPasswordGenerationTrySomethingNew), nullptr}, |
| 3731 | {"Convenience", kPasswordGenerationConvenience, |
| 3732 | std::size(kPasswordGenerationConvenience), nullptr}, |
rgod | 8a74133 | 2023-05-23 19:41:03 | [diff] [blame] | 3733 | {"Cross device", kPasswordGenerationCrossDevice, |
| 3734 | std::size(kPasswordGenerationCrossDevice), nullptr}, |
rgod | 23ba576 | 2023-07-03 15:46:47 | [diff] [blame] | 3735 | {"Edit password", kPasswordGenerationEditPassword, |
| 3736 | std::size(kPasswordGenerationEditPassword), nullptr}, |
rgod | 7029ae5 | 2023-05-16 13:01:36 | [diff] [blame] | 3737 | }; |
| 3738 | #endif // !BUILDFLAG(IS_ANDROID) |
| 3739 | |
[email protected] | 4bc5050c | 2010-11-18 17:55:54 | [diff] [blame] | 3740 | // RECORDING USER METRICS FOR FLAGS: |
| 3741 | // ----------------------------------------------------------------------------- |
asvitkine | ab33c92 | 2016-08-30 20:34:19 | [diff] [blame] | 3742 | // The first line of the entry is the internal name. |
[email protected] | 4bc5050c | 2010-11-18 17:55:54 | [diff] [blame] | 3743 | // |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 3744 | // To add a new entry, add to the end of kFeatureEntries. There are two |
| 3745 | // distinct types of entries: |
| 3746 | // . SINGLE_VALUE: entry is either on or off. Use the SINGLE_VALUE_TYPE |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 3747 | // macro for this type supplying the command line to the macro. |
[email protected] | 28e35af | 2011-02-09 12:56:22 | [diff] [blame] | 3748 | // . 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] | 3749 | // deactivated state for this lab (i.e. no command line option). To specify |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 3750 | // this type of entry use the macro MULTI_VALUE_TYPE supplying it the |
[email protected] | 28e35af | 2011-02-09 12:56:22 | [diff] [blame] | 3751 | // array of choices. |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 3752 | // See the documentation of FeatureEntry for details on the fields. |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 3753 | // |
asvitkine | ab33c92 | 2016-08-30 20:34:19 | [diff] [blame] | 3754 | // Usage of about:flags is logged on startup via the "Launch.FlagsAtStartup" |
| 3755 | // UMA histogram. This histogram shows the number of startups with a given flag |
| 3756 | // 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] | 3757 | // "count users" view on the dashboard. When adding new entries, the enum |
Wei-Yin Chen (陳威尹) | 8068345 | 2017-10-02 19:08:25 | [diff] [blame] | 3758 | // "LoginCustomFlags" must be updated in histograms/enums.xml. See note in |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 3759 | // enums.xml and don't forget to run AboutFlagsHistogramTest unit test to |
| 3760 | // calculate and verify checksum. |
[email protected] | 4b66a7d | 2014-08-15 17:13:31 | [diff] [blame] | 3761 | // |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 3762 | // When adding a new choice, add it to the end of the list. |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 3763 | const FeatureEntry kFeatureEntries[] = { |
Elly Fong-Jones | 4054f14 | 2020-04-17 17:12:33 | [diff] [blame] | 3764 | // Include generated flags for flag unexpiry; see //docs/flag_expiry.md and |
| 3765 | // //tools/flags/generate_unexpire_flags.py. |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 3766 | #include "build/chromeos_buildflags.h" |
Elly Fong-Jones | 4054f14 | 2020-04-17 17:12:33 | [diff] [blame] | 3767 | #include "chrome/browser/unexpire_flags_gen.inc" |
Erik Chen | 92f2f0d | 2023-03-13 00:09:48 | [diff] [blame] | 3768 | {variations::switches::kEnableBenchmarking, |
| 3769 | flag_descriptions::kEnableBenchmarkingName, |
| 3770 | flag_descriptions::kEnableBenchmarkingDescription, kOsAll, |
| 3771 | SINGLE_VALUE_TYPE(variations::switches::kEnableBenchmarking)}, |
Corentin Wallez | e660b15 | 2020-07-15 16:07:54 | [diff] [blame] | 3772 | {"ignore-gpu-blocklist", flag_descriptions::kIgnoreGpuBlocklistName, |
| 3773 | flag_descriptions::kIgnoreGpuBlocklistDescription, kOsAll, |
| 3774 | SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlocklist)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3775 | {"disable-accelerated-2d-canvas", |
| 3776 | flag_descriptions::kAccelerated2dCanvasName, |
| 3777 | flag_descriptions::kAccelerated2dCanvasDescription, kOsAll, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 3778 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)}, |
Daniele Castagna | 74ddb9c | 2018-06-21 22:59:02 | [diff] [blame] | 3779 | {"overlay-strategies", flag_descriptions::kOverlayStrategiesName, |
| 3780 | flag_descriptions::kOverlayStrategiesDescription, kOsAll, |
| 3781 | MULTI_VALUE_TYPE(kOverlayStrategiesChoices)}, |
Daniele Castagna | ac71d89 | 2020-07-07 17:30:37 | [diff] [blame] | 3782 | {"tint-composited-content", flag_descriptions::kTintCompositedContentName, |
| 3783 | flag_descriptions::kTintCompositedContentDescription, kOsAll, |
| 3784 | SINGLE_VALUE_TYPE(switches::kTintCompositedContent)}, |
pwarren | 87867167 | 2019-12-13 19:18:16 | [diff] [blame] | 3785 | {"show-overdraw-feedback", flag_descriptions::kShowOverdrawFeedbackName, |
| 3786 | flag_descriptions::kShowOverdrawFeedbackDescription, kOsAll, |
| 3787 | SINGLE_VALUE_TYPE(switches::kShowOverdrawFeedback)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3788 | {"ui-disable-partial-swap", flag_descriptions::kUiPartialSwapName, |
| 3789 | flag_descriptions::kUiPartialSwapDescription, kOsAll, |
reveman | 9413cff | 2017-01-18 03:05:48 | [diff] [blame] | 3790 | SINGLE_DISABLE_VALUE_TYPE(switches::kUIDisablePartialSwap)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3791 | {"disable-webrtc-hw-decoding", flag_descriptions::kWebrtcHwDecodingName, |
| 3792 | flag_descriptions::kWebrtcHwDecodingDescription, kOsAndroid | kOsCrOS, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 3793 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3794 | {"disable-webrtc-hw-encoding", flag_descriptions::kWebrtcHwEncodingName, |
| 3795 | flag_descriptions::kWebrtcHwEncodingDescription, kOsAndroid | kOsCrOS, |
braveyao | e29be16 | 2017-01-17 18:53:35 | [diff] [blame] | 3796 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 3797 | #if !BUILDFLAG(IS_ANDROID) |
Aran Gilman | 766c2ad | 2019-04-18 00:15:41 | [diff] [blame] | 3798 | {"enable-reader-mode", flag_descriptions::kEnableReaderModeName, |
| 3799 | flag_descriptions::kEnableReaderModeDescription, kOsDesktop, |
Katie D | 1ca4328b | 2020-02-19 18:08:47 | [diff] [blame] | 3800 | FEATURE_WITH_PARAMS_VALUE_TYPE(dom_distiller::kReaderMode, |
| 3801 | kReaderModeDiscoverabilityVariations, |
| 3802 | "ReaderMode")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 3803 | #endif // !BUILDFLAG(IS_ANDROID) |
Tomas Popela | 253a583 | 2019-01-14 17:22:10 | [diff] [blame] | 3804 | #if defined(WEBRTC_USE_PIPEWIRE) |
| 3805 | {"enable-webrtc-pipewire-capturer", |
| 3806 | flag_descriptions::kWebrtcPipeWireCapturerName, |
Pengchao Cai | e07a801d | 2022-09-01 18:28:43 | [diff] [blame] | 3807 | flag_descriptions::kWebrtcPipeWireCapturerDescription, kOsLinux, |
Tomas Popela | 253a583 | 2019-01-14 17:22:10 | [diff] [blame] | 3808 | FEATURE_VALUE_TYPE(features::kWebRtcPipeWireCapturer)}, |
| 3809 | #endif // defined(WEBRTC_USE_PIPEWIRE) |
ananubis | ff476b0 | 2021-07-27 07:09:58 | [diff] [blame] | 3810 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Ben Franz | 441a84c | 2022-04-05 08:44:55 | [diff] [blame] | 3811 | {"enable-lacros-in-chrome-kiosk", |
| 3812 | flag_descriptions::kChromeKioskEnableLacrosName, |
| 3813 | flag_descriptions::kChromeKioskEnableLacrosDescription, kOsCrOS, |
| 3814 | FEATURE_VALUE_TYPE(features::kChromeKioskEnableLacros)}, |
ananubis | ff476b0 | 2021-07-27 07:09:58 | [diff] [blame] | 3815 | {"enable-lacros-in-web-kiosk", flag_descriptions::kWebKioskEnableLacrosName, |
| 3816 | flag_descriptions::kWebKioskEnableLacrosDescription, kOsCrOS, |
| 3817 | FEATURE_VALUE_TYPE(features::kWebKioskEnableLacros)}, |
| 3818 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Yi Xie | ac082b4 | 2022-08-03 09:58:37 | [diff] [blame] | 3819 | #if BUILDFLAG(IS_CHROMEOS) |
| 3820 | {"enable-app-service-in-kiosk", |
| 3821 | flag_descriptions::kKioskEnableAppServiceName, |
| 3822 | flag_descriptions::kKioskEnableAppServiceDescription, kOsCrOS, |
| 3823 | FEATURE_VALUE_TYPE(features::kKioskEnableAppService)}, |
| 3824 | #endif // BUILDFLAG(IS_CHROMEOS) |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 3825 | #if !BUILDFLAG(IS_ANDROID) |
Elad Alon | 85e0d0be | 2018-06-26 10:38:37 | [diff] [blame] | 3826 | {"enable-webrtc-remote-event-log", |
| 3827 | flag_descriptions::kWebRtcRemoteEventLogName, |
| 3828 | flag_descriptions::kWebRtcRemoteEventLogDescription, kOsDesktop, |
| 3829 | FEATURE_VALUE_TYPE(features::kWebRtcRemoteEventLog)}, |
| 3830 | #endif |
Alessio Bazzica | 570a4f6 | 2022-10-17 11:16:30 | [diff] [blame] | 3831 | {"enable-webrtc-allow-input-volume-adjustment", |
| 3832 | flag_descriptions::kWebRtcAllowInputVolumeAdjustmentName, |
| 3833 | flag_descriptions::kWebRtcAllowInputVolumeAdjustmentDescription, |
Alessio Bazzica | 8674097 | 2022-10-17 20:23:49 | [diff] [blame] | 3834 | kOsWin | kOsMac | kOsLinux, |
Alessio Bazzica | 570a4f6 | 2022-10-17 11:16:30 | [diff] [blame] | 3835 | FEATURE_VALUE_TYPE(features::kWebRtcAllowInputVolumeAdjustment)}, |
Alessio Bazzica | 76a4502 | 2022-12-06 17:13:17 | [diff] [blame] | 3836 | {"enable-webrtc-apm-downmix-capture-audio-method", |
| 3837 | flag_descriptions::kWebRtcApmDownmixCaptureAudioMethodName, |
| 3838 | flag_descriptions::kWebRtcApmDownmixCaptureAudioMethodDescription, |
| 3839 | kOsDesktop, |
| 3840 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3841 | features::kWebRtcApmDownmixCaptureAudioMethod, |
| 3842 | kWebRtcApmDownmixMethodVariations, |
| 3843 | "WebRtcApmDownmixCaptureAudioMethod")}, |
Qingsi Wang | ec2dbf94 | 2018-11-03 05:33:04 | [diff] [blame] | 3844 | {"enable-webrtc-hide-local-ips-with-mdns", |
| 3845 | flag_descriptions::kWebrtcHideLocalIpsWithMdnsName, |
| 3846 | flag_descriptions::kWebrtcHideLocalIpsWithMdnsDecription, kOsDesktop, |
Antonio Gomes | b471857 | 2019-09-11 02:55:48 | [diff] [blame] | 3847 | FEATURE_VALUE_TYPE(blink::features::kWebRtcHideLocalIpsWithMdns)}, |
Sergey Silkin | c33244f | 2020-01-31 17:21:30 | [diff] [blame] | 3848 | {"enable-webrtc-use-min-max-vea-dimensions", |
| 3849 | flag_descriptions::kWebrtcUseMinMaxVEADimensionsName, |
| 3850 | flag_descriptions::kWebrtcUseMinMaxVEADimensionsDescription, kOsAll, |
| 3851 | FEATURE_VALUE_TYPE(blink::features::kWebRtcUseMinMaxVEADimensions)}, |
Derek Schuff | 71d9a92 | 2019-04-24 21:36:00 | [diff] [blame] | 3852 | #if BUILDFLAG(ENABLE_NACL) |
| 3853 | {"enable-nacl", flag_descriptions::kNaclName, |
| 3854 | flag_descriptions::kNaclDescription, kOsAll, |
| 3855 | SINGLE_VALUE_TYPE(switches::kEnableNaCl)}, |
Fabian Sommer | 0d6568b | 2022-01-05 16:58:34 | [diff] [blame] | 3856 | {"verbose-logging-in-nacl", flag_descriptions::kVerboseLoggingInNaclName, |
| 3857 | flag_descriptions::kVerboseLoggingInNaclDescription, kOsAll, |
| 3858 | MULTI_VALUE_TYPE(kVerboseLoggingInNaclChoices)}, |
Derek Schuff | 71d9a92 | 2019-04-24 21:36:00 | [diff] [blame] | 3859 | #endif // ENABLE_NACL |
Alex Cooper | bdd9a76 | 2023-01-24 23:29:54 | [diff] [blame] | 3860 | #if BUILDFLAG(ENABLE_CARDBOARD) |
| 3861 | {"enable-cardboard", flag_descriptions::kEnableCardboardName, |
| 3862 | flag_descriptions::kEnableCardboardDescription, kOsAndroid, |
| 3863 | FEATURE_VALUE_TYPE(device::features::kEnableCardboard)}, |
| 3864 | #endif // ENABLE_CARDBOARD |
brettw | 00899e6 | 2016-11-12 02:10:17 | [diff] [blame] | 3865 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3866 | {"extensions-on-chrome-urls", |
| 3867 | flag_descriptions::kExtensionsOnChromeUrlsName, |
| 3868 | flag_descriptions::kExtensionsOnChromeUrlsDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3869 | SINGLE_VALUE_TYPE(extensions::switches::kExtensionsOnChromeURLs)}, |
skym | d6d2c8d3 | 2016-09-26 22:06:07 | [diff] [blame] | 3870 | #endif // ENABLE_EXTENSIONS |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 3871 | #if BUILDFLAG(IS_ANDROID) |
Donn Denman | 19688bc | 2021-03-05 18:48:40 | [diff] [blame] | 3872 | {"contextual-search-force-caption", |
| 3873 | flag_descriptions::kContextualSearchForceCaptionName, |
| 3874 | flag_descriptions::kContextualSearchForceCaptionDescription, kOsAndroid, |
| 3875 | FEATURE_VALUE_TYPE(chrome::android::kContextualSearchForceCaption)}, |
Donn Denman | 05a5b99b | 2022-07-27 23:38:44 | [diff] [blame] | 3876 | {"contextual-search-suppress-short-view", |
| 3877 | flag_descriptions::kContextualSearchSuppressShortViewName, |
| 3878 | flag_descriptions::kContextualSearchSuppressShortViewDescription, |
| 3879 | kOsAndroid, |
Gang Wu | fc9c6f5 | 2022-09-13 05:28:19 | [diff] [blame] | 3880 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 3881 | chrome::android::kContextualSearchSuppressShortView, |
| 3882 | kContextualSearchSuppressShortViewVariations, |
| 3883 | "ContextualSearchSuppressShortView")}, |
Donn Denman | c42123c | 2020-03-19 01:44:24 | [diff] [blame] | 3884 | {"related-searches", flag_descriptions::kRelatedSearchesName, |
| 3885 | flag_descriptions::kRelatedSearchesDescription, kOsAndroid, |
Donn Denman | be6617c | 2021-03-01 15:17:00 | [diff] [blame] | 3886 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kRelatedSearches, |
| 3887 | kRelatedSearchesVariations, |
| 3888 | "RelatedSearches")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 3889 | #endif // BUILDFLAG(IS_ANDROID) |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3890 | {"show-autofill-type-predictions", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3891 | flag_descriptions::kShowAutofillTypePredictionsName, |
| 3892 | flag_descriptions::kShowAutofillTypePredictionsDescription, kOsAll, |
Florian Leimgruber | f53ca39 | 2023-02-21 15:56:50 | [diff] [blame] | 3893 | FEATURE_VALUE_TYPE( |
| 3894 | autofill::features::test::kAutofillShowTypePredictions)}, |
Dmitry Vykochko | 91af82b0 | 2022-12-09 17:37:37 | [diff] [blame] | 3895 | {"autofill-more-prominent-popup", |
| 3896 | flag_descriptions::kAutofillMoreProminentPopupName, |
| 3897 | flag_descriptions::kAutofillMoreProminentPopupDescription, kOsDesktop, |
| 3898 | FEATURE_VALUE_TYPE(autofill::features::kAutofillMoreProminentPopup)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3899 | {"smooth-scrolling", flag_descriptions::kSmoothScrollingName, |
| 3900 | flag_descriptions::kSmoothScrollingDescription, |
skobes | 4dd88f3 | 2016-01-06 22:56:22 | [diff] [blame] | 3901 | // Mac has a separate implementation with its own setting to disable. |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 3902 | kOsLinux | kOsLacros | kOsCrOS | kOsWin | kOsAndroid | kOsFuchsia, |
ymalik | 985f5e7 | 2016-02-18 20:10:12 | [diff] [blame] | 3903 | ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSmoothScrolling, |
| 3904 | switches::kDisableSmoothScrolling)}, |
David Bokan | 432978d | 2019-08-15 18:18:52 | [diff] [blame] | 3905 | {"fractional-scroll-offsets", |
| 3906 | flag_descriptions::kFractionalScrollOffsetsName, |
| 3907 | flag_descriptions::kFractionalScrollOffsetsDescription, kOsAll, |
| 3908 | FEATURE_VALUE_TYPE(features::kFractionalScrollOffsets)}, |
Wez | 600f06c | 2021-03-05 20:32:30 | [diff] [blame] | 3909 | #if defined(USE_AURA) |
| 3910 | {"overlay-scrollbars", flag_descriptions::kOverlayScrollbarsName, |
| 3911 | flag_descriptions::kOverlayScrollbarsDescription, |
| 3912 | // Uses the system preference on Mac (a different implementation). |
| 3913 | // On Android, this is always enabled. |
| 3914 | kOsAura, FEATURE_VALUE_TYPE(features::kOverlayScrollbar)}, |
| 3915 | #endif // USE_AURA |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3916 | {"enable-quic", flag_descriptions::kQuicName, |
| 3917 | flag_descriptions::kQuicDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3918 | ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, switches::kDisableQuic)}, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3919 | {"disable-javascript-harmony-shipping", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3920 | flag_descriptions::kJavascriptHarmonyShippingName, |
| 3921 | flag_descriptions::kJavascriptHarmonyShippingDescription, kOsAll, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 3922 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableJavaScriptHarmonyShipping)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3923 | {"enable-javascript-harmony", flag_descriptions::kJavascriptHarmonyName, |
| 3924 | flag_descriptions::kJavascriptHarmonyDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3925 | SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)}, |
Shu-yu Guo | b5461a5 | 2022-09-02 01:22:24 | [diff] [blame] | 3926 | {"enable-javascript-experimental-shared-memory", |
| 3927 | flag_descriptions::kJavascriptExperimentalSharedMemoryName, |
| 3928 | flag_descriptions::kJavascriptExperimentalSharedMemoryDescription, kOsAll, |
| 3929 | FEATURE_VALUE_TYPE(features::kJavaScriptExperimentalSharedMemory)}, |
Andreas Haas | b400d91 | 2019-08-28 18:54:10 | [diff] [blame] | 3930 | {"enable-experimental-webassembly-features", |
| 3931 | flag_descriptions::kExperimentalWebAssemblyFeaturesName, |
| 3932 | flag_descriptions::kExperimentalWebAssemblyFeaturesDescription, kOsAll, |
| 3933 | SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebAssemblyFeatures)}, |
Francis McCabe | df4456d9 | 2022-10-04 20:42:32 | [diff] [blame] | 3934 | #if defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64) |
Francis McCabe | f354883 | 2022-05-26 15:11:27 | [diff] [blame] | 3935 | {"enable-experimental-webassembly-stack-switching", |
Francis McCabe | cfc1e47d | 2023-01-09 22:55:49 | [diff] [blame] | 3936 | flag_descriptions::kExperimentalWebAssemblyJSPIName, |
| 3937 | flag_descriptions::kExperimentalWebAssemblyJSPIDescription, kOsAll, |
| 3938 | FEATURE_VALUE_TYPE(features::kEnableExperimentalWebAssemblyJSPI)}, |
Francis McCabe | df4456d9 | 2022-10-04 20:42:32 | [diff] [blame] | 3939 | #endif // defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64) |
Clemens Hammacher | 0c8a15a | 2018-04-27 13:45:32 | [diff] [blame] | 3940 | {"enable-webassembly-baseline", flag_descriptions::kEnableWasmBaselineName, |
| 3941 | flag_descriptions::kEnableWasmBaselineDescription, kOsAll, |
| 3942 | FEATURE_VALUE_TYPE(features::kWebAssemblyBaseline)}, |
Adam Klein | adbd0ef | 2022-12-15 00:07:15 | [diff] [blame] | 3943 | {"enable-webassembly-garbage-collection", |
| 3944 | flag_descriptions::kEnableWasmGarbageCollectionName, |
| 3945 | flag_descriptions::kEnableWasmGarbageCollectionDescription, kOsAll, |
| 3946 | FEATURE_VALUE_TYPE(features::kWebAssemblyGarbageCollection)}, |
Clemens Backes | 50e0ecd | 2020-01-20 10:43:24 | [diff] [blame] | 3947 | {"enable-webassembly-lazy-compilation", |
| 3948 | flag_descriptions::kEnableWasmLazyCompilationName, |
| 3949 | flag_descriptions::kEnableWasmLazyCompilationDescription, kOsAll, |
| 3950 | FEATURE_VALUE_TYPE(features::kWebAssemblyLazyCompilation)}, |
Deepti Gandluri | 377ba8cc | 2022-11-11 18:09:38 | [diff] [blame] | 3951 | {"enable-webassembly-relaxed-simd", |
| 3952 | flag_descriptions::kEnableWasmRelaxedSimdName, |
| 3953 | flag_descriptions::kEnableWasmRelaxedSimdDescription, kOsAll, |
| 3954 | FEATURE_VALUE_TYPE(features::kWebAssemblyRelaxedSimd)}, |
Matthias Liedtke | 731a77c | 2023-03-14 16:11:33 | [diff] [blame] | 3955 | {"enable-webassembly-stringref", |
| 3956 | flag_descriptions::kEnableWasmStringrefName, |
| 3957 | flag_descriptions::kEnableWasmStringrefDescription, kOsAll, |
| 3958 | FEATURE_VALUE_TYPE(features::kWebAssemblyStringref)}, |
Clemens Backes | 963eb37be | 2020-01-10 11:56:49 | [diff] [blame] | 3959 | {"enable-webassembly-tiering", flag_descriptions::kEnableWasmTieringName, |
| 3960 | flag_descriptions::kEnableWasmTieringDescription, kOsAll, |
| 3961 | FEATURE_VALUE_TYPE(features::kWebAssemblyTiering)}, |
Michael Hablich | 896d5266 | 2017-10-23 15:59:57 | [diff] [blame] | 3962 | {"enable-future-v8-vm-features", flag_descriptions::kV8VmFutureName, |
| 3963 | flag_descriptions::kV8VmFutureDescription, kOsAll, |
| 3964 | FEATURE_VALUE_TYPE(features::kV8VmFuture)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3965 | {"enable-gpu-rasterization", flag_descriptions::kGpuRasterizationName, |
| 3966 | flag_descriptions::kGpuRasterizationDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3967 | MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)}, |
Dominik Röttsches | 94487ec | 2023-06-21 09:45:58 | [diff] [blame] | 3968 | #if BUILDFLAG(USE_FONTATIONS_BACKEND) |
| 3969 | {"enable-fontations-backend", flag_descriptions::kFontationsFontBackendName, |
| 3970 | flag_descriptions::kFontationsFontBackendDescription, kOsAll, |
| 3971 | FEATURE_VALUE_TYPE(blink::features::kFontationsFontBackend)}, |
| 3972 | #endif |
asvitkine | ab33c92 | 2016-08-30 20:34:19 | [diff] [blame] | 3973 | {"enable-experimental-web-platform-features", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 3974 | flag_descriptions::kExperimentalWebPlatformFeaturesName, |
| 3975 | flag_descriptions::kExperimentalWebPlatformFeaturesDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 3976 | SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)}, |
Peter Kasting | d7742835 | 2018-10-26 15:20:25 | [diff] [blame] | 3977 | {"top-chrome-touch-ui", flag_descriptions::kTopChromeTouchUiName, |
| 3978 | flag_descriptions::kTopChromeTouchUiDescription, kOsDesktop, |
| 3979 | MULTI_VALUE_TYPE(kTopChromeTouchUiChoices)}, |
Peter Boström | 92add81d | 2019-08-12 22:14:24 | [diff] [blame] | 3980 | #if BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) |
Yuheng Huang | 4d0b941fc | 2021-10-12 05:30:36 | [diff] [blame] | 3981 | {flag_descriptions::kWebUITabStripFlagId, |
| 3982 | flag_descriptions::kWebUITabStripName, |
Peter Boström | 92add81d | 2019-08-12 22:14:24 | [diff] [blame] | 3983 | flag_descriptions::kWebUITabStripDescription, kOsDesktop, |
Collin Baker | 33a13f5 | 2019-12-13 00:30:23 | [diff] [blame] | 3984 | FEATURE_VALUE_TYPE(features::kWebUITabStrip)}, |
Tom | bae38894 | 2021-08-17 02:44:00 | [diff] [blame] | 3985 | {"webui-tab-strip-context-menu-after-tap", |
| 3986 | flag_descriptions::kWebUITabStripContextMenuAfterTapName, |
| 3987 | flag_descriptions::kWebUITabStripContextMenuAfterTapDescription, |
| 3988 | kOsDesktop, |
| 3989 | FEATURE_VALUE_TYPE(features::kWebUITabStripContextMenuAfterTap)}, |
Peter Boström | 92add81d | 2019-08-12 22:14:24 | [diff] [blame] | 3990 | #endif // BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 3991 | #if BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) && BUILDFLAG(IS_CHROMEOS_ASH) |
Collin Baker | 0b940c8e | 2020-08-07 18:53:48 | [diff] [blame] | 3992 | { |
| 3993 | "webui-tab-strip-tab-drag-integration", |
| 3994 | flag_descriptions::kWebUITabStripTabDragIntegrationName, |
| 3995 | flag_descriptions::kWebUITabStripTabDragIntegrationDescription, |
| 3996 | kOsCrOS, |
| 3997 | FEATURE_VALUE_TYPE(ash::features::kWebUITabStripTabDragIntegration), |
| 3998 | }, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 3999 | #endif // BUILDFLAG(ENABLE_WEBUI_TAB_STRIP) && BUILDFLAG(IS_CHROMEOS_ASH) |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4000 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Andreea Costinas | 99e2419 | 2023-02-15 14:39:46 | [diff] [blame] | 4001 | {"allow-eap-default-cas-without-subject-verification", |
| 4002 | flag_descriptions::kAllowEapDefaultCasWithoutSubjectVerificationName, |
| 4003 | flag_descriptions:: |
| 4004 | kAllowEapDefaultCasWithoutSubjectVerificationDescription, |
| 4005 | kOsCrOS, |
| 4006 | FEATURE_VALUE_TYPE( |
| 4007 | ash::features::kAllowEapDefaultCasWithoutSubjectVerification)}, |
Michael Checo | 6adc5f9 | 2023-05-09 03:09:02 | [diff] [blame] | 4008 | {"alt-click-and-six-pack-customization", |
| 4009 | flag_descriptions::kAltClickAndSixPackCustomizationName, |
| 4010 | flag_descriptions::kAltClickAndSixPackCustomizationDescription, kOsCrOS, |
| 4011 | FEATURE_VALUE_TYPE(ash::features::kAltClickAndSixPackCustomization)}, |
Antoni Dikov | b348750 | 2022-09-21 15:24:21 | [diff] [blame] | 4012 | {"apn-revamp", flag_descriptions::kApnRevampName, |
| 4013 | flag_descriptions::kApnRevampDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4014 | FEATURE_VALUE_TYPE(ash::features::kApnRevamp)}, |
Hung-Hsien Chen | 30af6675 | 2023-02-24 02:55:26 | [diff] [blame] | 4015 | {"audio-ap-noise-cancellation", |
| 4016 | flag_descriptions::kAudioAPNoiseCancellationName, |
| 4017 | flag_descriptions::kAudioAPNoiseCancellationDescription, kOsCrOS, |
| 4018 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioAPNoiseCancellation")}, |
Li-Yu Yu | 7610f008 | 2023-01-04 08:36:29 | [diff] [blame] | 4019 | {"audio-flexible-loopback", flag_descriptions::kAudioFlexibleLoopbackName, |
| 4020 | flag_descriptions::kAudioFlexibleLoopbackDescription, kOsCrOS, |
| 4021 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioFlexibleLoopback")}, |
Chih-Yang Hsia | 540cf37 | 2022-08-04 08:10:22 | [diff] [blame] | 4022 | {"audio-hfp-mic-sr", flag_descriptions::kAudioHFPMicSRName, |
| 4023 | flag_descriptions::kAudioHFPMicSRDescription, kOsCrOS, |
| 4024 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioHFPMicSR")}, |
Jeremy Wu | 8ea57b6 | 2023-06-02 02:55:26 | [diff] [blame] | 4025 | {"audio-hfp-nbs-warning", flag_descriptions::kAudioHFPNbsWarningName, |
| 4026 | flag_descriptions::kAudioHFPNbsWarningDescription, kOsCrOS, |
| 4027 | FEATURE_VALUE_TYPE(ash::features::kAudioHFPNbsWarning)}, |
Pin-chih Lin | f52f460 | 2023-03-06 04:01:31 | [diff] [blame] | 4028 | {"audio-hfp-offload", flag_descriptions::kAudioHFPOffloadName, |
| 4029 | flag_descriptions::kAudioHFPOffloadDescription, kOsCrOS, |
| 4030 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioHFPOffload")}, |
Jeremy Wu | 74b1a55 | 2023-06-05 07:59:28 | [diff] [blame] | 4031 | {"audio-hfp-swb", flag_descriptions::kAudioHFPSwbName, |
| 4032 | flag_descriptions::kAudioHFPSwbDescription, kOsCrOS, |
| 4033 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootAudioHFPSwb")}, |
whalechang | 258191d | 2023-02-14 04:36:42 | [diff] [blame] | 4034 | {"cras-split-alsa-usb-internal", |
| 4035 | flag_descriptions::kCrasSplitAlsaUsbInternalName, |
| 4036 | flag_descriptions::kCrasSplitAlsaUsbInternalDescription, kOsCrOS, |
| 4037 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootCrasSplitAlsaUSBInternal")}, |
Daniele Castagna | 893d822e | 2019-03-08 21:37:11 | [diff] [blame] | 4038 | {"disable-explicit-dma-fences", |
| 4039 | flag_descriptions::kDisableExplicitDmaFencesName, |
| 4040 | flag_descriptions::kDisableExplicitDmaFencesDescription, kOsCrOS, |
| 4041 | SINGLE_VALUE_TYPE(switches::kDisableExplicitDmaFences)}, |
Miguel Casas | f15028b1 | 2019-10-23 12:52:32 | [diff] [blame] | 4042 | // TODO(crbug.com/1012846): Remove this flag and provision when HDR is fully |
| 4043 | // supported on ChromeOS. |
Miguel Casas | 8821b098 | 2020-07-02 12:28:49 | [diff] [blame] | 4044 | {"use-hdr-transfer-function", |
| 4045 | flag_descriptions::kUseHDRTransferFunctionName, |
| 4046 | flag_descriptions::kUseHDRTransferFunctionDescription, kOsCrOS, |
| 4047 | FEATURE_VALUE_TYPE(display::features::kUseHDRTransferFunction)}, |
Thanh Nguyen | 730ac8a3 | 2022-05-19 08:50:46 | [diff] [blame] | 4048 | {"adaptive-charging", flag_descriptions::kAdaptiveChargingName, |
| 4049 | flag_descriptions::kAdaptiveChargingDescription, kOsCrOS, |
| 4050 | FEATURE_VALUE_TYPE(ash::features::kAdaptiveCharging)}, |
Thanh Nguyen | 6b4c585 | 2022-05-26 22:03:25 | [diff] [blame] | 4051 | {"adaptive-charging-for-testing", |
| 4052 | flag_descriptions::kAdaptiveChargingForTestingName, |
| 4053 | flag_descriptions::kAdaptiveChargingForTestingDescription, kOsCrOS, |
| 4054 | FEATURE_VALUE_TYPE(ash::features::kAdaptiveChargingForTesting)}, |
Ahmed Fakhry | 886038f | 2023-06-10 00:11:25 | [diff] [blame] | 4055 | {"ash-capture-mode-audio-mixing", |
| 4056 | flag_descriptions::kCaptureModeAudioMixingName, |
| 4057 | flag_descriptions::kCaptureModeAudioMixingDescription, kOsCrOS, |
| 4058 | FEATURE_VALUE_TYPE(ash::features::kCaptureModeAudioMixing)}, |
Michele Fan | b0c93e4 | 2023-01-03 16:08:00 | [diff] [blame] | 4059 | {"ash-capture-mode-demo-tools", |
| 4060 | flag_descriptions::kCaptureModeDemoToolsName, |
| 4061 | flag_descriptions::kCaptureModeDemoToolsDescription, kOsCrOS, |
| 4062 | FEATURE_VALUE_TYPE(ash::features::kCaptureModeDemoTools)}, |
Ahmed Fakhry | e1072c1 | 2023-02-27 20:58:49 | [diff] [blame] | 4063 | {"ash-capture-mode-gif-recording", |
| 4064 | flag_descriptions::kCaptureModeGifRecordingName, |
| 4065 | flag_descriptions::kCaptureModeGifRecordingDescription, kOsCrOS, |
| 4066 | FEATURE_VALUE_TYPE(ash::features::kGifRecording)}, |
minch | 1ad858c | 2021-06-24 20:30:01 | [diff] [blame] | 4067 | {"ash-overview-button", flag_descriptions::kOverviewButtonName, |
| 4068 | flag_descriptions::kOverviewButtonDescription, kOsCrOS, |
| 4069 | FEATURE_VALUE_TYPE(ash::features::kOverviewButton)}, |
Ahmed Fakhry | 039882f | 2020-06-16 21:56:21 | [diff] [blame] | 4070 | {"ash-limit-shelf-items-to-active-desk", |
| 4071 | flag_descriptions::kLimitShelfItemsToActiveDeskName, |
| 4072 | flag_descriptions::kLimitShelfItemsToActiveDeskDescription, kOsCrOS, |
| 4073 | FEATURE_VALUE_TYPE(ash::features::kPerDeskShelf)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4074 | {"ash-enable-unified-desktop", |
| 4075 | flag_descriptions::kAshEnableUnifiedDesktopName, |
| 4076 | flag_descriptions::kAshEnableUnifiedDesktopDescription, kOsCrOS, |
rjkroege | 03f3d6b | 2016-09-09 21:27:59 | [diff] [blame] | 4077 | SINGLE_VALUE_TYPE(switches::kEnableUnifiedDesktop)}, |
Zoraiz Naeem | 82fa0107 | 2022-06-14 20:13:09 | [diff] [blame] | 4078 | {"rounded-display", flag_descriptions::kRoundedDisplay, |
| 4079 | flag_descriptions::kRoundedDisplayDescription, kOsCrOS, |
Zoraiz Naeem | 20d0ed9 | 2022-06-27 23:57:29 | [diff] [blame] | 4080 | FEATURE_VALUE_TYPE(display::features::kRoundedDisplay)}, |
Zoraiz Naeem | 056fe4b | 2023-05-23 00:35:38 | [diff] [blame] | 4081 | {"rounded-windows", flag_descriptions::kRoundedWindows, |
| 4082 | flag_descriptions::kRoundedWindowsDescription, kOsCrOS, |
| 4083 | FEATURE_WITH_PARAMS_VALUE_TYPE(chromeos::features::kRoundedWindows, |
| 4084 | kRoundedWindowsRadiusVariation, |
| 4085 | "RoundedWindows")}, |
Michael Sun | 1b15a30 | 2020-04-07 02:57:29 | [diff] [blame] | 4086 | {"bluetooth-fix-a2dp-packet-size", |
| 4087 | flag_descriptions::kBluetoothFixA2dpPacketSizeName, |
| 4088 | flag_descriptions::kBluetoothFixA2dpPacketSizeDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4089 | FEATURE_VALUE_TYPE(ash::features::kBluetoothFixA2dpPacketSize)}, |
Joseph Hwang | c0c68e6 | 2022-08-12 16:52:16 | [diff] [blame] | 4090 | {"bluetooth-quality-report", flag_descriptions::kBluetoothQualityReportName, |
| 4091 | flag_descriptions::kBluetoothQualityReportDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4092 | FEATURE_VALUE_TYPE(ash::features::kBluetoothQualityReport)}, |
Hsin-Yu Chao | 6f2cfd6a | 2020-11-16 04:37:34 | [diff] [blame] | 4093 | {"bluetooth-wbs-dogfood", flag_descriptions::kBluetoothWbsDogfoodName, |
| 4094 | flag_descriptions::kBluetoothWbsDogfoodDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4095 | FEATURE_VALUE_TYPE(ash::features::kBluetoothWbsDogfood)}, |
Manish Mandlik | dd93b61 | 2022-08-12 01:08:19 | [diff] [blame] | 4096 | {"bluetooth-coredump", flag_descriptions::kBluetoothCoredumpName, |
| 4097 | flag_descriptions::kBluetoothCoredumpDescription, kOsCrOS, |
| 4098 | FEATURE_VALUE_TYPE(chromeos::bluetooth::features::kBluetoothCoredump)}, |
Manish Mandlik | 05533f1 | 2023-03-16 00:31:07 | [diff] [blame] | 4099 | {"bluetooth-floss-coredump", flag_descriptions::kBluetoothFlossCoredumpName, |
| 4100 | flag_descriptions::kBluetoothFlossCoredumpDescription, kOsCrOS, |
| 4101 | FEATURE_VALUE_TYPE( |
| 4102 | chromeos::bluetooth::features::kBluetoothFlossCoredump)}, |
Sarvesh | 02d88ff | 2023-01-18 23:10:41 | [diff] [blame] | 4103 | {kBluetoothUseFlossInternalName, flag_descriptions::kBluetoothUseFlossName, |
Sonny Sasaka | 9472521 | 2021-12-17 01:37:30 | [diff] [blame] | 4104 | flag_descriptions::kBluetoothUseFlossDescription, kOsCrOS, |
| 4105 | FEATURE_VALUE_TYPE(floss::features::kFlossEnabled)}, |
Zhengping Jiang | 706c227 | 2022-07-13 05:50:34 | [diff] [blame] | 4106 | {"bluetooth-use-llprivacy", flag_descriptions::kBluetoothUseLLPrivacyName, |
| 4107 | flag_descriptions::kBluetoothUseLLPrivacyDescription, kOsCrOS, |
| 4108 | FEATURE_VALUE_TYPE(bluez::features::kLinkLayerPrivacy)}, |
Abhishek Pandit-Subedi | 1843978c | 2023-05-17 02:52:23 | [diff] [blame] | 4109 | {"bluetooth-long-autosuspend", |
| 4110 | flag_descriptions::kBluetoothLongAutosuspendName, |
| 4111 | flag_descriptions::kBluetoothLongAutosuspendDescription, kOsCrOS, |
| 4112 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootLongBluetoothAutosuspend")}, |
Sam Cackett | 2891ad8 | 2022-12-08 19:45:55 | [diff] [blame] | 4113 | {"calendar-jelly", flag_descriptions::kCalendarJellyName, |
| 4114 | flag_descriptions::kCalendarJellyDescription, kOsCrOS, |
| 4115 | FEATURE_VALUE_TYPE(ash::features::kCalendarJelly)}, |
Steven Bennetts | 2038c6c | 2022-12-02 20:06:09 | [diff] [blame] | 4116 | {"captive-portal-error-page", |
| 4117 | flag_descriptions::kCaptivePortalErrorPageName, |
| 4118 | flag_descriptions::kCaptivePortalErrorPageDescription, kOsCrOS, |
| 4119 | FEATURE_VALUE_TYPE(ash::features::kCaptivePortalErrorPage)}, |
Jason Zhang | 9ec87775 | 2021-10-29 18:10:50 | [diff] [blame] | 4120 | {"cellular-bypass-esim-installation-connectivity-check", |
| 4121 | flag_descriptions::kCellularBypassESimInstallationConnectivityCheckName, |
| 4122 | flag_descriptions:: |
| 4123 | kCellularBypassESimInstallationConnectivityCheckDescription, |
| 4124 | kOsCrOS, |
| 4125 | FEATURE_VALUE_TYPE( |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4126 | ash::features::kCellularBypassESimInstallationConnectivityCheck)}, |
Jason Zhang | 26cacea | 2022-04-04 18:55:04 | [diff] [blame] | 4127 | {"cellular-use-second-euicc", |
| 4128 | flag_descriptions::kCellularUseSecondEuiccName, |
| 4129 | flag_descriptions::kCellularUseSecondEuiccDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4130 | FEATURE_VALUE_TYPE(ash::features::kCellularUseSecondEuicc)}, |
Jan Lanik | 3f59233 | 2022-10-06 21:08:00 | [diff] [blame] | 4131 | {"cros-privacy-hub-v0", flag_descriptions::kCrosPrivacyHubV0Name, |
| 4132 | flag_descriptions::kCrosPrivacyHubV0Description, kOsCrOS, |
| 4133 | FEATURE_VALUE_TYPE(ash::features::kCrosPrivacyHubV0)}, |
Jan Lanik | 28195e4 | 2022-08-02 14:23:29 | [diff] [blame] | 4134 | {"enable-cros-privacy-hub", flag_descriptions::kCrosPrivacyHubName, |
| 4135 | flag_descriptions::kCrosPrivacyHubDescription, kOsCrOS, |
| 4136 | FEATURE_VALUE_TYPE(ash::features::kCrosPrivacyHub)}, |
Sean Kau | d5d0fc7 | 2023-01-30 19:08:26 | [diff] [blame] | 4137 | {"jelly-colors", flag_descriptions::kJellyColorsName, |
Sean Kau | 12be3af | 2023-03-02 23:32:43 | [diff] [blame] | 4138 | flag_descriptions::kJellyColorsDescription, kOsCrOS | kOsLacros, |
| 4139 | FEATURE_VALUE_TYPE(chromeos::features::kJelly)}, |
Gordon Seto | 2c79d044 | 2022-02-22 22:33:06 | [diff] [blame] | 4140 | {"oobe-hid-detection-revamp", |
| 4141 | flag_descriptions::kOobeHidDetectionRevampName, |
| 4142 | flag_descriptions::kOobeHidDetectionRevampDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4143 | FEATURE_VALUE_TYPE(ash::features::kOobeHidDetectionRevamp)}, |
Ashley Prasad | 26ebba5d | 2023-03-31 16:47:46 | [diff] [blame] | 4144 | {"os-feedback-jelly", flag_descriptions::kOsFeedbackJellyName, |
| 4145 | flag_descriptions::kOsFeedbackJellyDescription, kOsCrOS, |
| 4146 | FEATURE_VALUE_TYPE(ash::features::kOsFeedbackJelly)}, |
Wes Okuhara | 7237367 | 2022-10-14 16:38:19 | [diff] [blame] | 4147 | {"os-settings-app-badging-toggle", |
| 4148 | flag_descriptions::kOsSettingsAppBadgingToggleName, |
| 4149 | flag_descriptions::kOsSettingsAppBadgingToggleDescription, kOsCrOS, |
| 4150 | FEATURE_VALUE_TYPE(ash::features::kOsSettingsAppBadgingToggle)}, |
Xiaohui Chen | cd2db09e | 2023-06-12 18:20:26 | [diff] [blame] | 4151 | {"os-settings-deprecate-sync-metrics-toggle", |
| 4152 | flag_descriptions::kOsSettingsDeprecateSyncMetricsToggleName, |
| 4153 | flag_descriptions::kOsSettingsDeprecateSyncMetricsToggleDescription, |
| 4154 | kOsCrOS, |
| 4155 | FEATURE_VALUE_TYPE(ash::features::kOsSettingsDeprecateSyncMetricsToggle)}, |
Wes Okuhara | d71d73df | 2023-05-17 23:33:38 | [diff] [blame] | 4156 | {"os-settings-revamp-wayfinding", |
| 4157 | flag_descriptions::kOsSettingsRevampWayfindingName, |
| 4158 | flag_descriptions::kOsSettingsRevampWayfindingDescription, kOsCrOS, |
| 4159 | FEATURE_VALUE_TYPE(ash::features::kOsSettingsRevampWayfinding)}, |
James Cook | 808a141 | 2022-11-09 21:02:42 | [diff] [blame] | 4160 | {"qs-revamp", flag_descriptions::kQsRevampName, |
Jiaming Cheng | e04b3b5 | 2022-08-09 02:46:59 | [diff] [blame] | 4161 | flag_descriptions::kQsRevampDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4162 | FEATURE_VALUE_TYPE(ash::features::kQsRevamp)}, |
Kyle Horimoto | 874554a | 2019-01-31 00:52:09 | [diff] [blame] | 4163 | {"use_messages_staging_url", flag_descriptions::kUseMessagesStagingUrlName, |
Jon Mann | c9d088c | 2019-08-14 18:14:21 | [diff] [blame] | 4164 | flag_descriptions::kUseMessagesStagingUrlDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4165 | FEATURE_VALUE_TYPE(ash::features::kUseMessagesStagingUrl)}, |
Jon Mann | 5ebbd153 | 2020-04-17 22:12:05 | [diff] [blame] | 4166 | {"use-custom-messages-domain", |
| 4167 | flag_descriptions::kUseCustomMessagesDomainName, |
| 4168 | flag_descriptions::kUseCustomMessagesDomainDescription, kOsCrOS, |
| 4169 | ORIGIN_LIST_VALUE_TYPE(switches::kCustomAndroidMessagesDomain, "")}, |
Thanh Nguyen | a4c93344 | 2019-05-11 03:43:55 | [diff] [blame] | 4170 | {"disable-cancel-all-touches", |
| 4171 | flag_descriptions::kDisableCancelAllTouchesName, |
| 4172 | flag_descriptions::kDisableCancelAllTouchesDescription, kOsCrOS, |
| 4173 | SINGLE_VALUE_TYPE(switches::kDisableCancelAllTouches)}, |
Alex Newcomer | e5a362c | 2019-05-02 19:31:35 | [diff] [blame] | 4174 | { |
| 4175 | "enable-background-blur", |
| 4176 | flag_descriptions::kEnableBackgroundBlurName, |
| 4177 | flag_descriptions::kEnableBackgroundBlurDescription, |
| 4178 | kOsCrOS, |
minch | ab2ded5ce | 2019-09-06 18:32:28 | [diff] [blame] | 4179 | FEATURE_VALUE_TYPE(ash::features::kEnableBackgroundBlur), |
Alex Newcomer | e5a362c | 2019-05-02 19:31:35 | [diff] [blame] | 4180 | }, |
Brian Geffon | 297843f | 2022-06-27 16:33:43 | [diff] [blame] | 4181 | {"enable-zram-writeback", flag_descriptions::kEnableZramWriteback, |
| 4182 | flag_descriptions::kEnableZramWritebackDescription, kOsCrOS, |
| 4183 | FEATURE_VALUE_TYPE(ash::kCrOSEnableZramWriteback)}, |
Brian Geffon | 1c24556a | 2023-06-12 17:10:44 | [diff] [blame] | 4184 | {"enable-suspend-to-disk", flag_descriptions::kEnableSuspendToDisk, |
| 4185 | flag_descriptions::kEnableSuspendToDiskDescription, kOsCrOS, |
| 4186 | FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kSuspendToDisk, |
| 4187 | kHibernateFeatureVariations, |
| 4188 | "SuspendToDisk")}, |
Hidehiko Abe | ded6e5b | 2022-01-24 17:00:04 | [diff] [blame] | 4189 | // Used to carry the policy value crossing the Chrome process lifetime. |
| 4190 | {crosapi::browser_util::kLacrosAvailabilityPolicyInternalName, "", "", |
| 4191 | kOsCrOS, MULTI_VALUE_TYPE(kLacrosAvailabilityPolicyChoices)}, |
Victor-Gabriel Savu | 6b0d97c | 2022-12-09 12:22:43 | [diff] [blame] | 4192 | // Used to carry the policy value crossing the Chrome process lifetime. |
| 4193 | {crosapi::browser_util::kLacrosDataBackwardMigrationModePolicyInternalName, |
| 4194 | "", "", kOsCrOS, |
| 4195 | MULTI_VALUE_TYPE(kLacrosDataBackwardMigrationModePolicyChoices)}, |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 4196 | {kLacrosSupportInternalName, flag_descriptions::kLacrosSupportName, |
James Cook | ac2473be | 2020-04-28 00:54:18 | [diff] [blame] | 4197 | flag_descriptions::kLacrosSupportDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4198 | FEATURE_VALUE_TYPE(ash::features::kLacrosSupport)}, |
Erik Chen | 601a5d6 | 2020-12-07 20:05:12 | [diff] [blame] | 4199 | {kLacrosStabilityInternalName, flag_descriptions::kLacrosStabilityName, |
| 4200 | flag_descriptions::kLacrosStabilityDescription, kOsCrOS, |
| 4201 | MULTI_VALUE_TYPE(kLacrosStabilityChoices)}, |
Erik Chen | 5d686e2a0 | 2022-11-01 23:11:31 | [diff] [blame] | 4202 | {kLacrosWaylandLoggingInternalName, |
| 4203 | flag_descriptions::kLacrosWaylandLoggingName, |
| 4204 | flag_descriptions::kLacrosWaylandLoggingDescription, kOsCrOS, |
| 4205 | FEATURE_VALUE_TYPE(ash::features::kLacrosWaylandLogging)}, |
Peter Boström | 6324b79 | 2022-09-28 23:15:56 | [diff] [blame] | 4206 | {kPreferDcheckInternalName, flag_descriptions::kPreferDcheckName, |
| 4207 | flag_descriptions::kPreferDcheckDescription, kOsCrOS, |
| 4208 | MULTI_VALUE_TYPE(kPreferDcheckChoices)}, |
Erik Chen | 366873d6 | 2022-03-08 23:11:38 | [diff] [blame] | 4209 | {"uxstudy1", flag_descriptions::kUXStudy1Name, |
| 4210 | flag_descriptions::kUXStudy1Description, kOsCrOS, |
| 4211 | MULTI_VALUE_TYPE(kUXStudy1Choices)}, |
Yuta Hijikata | ad79442 | 2022-04-15 17:33:12 | [diff] [blame] | 4212 | {"lacros-move-profile-migration", |
| 4213 | flag_descriptions::kLacrosMoveProfileMigrationName, |
| 4214 | flag_descriptions::kLacrosMoveProfileMigrationDescription, kOsCrOS, |
| 4215 | FEATURE_VALUE_TYPE(ash::features::kLacrosMoveProfileMigration)}, |
Yuta Hijikata | 6a575d4 | 2022-01-11 04:09:07 | [diff] [blame] | 4216 | {"lacros-profile-migration-force-off", |
| 4217 | flag_descriptions::kLacrosProfileMigrationForceOffName, |
| 4218 | flag_descriptions::kLacrosProfileMigrationForceOffDescription, kOsCrOS, |
| 4219 | FEATURE_VALUE_TYPE(ash::features::kLacrosProfileMigrationForceOff)}, |
Jana Grill | 661e475 | 2023-06-21 12:27:21 | [diff] [blame] | 4220 | {"lacros-trigger-profile-backward-migration", |
| 4221 | flag_descriptions::kLacrosProfileBackwardMigrationName, |
| 4222 | flag_descriptions::kLacrosProfileBackwardMigrationDescription, kOsCrOS, |
| 4223 | FEATURE_VALUE_TYPE(ash::features::kLacrosProfileBackwardMigration)}, |
Jae Hoon Kim | 94e1cfd | 2021-05-19 20:52:52 | [diff] [blame] | 4224 | {kLacrosSelectionInternalName, flag_descriptions::kLacrosSelectionName, |
| 4225 | flag_descriptions::kLacrosSelectionDescription, kOsCrOS, |
| 4226 | MULTI_VALUE_TYPE(kLacrosSelectionChoices)}, |
Artem Sumaneev | 1f3555a | 2023-01-30 12:48:27 | [diff] [blame] | 4227 | {kLacrosSelectionPolicyIgnoreInternalName, |
| 4228 | flag_descriptions::kLacrosSelectionPolicyIgnoreName, |
| 4229 | flag_descriptions::kLacrosSelectionPolicyIgnoreDescription, kOsCrOS, |
| 4230 | SINGLE_VALUE_TYPE(ash::switches::kLacrosSelectionPolicyIgnore)}, |
Maggie Cai | 6dd6b55 | 2021-04-27 08:40:32 | [diff] [blame] | 4231 | {kWebAppsCrosapiInternalName, flag_descriptions::kWebAppsCrosapiName, |
| 4232 | flag_descriptions::kWebAppsCrosapiDescription, kOsCrOS, |
| 4233 | FEATURE_VALUE_TYPE(features::kWebAppsCrosapi)}, |
Hidehiko Abe | 9f190d1 | 2021-03-18 12:55:20 | [diff] [blame] | 4234 | {kLacrosPrimaryInternalName, flag_descriptions::kLacrosPrimaryName, |
| 4235 | flag_descriptions::kLacrosPrimaryDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4236 | FEATURE_VALUE_TYPE(ash::features::kLacrosPrimary)}, |
Hidehiko Abe | a7217c9 | 2022-02-01 05:54:57 | [diff] [blame] | 4237 | {kLacrosOnlyInternalName, flag_descriptions::kLacrosOnlyName, |
| 4238 | flag_descriptions::kLacrosOnlyDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4239 | FEATURE_VALUE_TYPE(ash::features::kLacrosOnly)}, |
Erik Chen | d7082ec | 2021-06-25 01:04:12 | [diff] [blame] | 4240 | {kLacrosAvailabilityIgnoreInternalName, |
| 4241 | flag_descriptions::kLacrosAvailabilityIgnoreName, |
| 4242 | flag_descriptions::kLacrosAvailabilityIgnoreDescription, kOsCrOS, |
| 4243 | SINGLE_VALUE_TYPE(ash::switches::kLacrosAvailabilityIgnore)}, |
Ahmed Fakhry | 15d707e | 2019-02-22 23:54:21 | [diff] [blame] | 4244 | {"list-all-display-modes", flag_descriptions::kListAllDisplayModesName, |
| 4245 | flag_descriptions::kListAllDisplayModesDescription, kOsCrOS, |
| 4246 | FEATURE_VALUE_TYPE(display::features::kListAllDisplayModes)}, |
Gil Dekel | 11cbdfb | 2020-12-23 21:43:27 | [diff] [blame] | 4247 | {"enable-hardware_mirror-mode", |
| 4248 | flag_descriptions::kEnableHardwareMirrorModeName, |
| 4249 | flag_descriptions::kEnableHardwareMirrorModeDescription, kOsCrOS, |
| 4250 | FEATURE_VALUE_TYPE(display::features::kEnableHardwareMirrorMode)}, |
Gil Dekel | 43a1458 | 2022-12-02 05:50:28 | [diff] [blame] | 4251 | {"enable-edid-based-display-ids", |
| 4252 | flag_descriptions::kEnableEdidBasedDisplayIdsName, |
| 4253 | flag_descriptions::kEnableEdidBasedDisplayIdsDescription, kOsCrOS, |
| 4254 | FEATURE_VALUE_TYPE(display::features::kEnableEdidBasedDisplayIds)}, |
Jenny Zhang | 0c298e4 | 2022-01-12 03:09:26 | [diff] [blame] | 4255 | {"enforce-ash-extension-keeplist", |
| 4256 | flag_descriptions::kEnforceAshExtensionKeeplistName, |
| 4257 | flag_descriptions::kEnforceAshExtensionKeeplistDescription, kOsCrOS, |
| 4258 | FEATURE_VALUE_TYPE(ash::features::kEnforceAshExtensionKeeplist)}, |
Jason Zhang | b9ee1ed | 2022-07-25 18:27:34 | [diff] [blame] | 4259 | {"hotspot", flag_descriptions::kHotspotName, |
| 4260 | flag_descriptions::kHotspotDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4261 | FEATURE_VALUE_TYPE(ash::features::kHotspot)}, |
James Cook | f9d34d2 | 2017-10-04 16:39:35 | [diff] [blame] | 4262 | {"instant-tethering", flag_descriptions::kTetherName, |
| 4263 | flag_descriptions::kTetherDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4264 | FEATURE_VALUE_TYPE(ash::features::kInstantTethering)}, |
Mitsuru Oshima | daf5457 | 2020-04-07 14:47:59 | [diff] [blame] | 4265 | { |
| 4266 | "new-shortcut-mapping", |
| 4267 | flag_descriptions::kEnableNewShortcutMappingName, |
| 4268 | flag_descriptions::kEnableNewShortcutMappingDescription, |
| 4269 | kOsCrOS, |
| 4270 | FEATURE_VALUE_TYPE(features::kNewShortcutMapping), |
| 4271 | }, |
Zentaro Kavanagh | 806daf8b | 2021-02-11 22:20:13 | [diff] [blame] | 4272 | {"improved-keyboard-shortcuts", |
| 4273 | flag_descriptions::kImprovedKeyboardShortcutsName, |
| 4274 | flag_descriptions::kImprovedKeyboardShortcutsDescription, kOsCrOS, |
| 4275 | FEATURE_VALUE_TYPE(features::kImprovedKeyboardShortcuts)}, |
Zentaro Kavanagh | 53c48cb2 | 2021-03-25 00:19:06 | [diff] [blame] | 4276 | {"deprecate-alt-click", flag_descriptions::kDeprecateAltClickName, |
| 4277 | flag_descriptions::kDeprecateAltClickDescription, kOsCrOS, |
| 4278 | FEATURE_VALUE_TYPE(features::kDeprecateAltClick)}, |
Zentaro Kavanagh | c1898fe | 2021-06-25 00:31:45 | [diff] [blame] | 4279 | {"deprecate-alt-based-six-pack", |
| 4280 | flag_descriptions::kDeprecateAltBasedSixPackName, |
| 4281 | flag_descriptions::kDeprecateAltBasedSixPackDescription, kOsCrOS, |
| 4282 | FEATURE_VALUE_TYPE(features::kDeprecateAltBasedSixPack)}, |
Cam Bickel | c4f8189 | 2023-05-10 23:29:59 | [diff] [blame] | 4283 | {"deprecate-old-keyboard-shortcuts-accelerator", |
| 4284 | flag_descriptions::kDeprecateOldKeyboardShortcutsAcceleratorName, |
| 4285 | flag_descriptions::kDeprecateOldKeyboardShortcutsAcceleratorDescription, |
| 4286 | kOsCrOS, |
| 4287 | FEATURE_VALUE_TYPE( |
| 4288 | ash::features::kDeprecateOldKeyboardShortcutsAccelerator)}, |
rudranshd | 65090389 | 2022-06-16 18:42:30 | [diff] [blame] | 4289 | {"hidden-network-migration", flag_descriptions::kHiddenNetworkMigrationName, |
| 4290 | flag_descriptions::kHiddenNetworkMigrationDescription, kOsCrOS, |
| 4291 | FEATURE_VALUE_TYPE(ash::features::kHiddenNetworkMigration)}, |
Kyle Horimoto | 63a6bd4 | 2019-09-16 23:47:52 | [diff] [blame] | 4292 | {"show-bluetooth-debug-log-toggle", |
| 4293 | flag_descriptions::kShowBluetoothDebugLogToggleName, |
| 4294 | flag_descriptions::kShowBluetoothDebugLogToggleDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4295 | FEATURE_VALUE_TYPE(ash::features::kShowBluetoothDebugLogToggle)}, |
James Cook | 0ba192bf | 2017-12-01 20:53:11 | [diff] [blame] | 4296 | {"show-taps", flag_descriptions::kShowTapsName, |
| 4297 | flag_descriptions::kShowTapsDescription, kOsCrOS, |
| 4298 | SINGLE_VALUE_TYPE(ash::switches::kShowTaps)}, |
James Cook | f9d34d2 | 2017-10-04 16:39:35 | [diff] [blame] | 4299 | {"show-touch-hud", flag_descriptions::kShowTouchHudName, |
James Cook | 0ba192bf | 2017-12-01 20:53:11 | [diff] [blame] | 4300 | flag_descriptions::kShowTouchHudDescription, kOsCrOS, |
James Cook | f9d34d2 | 2017-10-04 16:39:35 | [diff] [blame] | 4301 | SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)}, |
Ahmed Mehfooz | f719a67 | 2020-12-17 23:32:52 | [diff] [blame] | 4302 | {"stylus-battery-status", flag_descriptions::kStylusBatteryStatusName, |
| 4303 | flag_descriptions::kStylusBatteryStatusDescription, kOsCrOS, |
| 4304 | FEATURE_VALUE_TYPE(ash::features::kStylusBatteryStatus)}, |
Yen-lin Lai | f458f801 | 2021-03-29 10:18:20 | [diff] [blame] | 4305 | {"wake-on-wifi-allowed", flag_descriptions::kWakeOnWifiAllowedName, |
| 4306 | flag_descriptions::kWakeOnWifiAllowedDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4307 | FEATURE_VALUE_TYPE(ash::features::kWakeOnWifiAllowed)}, |
Toni Barzic | 5cf7da9 | 2021-05-19 21:07:40 | [diff] [blame] | 4308 | {"microphone-mute-notifications", |
| 4309 | flag_descriptions::kMicrophoneMuteNotificationsName, |
| 4310 | flag_descriptions::kMicrophoneMuteNotificationsDescription, kOsCrOS, |
| 4311 | FEATURE_VALUE_TYPE(ash::features::kMicMuteNotifications)}, |
| 4312 | {"microphone-mute-switch-device", |
| 4313 | flag_descriptions::kMicrophoneMuteSwitchDeviceName, |
| 4314 | flag_descriptions::kMicrophoneMuteSwitchDeviceDescription, kOsCrOS, |
| 4315 | SINGLE_VALUE_TYPE("enable-microphone-mute-switch-device")}, |
Jacek Siuda | 7ed81c9 | 2021-11-24 10:39:44 | [diff] [blame] | 4316 | {"wifi-connect-mac-address-randomization", |
| 4317 | flag_descriptions::kWifiConnectMacAddressRandomizationName, |
| 4318 | flag_descriptions::kWifiConnectMacAddressRandomizationDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4319 | FEATURE_VALUE_TYPE(ash::features::kWifiConnectMacAddressRandomization)}, |
Jae Hoon Kim | 2d4256e | 2022-04-15 21:59:09 | [diff] [blame] | 4320 | {"consumer-auto-update-toggle-allowed", |
| 4321 | flag_descriptions::kConsumerAutoUpdateToggleAllowedName, |
| 4322 | flag_descriptions::kConsumerAutoUpdateToggleAllowedDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4323 | FEATURE_VALUE_TYPE(ash::features::kConsumerAutoUpdateToggleAllowed)}, |
Ashley Prasad | aeff6938 | 2023-03-31 22:50:43 | [diff] [blame] | 4324 | {"diagnostics-app-jelly", flag_descriptions::kDiagnosticsAppJellyName, |
| 4325 | flag_descriptions::kDiagnosticsAppJellyDescription, kOsCrOS, |
| 4326 | FEATURE_VALUE_TYPE(ash::features::kDiagnosticsAppJelly)}, |
Jenny Zhang | 6bdaa16 | 2022-07-14 01:22:30 | [diff] [blame] | 4327 | {"disable-lacros-tts-support", |
| 4328 | flag_descriptions::kDisableLacrosTtsSupportName, |
| 4329 | flag_descriptions::kDisableLacrosTtsSupportDescription, kOsCrOS, |
| 4330 | FEATURE_VALUE_TYPE(ash::features::kDisableLacrosTtsSupport)}, |
Garrick Evans | e6f9f25 | 2023-01-19 05:43:08 | [diff] [blame] | 4331 | {"disable-dns-proxy", flag_descriptions::kDisableDnsProxyName, |
| 4332 | flag_descriptions::kDisableDnsProxyDescription, kOsCrOS, |
| 4333 | FEATURE_VALUE_TYPE(ash::features::kDisableDnsProxy)}, |
Ashley Prasad | be89bd2 | 2023-04-03 21:26:12 | [diff] [blame] | 4334 | {"firmware-update-jelly", flag_descriptions::kFirmwareUpdateJellyName, |
| 4335 | flag_descriptions::kFirmwareUpdateJellyDescription, kOsCrOS, |
| 4336 | FEATURE_VALUE_TYPE(ash::features::kFirmwareUpdateJelly)}, |
Jerry Liu | 3c11fe89 | 2023-03-20 21:00:50 | [diff] [blame] | 4337 | {"screen-saver-duration", flag_descriptions::kScreenSaverDurationName, |
| 4338 | flag_descriptions::kScreenSaverDurationDescription, kOsCrOS, |
| 4339 | FEATURE_VALUE_TYPE(ash::features::kScreenSaverDuration)}, |
Ilkin Safarli | 2692d5d1 | 2022-12-09 00:03:21 | [diff] [blame] | 4340 | {"screen-saver-preview", flag_descriptions::kScreenSaverPreviewName, |
| 4341 | flag_descriptions::kScreenSaverPreviewDescription, kOsCrOS, |
| 4342 | FEATURE_VALUE_TYPE(ash::features::kScreenSaverPreview)}, |
Jason Thai | 7036e64e | 2023-01-23 23:14:39 | [diff] [blame] | 4343 | {"multi-zone-rgb-keyboard", flag_descriptions::kMultiZoneRgbKeyboardName, |
| 4344 | flag_descriptions::kMultiZoneRgbKeyboardDescription, kOsCrOS, |
| 4345 | FEATURE_VALUE_TYPE(ash::features::kMultiZoneRgbKeyboard)}, |
Jason Jeremy Iman | ee9104eb5 | 2023-03-01 04:11:04 | [diff] [blame] | 4346 | {"passpoint-arc-support", flag_descriptions::kPasspointARCSupportName, |
| 4347 | flag_descriptions::kPasspointARCSupportDescription, kOsCrOS, |
| 4348 | FEATURE_VALUE_TYPE(ash::features::kPasspointARCSupport)}, |
Damien Dejean | 837a7f0 | 2023-04-10 08:39:30 | [diff] [blame] | 4349 | {"passpoint-settings", flag_descriptions::kPasspointSettingsName, |
| 4350 | flag_descriptions::kPasspointSettingsDescription, kOsCrOS, |
| 4351 | FEATURE_VALUE_TYPE(ash::features::kPasspointSettings)}, |
Andreea Costinas | 478d1ca2 | 2023-02-23 11:49:50 | [diff] [blame] | 4352 | {"policy-provided-trust-anchors-allowed-at-lock-screen", |
| 4353 | flag_descriptions::kPolicyProvidedTrustAnchorsAllowedAtLockScreenName, |
| 4354 | flag_descriptions:: |
| 4355 | kPolicyProvidedTrustAnchorsAllowedAtLockScreenDescription, |
| 4356 | kOsCrOS, |
| 4357 | FEATURE_VALUE_TYPE( |
| 4358 | ash::features::kPolicyProvidedTrustAnchorsAllowedAtLockScreen)}, |
Jason Thai | aa62a03 | 2023-04-05 21:07:42 | [diff] [blame] | 4359 | {kTimeOfDayScreenSaverInternalName, |
| 4360 | flag_descriptions::kTimeOfDayScreenSaverName, |
Jason Thai | e13aa82 | 2023-02-24 04:09:23 | [diff] [blame] | 4361 | flag_descriptions::kTimeOfDayScreenSaverDescription, kOsCrOS, |
Jason Thai | cca98f5 | 2023-04-12 21:42:32 | [diff] [blame] | 4362 | FEATURE_VALUE_TYPE(ash::features::kTimeOfDayScreenSaver)}, |
Jason Thai | aa62a03 | 2023-04-05 21:07:42 | [diff] [blame] | 4363 | {kTimeOfDayWallpaperInternalName, |
| 4364 | flag_descriptions::kTimeOfDayWallpaperName, |
Jason Thai | 5af7e8d | 2023-02-24 00:13:05 | [diff] [blame] | 4365 | flag_descriptions::kTimeOfDayWallpaperDescription, kOsCrOS, |
| 4366 | FEATURE_VALUE_TYPE(ash::features::kTimeOfDayWallpaper)}, |
Taoyu Li | b19cd58 | 2023-03-30 01:13:38 | [diff] [blame] | 4367 | {"enable-rfc-8925", flag_descriptions::kEnableRFC8925Name, |
| 4368 | flag_descriptions::kEnableRFC8925Description, kOsCrOS, |
| 4369 | FEATURE_VALUE_TYPE(ash::features::kEnableRFC8925)}, |
Pilar Molina Lopez | 40a3e2d | 2021-03-04 21:01:08 | [diff] [blame] | 4370 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 4371 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4372 | #if BUILDFLAG(IS_CHROMEOS) |
Pavol Marko | 798ffdb4 | 2022-06-23 13:22:42 | [diff] [blame] | 4373 | {"disable-idle-sockets-close-on-memory-pressure", |
| 4374 | flag_descriptions::kDisableIdleSocketsCloseOnMemoryPressureName, |
| 4375 | flag_descriptions::kDisableIdleSocketsCloseOnMemoryPressureDescription, |
| 4376 | kOsCrOS | kOsLacros, |
| 4377 | FEATURE_VALUE_TYPE( |
| 4378 | chromeos::features::kDisableIdleSocketsCloseOnMemoryPressure)}, |
Jenny Zhang | 0f8cb4fc | 2022-05-27 00:03:50 | [diff] [blame] | 4379 | {"disable-office-editing-component-app", |
| 4380 | flag_descriptions::kDisableOfficeEditingComponentAppName, |
| 4381 | flag_descriptions::kDisableOfficeEditingComponentAppDescription, |
| 4382 | kOsCrOS | kOsLacros, |
| 4383 | FEATURE_VALUE_TYPE(chromeos::features::kDisableOfficeEditingComponentApp)}, |
Youssef Esmat | c732bf8 | 2022-05-27 00:47:19 | [diff] [blame] | 4384 | {"one-group-per-renderer", flag_descriptions::kOneGroupPerRendererName, |
| 4385 | flag_descriptions::kOneGroupPerRendererDescription, kOsCrOS | kOsLacros, |
| 4386 | FEATURE_VALUE_TYPE(base::kOneGroupPerRenderer)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4387 | #endif // BUILDFLAG(IS_CHROMEOS) |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4388 | { |
dvadym | 415215b | 2016-02-09 12:05:03 | [diff] [blame] | 4389 | "disable-accelerated-video-decode", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4390 | flag_descriptions::kAcceleratedVideoDecodeName, |
| 4391 | flag_descriptions::kAcceleratedVideoDecodeDescription, |
Ted Meyer | 4855f530 | 2022-10-25 22:13:18 | [diff] [blame] | 4392 | kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLacros | kOsFuchsia | |
| 4393 | kOsLinux, |
dvadym | 415215b | 2016-02-09 12:05:03 | [diff] [blame] | 4394 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4395 | }, |
Hirokazu Honda | 732d3e62 | 2019-06-12 01:13:44 | [diff] [blame] | 4396 | { |
| 4397 | "disable-accelerated-video-encode", |
| 4398 | flag_descriptions::kAcceleratedVideoEncodeName, |
| 4399 | flag_descriptions::kAcceleratedVideoEncodeDescription, |
| 4400 | kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
| 4401 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoEncode), |
| 4402 | }, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4403 | #if BUILDFLAG(IS_WIN) |
Xiaohan Wang | 9c9e5d35c | 2021-09-02 17:36:09 | [diff] [blame] | 4404 | { |
| 4405 | "enable-hardware-secure-decryption", |
| 4406 | flag_descriptions::kHardwareSecureDecryptionName, |
| 4407 | flag_descriptions::kHardwareSecureDecryptionDescription, |
| 4408 | kOsWin, |
| 4409 | FEATURE_VALUE_TYPE(media::kHardwareSecureDecryption), |
| 4410 | }, |
Bill Carr | c2abb922 | 2021-11-07 22:02:56 | [diff] [blame] | 4411 | { |
Xiaohan Wang | 2d58883 | 2021-11-16 00:57:07 | [diff] [blame] | 4412 | "enable-hardware-secure-decryption-experiment", |
| 4413 | flag_descriptions::kHardwareSecureDecryptionExperimentName, |
| 4414 | flag_descriptions::kHardwareSecureDecryptionExperimentDescription, |
| 4415 | kOsWin, |
| 4416 | FEATURE_VALUE_TYPE(media::kHardwareSecureDecryptionExperiment), |
| 4417 | }, |
| 4418 | { |
Xiaohan Wang | 9040929 | 2022-03-26 09:06:28 | [diff] [blame] | 4419 | "enable-hardware-secure-decryption-fallback", |
| 4420 | flag_descriptions::kHardwareSecureDecryptionFallbackName, |
| 4421 | flag_descriptions::kHardwareSecureDecryptionFallbackDescription, |
| 4422 | kOsWin, |
| 4423 | FEATURE_VALUE_TYPE(media::kHardwareSecureDecryptionFallback), |
| 4424 | }, |
| 4425 | { |
Bill Carr | c2abb922 | 2021-11-07 22:02:56 | [diff] [blame] | 4426 | "enable-media-foundation-clear", |
| 4427 | flag_descriptions::kMediaFoundationClearName, |
| 4428 | flag_descriptions::kMediaFoundationClearDescription, |
| 4429 | kOsWin, |
| 4430 | FEATURE_VALUE_TYPE(media::kMediaFoundationClearPlayback), |
| 4431 | }, |
Alex Forrence | b4250489 | 2022-07-20 21:50:07 | [diff] [blame] | 4432 | { |
| 4433 | "enable-waitable-swap-chain", |
| 4434 | flag_descriptions::kUseWaitableSwapChainName, |
| 4435 | flag_descriptions::kUseWaitableSwapChainDescription, |
| 4436 | kOsWin, |
| 4437 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kDXGIWaitableSwapChain, |
| 4438 | kDXGIWaitableSwapChainVariations, |
| 4439 | "DXGIWaitableSwapChain"), |
| 4440 | }, |
Xiaohan Wang | 9c9e5d35c | 2021-09-02 17:36:09 | [diff] [blame] | 4441 | #endif |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4442 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4443 | { |
Hirokazu Honda | 8ef07cd | 2020-04-17 03:36:38 | [diff] [blame] | 4444 | "zero-copy-video-capture", |
| 4445 | flag_descriptions::kZeroCopyVideoCaptureName, |
| 4446 | flag_descriptions::kZeroCopyVideoCaptureDescription, |
| 4447 | kOsCrOS, |
| 4448 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 4449 | switches::kVideoCaptureUseGpuMemoryBuffer, |
| 4450 | "1", |
| 4451 | switches::kDisableVideoCaptureUseGpuMemoryBuffer, |
| 4452 | "1"), |
| 4453 | }, |
| 4454 | { |
Becca Hughes | ac86cd44 | 2019-01-09 23:49:54 | [diff] [blame] | 4455 | "ash-debug-shortcuts", |
| 4456 | flag_descriptions::kDebugShortcutsName, |
| 4457 | flag_descriptions::kDebugShortcutsDescription, |
| 4458 | kOsAll, |
dvadym | 415215b | 2016-02-09 12:05:03 | [diff] [blame] | 4459 | SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts), |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4460 | }, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4461 | {"ui-slow-animations", flag_descriptions::kUiSlowAnimationsName, |
| 4462 | flag_descriptions::kUiSlowAnimationsDescription, kOsCrOS, |
reveman | 6e8fc78 | 2017-01-10 20:26:16 | [diff] [blame] | 4463 | SINGLE_VALUE_TYPE(switches::kUISlowAnimations)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4464 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4465 | #if BUILDFLAG(IS_WIN) |
Isuru Pathirana | 9762a94 | 2021-02-03 17:38:03 | [diff] [blame] | 4466 | { |
| 4467 | "zero-copy-video-capture", |
| 4468 | flag_descriptions::kZeroCopyVideoCaptureName, |
| 4469 | flag_descriptions::kZeroCopyVideoCaptureDescription, |
| 4470 | kOsWin, |
| 4471 | FEATURE_VALUE_TYPE(media::kMediaFoundationD3D11VideoCapture), |
| 4472 | }, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4473 | #endif // BUILDFLAG(IS_WIN) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4474 | {"debug-packed-apps", flag_descriptions::kDebugPackedAppName, |
| 4475 | flag_descriptions::kDebugPackedAppDescription, kOsDesktop, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4476 | SINGLE_VALUE_TYPE(switches::kDebugPackedApps)}, |
Maria Kazinova | 58cedc0 | 2021-08-02 17:15:11 | [diff] [blame] | 4477 | {"username-first-flow-fallback-crowdsourcing", |
| 4478 | flag_descriptions::kUsernameFirstFlowFallbackCrowdsourcingName, |
| 4479 | flag_descriptions::kUsernameFirstFlowFallbackCrowdsourcingDescription, |
| 4480 | kOsAll, |
| 4481 | FEATURE_VALUE_TYPE( |
| 4482 | password_manager::features::kUsernameFirstFlowFallbackCrowdsourcing)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4483 | {"enable-show-autofill-signatures", |
brettw | 5f9c164 | 2017-05-14 17:12:48 | [diff] [blame] | 4484 | flag_descriptions::kShowAutofillSignaturesName, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4485 | flag_descriptions::kShowAutofillSignaturesDescription, kOsAll, |
kolos | ad36993 | 2017-02-23 13:29:41 | [diff] [blame] | 4486 | SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4487 | {"wallet-service-use-sandbox", |
| 4488 | flag_descriptions::kWalletServiceUseSandboxName, |
| 4489 | flag_descriptions::kWalletServiceUseSandboxDescription, |
| 4490 | kOsAndroid | kOsDesktop, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4491 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 4492 | autofill::switches::kWalletServiceUseSandbox, |
| 4493 | "1", |
| 4494 | autofill::switches::kWalletServiceUseSandbox, |
| 4495 | "0")}, |
François Beaufort | 7aace81 | 2022-02-02 13:57:17 | [diff] [blame] | 4496 | {"enable-web-bluetooth", flag_descriptions::kWebBluetoothName, |
Pengchao Cai | e07a801d | 2022-09-01 18:28:43 | [diff] [blame] | 4497 | flag_descriptions::kWebBluetoothDescription, kOsLinux, |
François Beaufort | 7aace81 | 2022-02-02 13:57:17 | [diff] [blame] | 4498 | FEATURE_VALUE_TYPE(features::kWebBluetooth)}, |
Ovidio Henriquez | 3d729f6 | 2020-02-07 00:43:29 | [diff] [blame] | 4499 | {"enable-web-bluetooth-new-permissions-backend", |
| 4500 | flag_descriptions::kWebBluetoothNewPermissionsBackendName, |
| 4501 | flag_descriptions::kWebBluetoothNewPermissionsBackendDescription, |
| 4502 | kOsAndroid | kOsDesktop, |
| 4503 | FEATURE_VALUE_TYPE(features::kWebBluetoothNewPermissionsBackend)}, |
Reilly Grant | 3c560fa | 2021-09-25 01:27:25 | [diff] [blame] | 4504 | {"enable-webusb-device-detection", |
| 4505 | flag_descriptions::kWebUsbDeviceDetectionName, |
| 4506 | flag_descriptions::kWebUsbDeviceDetectionDescription, kOsDesktop, |
| 4507 | FEATURE_VALUE_TYPE(features::kWebUsbDeviceDetection)}, |
Jinsuk Kim | abf6296 | 2020-12-16 03:10:06 | [diff] [blame] | 4508 | #if defined(USE_AURA) |
Jinsuk Kim | 2e139e43 | 2021-02-26 03:46:56 | [diff] [blame] | 4509 | {"overscroll-history-navigation", |
| 4510 | flag_descriptions::kOverscrollHistoryNavigationName, |
| 4511 | flag_descriptions::kOverscrollHistoryNavigationDescription, kOsAura, |
| 4512 | FEATURE_VALUE_TYPE(features::kOverscrollHistoryNavigation)}, |
Mohsen Izadi | 93faac1 | 2017-07-29 04:45:15 | [diff] [blame] | 4513 | {"pull-to-refresh", flag_descriptions::kPullToRefreshName, |
| 4514 | flag_descriptions::kPullToRefreshDescription, kOsAura, |
Mohsen Izadi | 8c59ba5 | 2018-04-12 18:52:01 | [diff] [blame] | 4515 | MULTI_VALUE_TYPE(kPullToRefreshChoices)}, |
Jinsuk Kim | abf6296 | 2020-12-16 03:10:06 | [diff] [blame] | 4516 | #endif // USE_AURA |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4517 | {"enable-touch-drag-drop", flag_descriptions::kTouchDragDropName, |
| 4518 | flag_descriptions::kTouchDragDropDescription, kOsWin | kOsCrOS, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4519 | ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop, |
| 4520 | switches::kDisableTouchDragDrop)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4521 | {"touch-selection-strategy", flag_descriptions::kTouchSelectionStrategyName, |
| 4522 | flag_descriptions::kTouchSelectionStrategyDescription, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4523 | kOsAndroid, // TODO(mfomitchev): Add CrOS/Win/Linux support soon. |
| 4524 | MULTI_VALUE_TYPE(kTouchTextSelectionStrategyChoices)}, |
pritam.nikam | 2dfdae10 | 2015-07-14 13:51:11 | [diff] [blame] | 4525 | {"enable-suggestions-with-substring-match", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4526 | flag_descriptions::kSuggestionsWithSubStringMatchName, |
| 4527 | flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll, |
Tommy Martino | 38d9155 | 2019-03-16 03:50:20 | [diff] [blame] | 4528 | FEATURE_VALUE_TYPE(autofill::features::kAutofillTokenPrefixMatching)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4529 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4530 | {"enable-virtual-keyboard", flag_descriptions::kVirtualKeyboardName, |
| 4531 | flag_descriptions::kVirtualKeyboardDescription, kOsCrOS, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4532 | SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)}, |
My Nguyen | 0bc9add | 2020-12-03 21:21:25 | [diff] [blame] | 4533 | {"disable-virtual-keyboard", |
| 4534 | flag_descriptions::kVirtualKeyboardDisabledName, |
| 4535 | flag_descriptions::kVirtualKeyboardDisabledDescription, kOsCrOS, |
| 4536 | SINGLE_VALUE_TYPE(keyboard::switches::kDisableVirtualKeyboard)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4537 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Kenneth Russell | 08c7dc3 | 2021-07-09 08:06:59 | [diff] [blame] | 4538 | {"enable-webgl-developer-extensions", |
| 4539 | flag_descriptions::kWebglDeveloperExtensionsName, |
| 4540 | flag_descriptions::kWebglDeveloperExtensionsDescription, kOsAll, |
| 4541 | SINGLE_VALUE_TYPE(switches::kEnableWebGLDeveloperExtensions)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4542 | {"enable-webgl-draft-extensions", |
| 4543 | flag_descriptions::kWebglDraftExtensionsName, |
| 4544 | flag_descriptions::kWebglDraftExtensionsDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4545 | SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4546 | {"enable-zero-copy", flag_descriptions::kZeroCopyName, |
| 4547 | flag_descriptions::kZeroCopyDescription, kOsAll, |
Dave Tapuska | 9bcf6cc | 2020-06-25 15:15:01 | [diff] [blame] | 4548 | ENABLE_DISABLE_VALUE_TYPE(blink::switches::kEnableZeroCopy, |
| 4549 | blink::switches::kDisableZeroCopy)}, |
Peng Huang | 7002168 | 2019-09-18 19:42:28 | [diff] [blame] | 4550 | {"enable-vulkan", flag_descriptions::kEnableVulkanName, |
Peng Huang | 463e690 | 2020-04-03 15:37:05 | [diff] [blame] | 4551 | flag_descriptions::kEnableVulkanDescription, |
Pengchao Cai | e07a801d | 2022-09-01 18:28:43 | [diff] [blame] | 4552 | kOsWin | kOsLinux | kOsAndroid, FEATURE_VALUE_TYPE(features::kVulkan)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4553 | #if BUILDFLAG(IS_ANDROID) |
Josh Simmons | 7a8e7a94 | 2021-06-19 01:08:56 | [diff] [blame] | 4554 | {"translate-assist-content", flag_descriptions::kTranslateAssistContentName, |
| 4555 | flag_descriptions::kTranslateAssistContentDescription, kOsAndroid, |
| 4556 | FEATURE_VALUE_TYPE(language::kTranslateAssistContent)}, |
Josh Simmons | 8c9848487 | 2021-05-05 20:50:01 | [diff] [blame] | 4557 | {"translate-intent", flag_descriptions::kTranslateIntentName, |
| 4558 | flag_descriptions::kTranslateIntentDescription, kOsAndroid, |
| 4559 | FEATURE_VALUE_TYPE(language::kTranslateIntent)}, |
Scott Little | c0f9a47 | 2022-03-23 19:23:22 | [diff] [blame] | 4560 | {"translate-message-ui", flag_descriptions::kTranslateMessageUIName, |
| 4561 | flag_descriptions::kTranslateMessageUIDescription, kOsAndroid, |
| 4562 | FEATURE_VALUE_TYPE(translate::kTranslateMessageUI)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4563 | #endif // BUILDFLAG(IS_ANDROID) |
Haohao Wang | 5b525f72 | 2019-05-18 15:37:52 | [diff] [blame] | 4564 | |
Peter Beverloo | c30c9ddf | 2021-02-24 19:56:03 | [diff] [blame] | 4565 | #if BUILDFLAG(ENABLE_SYSTEM_NOTIFICATIONS) && !BUILDFLAG(IS_CHROMEOS_ASH) |
| 4566 | {"enable-system-notifications", |
| 4567 | flag_descriptions::kNotificationsSystemFlagName, |
| 4568 | flag_descriptions::kNotificationsSystemFlagDescription, |
Pengchao Cai | e07a801d | 2022-09-01 18:28:43 | [diff] [blame] | 4569 | kOsMac | kOsLinux | kOsWin, |
Peter Beverloo | c30c9ddf | 2021-02-24 19:56:03 | [diff] [blame] | 4570 | FEATURE_VALUE_TYPE(features::kSystemNotifications)}, |
| 4571 | #endif // BUILDFLAG(ENABLE_SYSTEM_NOTIFICATIONS) && !BUILDFLAG(IS_CHROMEOS_ASH) |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4572 | #if BUILDFLAG(IS_ANDROID) |
bttk | 8031f3fb | 2021-02-25 20:21:24 | [diff] [blame] | 4573 | {"adaptive-button-in-top-toolbar", |
| 4574 | flag_descriptions::kAdaptiveButtonInTopToolbarName, |
| 4575 | flag_descriptions::kAdaptiveButtonInTopToolbarDescription, kOsAndroid, |
bttk | 74acf1b | 2021-05-19 20:20:59 | [diff] [blame] | 4576 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4577 | chrome::android::kAdaptiveButtonInTopToolbar, |
| 4578 | kAdaptiveButtonInTopToolbarVariations, |
Gang Wu | 7aaba1b | 2021-06-02 02:33:24 | [diff] [blame] | 4579 | "OptionalToolbarButton")}, |
Salvador Guerrero | a071de30 | 2023-03-18 00:34:27 | [diff] [blame] | 4580 | {"adaptive-button-in-top-toolbar-translate", |
| 4581 | flag_descriptions::kAdaptiveButtonInTopToolbarTranslateName, |
| 4582 | flag_descriptions::kAdaptiveButtonInTopToolbarTranslateDescription, |
| 4583 | kOsAndroid, |
| 4584 | FEATURE_VALUE_TYPE(chrome::android::kAdaptiveButtonInTopToolbarTranslate)}, |
Salvador Guerrero | b5d9c76 | 2023-03-22 21:24:03 | [diff] [blame] | 4585 | {"adaptive-button-in-top-toolbar-add-to-bookmarks", |
| 4586 | flag_descriptions::kAdaptiveButtonInTopToolbarAddToBookmarksName, |
| 4587 | flag_descriptions::kAdaptiveButtonInTopToolbarAddToBookmarksDescription, |
| 4588 | kOsAndroid, |
| 4589 | FEATURE_VALUE_TYPE( |
| 4590 | chrome::android::kAdaptiveButtonInTopToolbarAddToBookmarks)}, |
bttk | 74acf1b | 2021-05-19 20:20:59 | [diff] [blame] | 4591 | {"adaptive-button-in-top-toolbar-customization", |
| 4592 | flag_descriptions::kAdaptiveButtonInTopToolbarCustomizationName, |
| 4593 | flag_descriptions::kAdaptiveButtonInTopToolbarCustomizationDescription, |
| 4594 | kOsAndroid, |
Shakti Sahu | f17e0ed | 2021-06-08 02:21:19 | [diff] [blame] | 4595 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
bttk | bdde832 | 2021-08-06 22:34:20 | [diff] [blame] | 4596 | chrome::android::kAdaptiveButtonInTopToolbarCustomizationV2, |
Shakti Sahu | f17e0ed | 2021-06-08 02:21:19 | [diff] [blame] | 4597 | kAdaptiveButtonInTopToolbarCustomizationVariations, |
| 4598 | "OptionalToolbarButtonCustomization")}, |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 4599 | {"contextual-page-actions", flag_descriptions::kContextualPageActionsName, |
| 4600 | flag_descriptions::kContextualPageActionsDescription, kOsAndroid, |
Salvador Guerrero | cd7b24bb | 2022-07-20 00:32:48 | [diff] [blame] | 4601 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
Salvador Guerrero | 3ac349f | 2022-10-12 02:44:53 | [diff] [blame] | 4602 | segmentation_platform::features::kContextualPageActions, |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 4603 | kContextualPageActionsVariations, |
Salvador Guerrero | 3ac349f | 2022-10-12 02:44:53 | [diff] [blame] | 4604 | "ContextualPageActions")}, |
| 4605 | {"contextual-page-actions-with-price-tracking", |
| 4606 | flag_descriptions::kContextualPageActionsPriceTrackingName, |
| 4607 | flag_descriptions::kContextualPageActionsPriceTrackingDescription, |
| 4608 | kOsAndroid, |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 4609 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4610 | segmentation_platform::features::kContextualPageActionPriceTracking, |
| 4611 | kContextualPageActionPriceTrackingVariations, |
| 4612 | "ContextualPageActionPriceTracking")}, |
Salvador Guerrero | 3ac349f | 2022-10-12 02:44:53 | [diff] [blame] | 4613 | {"contextual-page-actions-reader-mode", |
| 4614 | flag_descriptions::kContextualPageActionsReaderModeName, |
| 4615 | flag_descriptions::kContextualPageActionsReaderModeDescription, kOsAndroid, |
Salvador Guerrero | de0ffc6 | 2022-11-02 17:59:51 | [diff] [blame] | 4616 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 4617 | segmentation_platform::features::kContextualPageActionReaderMode, |
| 4618 | kContextualPageActionReaderModeVariations, |
Salvador Guerrero | 5ca5c7f | 2022-12-01 20:51:39 | [diff] [blame] | 4619 | "ContextualPageActionReaderMode")}, |
Hailey Wang | 0ed879a | 2023-01-10 21:17:36 | [diff] [blame] | 4620 | {"contextual-page-actions-share-model", |
| 4621 | flag_descriptions::kContextualPageActionsShareModelName, |
| 4622 | flag_descriptions::kContextualPageActionsShareModelDescription, kOsAndroid, |
| 4623 | FEATURE_VALUE_TYPE( |
| 4624 | segmentation_platform::features::kContextualPageActionShareModel)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4625 | {"reader-mode-heuristics", flag_descriptions::kReaderModeHeuristicsName, |
| 4626 | flag_descriptions::kReaderModeHeuristicsDescription, kOsAndroid, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4627 | MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)}, |
Kenechi Okoye | ff5bd5f | 2022-06-13 20:47:53 | [diff] [blame] | 4628 | {"screenshots-for-android-v2", |
| 4629 | flag_descriptions::kScreenshotsForAndroidV2Name, |
| 4630 | flag_descriptions::kScreenshotsForAndroidV2Description, kOsAndroid, |
| 4631 | FEATURE_VALUE_TYPE(share::kScreenshotsForAndroidV2)}, |
Wissem Gamra | 2a91d86 | 2022-08-17 18:17:22 | [diff] [blame] | 4632 | {"cormorant", flag_descriptions::kCormorantName, |
| 4633 | flag_descriptions::kCormorantDescription, kOsAndroid, |
Sophey | e5b3990 | 2023-02-01 18:42:11 | [diff] [blame] | 4634 | FEATURE_VALUE_TYPE(feed::kCormorant)}, |
David Bokan | e2396e2 | 2023-04-18 20:27:14 | [diff] [blame] | 4635 | {"default-viewport-is-device-width", |
| 4636 | flag_descriptions::kDefaultViewportIsDeviceWidthName, |
| 4637 | flag_descriptions::kDefaultViewportIsDeviceWidthDescription, kOsAndroid, |
| 4638 | FEATURE_VALUE_TYPE(blink::features::kDefaultViewportIsDeviceWidth)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4639 | #endif // BUILDFLAG(IS_ANDROID) |
Catherine Chung | d4d2436 | 2017-06-09 21:12:12 | [diff] [blame] | 4640 | {"in-product-help-demo-mode-choice", |
| 4641 | flag_descriptions::kInProductHelpDemoModeChoiceName, |
| 4642 | flag_descriptions::kInProductHelpDemoModeChoiceDescription, kOsAll, |
Tommy Nyquist | f5f0bccb | 2017-06-01 20:56:21 | [diff] [blame] | 4643 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
Tommy Nyquist | c1d6dea1 | 2017-07-26 20:37:23 | [diff] [blame] | 4644 | feature_engagement::kIPHDemoMode, |
| 4645 | feature_engagement::kIPHDemoModeChoiceVariations, |
Tommy Nyquist | ba7195e2 | 2017-06-13 00:05:04 | [diff] [blame] | 4646 | "IPH_DemoMode")}, |
Hailey Wang | 5f048eb8 | 2021-10-27 01:29:13 | [diff] [blame] | 4647 | {"in-product-help-use-client-config", |
| 4648 | flag_descriptions::kInProductHelpUseClientConfigName, |
| 4649 | flag_descriptions::kInProductHelpUseClientConfigDescription, kOsAll, |
| 4650 | FEATURE_VALUE_TYPE(feature_engagement::kUseClientConfigIPH)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4651 | {"disable-threaded-scrolling", flag_descriptions::kThreadedScrollingName, |
| 4652 | flag_descriptions::kThreadedScrollingDescription, kOsAll, |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 4653 | SINGLE_DISABLE_VALUE_TYPE(blink::switches::kDisableThreadedScrolling)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4654 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Megumi Hattori | 5a0d418 | 2018-03-06 11:09:50 | [diff] [blame] | 4655 | {"enable-lock-screen-notification", |
| 4656 | flag_descriptions::kLockScreenNotificationName, |
| 4657 | flag_descriptions::kLockScreenNotificationDescription, kOsCrOS, |
| 4658 | FEATURE_VALUE_TYPE(ash::features::kLockScreenNotifications)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4659 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 4660 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Christopher Lam | d8708c3 | 2021-10-29 04:31:47 | [diff] [blame] | 4661 | {"system-extensions", flag_descriptions::kSystemExtensionsName, |
| 4662 | flag_descriptions::kSystemExtensionsDescription, kOsCrOS, |
| 4663 | FEATURE_VALUE_TYPE(ash::features::kSystemExtensions)}, |
Giovanni Ortuño Urquidi | feb77d2 | 2022-04-08 05:40:23 | [diff] [blame] | 4664 | {"enable-service-workers-for-chrome-untrusted", |
| 4665 | flag_descriptions::kEnableServiceWorkersForChromeUntrustedName, |
| 4666 | flag_descriptions::kEnableServiceWorkersForChromeUntrustedDescription, |
| 4667 | kOsCrOS, |
| 4668 | FEATURE_VALUE_TYPE(features::kEnableServiceWorkersForChromeUntrusted)}, |
Tyler Garrett | 86f698b3 | 2023-01-25 22:01:41 | [diff] [blame] | 4669 | {"enterprise-reporting-ui", flag_descriptions::kEnterpriseReportingUIName, |
| 4670 | flag_descriptions::kEnterpriseReportingUIDescription, kOsCrOS, |
| 4671 | FEATURE_VALUE_TYPE(ash::features::kEnterpriseReportingUI)}, |
David Munro | 9fce777c | 2020-10-07 03:55:54 | [diff] [blame] | 4672 | {"crostini-reset-lxd-db", flag_descriptions::kCrostiniResetLxdDbName, |
| 4673 | flag_descriptions::kCrostiniResetLxdDbDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4674 | FEATURE_VALUE_TYPE(ash::features::kCrostiniResetLxdDb)}, |
Jason Lin | 30ea2619c | 2022-07-27 06:40:29 | [diff] [blame] | 4675 | {"terminal-alternative-emulator", |
| 4676 | flag_descriptions::kTerminalAlternativeEmulatorName, |
| 4677 | flag_descriptions::kTerminalAlternativeEmulatorDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4678 | FEATURE_VALUE_TYPE(ash::features::kTerminalAlternativeEmulator)}, |
Joel Hockey | 6bc7d9b | 2022-04-28 00:36:05 | [diff] [blame] | 4679 | {"terminal-dev", flag_descriptions::kTerminalDevName, |
| 4680 | flag_descriptions::kTerminalDevDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4681 | FEATURE_VALUE_TYPE(ash::features::kTerminalDev)}, |
maciek swiech | bb24493 | 2023-06-15 22:18:54 | [diff] [blame] | 4682 | {"permissive-usb-passthrough", |
| 4683 | flag_descriptions::kPermissiveUsbPassthroughName, |
| 4684 | flag_descriptions::kPermissiveUsbPassthroughDescription, kOsCrOS, |
| 4685 | FEATURE_VALUE_TYPE(ash::features::kPermissiveUsbPassthrough)}, |
Nicholas Verne | 6eb340a8 | 2021-10-19 05:55:38 | [diff] [blame] | 4686 | {"crostini-multi-container", flag_descriptions::kCrostiniMultiContainerName, |
| 4687 | flag_descriptions::kCrostiniMultiContainerDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4688 | FEATURE_VALUE_TYPE(ash::features::kCrostiniMultiContainer)}, |
Timothy Loh | 05b4d59f | 2021-11-08 05:05:52 | [diff] [blame] | 4689 | {"crostini-ime-support", flag_descriptions::kCrostiniImeSupportName, |
| 4690 | flag_descriptions::kCrostiniImeSupportDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4691 | FEATURE_VALUE_TYPE(ash::features::kCrostiniImeSupport)}, |
Timothy Loh | e9cb1af | 2023-05-22 06:26:53 | [diff] [blame] | 4692 | {"crostini-qt-ime-support", flag_descriptions::kCrostiniQtImeSupportName, |
| 4693 | flag_descriptions::kCrostiniQtImeSupportDescription, kOsCrOS, |
| 4694 | FEATURE_VALUE_TYPE(ash::features::kCrostiniQtImeSupport)}, |
Timothy Loh | 05b4d59f | 2021-11-08 05:05:52 | [diff] [blame] | 4695 | {"crostini-virtual-keyboard-support", |
| 4696 | flag_descriptions::kCrostiniVirtualKeyboardSupportName, |
| 4697 | flag_descriptions::kCrostiniVirtualKeyboardSupportDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4698 | FEATURE_VALUE_TYPE(ash::features::kCrostiniVirtualKeyboardSupport)}, |
Nicholas Verne | 6df17e6 | 2023-06-07 02:19:09 | [diff] [blame] | 4699 | {"crostini-use-lxd-5", flag_descriptions::kCrostiniUseLxd5Name, |
| 4700 | flag_descriptions::kCrostiniUseLxd5Description, kOsCrOS, |
| 4701 | FEATURE_VALUE_TYPE(ash::features::kCrostiniUseLxd5)}, |
David Munro | 762bf32 | 2022-02-03 02:21:46 | [diff] [blame] | 4702 | {"bruschetta", flag_descriptions::kBruschettaName, |
| 4703 | flag_descriptions::kBruschettaDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4704 | FEATURE_VALUE_TYPE(ash::features::kBruschetta)}, |
Fergus Dall | db66df3 | 2022-08-19 02:54:44 | [diff] [blame] | 4705 | {"bruschetta-alpha-migrate", flag_descriptions::kBruschettaAlphaMigrateName, |
| 4706 | flag_descriptions::kBruschettaAlphaMigrateDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 4707 | FEATURE_VALUE_TYPE(ash::features::kBruschettaAlphaMigrate)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4708 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4709 | #if (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || \ |
| 4710 | BUILDFLAG(IS_ANDROID)) && \ |
| 4711 | !BUILDFLAG(IS_NACL) |
Brian Geffon | 12b581a | 2021-02-03 23:48:03 | [diff] [blame] | 4712 | {"mojo-linux-sharedmem", flag_descriptions::kMojoLinuxChannelSharedMemName, |
| 4713 | flag_descriptions::kMojoLinuxChannelSharedMemDescription, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 4714 | kOsCrOS | kOsLinux | kOsLacros | kOsAndroid, |
Brian Geffon | 12b581a | 2021-02-03 23:48:03 | [diff] [blame] | 4715 | FEATURE_VALUE_TYPE(mojo::core::kMojoLinuxChannelSharedMem)}, |
| 4716 | #endif |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4717 | #if BUILDFLAG(IS_ANDROID) |
Alex Moshchuk | 07e1bb4 | 2019-03-08 04:44:08 | [diff] [blame] | 4718 | {"enable-site-isolation-for-password-sites", |
| 4719 | flag_descriptions::kSiteIsolationForPasswordSitesName, |
| 4720 | flag_descriptions::kSiteIsolationForPasswordSitesDescription, kOsAndroid, |
Clark DuVall | aadc244c | 2020-06-06 03:47:14 | [diff] [blame] | 4721 | FEATURE_VALUE_TYPE( |
| 4722 | site_isolation::features::kSiteIsolationForPasswordSites)}, |
Nick Carter | 855bc49 | 2018-03-10 00:44:57 | [diff] [blame] | 4723 | {"enable-site-per-process", flag_descriptions::kStrictSiteIsolationName, |
Lukasz Anforowicz | 4284042 | 2018-11-05 21:49:22 | [diff] [blame] | 4724 | flag_descriptions::kStrictSiteIsolationDescription, kOsAndroid, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4725 | SINGLE_VALUE_TYPE(switches::kSitePerProcess)}, |
Lukasz Anforowicz | 4284042 | 2018-11-05 21:49:22 | [diff] [blame] | 4726 | #endif |
Christian Flach | 3de81af1 | 2022-06-10 17:53:11 | [diff] [blame] | 4727 | {"enable-isolated-web-apps", flag_descriptions::kEnableIsolatedWebAppsName, |
| 4728 | flag_descriptions::kEnableIsolatedWebAppsDescription, kOsAll, |
| 4729 | FEATURE_VALUE_TYPE(features::kIsolatedWebApps)}, |
Christian Flach | d532bbb | 2023-06-28 09:14:06 | [diff] [blame] | 4730 | #if BUILDFLAG(IS_CHROMEOS) |
| 4731 | {"enable-isolated-web-app-automatic-updates", |
| 4732 | flag_descriptions::kEnableIsolatedWebAppAutomaticUpdatesName, |
| 4733 | flag_descriptions::kEnableIsolatedWebAppAutomaticUpdatesDescription, |
| 4734 | kOsCrOS | kOsLacros, |
| 4735 | FEATURE_VALUE_TYPE(features::kIsolatedWebAppAutomaticUpdates)}, |
| 4736 | #endif |
Robbie McElrath | 8bc8f2b | 2022-11-14 19:59:02 | [diff] [blame] | 4737 | {"enable-isolated-web-app-dev-mode", |
| 4738 | flag_descriptions::kEnableIsolatedWebAppDevModeName, |
| 4739 | flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsAll, |
| 4740 | FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)}, |
Christian Flach | f744c05 | 2023-04-27 05:39:24 | [diff] [blame] | 4741 | #if BUILDFLAG(IS_CHROMEOS) |
Robbie McElrath | b66ff50 | 2022-10-12 01:50:59 | [diff] [blame] | 4742 | {"install-isolated-web-app-from-url", |
| 4743 | flag_descriptions::kInstallIsolatedWebAppFromUrl, |
| 4744 | flag_descriptions::kInstallIsolatedWebAppFromUrlDescription, kOsAll, |
| 4745 | ORIGIN_LIST_VALUE_TYPE(switches::kInstallIsolatedWebAppFromUrl, "")}, |
Christian Flach | f744c05 | 2023-04-27 05:39:24 | [diff] [blame] | 4746 | #endif |
Chase Phillips | f29be25 | 2023-02-02 22:19:39 | [diff] [blame] | 4747 | {"enable-iwa-controlled-frame", |
| 4748 | flag_descriptions::kEnableIwaControlledFrameName, |
| 4749 | flag_descriptions::kEnableIwaControlledFrameDescription, kOsAll, |
| 4750 | FEATURE_VALUE_TYPE(features::kIwaControlledFrame)}, |
Lukasz Anforowicz | d2e16e6 | 2019-03-28 19:06:59 | [diff] [blame] | 4751 | {"isolate-origins", flag_descriptions::kIsolateOriginsName, |
| 4752 | flag_descriptions::kIsolateOriginsDescription, kOsAll, |
| 4753 | ORIGIN_LIST_VALUE_TYPE(switches::kIsolateOrigins, "")}, |
Mattias Nissler | 380cf4f | 2021-03-22 15:50:46 | [diff] [blame] | 4754 | {about_flags::kSiteIsolationTrialOptOutInternalName, |
Lukasz Anforowicz | 738a88d | 2018-11-05 19:19:34 | [diff] [blame] | 4755 | flag_descriptions::kSiteIsolationOptOutName, |
| 4756 | flag_descriptions::kSiteIsolationOptOutDescription, kOsAll, |
| 4757 | MULTI_VALUE_TYPE(kSiteIsolationOptOutChoices)}, |
Mike West | 6b2bd75 | 2020-12-02 06:36:59 | [diff] [blame] | 4758 | {"isolation-by-default", flag_descriptions::kIsolationByDefaultName, |
| 4759 | flag_descriptions::kIsolationByDefaultDescription, kOsAll, |
| 4760 | SINGLE_VALUE_TYPE(switches::kIsolationByDefault)}, |
brettw | 5f9c164 | 2017-05-14 17:12:48 | [diff] [blame] | 4761 | {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4762 | flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4763 | SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, |
Aashna Sheth | ec3b89f | 2022-09-15 13:06:50 | [diff] [blame] | 4764 | {"text-based-audio-descriptions", |
| 4765 | flag_descriptions::kTextBasedAudioDescriptionName, |
| 4766 | flag_descriptions::kTextBasedAudioDescriptionDescription, kOsAll, |
| 4767 | FEATURE_VALUE_TYPE(features::kTextBasedAudioDescription)}, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4768 | {"bypass-app-banner-engagement-checks", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4769 | flag_descriptions::kBypassAppBannerEngagementChecksName, |
| 4770 | flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll, |
Evan Stade | dc8b482 | 2021-01-22 02:28:10 | [diff] [blame] | 4771 | SINGLE_VALUE_TYPE(webapps::switches::kBypassAppBannerEngagementChecks)}, |
Finnur Thorarinsson | fb625e1 | 2022-09-06 17:22:53 | [diff] [blame] | 4772 | {"enable-pwas-default-offline-page", |
| 4773 | flag_descriptions::kPWAsDefaultOfflinePageName, |
| 4774 | flag_descriptions::kPWAsDefaultOfflinePageDescription, |
| 4775 | kOsAndroid | kOsDesktop, |
| 4776 | FEATURE_VALUE_TYPE(features::kPWAsDefaultOfflinePage)}, |
Alan Cutter | eaae7f4 | 2020-12-07 02:24:11 | [diff] [blame] | 4777 | {"enable-desktop-pwas-elided-extensions-menu", |
| 4778 | flag_descriptions::kDesktopPWAsElidedExtensionsMenuName, |
| 4779 | flag_descriptions::kDesktopPWAsElidedExtensionsMenuDescription, kOsDesktop, |
| 4780 | FEATURE_VALUE_TYPE(features::kDesktopPWAsElidedExtensionsMenu)}, |
Alan Cutter | 121812d | 2020-01-09 05:03:37 | [diff] [blame] | 4781 | {"enable-desktop-pwas-tab-strip", |
| 4782 | flag_descriptions::kDesktopPWAsTabStripName, |
| 4783 | flag_descriptions::kDesktopPWAsTabStripDescription, kOsDesktop, |
| 4784 | FEATURE_VALUE_TYPE(features::kDesktopPWAsTabStrip)}, |
Louise Brett | 51548fb | 2021-06-18 00:27:21 | [diff] [blame] | 4785 | {"enable-desktop-pwas-tab-strip-settings", |
| 4786 | flag_descriptions::kDesktopPWAsTabStripSettingsName, |
| 4787 | flag_descriptions::kDesktopPWAsTabStripSettingsDescription, kOsDesktop, |
| 4788 | FEATURE_VALUE_TYPE(features::kDesktopPWAsTabStripSettings)}, |
Louise Brett | 0115847 | 2023-04-26 08:06:13 | [diff] [blame] | 4789 | {"enable-desktop-pwas-tab-strip-customizations", |
| 4790 | flag_descriptions::kDesktopPWAsTabStripCustomizationsName, |
| 4791 | flag_descriptions::kDesktopPWAsTabStripCustomizationsDescription, |
| 4792 | kOsDesktop, |
| 4793 | FEATURE_VALUE_TYPE(blink::features::kDesktopPWAsTabStripCustomizations)}, |
Alan Cutter | 6270489 | 2021-08-31 21:27:17 | [diff] [blame] | 4794 | {"enable-desktop-pwas-launch-handler", |
| 4795 | flag_descriptions::kDesktopPWAsLaunchHandlerName, |
| 4796 | flag_descriptions::kDesktopPWAsLaunchHandlerDescription, kOsDesktop, |
| 4797 | FEATURE_VALUE_TYPE(blink::features::kWebAppEnableLaunchHandler)}, |
Ivan Šandrk | 8a71039 | 2021-05-20 13:53:13 | [diff] [blame] | 4798 | {"enable-desktop-pwas-sub-apps", flag_descriptions::kDesktopPWAsSubAppsName, |
| 4799 | flag_descriptions::kDesktopPWAsSubAppsDescription, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 4800 | kOsWin | kOsLinux | kOsLacros | kOsMac | kOsCrOS | kOsFuchsia, |
Ivan Šandrk | 25a598a | 2021-07-16 16:26:59 | [diff] [blame] | 4801 | FEATURE_VALUE_TYPE(blink::features::kDesktopPWAsSubApps)}, |
Abhinav Kasamsetty | d7bb22c | 2023-01-31 08:18:32 | [diff] [blame] | 4802 | {"enable-desktop-pwas-scope-extensions", |
| 4803 | flag_descriptions::kDesktopPWAsScopeExtensionsName, |
| 4804 | flag_descriptions::kDesktopPWAsScopeExtensionsDescription, kOsDesktop, |
| 4805 | FEATURE_VALUE_TYPE(blink::features::kWebAppEnableScopeExtensions)}, |
Sonja Laurila | 67ab70d | 2022-05-13 13:57:26 | [diff] [blame] | 4806 | {"enable-desktop-pwas-borderless", |
| 4807 | flag_descriptions::kDesktopPWAsBorderlessName, |
Sonja Laurila | a4c9371 | 2022-07-28 09:17:37 | [diff] [blame] | 4808 | flag_descriptions::kDesktopPWAsBorderlessDescription, |
| 4809 | kOsLinux | kOsLacros | kOsCrOS, |
Sonja Laurila | 67ab70d | 2022-05-13 13:57:26 | [diff] [blame] | 4810 | FEATURE_VALUE_TYPE(blink::features::kWebAppBorderless)}, |
Sonja Laurila | c0492c85 | 2021-09-17 14:49:32 | [diff] [blame] | 4811 | {"enable-desktop-pwas-additional-windowing-controls", |
| 4812 | flag_descriptions::kDesktopPWAsAdditionalWindowingControlsName, |
| 4813 | flag_descriptions::kDesktopPWAsAdditionalWindowingControlsDescription, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 4814 | kOsWin | kOsLinux | kOsLacros | kOsMac | kOsCrOS | kOsFuchsia, |
Ivan Šandrk | 2449ea6 | 2023-06-23 14:19:09 | [diff] [blame] | 4815 | FEATURE_VALUE_TYPE( |
| 4816 | blink::features::kDesktopPWAsAdditionalWindowingControls)}, |
Alexey Baskakov | d913a127 | 2021-07-09 02:12:19 | [diff] [blame] | 4817 | {"enable-desktop-pwas-web-bundles", |
| 4818 | flag_descriptions::kDesktopPWAsWebBundlesName, |
| 4819 | flag_descriptions::kDesktopPWAsWebBundlesDescription, kOsDesktop, |
| 4820 | FEATURE_VALUE_TYPE(features::kDesktopPWAsWebBundles)}, |
Corentin Wallez | 8aaf435 | 2020-12-03 10:30:47 | [diff] [blame] | 4821 | {"record-web-app-debug-info", flag_descriptions::kRecordWebAppDebugInfoName, |
Alan Cutter | 20fd08f | 2020-12-01 13:39:16 | [diff] [blame] | 4822 | flag_descriptions::kRecordWebAppDebugInfoDescription, kOsDesktop, |
| 4823 | FEATURE_VALUE_TYPE(features::kRecordWebAppDebugInfo)}, |
Alan Cutter | 9aa158b | 2023-01-20 16:12:14 | [diff] [blame] | 4824 | #if !BUILDFLAG(IS_ANDROID) |
Alan Cutter | 5ad03af | 2023-06-15 08:53:29 | [diff] [blame] | 4825 | {"web-app-dedupe-install-urls", |
| 4826 | flag_descriptions::kWebAppDedupeInstallUrlsName, |
| 4827 | flag_descriptions::kWebAppDedupeInstallUrlsDescription, kOsDesktop, |
| 4828 | FEATURE_VALUE_TYPE(features::kWebAppDedupeInstallUrls)}, |
Alan Cutter | 9aa158b | 2023-01-20 16:12:14 | [diff] [blame] | 4829 | {"web-app-manifest-immediate-updating", |
| 4830 | flag_descriptions::kWebAppManifestImmediateUpdatingName, |
| 4831 | flag_descriptions::kWebAppManifestImmediateUpdatingDescription, kOsDesktop, |
| 4832 | FEATURE_VALUE_TYPE(features::kWebAppManifestImmediateUpdating)}, |
Alan Cutter | 51d16c8 | 2023-04-17 08:29:05 | [diff] [blame] | 4833 | {"web-app-sync-generated-icon-background-fix", |
| 4834 | flag_descriptions::kWebAppSyncGeneratedIconBackgroundFixName, |
| 4835 | flag_descriptions::kWebAppSyncGeneratedIconBackgroundFixDescription, |
| 4836 | kOsDesktop, |
| 4837 | FEATURE_VALUE_TYPE(features::kWebAppSyncGeneratedIconBackgroundFix)}, |
| 4838 | {"web-app-sync-generated-icon-retroactive-fix", |
| 4839 | flag_descriptions::kWebAppSyncGeneratedIconRetroactiveFixName, |
| 4840 | flag_descriptions::kWebAppSyncGeneratedIconRetroactiveFixDescription, |
| 4841 | kOsDesktop, |
| 4842 | FEATURE_VALUE_TYPE(features::kWebAppSyncGeneratedIconRetroactiveFix)}, |
| 4843 | {"web-app-sync-generated-icon-update-fix", |
| 4844 | flag_descriptions::kWebAppSyncGeneratedIconUpdateFixName, |
| 4845 | flag_descriptions::kWebAppSyncGeneratedIconUpdateFixDescription, |
| 4846 | kOsDesktop, |
| 4847 | FEATURE_VALUE_TYPE(features::kWebAppSyncGeneratedIconUpdateFix)}, |
Alan Cutter | 9aa158b | 2023-01-20 16:12:14 | [diff] [blame] | 4848 | #endif // !BUILDFLAG(IS_ANDROID) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4849 | {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, |
| 4850 | flag_descriptions::kSyncSandboxDescription, kOsAll, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4851 | SINGLE_VALUE_TYPE_AND_VALUE( |
Victor Hugo Vianna Silva | 3cd7ae9 | 2022-02-09 20:49:51 | [diff] [blame] | 4852 | syncer::kSyncServiceURL, |
dschuyler | 336363e | 2015-06-12 02:01:47 | [diff] [blame] | 4853 | "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4854 | #if !BUILDFLAG(IS_ANDROID) |
Derek Cheng | d24c68c | 2018-03-12 19:09:32 | [diff] [blame] | 4855 | {"media-router-cast-allow-all-ips", |
| 4856 | flag_descriptions::kMediaRouterCastAllowAllIPsName, |
| 4857 | flag_descriptions::kMediaRouterCastAllowAllIPsDescription, kOsDesktop, |
Derek Cheng | 3447838 | 2018-04-07 00:32:59 | [diff] [blame] | 4858 | FEATURE_VALUE_TYPE(media_router::kCastAllowAllIPsFeature)}, |
John Williams | e5a683b | 2020-07-28 03:01:48 | [diff] [blame] | 4859 | {"global-media-controls-cast-start-stop", |
| 4860 | flag_descriptions::kGlobalMediaControlsCastStartStopName, |
| 4861 | flag_descriptions::kGlobalMediaControlsCastStartStopDescription, |
Muyao Xu | 885d8902 | 2022-02-04 21:33:37 | [diff] [blame] | 4862 | kOsDesktop, |
John Williams | e5a683b | 2020-07-28 03:01:48 | [diff] [blame] | 4863 | FEATURE_VALUE_TYPE(media_router::kGlobalMediaControlsCastStartStop)}, |
Muyao Xu | 217663c | 2023-01-17 18:55:58 | [diff] [blame] | 4864 | {"media-remoting-without-fullscreen", |
| 4865 | flag_descriptions::kMediaRemotingWithoutFullscreenName, |
| 4866 | flag_descriptions::kMediaRemotingWithoutFullscreenDescription, |
| 4867 | kOsWin | kOsLinux | kOsMac, |
| 4868 | FEATURE_VALUE_TYPE(media::kMediaRemotingWithoutFullscreen)}, |
Takumi Fujimoto | bf466ac | 2020-08-18 20:55:15 | [diff] [blame] | 4869 | {"allow-all-sites-to-initiate-mirroring", |
| 4870 | flag_descriptions::kAllowAllSitesToInitiateMirroringName, |
| 4871 | flag_descriptions::kAllowAllSitesToInitiateMirroringDescription, |
| 4872 | kOsDesktop, |
| 4873 | FEATURE_VALUE_TYPE(media_router::kAllowAllSitesToInitiateMirroring)}, |
mark a. foltz | 8d3e26ed | 2023-03-17 17:46:57 | [diff] [blame] | 4874 | {"media-router-otr-instance", |
| 4875 | flag_descriptions::kMediaRouterOtrInstanceName, |
| 4876 | flag_descriptions::kMediaRouterOtrInstanceDescription, kOsAll, |
| 4877 | FEATURE_VALUE_TYPE(media_router::kMediaRouterOTRInstance)}, |
Sunggook Chue | 99ab198 | 2023-06-20 21:24:06 | [diff] [blame] | 4878 | {"media-route-dial-provider", |
| 4879 | flag_descriptions::kDialMediaRouteProviderName, |
| 4880 | flag_descriptions::kDialMediaRouteProviderDescription, kOsDesktop, |
| 4881 | FEATURE_VALUE_TYPE(media_router::kDialMediaRouteProvider)}, |
mark a. foltz | 8d3e26ed | 2023-03-17 17:46:57 | [diff] [blame] | 4882 | |
Alan Cutter | b85c0d2 | 2022-01-28 01:46:10 | [diff] [blame] | 4883 | {"enable-preinstalled-web-app-duplication-fixer", |
| 4884 | flag_descriptions::kEnablePreinstalledWebAppDuplicationFixerName, |
| 4885 | flag_descriptions::kEnablePreinstalledWebAppDuplicationFixerDescription, |
| 4886 | kOsDesktop, |
| 4887 | FEATURE_VALUE_TYPE(features::kPreinstalledWebAppDuplicationFixer)}, |
Jordan Bayles | b3160b26 | 2021-08-18 00:33:01 | [diff] [blame] | 4888 | |
Jordan Bayles | ef6d025 | 2022-11-18 02:25:17 | [diff] [blame] | 4889 | {"cast-streaming-hardware-h264", |
| 4890 | flag_descriptions::kCastStreamingHardwareH264Name, |
| 4891 | flag_descriptions::kCastStreamingHardwareH264Description, kOsDesktop, |
| 4892 | ENABLE_DISABLE_VALUE_TYPE( |
| 4893 | switches::kCastStreamingForceEnableHardwareH264, |
| 4894 | switches::kCastStreamingForceDisableHardwareH264)}, |
| 4895 | |
| 4896 | {"cast-streaming-hardware-vp8", |
| 4897 | flag_descriptions::kCastStreamingHardwareVp8Name, |
| 4898 | flag_descriptions::kCastStreamingHardwareVp8Description, kOsDesktop, |
| 4899 | ENABLE_DISABLE_VALUE_TYPE( |
| 4900 | switches::kCastStreamingForceEnableHardwareVp8, |
| 4901 | switches::kCastStreamingForceDisableHardwareVp8)}, |
| 4902 | |
mark a. foltz | fdcf2ee | 2023-06-09 18:15:36 | [diff] [blame] | 4903 | {"cast-streaming-performance-overlay", |
| 4904 | flag_descriptions::kCastStreamingPerformanceOverlayName, |
| 4905 | flag_descriptions::kCastStreamingPerformanceOverlayDescription, kOsDesktop, |
| 4906 | FEATURE_VALUE_TYPE(media::kCastStreamingPerformanceOverlay)}, |
| 4907 | |
Jordan Bayles | b3160b26 | 2021-08-18 00:33:01 | [diff] [blame] | 4908 | {"enable-openscreen-cast-streaming-session", |
| 4909 | flag_descriptions::kOpenscreenCastStreamingSessionName, |
| 4910 | flag_descriptions::kOpenscreenCastStreamingSessionDescription, kOsDesktop, |
Jordan Bayles | b13600a2 | 2022-05-31 18:29:51 | [diff] [blame] | 4911 | FEATURE_VALUE_TYPE(media::kOpenscreenCastStreamingSession)}, |
Abraham Corea Diaz | e4c3abe | 2021-08-24 17:43:50 | [diff] [blame] | 4912 | |
Kennan Gumbs | df768ce9 | 2021-08-25 19:09:51 | [diff] [blame] | 4913 | {"enable-cast-streaming-av1", flag_descriptions::kCastStreamingAv1Name, |
| 4914 | flag_descriptions::kCastStreamingAv1Description, kOsDesktop, |
Jordan Bayles | ef6d025 | 2022-11-18 02:25:17 | [diff] [blame] | 4915 | FEATURE_VALUE_TYPE(media::kCastStreamingAv1)}, |
Kennan Gumbs | df768ce9 | 2021-08-25 19:09:51 | [diff] [blame] | 4916 | |
Abraham Corea Diaz | e4c3abe | 2021-08-24 17:43:50 | [diff] [blame] | 4917 | {"enable-cast-streaming-vp9", flag_descriptions::kCastStreamingVp9Name, |
| 4918 | flag_descriptions::kCastStreamingVp9Description, kOsDesktop, |
Jordan Bayles | ef6d025 | 2022-11-18 02:25:17 | [diff] [blame] | 4919 | FEATURE_VALUE_TYPE(media::kCastStreamingVp9)}, |
Abraham Corea Diaz | e4c3abe | 2021-08-24 17:43:50 | [diff] [blame] | 4920 | |
Jordan Bayles | 5cbeb350 | 2023-02-09 03:30:45 | [diff] [blame] | 4921 | {"enable-cast-streaming-with-hidpi", |
| 4922 | flag_descriptions::kCastEnableStreamingWithHiDPIName, |
| 4923 | flag_descriptions::kCastEnableStreamingWithHiDPIDescription, kOsDesktop, |
| 4924 | FEATURE_VALUE_TYPE(mirroring::features::kCastEnableStreamingWithHiDPI)}, |
| 4925 | |
Dibyajyoti Pal | be5f001 | 2022-11-29 00:39:34 | [diff] [blame] | 4926 | {"enable-os-integration-sub-managers", |
| 4927 | flag_descriptions::kEnableOsIntegrationSubManagersName, |
| 4928 | flag_descriptions::kEnableOsIntegrationSubManagersDescription, kOsDesktop, |
| 4929 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kOsIntegrationSubManagers, |
| 4930 | kOsIntegrationSubManagersConfigVariations, |
| 4931 | "OsIntegrationSubManagers")}, |
| 4932 | |
Benjamin Zielinski | 04f8c80 | 2023-04-13 23:26:55 | [diff] [blame] | 4933 | {"access-code-cast-freeze-ui", |
| 4934 | flag_descriptions::kAccessCodeCastFreezeUiName, |
| 4935 | flag_descriptions::kAccessCodeCastFreezeUiDescription, kOsDesktop, |
| 4936 | FEATURE_VALUE_TYPE(features::kAccessCodeCastFreezeUI)}, |
| 4937 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4938 | #endif // !BUILDFLAG(IS_ANDROID) |
Jordan Bayles | b3160b26 | 2021-08-18 00:33:01 | [diff] [blame] | 4939 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4940 | #if BUILDFLAG(IS_MAC) |
Greg Kerr | f46f3187 | 2019-08-08 20:22:44 | [diff] [blame] | 4941 | {"mac-syscall-sandbox", flag_descriptions::kMacSyscallSandboxName, |
| 4942 | flag_descriptions::kMacSyscallSandboxDescription, kOsMac, |
| 4943 | FEATURE_VALUE_TYPE(features::kMacSyscallSandbox)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4944 | #endif // BUILDFLAG(IS_MAC) |
| 4945 | #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) |
Hoch Hochkeppel | 6695ffa | 2020-08-17 18:10:27 | [diff] [blame] | 4946 | {"web-share", flag_descriptions::kWebShareName, |
Fr | fa0757a | 2022-07-07 07:30:20 | [diff] [blame] | 4947 | flag_descriptions::kWebShareDescription, kOsWin | kOsCrOS | kOsMac, |
Hoch Hochkeppel | 6695ffa | 2020-08-17 18:10:27 | [diff] [blame] | 4948 | FEATURE_VALUE_TYPE(features::kWebShare)}, |
Eric Willigers | 911b59d | 2022-02-15 18:54:04 | [diff] [blame] | 4949 | #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) |
Alexander Dunaev | 43cfb2f | 2021-10-19 06:08:06 | [diff] [blame] | 4950 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 4951 | #if BUILDFLAG(IS_LINUX) |
Alexander Dunaev | 43cfb2f | 2021-10-19 06:08:06 | [diff] [blame] | 4952 | {"ozone-platform-hint", flag_descriptions::kOzonePlatformHintName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 4953 | flag_descriptions::kOzonePlatformHintDescription, kOsLinux, |
Alexander Dunaev | 43cfb2f | 2021-10-19 06:08:06 | [diff] [blame] | 4954 | MULTI_VALUE_TYPE(kOzonePlatformHintRuntimeChoices)}, |
Adem Derinel | 64bdf05 | 2022-02-02 08:14:23 | [diff] [blame] | 4955 | #endif // BUILDFLAG(IS_LINUX) |
| 4956 | |
| 4957 | #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) |
| 4958 | {"skip-undecryptable-passwords", |
| 4959 | flag_descriptions::kSkipUndecryptablePasswordsName, |
| 4960 | flag_descriptions::kSkipUndecryptablePasswordsDescription, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 4961 | kOsLinux | kOsMac, |
Adem Derinel | 64bdf05 | 2022-02-02 08:14:23 | [diff] [blame] | 4962 | FEATURE_VALUE_TYPE( |
| 4963 | password_manager::features::kSkipUndecryptablePasswords)}, |
Adem Derinel | 7237657 | 2022-12-06 10:42:54 | [diff] [blame] | 4964 | |
| 4965 | {"force-password-initial-sync-when-decryption-fails", |
| 4966 | flag_descriptions::kForcePasswordInitialSyncWhenDecryptionFailsName, |
| 4967 | flag_descriptions::kForcePasswordInitialSyncWhenDecryptionFailsDescription, |
| 4968 | kOsLinux | kOsMac, |
| 4969 | FEATURE_VALUE_TYPE( |
| 4970 | password_manager::features::kForceInitialSyncWhenDecryptionFails)}, |
Adem Derinel | 64bdf05 | 2022-02-02 08:14:23 | [diff] [blame] | 4971 | #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) |
Alexander Dunaev | 43cfb2f | 2021-10-19 06:08:06 | [diff] [blame] | 4972 | |
Will Cassella | 40837ba | 2019-07-01 21:32:00 | [diff] [blame] | 4973 | #if BUILDFLAG(ENABLE_VR) |
Will Cassella | a1a4d111 | 2019-12-27 20:52:31 | [diff] [blame] | 4974 | {"webxr-incubations", flag_descriptions::kWebXrIncubationsName, |
| 4975 | flag_descriptions::kWebXrIncubationsDescription, kOsAll, |
Viatcheslav Ostapenko | b7fbf2c | 2021-07-01 03:21:05 | [diff] [blame] | 4976 | FEATURE_VALUE_TYPE(device::features::kWebXrIncubations)}, |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 4977 | {"webxr-runtime", flag_descriptions::kWebXrForceRuntimeName, |
Alexander Cooper | 98a8edb | 2023-05-23 18:04:05 | [diff] [blame] | 4978 | flag_descriptions::kWebXrForceRuntimeDescription, kOsDesktop | kOsAndroid, |
Alex Cooper | 01f110e | 2020-01-08 02:24:16 | [diff] [blame] | 4979 | MULTI_VALUE_TYPE(kWebXrForceRuntimeChoices)}, |
Alex Cooper | 5fca205f | 2023-03-20 23:13:27 | [diff] [blame] | 4980 | #if BUILDFLAG(IS_ANDROID) |
| 4981 | {"webxr-shared-buffers", flag_descriptions::kWebXrSharedBuffersName, |
| 4982 | flag_descriptions::kWebXrSharedBuffersDescription, kOsAndroid, |
| 4983 | FEATURE_VALUE_TYPE(device::features::kWebXrSharedBuffers)}, |
Alexander Cooper | 98a8edb | 2023-05-23 18:04:05 | [diff] [blame] | 4984 | #if BUILDFLAG(ENABLE_OPENXR) |
| 4985 | {"enable-openxr-android", flag_descriptions::kOpenXRName, |
| 4986 | flag_descriptions::kOpenXRDescription, kOsAndroid, |
| 4987 | FEATURE_VALUE_TYPE(device::features::kOpenXR)}, |
| 4988 | #endif |
Alex Cooper | 5fca205f | 2023-03-20 23:13:27 | [diff] [blame] | 4989 | #endif // BUILDFLAG(IS_ANDROID) |
cjgrant | 373c068 | 2017-03-21 20:50:48 | [diff] [blame] | 4990 | #endif // ENABLE_VR |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4991 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
henryhsu | b5ab150 | 2015-07-30 07:22:46 | [diff] [blame] | 4992 | {"disable-accelerated-mjpeg-decode", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 4993 | flag_descriptions::kAcceleratedMjpegDecodeName, |
| 4994 | flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS, |
flackr | 88fd512 | 2015-11-25 04:44:50 | [diff] [blame] | 4995 | SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 4996 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Joe Downing | 8cbbc19 | 2018-05-14 17:37:07 | [diff] [blame] | 4997 | {"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName, |
| 4998 | flag_descriptions::kSystemKeyboardLockDescription, kOsDesktop, |
| 4999 | FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5000 | #if BUILDFLAG(IS_ANDROID) |
Shakti Sahu | 1c04a287 | 2021-03-17 16:38:48 | [diff] [blame] | 5001 | {"add-to-homescreen-iph", flag_descriptions::kAddToHomescreenIPHName, |
| 5002 | flag_descriptions::kAddToHomescreenIPHDescription, kOsAndroid, |
| 5003 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kAddToHomescreenIPH, |
| 5004 | kAddToHomescreenIPHVariations, |
| 5005 | "AddToHomescreen")}, |
Shakti Sahu | edcbaef | 2022-01-18 19:54:21 | [diff] [blame] | 5006 | {"feature-notification-guide", |
| 5007 | flag_descriptions::kFeatureNotificationGuideName, |
Shakti Sahu | e6d6fdd | 2022-02-05 02:29:06 | [diff] [blame] | 5008 | flag_descriptions::kFeatureNotificationGuideDescription, kOsAndroid, |
| 5009 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 5010 | feature_guide::features::kFeatureNotificationGuide, |
| 5011 | kFeatureNotificationGuideVariations, |
| 5012 | "FeatureNotificationGuide")}, |
Salvador Guerrero | 4d5ff6e6 | 2022-03-24 00:03:20 | [diff] [blame] | 5013 | {"notification-permission-rationale-dialog", |
| 5014 | flag_descriptions::kNotificationPermissionRationaleName, |
| 5015 | flag_descriptions::kNotificationPermissionRationaleDescription, kOsAndroid, |
| 5016 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 5017 | chrome::android::kNotificationPermissionVariant, |
| 5018 | kNotificationPermissionRationaleVariations, |
| 5019 | "NotificationPermissionVariant")}, |
Salvador Guerrero | 0af3699 | 2023-01-23 20:46:47 | [diff] [blame] | 5020 | {"notification-permission-rationale-bottom-sheet", |
| 5021 | flag_descriptions::kNotificationPermissionRationaleBottomSheetName, |
| 5022 | flag_descriptions::kNotificationPermissionRationaleBottomSheetDescription, |
| 5023 | kOsAndroid, |
| 5024 | FEATURE_VALUE_TYPE(chrome::android::kNotificationPermissionBottomSheet)}, |
Shakti Sahu | 6c4afcde | 2022-01-31 23:03:54 | [diff] [blame] | 5025 | {"feature-notification-guide-skip-check-for-low-engaged-users", |
| 5026 | flag_descriptions:: |
| 5027 | kFeatureNotificationGuideSkipCheckForLowEngagedUsersName, |
| 5028 | flag_descriptions:: |
| 5029 | kFeatureNotificationGuideSkipCheckForLowEngagedUsersDescription, |
| 5030 | kOsAll, |
| 5031 | FEATURE_VALUE_TYPE(feature_guide::features::kSkipCheckForLowEngagedUsers)}, |
Yafei Duan | 36b4b5b | 2018-08-07 00:40:03 | [diff] [blame] | 5032 | {"offline-pages-live-page-sharing", |
| 5033 | flag_descriptions::kOfflinePagesLivePageSharingName, |
| 5034 | flag_descriptions::kOfflinePagesLivePageSharingDescription, kOsAndroid, |
| 5035 | FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesLivePageSharingFeature)}, |
Shakti Sahu | 1f8a942 | 2020-03-12 05:50:50 | [diff] [blame] | 5036 | {"query-tiles", flag_descriptions::kQueryTilesName, |
| 5037 | flag_descriptions::kQueryTilesDescription, kOsAndroid, |
Min Qin | db78946 | 2021-08-26 04:00:11 | [diff] [blame] | 5038 | FEATURE_WITH_PARAMS_VALUE_TYPE(query_tiles::features::kQueryTiles, |
| 5039 | kQueryTilesVariations, |
| 5040 | "QueryTilesVariations")}, |
Shakti Sahu | cad2a0a | 2020-10-23 06:42:28 | [diff] [blame] | 5041 | {"query-tiles-ntp", flag_descriptions::kQueryTilesNTPName, |
| 5042 | flag_descriptions::kQueryTilesNTPDescription, kOsAndroid, |
| 5043 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesInNTP)}, |
Min Qin | eb0c215 | 2022-08-26 19:13:12 | [diff] [blame] | 5044 | {"query-tiles-on-start", flag_descriptions::kQueryTilesOnStartName, |
| 5045 | flag_descriptions::kQueryTilesOnStartDescription, kOsAndroid, |
| 5046 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesOnStart)}, |
Shakti Sahu | 8fe5edd | 2020-05-14 18:57:13 | [diff] [blame] | 5047 | {"query-tiles-single-tier", flag_descriptions::kQueryTilesSingleTierName, |
| 5048 | flag_descriptions::kQueryTilesSingleTierDescription, kOsAndroid, |
| 5049 | SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesSingleTier)}, |
Shakti Sahu | dfb4099 | 2020-05-12 14:54:54 | [diff] [blame] | 5050 | {"query-tiles-enable-query-editing", |
| 5051 | flag_descriptions::kQueryTilesEnableQueryEditingName, |
| 5052 | flag_descriptions::kQueryTilesEnableQueryEditingDescription, kOsAndroid, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 5053 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesEnableQueryEditing)}, |
Min Qin | eac94ae | 2020-08-14 06:38:45 | [diff] [blame] | 5054 | {"query-tiles-enable-trending", |
| 5055 | flag_descriptions::kQueryTilesEnableTrendingName, |
| 5056 | flag_descriptions::kQueryTilesEnableTrendingDescription, kOsAndroid, |
| 5057 | SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesEnableTrending)}, |
Min Qin | db99e6f | 2020-04-29 06:37:26 | [diff] [blame] | 5058 | {"query-tiles-country-code", flag_descriptions::kQueryTilesCountryCode, |
| 5059 | flag_descriptions::kQueryTilesCountryCodeDescription, kOsAndroid, |
| 5060 | MULTI_VALUE_TYPE(kQueryTilesCountryChoices)}, |
Shakti Sahu | 8fe5edd | 2020-05-14 18:57:13 | [diff] [blame] | 5061 | {"query-tiles-instant-fetch", |
| 5062 | flag_descriptions::kQueryTilesInstantFetchName, |
Xing Liu | 06f2fa0 | 2020-04-30 02:45:19 | [diff] [blame] | 5063 | flag_descriptions::kQueryTilesInstantFetchDescription, kOsAndroid, |
Xing Liu | 6d87321 | 2020-05-13 22:33:49 | [diff] [blame] | 5064 | SINGLE_VALUE_TYPE( |
| 5065 | query_tiles::switches::kQueryTilesInstantBackgroundTask)}, |
Min Qin | be050b7 | 2021-06-26 01:32:39 | [diff] [blame] | 5066 | {"query-tiles-rank-tiles", flag_descriptions::kQueryTilesRankTilesName, |
| 5067 | flag_descriptions::kQueryTilesRankTilesDescription, kOsAndroid, |
| 5068 | SINGLE_VALUE_TYPE(query_tiles::switches::kQueryTilesRankTiles)}, |
Min Qin | db78946 | 2021-08-26 04:00:11 | [diff] [blame] | 5069 | {"query-tiles-segmentation", flag_descriptions::kQueryTilesSegmentationName, |
| 5070 | flag_descriptions::kQueryTilesSegmentationDescription, kOsAndroid, |
| 5071 | FEATURE_VALUE_TYPE(query_tiles::features::kQueryTilesSegmentation)}, |
Min Qin | 60ae5b8 | 2021-01-07 07:07:50 | [diff] [blame] | 5072 | {"query-tiles-swap-trending", |
| 5073 | flag_descriptions::kQueryTilesSwapTrendingName, |
| 5074 | flag_descriptions::kQueryTilesSwapTrendingDescription, kOsAndroid, |
| 5075 | FEATURE_VALUE_TYPE( |
| 5076 | query_tiles::features::kQueryTilesRemoveTrendingTilesAfterInactivity)}, |
David Trainor | a38e60e | 2020-08-04 23:43:25 | [diff] [blame] | 5077 | {"reengagement-notification", |
| 5078 | flag_descriptions::kReengagementNotificationName, |
| 5079 | flag_descriptions::kReengagementNotificationDescription, kOsAndroid, |
| 5080 | FEATURE_VALUE_TYPE(chrome::android::kReengagementNotification)}, |
Lijin Shen | 88a1b42 | 2023-03-31 22:08:21 | [diff] [blame] | 5081 | {"back-gesture-activity-tab-provider", |
| 5082 | flag_descriptions::kBackGestureActivityTabProviderName, |
| 5083 | flag_descriptions::kBackGestureActivityTabProviderDescription, kOsAndroid, |
| 5084 | FEATURE_VALUE_TYPE(chrome::android::kBackGestureRefactorAndroid)}, |
Lijin Shen | ce2f572 | 2022-04-26 23:11:52 | [diff] [blame] | 5085 | {"back-gesture-refactor-android", |
| 5086 | flag_descriptions::kBackGestureRefactorAndroidName, |
| 5087 | flag_descriptions::kBackGestureRefactorAndroidDescription, kOsAndroid, |
| 5088 | FEATURE_VALUE_TYPE(chrome::android::kBackGestureRefactorAndroid)}, |
Lijin Shen | 7c494d7 | 2023-01-17 23:54:55 | [diff] [blame] | 5089 | {"back-gesture-refactor-activity-android", |
| 5090 | flag_descriptions::kBackGestureRefactorActivityAndroidName, |
| 5091 | flag_descriptions::kBackGestureRefactorActivityAndroidDescription, |
| 5092 | kOsAndroid, |
| 5093 | FEATURE_VALUE_TYPE(chrome::android::kBackGestureRefactorActivityAndroid)}, |
Donn Denman | c2db1e62 | 2023-04-12 17:28:08 | [diff] [blame] | 5094 | {"draw-edge-to-edge", flag_descriptions::kDrawEdgeToEdgeName, |
| 5095 | flag_descriptions::kDrawEdgeToEdgeDescription, kOsAndroid, |
| 5096 | FEATURE_VALUE_TYPE(chrome::android::kDrawEdgeToEdge)}, |
Lijin Shen | f3215dcd | 2022-08-30 00:34:14 | [diff] [blame] | 5097 | {"infobar-scroll-optimization", |
| 5098 | flag_descriptions::kInfobarScrollOptimizationName, |
| 5099 | flag_descriptions::kInfobarScrollOptimizationDescription, kOsAndroid, |
| 5100 | FEATURE_VALUE_TYPE(chrome::android::kInfobarScrollOptimization)}, |
Wenyu Fu | 2518c980 | 2023-02-08 23:52:26 | [diff] [blame] | 5101 | {"share-sheet-migration-android", |
| 5102 | flag_descriptions::kShareSheetMigrationAndroidName, |
| 5103 | flag_descriptions::kShareSheetMigrationAndroidDescription, kOsAndroid, |
| 5104 | FEATURE_VALUE_TYPE(chrome::android::kShareSheetMigrationAndroid)}, |
Wenyu Fu | 385c496 | 2023-04-07 22:19:53 | [diff] [blame] | 5105 | {"share-sheet-custom-actions-polish", |
| 5106 | flag_descriptions::kShareSheetCustomActionsPolishName, |
| 5107 | flag_descriptions::kShareSheetCustomActionsPolishDescription, kOsAndroid, |
| 5108 | FEATURE_VALUE_TYPE(chrome::android::kShareSheetCustomActionsPolish)}, |
Wenyu Fu | 2518c980 | 2023-02-08 23:52:26 | [diff] [blame] | 5109 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5110 | #endif // BUILDFLAG(IS_ANDROID) |
bmcquade | ed75dc7 | 2016-04-12 19:41:23 | [diff] [blame] | 5111 | {"disallow-doc-written-script-loads", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5112 | flag_descriptions::kDisallowDocWrittenScriptsUiName, |
| 5113 | flag_descriptions::kDisallowDocWrittenScriptsUiDescription, kOsAll, |
bmcquade | 43544d7 | 2015-08-06 03:39:21 | [diff] [blame] | 5114 | // NOTE: if we want to add additional experiment entries for other |
| 5115 | // features controlled by kBlinkSettings, we'll need to add logic to |
| 5116 | // merge the flag values. |
shivanisha | a96778d | 2016-10-19 17:18:57 | [diff] [blame] | 5117 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 5118 | blink::switches::kBlinkSettings, |
shivanisha | a96778d | 2016-10-19 17:18:57 | [diff] [blame] | 5119 | "disallowFetchForDocWrittenScriptsInMainFrame=true", |
Gyuyoung Kim | a252d4a | 2020-09-16 07:20:31 | [diff] [blame] | 5120 | blink::switches::kBlinkSettings, |
shivanisha | a96778d | 2016-10-19 17:18:57 | [diff] [blame] | 5121 | "disallowFetchForDocWrittenScriptsInMainFrame=false")}, |
Yann Dago | c9bca035 | 2023-02-28 16:30:50 | [diff] [blame] | 5122 | #if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) |
| 5123 | {"disallow-managed-profile-signout", |
| 5124 | flag_descriptions::kDisallowManagedProfileSignoutName, |
| 5125 | flag_descriptions::kDisallowManagedProfileSignoutDescription, |
| 5126 | kOsMac | kOsWin | kOsLinux | kOsLacros, |
| 5127 | FEATURE_VALUE_TYPE(kDisallowManagedProfileSignout)}, |
| 5128 | #endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH) |
Vladimir Levin | 501455e | 2022-11-04 20:04:54 | [diff] [blame] | 5129 | {"view-transition", flag_descriptions::kViewTransitionName, |
| 5130 | flag_descriptions::kViewTransitionDescription, kOsAll, |
| 5131 | FEATURE_VALUE_TYPE(blink::features::kViewTransition)}, |
Khushal Sagar | b5af36e | 2022-11-09 22:33:29 | [diff] [blame] | 5132 | {"view-transition-on-navigation", |
| 5133 | flag_descriptions::kViewTransitionOnNavigationName, |
| 5134 | flag_descriptions::kViewTransitionOnNavigationDescription, kOsAll, |
| 5135 | FEATURE_VALUE_TYPE(blink::features::kViewTransitionOnNavigation)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5136 | #if BUILDFLAG(IS_WIN) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5137 | {"use-winrt-midi-api", flag_descriptions::kUseWinrtMidiApiName, |
| 5138 | flag_descriptions::kUseWinrtMidiApiDescription, kOsWin, |
shaochuan | 2d34003 | 2016-10-29 07:26:00 | [diff] [blame] | 5139 | FEATURE_VALUE_TYPE(midi::features::kMidiManagerWinrt)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5140 | #endif // BUILDFLAG(IS_WIN) |
| 5141 | #if defined(TOOLKIT_VIEWS) || BUILDFLAG(IS_ANDROID) |
jdonnelly | dcb7f07 | 2016-06-02 16:09:58 | [diff] [blame] | 5142 | {"enable-autofill-credit-card-upload", |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5143 | flag_descriptions::kAutofillCreditCardUploadName, |
| 5144 | flag_descriptions::kAutofillCreditCardUploadDescription, kOsAll, |
Anne Lim | 2716ba9 | 2018-08-28 01:47:27 | [diff] [blame] | 5145 | FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5146 | #endif // defined(TOOLKIT_VIEWS) || BUILDFLAG(IS_ANDROID) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5147 | {"force-ui-direction", flag_descriptions::kForceUiDirectionName, |
| 5148 | flag_descriptions::kForceUiDirectionDescription, kOsAll, |
mgiuca | 49ae7c7 | 2015-12-04 04:36:48 | [diff] [blame] | 5149 | MULTI_VALUE_TYPE(kForceUIDirectionChoices)}, |
krb | 6822b60 | 2017-05-02 14:53:21 | [diff] [blame] | 5150 | {"force-text-direction", flag_descriptions::kForceTextDirectionName, |
| 5151 | flag_descriptions::kForceTextDirectionDescription, kOsAll, |
| 5152 | MULTI_VALUE_TYPE(kForceTextDirectionChoices)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5153 | #if BUILDFLAG(IS_ANDROID) |
Tommy Nyquist | 3c02e59 | 2018-10-18 23:36:44 | [diff] [blame] | 5154 | {"force-update-menu-type", flag_descriptions::kUpdateMenuTypeName, |
| 5155 | flag_descriptions::kUpdateMenuTypeDescription, kOsAndroid, |
| 5156 | MULTI_VALUE_TYPE(kForceUpdateMenuTypeChoices)}, |
twellington | ce0b29ba | 2017-04-19 21:01:17 | [diff] [blame] | 5157 | {"update-menu-item-custom-summary", |
| 5158 | flag_descriptions::kUpdateMenuItemCustomSummaryName, |
| 5159 | flag_descriptions::kUpdateMenuItemCustomSummaryDescription, kOsAndroid, |
| 5160 | SINGLE_VALUE_TYPE_AND_VALUE( |
| 5161 | switches::kForceShowUpdateMenuItemCustomSummary, |
| 5162 | "Custom Summary")}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5163 | {"force-show-update-menu-badge", flag_descriptions::kUpdateMenuBadgeName, |
| 5164 | flag_descriptions::kUpdateMenuBadgeDescription, kOsAndroid, |
twellington | ce51db3 | 2015-12-30 16:24:29 | [diff] [blame] | 5165 | SINGLE_VALUE_TYPE(switches::kForceShowUpdateMenuBadge)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5166 | {"set-market-url-for-testing", |
| 5167 | flag_descriptions::kSetMarketUrlForTestingName, |
| 5168 | flag_descriptions::kSetMarketUrlForTestingDescription, kOsAndroid, |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 5169 | SINGLE_VALUE_TYPE_AND_VALUE(switches::kMarketUrlForTesting, |
| 5170 | "https://play.google.com/store/apps/" |
| 5171 | "details?id=com.android.chrome")}, |
Tommy Nyquist | 5b7ac1a0 | 2022-08-16 16:56:00 | [diff] [blame] | 5172 | {"omaha-min-sdk-version-android", |
| 5173 | flag_descriptions::kOmahaMinSdkVersionAndroidName, |
| 5174 | flag_descriptions::kOmahaMinSdkVersionAndroidDescription, kOsAndroid, |
| 5175 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kOmahaMinSdkVersionAndroid, |
| 5176 | kOmahaMinSdkVersionAndroidVariations, |
| 5177 | "OmahaMinSdkVersionAndroidStudy")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5178 | #endif // BUILDFLAG(IS_ANDROID) |
Steven Valdez | 89a44ea9 | 2019-05-01 15:18:49 | [diff] [blame] | 5179 | {"enable-tls13-early-data", flag_descriptions::kEnableTLS13EarlyDataName, |
| 5180 | flag_descriptions::kEnableTLS13EarlyDataDescription, kOsAll, |
| 5181 | FEATURE_VALUE_TYPE(net::features::kEnableTLS13EarlyData)}, |
Adam Langley | 664d93d | 2023-05-02 19:38:22 | [diff] [blame] | 5182 | {"enable-tls13-kyber", flag_descriptions::kEnableTLS13KyberName, |
| 5183 | flag_descriptions::kEnableTLS13KyberDescription, kOsAll, |
| 5184 | FEATURE_VALUE_TYPE(net::features::kPostQuantumKyber)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5185 | #if BUILDFLAG(IS_ANDROID) |
Nick Birnie | 7982fbe | 2023-03-01 22:22:52 | [diff] [blame] | 5186 | {"feed-boc-signin-interstitial", |
| 5187 | flag_descriptions::kFeedBoCSigninInterstitialName, |
| 5188 | flag_descriptions::kFeedBoCSigninInterstitialDescription, kOsAndroid, |
| 5189 | FEATURE_VALUE_TYPE(feed::kFeedBoCSigninInterstitial)}, |
Jian Li | c22a3ce | 2021-08-31 15:46:59 | [diff] [blame] | 5190 | {"feed-back-to-top", flag_descriptions::kFeedBackToTopName, |
| 5191 | flag_descriptions::kFeedBackToTopDescription, kOsAndroid, |
| 5192 | FEATURE_VALUE_TYPE(feed::kFeedBackToTop)}, |
Justin DeWitt | 3eca437 | 2021-09-17 19:44:52 | [diff] [blame] | 5193 | {"feed-loading-placeholder", flag_descriptions::kFeedLoadingPlaceholderName, |
| 5194 | flag_descriptions::kFeedLoadingPlaceholderDescription, kOsAndroid, |
| 5195 | FEATURE_VALUE_TYPE(feed::kFeedLoadingPlaceholder)}, |
Dan Harrington | 0895cee | 2023-06-29 22:27:16 | [diff] [blame] | 5196 | {"feed-signed-out-view-demotion", |
| 5197 | flag_descriptions::kFeedSignedOutViewDemotionName, |
| 5198 | flag_descriptions::kFeedSignedOutViewDemotionDescription, kOsAndroid, |
| 5199 | FEATURE_VALUE_TYPE(feed::kFeedSignedOutViewDemotion)}, |
Dan Harrington | 4043b22 | 2021-01-15 18:33:42 | [diff] [blame] | 5200 | {"feed-v2-hearts", flag_descriptions::kInterestFeedV2HeartsName, |
| 5201 | flag_descriptions::kInterestFeedV2HeartsDescription, kOsAndroid, |
| 5202 | FEATURE_VALUE_TYPE(feed::kInterestFeedV2Hearts)}, |
Jian Li | e41ddcb | 2022-05-04 01:11:56 | [diff] [blame] | 5203 | {"info-card-acknowledgement-tracking", |
| 5204 | flag_descriptions::kInfoCardAcknowledgementTrackingName, |
| 5205 | flag_descriptions::kInfoCardAcknowledgementTrackingDescription, kOsAndroid, |
| 5206 | FEATURE_VALUE_TYPE(feed::kInfoCardAcknowledgementTracking)}, |
Carlos Knippschild | 0cf5a07 | 2020-12-01 00:15:53 | [diff] [blame] | 5207 | {"web-feed", flag_descriptions::kWebFeedName, |
| 5208 | flag_descriptions::kWebFeedDescription, kOsAndroid, |
Pete Williamson | 7c87815 | 2021-07-01 00:50:38 | [diff] [blame] | 5209 | FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kWebFeed, |
| 5210 | kWebFeedVariations, |
| 5211 | "WebFeed")}, |
Pete Williamson | 55cbb16 | 2022-04-09 02:41:52 | [diff] [blame] | 5212 | {"web-feed-awareness", flag_descriptions::kWebFeedAwarenessName, |
| 5213 | flag_descriptions::kWebFeedAwarenessDescription, kOsAndroid, |
Pete Williamson | 564dee2 | 2022-05-02 18:14:37 | [diff] [blame] | 5214 | FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kWebFeedAwareness, |
| 5215 | kWebFeedAwarenessVariations, |
| 5216 | "WebFeedAwareness")}, |
Pete Williamson | 06a50ba | 2022-03-10 02:08:53 | [diff] [blame] | 5217 | {"web-feed-onboarding", flag_descriptions::kWebFeedOnboardingName, |
| 5218 | flag_descriptions::kWebFeedOnboardingDescription, kOsAndroid, |
| 5219 | FEATURE_VALUE_TYPE(feed::kWebFeedOnboarding)}, |
Cathy Li | e949b3c | 2021-09-10 20:15:45 | [diff] [blame] | 5220 | {"web-feed-sort", flag_descriptions::kWebFeedSortName, |
| 5221 | flag_descriptions::kWebFeedSortDescription, kOsAndroid, |
| 5222 | FEATURE_VALUE_TYPE(feed::kWebFeedSort)}, |
Cathy Wei | e5c7d61 | 2022-10-14 18:55:07 | [diff] [blame] | 5223 | {"feed-header-stick-to-top", flag_descriptions::kFeedHeaderStickToTopName, |
| 5224 | flag_descriptions::kFeedHeaderStickToTopDescription, kOsAndroid, |
| 5225 | FEATURE_VALUE_TYPE(feed::kFeedHeaderStickToTop)}, |
Justin DeWitt | 83faf9d1 | 2020-12-17 23:18:03 | [diff] [blame] | 5226 | {"xsurface-metrics-reporting", |
| 5227 | flag_descriptions::kXsurfaceMetricsReportingName, |
| 5228 | flag_descriptions::kXsurfaceMetricsReportingDescription, kOsAndroid, |
Dan Harrington | e456f520 | 2022-01-25 19:37:32 | [diff] [blame] | 5229 | FEATURE_VALUE_TYPE(feed::kXsurfaceMetricsReporting)}, |
Ian Wells | 6cf75a8 | 2022-07-13 02:11:02 | [diff] [blame] | 5230 | {"feed-close-refresh", flag_descriptions::kFeedCloseRefreshName, |
| 5231 | flag_descriptions::kFeedCloseRefreshDescription, kOsAndroid, |
| 5232 | FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kFeedCloseRefresh, |
| 5233 | kFeedCloseRefreshVariations, |
| 5234 | "FeedCloseRefresh")}, |
Jonathan Freed | 4adf604f | 2022-08-31 17:06:14 | [diff] [blame] | 5235 | {"feed-discofeed-endpoint", flag_descriptions::kFeedDiscoFeedEndpointName, |
| 5236 | flag_descriptions::kFeedDiscoFeedEndpointDescription, kOsAndroid, |
| 5237 | FEATURE_VALUE_TYPE(feed::kDiscoFeedEndpoint)}, |
Cathy Li | d4f39a85 | 2023-05-18 00:27:31 | [diff] [blame] | 5238 | {"feed-dynamic-colors", flag_descriptions::kFeedDynamicColorsName, |
| 5239 | flag_descriptions::kFeedDynamicColorsDescription, kOsAndroid, |
| 5240 | FEATURE_VALUE_TYPE(feed::kFeedDynamicColors)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5241 | #endif // BUILDFLAG(IS_ANDROID) |
Jonathan Freed | 4d92f28 | 2022-08-12 19:01:05 | [diff] [blame] | 5242 | #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ |
| 5243 | BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
| 5244 | {"following-feed-sidepanel", flag_descriptions::kFollowingFeedSidepanelName, |
| 5245 | flag_descriptions::kFollowingFeedSidepanelDescription, kOsDesktop, |
| 5246 | FEATURE_VALUE_TYPE(feed::kWebUiFeed)}, |
| 5247 | #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || |
| 5248 | // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
Peter Beverloo | dcd5d965 | 2021-10-11 23:30:59 | [diff] [blame] | 5249 | {"enable-force-dark", flag_descriptions::kAutoWebContentsDarkModeName, |
| 5250 | flag_descriptions::kAutoWebContentsDarkModeDescription, kOsAll, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5251 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Kyle Horimoto | c0108e11 | 2020-10-20 21:41:04 | [diff] [blame] | 5252 | // TODO(https://crbug.com/1011696): Investigate crash reports and |
| 5253 | // re-enable variations for ChromeOS. |
| 5254 | FEATURE_VALUE_TYPE(blink::features::kForceWebContentsDarkMode)}, |
| 5255 | #else |
Aran Gilman | 5e9672bed | 2019-08-02 19:07:49 | [diff] [blame] | 5256 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kForceWebContentsDarkMode, |
| 5257 | kForceDarkVariations, |
| 5258 | "ForceDarkVariations")}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5259 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5260 | #if BUILDFLAG(IS_ANDROID) |
Mark Schillaci | d9ce86c | 2021-09-30 16:37:53 | [diff] [blame] | 5261 | {"enable-accessibility-page-zoom", |
| 5262 | flag_descriptions::kAccessibilityPageZoomName, |
| 5263 | flag_descriptions::kAccessibilityPageZoomDescription, kOsAndroid, |
| 5264 | FEATURE_VALUE_TYPE(features::kAccessibilityPageZoom)}, |
Amanda Lin Dietz | fad21375 | 2023-05-16 22:09:57 | [diff] [blame] | 5265 | {"enable-accessibility-performance-filtering", |
| 5266 | flag_descriptions::kAccessibilityPerformanceFilteringName, |
| 5267 | flag_descriptions::kAccessibilityPerformanceFilteringDescription, |
| 5268 | kOsAndroid, |
| 5269 | FEATURE_VALUE_TYPE(features::kAccessibilityPerformanceFiltering)}, |
Mark Schillaci | cc2476f | 2023-07-06 17:08:08 | [diff] [blame^] | 5270 | {"enable-smart-zoom", flag_descriptions::kSmartZoomName, |
| 5271 | flag_descriptions::kSmartZoomDescription, kOsAndroid, |
| 5272 | FEATURE_VALUE_TYPE(features::kSmartZoom)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5273 | #endif // BUILDFLAG(IS_ANDROID) |
Chris Hall | 4a4225f6 | 2019-01-18 03:07:16 | [diff] [blame] | 5274 | {"enable-experimental-accessibility-language-detection", |
| 5275 | flag_descriptions::kExperimentalAccessibilityLanguageDetectionName, |
| 5276 | flag_descriptions::kExperimentalAccessibilityLanguageDetectionDescription, |
Chris Hall | 2e490ec | 2019-08-08 02:14:14 | [diff] [blame] | 5277 | kOsAll, |
Chris Hall | 4a4225f6 | 2019-01-18 03:07:16 | [diff] [blame] | 5278 | SINGLE_VALUE_TYPE( |
| 5279 | ::switches::kEnableExperimentalAccessibilityLanguageDetection)}, |
Chris Hall | 4f3ca558 | 2019-11-19 02:55:49 | [diff] [blame] | 5280 | {"enable-experimental-accessibility-language-detection-dynamic", |
| 5281 | flag_descriptions::kExperimentalAccessibilityLanguageDetectionDynamicName, |
| 5282 | flag_descriptions:: |
| 5283 | kExperimentalAccessibilityLanguageDetectionDynamicDescription, |
| 5284 | kOsAll, |
| 5285 | SINGLE_VALUE_TYPE( |
| 5286 | ::switches::kEnableExperimentalAccessibilityLanguageDetectionDynamic)}, |
Dominic Mazzoni | 34dfc648 | 2020-11-18 22:17:58 | [diff] [blame] | 5287 | {"enable-aria-element-reflection", |
| 5288 | flag_descriptions::kAriaElementReflectionName, |
| 5289 | flag_descriptions::kAriaElementReflectionDescription, kOsAll, |
| 5290 | FEATURE_VALUE_TYPE(features::kEnableAriaElementReflection)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5291 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Bao-Duy Tran | 395c169c7 | 2022-02-14 06:57:34 | [diff] [blame] | 5292 | {"enable-cros-autocorrect-params-tuning", |
| 5293 | flag_descriptions::kAutocorrectParamsTuningName, |
| 5294 | flag_descriptions::kAutocorrectParamsTuningDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5295 | FEATURE_VALUE_TYPE(ash::features::kAutocorrectParamsTuning)}, |
Zac Partridge | efc2ec0 | 2022-11-21 06:28:45 | [diff] [blame] | 5296 | {"enable-cros-autocorrect-toggle", |
| 5297 | flag_descriptions::kAutocorrectToggleName, |
| 5298 | flag_descriptions::kAutocorrectToggleDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5299 | FEATURE_VALUE_TYPE(ash::features::kAutocorrectToggle)}, |
Curtis McMullan | f135180 | 2022-12-02 05:23:02 | [diff] [blame] | 5300 | {"enable-cros-autocorrect-by-default", |
| 5301 | flag_descriptions::kAutocorrectByDefaultName, |
| 5302 | flag_descriptions::kAutocorrectByDefaultDescription, kOsCrOS, |
| 5303 | FEATURE_VALUE_TYPE(ash::features::kAutocorrectByDefault)}, |
Chuong Ho | b2718c3 | 2023-06-02 07:47:01 | [diff] [blame] | 5304 | {"enable-cros-autocorrect-use-replace-surrounding-text", |
| 5305 | flag_descriptions::kAutocorrectUseReplaceSurroundingTextName, |
| 5306 | flag_descriptions::kAutocorrectUseReplaceSurroundingTextDescription, |
| 5307 | kOsCrOS, |
| 5308 | FEATURE_VALUE_TYPE(ash::features::kAutocorrectUseReplaceSurroundingText)}, |
Yue Li | 1c349641 | 2022-08-10 23:37:14 | [diff] [blame] | 5309 | {"enable-cros-avatars-cloud-migration", |
| 5310 | flag_descriptions::kAvatarsCloudMigrationName, |
| 5311 | flag_descriptions::kAvatarsCloudMigrationDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5312 | FEATURE_VALUE_TYPE(ash::features::kAvatarsCloudMigration)}, |
jhtin | 2c880810 | 2022-02-21 08:53:35 | [diff] [blame] | 5313 | {"enable-cros-diacritics-on-physical-keyboard-longpress", |
| 5314 | flag_descriptions::kDiacriticsOnPhysicalKeyboardLongpressName, |
| 5315 | flag_descriptions::kDiacriticsOnPhysicalKeyboardLongpressDescription, |
| 5316 | kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5317 | FEATURE_VALUE_TYPE(ash::features::kDiacriticsOnPhysicalKeyboardLongpress)}, |
John Palmer | 8cbc27b | 2023-04-19 00:53:01 | [diff] [blame] | 5318 | {"enable-cros-diacritics-on-physical-keyboard-longpress-on-by-default", |
| 5319 | flag_descriptions::kDiacriticsOnPhysicalKeyboardLongpressDefaultOnName, |
| 5320 | flag_descriptions:: |
| 5321 | kDiacriticsOnPhysicalKeyboardLongpressDefaultOnDescription, |
| 5322 | kOsCrOS, |
| 5323 | FEATURE_VALUE_TYPE( |
| 5324 | ash::features::kDiacriticsOnPhysicalKeyboardLongpressDefaultOn)}, |
Darren Shen | 1c21e1e4 | 2023-05-11 00:03:39 | [diff] [blame] | 5325 | {"enable-cros-diacritics-use-replace-surrounding-text", |
| 5326 | flag_descriptions::kDiacriticsUseReplaceSurroundingTextName, |
| 5327 | flag_descriptions::kDiacriticsUseReplaceSurroundingTextDescription, |
| 5328 | kOsCrOS, |
| 5329 | FEATURE_VALUE_TYPE(ash::features::kDiacriticsUseReplaceSurroundingText)}, |
jhtin | c1f43aa | 2022-11-10 03:27:04 | [diff] [blame] | 5330 | {"enable-cros-first-party-vietnamese-input", |
| 5331 | flag_descriptions::kFirstPartyVietnameseInputName, |
| 5332 | flag_descriptions::kFirstPartyVietnameseInputDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5333 | FEATURE_VALUE_TYPE(ash::features::kFirstPartyVietnameseInput)}, |
Jungshik Shin | 1c8c488 | 2022-09-14 05:35:26 | [diff] [blame] | 5334 | {"enable-cros-hindi-inscript-layout", |
| 5335 | flag_descriptions::kHindiInscriptLayoutName, |
| 5336 | flag_descriptions::kHindiInscriptLayoutDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5337 | FEATURE_VALUE_TYPE(ash::features::kHindiInscriptLayout)}, |
Curtis McMullan | a190006 | 2021-06-28 01:13:25 | [diff] [blame] | 5338 | {"enable-cros-ime-assist-emoji-enhanced", |
| 5339 | flag_descriptions::kImeAssistEmojiEnhancedName, |
| 5340 | flag_descriptions::kImeAssistEmojiEnhancedDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5341 | FEATURE_VALUE_TYPE(ash::features::kAssistEmojiEnhanced)}, |
Curtis McMullan | 35800d2 | 2020-11-26 06:45:19 | [diff] [blame] | 5342 | {"enable-cros-ime-assist-multi-word", |
| 5343 | flag_descriptions::kImeAssistMultiWordName, |
| 5344 | flag_descriptions::kImeAssistMultiWordDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5345 | FEATURE_VALUE_TYPE(ash::features::kAssistMultiWord)}, |
Curtis McMullan | 6f6526d | 2021-07-09 04:22:45 | [diff] [blame] | 5346 | {"enable-cros-ime-assist-multi-word-expanded", |
| 5347 | flag_descriptions::kImeAssistMultiWordExpandedName, |
| 5348 | flag_descriptions::kImeAssistMultiWordExpandedDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5349 | FEATURE_VALUE_TYPE(ash::features::kAssistMultiWordExpanded)}, |
Chuong Ho | 0db3d5d2 | 2023-02-27 02:18:33 | [diff] [blame] | 5350 | {"enable-cros-ime-fst-decoder-params-update", |
| 5351 | flag_descriptions::kImeFstDecoderParamsUpdateName, |
| 5352 | flag_descriptions::kImeFstDecoderParamsUpdateDescription, kOsCrOS, |
| 5353 | FEATURE_VALUE_TYPE(ash::features::kImeFstDecoderParamsUpdate)}, |
John Palmer | 1141d783 | 2022-04-08 00:01:51 | [diff] [blame] | 5354 | {"enable-cros-virtual-keyboard-new-header", |
| 5355 | flag_descriptions::kVirtualKeyboardNewHeaderName, |
| 5356 | flag_descriptions::kVirtualKeyboardNewHeaderDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5357 | FEATURE_VALUE_TYPE(ash::features::kVirtualKeyboardNewHeader)}, |
John Palmer | 77ce928 | 2021-07-15 09:23:09 | [diff] [blame] | 5358 | {"enable-cros-ime-system-emoji-picker-clipboard", |
| 5359 | flag_descriptions::kImeSystemEmojiPickerClipboardName, |
| 5360 | flag_descriptions::kImeSystemEmojiPickerClipboardDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5361 | FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerClipboard)}, |
Chuong Ho | a3217d5 | 2021-12-08 06:36:14 | [diff] [blame] | 5362 | {"enable-cros-ime-system-emoji-picker-extension", |
| 5363 | flag_descriptions::kImeSystemEmojiPickerExtensionName, |
| 5364 | flag_descriptions::kImeSystemEmojiPickerExtensionDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5365 | FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerExtension)}, |
Kaiqi Liang | 5ddd91b | 2022-12-01 23:14:53 | [diff] [blame] | 5366 | {"enable-cros-ime-system-emoji-picker-gif-support", |
| 5367 | flag_descriptions::kImeSystemEmojiPickerGIFSupportName, |
| 5368 | flag_descriptions::kImeSystemEmojiPickerGIFSupportDescription, kOsCrOS, |
| 5369 | FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerGIFSupport)}, |
Chuong Ho | 7a578183 | 2022-02-09 06:47:26 | [diff] [blame] | 5370 | {"enable-cros-ime-system-emoji-picker-search-extension", |
| 5371 | flag_descriptions::kImeSystemEmojiPickerSearchExtensionName, |
| 5372 | flag_descriptions::kImeSystemEmojiPickerSearchExtensionDescription, |
| 5373 | kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5374 | FEATURE_VALUE_TYPE(ash::features::kImeSystemEmojiPickerSearchExtension)}, |
John Palmer | 90a3221 | 2021-08-03 08:49:13 | [diff] [blame] | 5375 | {"enable-cros-ime-stylus-handwriting", |
| 5376 | flag_descriptions::kImeStylusHandwritingName, |
| 5377 | flag_descriptions::kImeStylusHandwritingDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5378 | FEATURE_VALUE_TYPE(ash::features::kImeStylusHandwriting)}, |
Grey Wang | 8896c88 | 2022-09-02 00:21:55 | [diff] [blame] | 5379 | {"enable-cros-ime-tray-hide-voice-button", |
| 5380 | flag_descriptions::kImeTrayHideVoiceButtonName, |
| 5381 | flag_descriptions::kImeTrayHideVoiceButtonDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5382 | FEATURE_VALUE_TYPE(ash::features::kImeTrayHideVoiceButton)}, |
Curtis McMullan | 6011fe7f | 2023-02-23 01:22:20 | [diff] [blame] | 5383 | {"enable-cros-ime-us-english-model-update", |
| 5384 | flag_descriptions::kImeUsEnglishModelUpdateName, |
| 5385 | flag_descriptions::kImeUsEnglishModelUpdateDescription, kOsCrOS, |
| 5386 | FEATURE_VALUE_TYPE(ash::features::kImeUsEnglishModelUpdate)}, |
Bao-Duy Tran | aa329d6 | 2020-11-27 05:40:58 | [diff] [blame] | 5387 | {"enable-cros-multilingual-typing", |
| 5388 | flag_descriptions::kMultilingualTypingName, |
| 5389 | flag_descriptions::kMultilingualTypingDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5390 | FEATURE_VALUE_TYPE(ash::features::kMultilingualTyping)}, |
Jing Wang | 859fb1a | 2020-11-27 00:26:48 | [diff] [blame] | 5391 | {"enable-cros-on-device-grammar-check", |
| 5392 | flag_descriptions::kCrosOnDeviceGrammarCheckName, |
| 5393 | flag_descriptions::kCrosOnDeviceGrammarCheckDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5394 | FEATURE_VALUE_TYPE(ash::features::kOnDeviceGrammarCheck)}, |
Keith Lee | 8b2131fe | 2021-10-11 05:11:06 | [diff] [blame] | 5395 | {"enable-cros-system-japanese-physical-typing", |
| 5396 | flag_descriptions::kSystemJapanesePhysicalTypingName, |
| 5397 | flag_descriptions::kSystemJapanesePhysicalTypingDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5398 | FEATURE_VALUE_TYPE(ash::features::kSystemJapanesePhysicalTyping)}, |
Michelle | 1569cf3 | 2022-03-24 06:34:48 | [diff] [blame] | 5399 | {"enable-cros-virtual-keyboard-multitouch", |
| 5400 | flag_descriptions::kVirtualKeyboardMultitouchName, |
| 5401 | flag_descriptions::kVirtualKeyboardMultitouchDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5402 | FEATURE_VALUE_TYPE(ash::features::kVirtualKeyboardMultitouch)}, |
John Palmer | 489eda92 | 2022-05-13 05:40:41 | [diff] [blame] | 5403 | {"enable-cros-virtual-keyboard-round-corners", |
| 5404 | flag_descriptions::kVirtualKeyboardRoundCornersName, |
| 5405 | flag_descriptions::kVirtualKeyboardRoundCornersDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5406 | FEATURE_VALUE_TYPE(ash::features::kVirtualKeyboardRoundCorners)}, |
Akihiro Ota | 888750d | 2023-06-29 14:36:03 | [diff] [blame] | 5407 | {"enable-experimental-accessibility-chromevox-oobe-dialog-improvements", |
| 5408 | flag_descriptions:: |
| 5409 | kExperimentalAccessibilityChromeVoxOobeDialogImprovementsName, |
| 5410 | flag_descriptions:: |
| 5411 | kExperimentalAccessibilityChromeVoxOobeDialogImprovementsDescription, |
| 5412 | kOsCrOS, |
| 5413 | FEATURE_VALUE_TYPE( |
| 5414 | features::kExperimentalAccessibilityChromeVoxOobeDialogImprovements)}, |
Jeeva Murugan | 0c7d43a8 | 2022-11-07 01:10:27 | [diff] [blame] | 5415 | {"enable-experimental-accessibility-dictation-context-checking", |
| 5416 | flag_descriptions::kExperimentalAccessibilityDictationContextCheckingName, |
| 5417 | flag_descriptions:: |
| 5418 | kExperimentalAccessibilityDictationContextCheckingDescription, |
| 5419 | kOsCrOS, |
| 5420 | FEATURE_VALUE_TYPE( |
| 5421 | features::kExperimentalAccessibilityDictationContextChecking)}, |
Josiah K | cb91cd1 | 2022-03-22 19:27:06 | [diff] [blame] | 5422 | {"enable-experimental-accessibility-google-tts-language-packs", |
| 5423 | flag_descriptions::kExperimentalAccessibilityGoogleTtsLanguagePacksName, |
| 5424 | flag_descriptions:: |
| 5425 | kExperimentalAccessibilityGoogleTtsLanguagePacksDescription, |
| 5426 | kOsCrOS, |
Akihiro Ota | ef83db12 | 2022-03-28 18:20:20 | [diff] [blame] | 5427 | FEATURE_VALUE_TYPE( |
| 5428 | features::kExperimentalAccessibilityGoogleTtsLanguagePacks)}, |
Katie Dektar | 7143fb0 | 2023-03-20 21:01:51 | [diff] [blame] | 5429 | {"enable-experimental-accessibility-deprecate-chromevox-tabs", |
| 5430 | flag_descriptions::kAccessibilityDeprecateChromeVoxTabsName, |
| 5431 | flag_descriptions::kAccessibilityDeprecateChromeVoxTabsDescription, |
| 5432 | kOsCrOS, |
| 5433 | FEATURE_VALUE_TYPE(features::kAccessibilityDeprecateChromeVoxTabs)}, |
Rose Garcia | 26e2ae3 | 2019-06-25 00:57:54 | [diff] [blame] | 5434 | {"enable-experimental-accessibility-switch-access-text", |
| 5435 | flag_descriptions::kExperimentalAccessibilitySwitchAccessTextName, |
| 5436 | flag_descriptions::kExperimentalAccessibilitySwitchAccessTextDescription, |
| 5437 | kOsCrOS, |
| 5438 | SINGLE_VALUE_TYPE( |
| 5439 | ::switches::kEnableExperimentalAccessibilitySwitchAccessText)}, |
Katie Dektar | 4cf2df7 | 2022-08-26 22:31:19 | [diff] [blame] | 5440 | {"enable-experimental-accessibility-color-enhancement-settings", |
| 5441 | flag_descriptions::kExperimentalAccessibilityColorEnhancementSettingsName, |
| 5442 | flag_descriptions:: |
| 5443 | kExperimentalAccessibilityColorEnhancementSettingsDescription, |
| 5444 | kOsCrOS, |
| 5445 | FEATURE_VALUE_TYPE( |
| 5446 | features::kExperimentalAccessibilityColorEnhancementSettings)}, |
Andres Calderon Jaramillo | a55fccb | 2023-03-24 19:22:11 | [diff] [blame] | 5447 | {"expose-out-of-process-video-decoding-to-lacros", |
| 5448 | flag_descriptions::kExposeOutOfProcessVideoDecodingToLacrosName, |
| 5449 | flag_descriptions::kExposeOutOfProcessVideoDecodingToLacrosDescription, |
| 5450 | kOsCrOS, |
| 5451 | FEATURE_VALUE_TYPE(media::kExposeOutOfProcessVideoDecodingToLacros)}, |
Andreea Costinas | 1e59214 | 2021-04-20 13:24:25 | [diff] [blame] | 5452 | {"enable-system-proxy-for-system-services", |
| 5453 | flag_descriptions::kSystemProxyForSystemServicesName, |
| 5454 | flag_descriptions::kSystemProxyForSystemServicesDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5455 | FEATURE_VALUE_TYPE(ash::features::kSystemProxyForSystemServices)}, |
Xinglong Luan | ff7dec5 | 2023-05-30 01:07:50 | [diff] [blame] | 5456 | {"enable-federated-service", flag_descriptions::kFederatedServiceName, |
| 5457 | flag_descriptions::kFederatedServiceDescription, kOsCrOS, |
| 5458 | FEATURE_VALUE_TYPE(ash::features::kFederatedService)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5459 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Michelle | 724c6bfb2 | 2022-12-15 04:55:38 | [diff] [blame] | 5460 | #if BUILDFLAG(IS_CHROMEOS) |
| 5461 | {"enable-cros-touch-text-editing-redesign", |
| 5462 | flag_descriptions::kTouchTextEditingRedesignName, |
| 5463 | flag_descriptions::kTouchTextEditingRedesignDescription, |
| 5464 | kOsCrOS | kOsLacros, |
| 5465 | FEATURE_VALUE_TYPE(features::kTouchTextEditingRedesign)}, |
| 5466 | #endif // BUILDFLAG(IS_CHROMEOS) |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5467 | #if BUILDFLAG(IS_MAC) |
Florent Castelli | bd7db03 | 2023-02-22 11:22:03 | [diff] [blame] | 5468 | {"enable-retry-capture-device-enumeration-on-crash", |
| 5469 | flag_descriptions::kRetryGetVideoCaptureDeviceInfosName, |
| 5470 | flag_descriptions::kRetryGetVideoCaptureDeviceInfosDescription, kOsMac, |
| 5471 | FEATURE_VALUE_TYPE(features::kRetryGetVideoCaptureDeviceInfos)}, |
| 5472 | #endif // BUILDFLAG(IS_MAC) |
| 5473 | #if BUILDFLAG(IS_MAC) |
Sidney San Martín | 678fd411 | 2019-03-30 00:13:05 | [diff] [blame] | 5474 | {"enable-immersive-fullscreen-toolbar", |
| 5475 | flag_descriptions::kImmersiveFullscreenName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 5476 | flag_descriptions::kImmersiveFullscreenDescription, kOsMac, |
Sidney San Martín | 678fd411 | 2019-03-30 00:13:05 | [diff] [blame] | 5477 | FEATURE_VALUE_TYPE(features::kImmersiveFullscreen)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5478 | #endif // BUILDFLAG(IS_MAC) |
Danyao Wang | 47a0f31 | 2019-05-09 20:52:24 | [diff] [blame] | 5479 | {"enable-web-payments-experimental-features", |
| 5480 | flag_descriptions::kWebPaymentsExperimentalFeaturesName, |
| 5481 | flag_descriptions::kWebPaymentsExperimentalFeaturesDescription, kOsAll, |
| 5482 | FEATURE_VALUE_TYPE(payments::features::kWebPaymentsExperimentalFeatures)}, |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 5483 | {"ignore-csp-in-web-payment-api", |
| 5484 | flag_descriptions::kIgnoreCSPInWebPaymentAPIName, |
| 5485 | flag_descriptions::kIgnoreCSPInWebPaymentAPIDescription, kOsAll, |
| 5486 | FEATURE_VALUE_TYPE(blink::features::kIgnoreCSPInWebPaymentAPI)}, |
Rouslan Solomakhin | 1b63d25 | 2023-01-04 15:36:33 | [diff] [blame] | 5487 | {"add-identity-in-can-make-payment", |
| 5488 | flag_descriptions::kAddIdentityInCanMakePaymentEventName, |
| 5489 | flag_descriptions::kAddIdentityInCanMakePaymentEventDescription, kOsAll, |
| 5490 | FEATURE_VALUE_TYPE(blink::features::kAddIdentityInCanMakePaymentEvent)}, |
Liquan (Max) Gu | 8fcb919 | 2020-05-20 16:22:18 | [diff] [blame] | 5491 | {"enable-debug-for-store-billing", |
| 5492 | flag_descriptions::kAppStoreBillingDebugName, |
| 5493 | flag_descriptions::kAppStoreBillingDebugDescription, kOsAll, |
| 5494 | FEATURE_VALUE_TYPE(payments::features::kAppStoreBillingDebug)}, |
Rouslan Solomakhin | e73fa785 | 2020-08-28 10:33:46 | [diff] [blame] | 5495 | {"enable-debug-for-secure-payment-confirmation", |
| 5496 | flag_descriptions::kSecurePaymentConfirmationDebugName, |
| 5497 | flag_descriptions::kSecurePaymentConfirmationDebugDescription, kOsAll, |
| 5498 | FEATURE_VALUE_TYPE(features::kSecurePaymentConfirmationDebug)}, |
Mason Freed | e8de880 | 2023-05-22 23:54:13 | [diff] [blame] | 5499 | {"mutation-events", flag_descriptions::kMutationEventsName, |
| 5500 | flag_descriptions::kMutationEventsDescription, kOsAll, |
| 5501 | FEATURE_VALUE_TYPE(blink::features::kMutationEvents)}, |
Mason Freed | 7e294a8 | 2023-06-05 23:46:14 | [diff] [blame] | 5502 | {"popover-attribute", flag_descriptions::kHTMLPopoverAttributeName, |
| 5503 | flag_descriptions::kHTMLPopoverAttributeDescription, kOsAll, |
| 5504 | FEATURE_VALUE_TYPE(blink::features::kHTMLPopoverAttribute)}, |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5505 | {"fill-on-account-select", flag_descriptions::kFillOnAccountSelectName, |
| 5506 | flag_descriptions::kFillOnAccountSelectDescription, kOsAll, |
vabr | 6bf3a25 | 2016-06-20 14:26:40 | [diff] [blame] | 5507 | FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5508 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Pattara Teerapong | 5aad01b | 2023-05-12 03:15:29 | [diff] [blame] | 5509 | {"arc-aaudio-mmap-low-latency", |
| 5510 | flag_descriptions::kArcAAudioMMAPLowLatencyName, |
| 5511 | flag_descriptions::kArcAAudioMMAPLowLatencyDescription, kOsCrOS, |
| 5512 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootArcVmAAudioMMAPLowLatency")}, |
Ryo Hashimoto | 8f4b30ced | 2019-04-08 12:14:19 | [diff] [blame] | 5513 | {"arc-custom-tabs-experiment", |
| 5514 | flag_descriptions::kArcCustomTabsExperimentName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 5515 | flag_descriptions::kArcCustomTabsExperimentDescription, kOsCrOS, |
Ryo Hashimoto | 8f4b30ced | 2019-04-08 12:14:19 | [diff] [blame] | 5516 | FEATURE_VALUE_TYPE(arc::kCustomTabsExperimentFeature)}, |
Alexander Bolodurin | 4e0a465c | 2021-03-31 23:14:03 | [diff] [blame] | 5517 | {"arc-documents-provider-unknown-size", |
| 5518 | flag_descriptions::kArcDocumentsProviderUnknownSizeName, |
| 5519 | flag_descriptions::kArcDocumentsProviderUnknownSizeDescription, kOsCrOS, |
| 5520 | FEATURE_VALUE_TYPE(arc::kDocumentsProviderUnknownSizeFeature)}, |
Pattara Teerapong | 425077a | 2023-01-12 15:21:40 | [diff] [blame] | 5521 | {"arc-enable-aaudio-mmap", flag_descriptions::kArcEnableAAudioMMAPName, |
| 5522 | flag_descriptions::kArcEnableAAudioMMAPDescription, kOsCrOS, |
| 5523 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootArcVmAAudioMMAP")}, |
Youkichi Hosoi | 4768546 | 2022-10-06 01:51:39 | [diff] [blame] | 5524 | {kArcEnableVirtioBlkForDataInternalName, |
Satoshi Niwa | 4e1c996 | 2022-03-01 00:23:57 | [diff] [blame] | 5525 | flag_descriptions::kArcEnableVirtioBlkForDataName, |
| 5526 | flag_descriptions::kArcEnableVirtioBlkForDataDesc, kOsCrOS, |
| 5527 | FEATURE_VALUE_TYPE(arc::kEnableVirtioBlkForData)}, |
Youkichi Hosoi | 26d9aa1 | 2023-04-21 06:34:35 | [diff] [blame] | 5528 | {"arc-external-storage-access", |
| 5529 | flag_descriptions::kArcExternalStorageAccessName, |
| 5530 | flag_descriptions::kArcExternalStorageAccessDescription, kOsCrOS, |
| 5531 | FEATURE_VALUE_TYPE(arc::kExternalStorageAccess)}, |
Satoshi Niwa | 8b1d528 | 2018-10-24 04:53:03 | [diff] [blame] | 5532 | {"arc-file-picker-experiment", |
| 5533 | flag_descriptions::kArcFilePickerExperimentName, |
| 5534 | flag_descriptions::kArcFilePickerExperimentDescription, kOsCrOS, |
| 5535 | FEATURE_VALUE_TYPE(arc::kFilePickerExperimentFeature)}, |
Nakul Vaidya | ddfdfbc | 2022-06-28 23:43:32 | [diff] [blame] | 5536 | {"arc-game-mode", flag_descriptions::kArcGameModeName, |
Matthew DeVore | b8bdedd | 2022-06-28 15:17:46 | [diff] [blame] | 5537 | flag_descriptions::kArcGameModeDescription, kOsCrOS, |
| 5538 | FEATURE_VALUE_TYPE(arc::kGameModeFeature)}, |
Shengsong Tan | 6cb8859 | 2022-11-09 01:57:35 | [diff] [blame] | 5539 | {"arc-instant-response-window-open", |
| 5540 | flag_descriptions::kArcInstantResponseWindowOpenName, |
| 5541 | flag_descriptions::kArcInstantResponseWindowOpenDescription, kOsCrOS, |
| 5542 | FEATURE_VALUE_TYPE(arc::kInstantResponseWindowOpen)}, |
Tetsui Ohkubo | 4c6d7f4 | 2021-07-07 16:47:37 | [diff] [blame] | 5543 | {"arc-keyboard-shortcut-helper-integration", |
| 5544 | flag_descriptions::kArcKeyboardShortcutHelperIntegrationName, |
| 5545 | flag_descriptions::kArcKeyboardShortcutHelperIntegrationDescription, |
| 5546 | kOsCrOS, |
| 5547 | FEATURE_VALUE_TYPE(arc::kKeyboardShortcutHelperIntegrationFeature)}, |
Lev Rumyantsev | 6eddc80 | 2019-08-27 19:41:21 | [diff] [blame] | 5548 | {"arc-native-bridge-toggle", flag_descriptions::kArcNativeBridgeToggleName, |
| 5549 | flag_descriptions::kArcNativeBridgeToggleDescription, kOsCrOS, |
| 5550 | FEATURE_VALUE_TYPE(arc::kNativeBridgeToggleFeature)}, |
Yusuke Sato | 4717d178 | 2021-03-12 23:27:17 | [diff] [blame] | 5551 | {"arc-rt-vcpu-dual-core", flag_descriptions::kArcRtVcpuDualCoreName, |
| 5552 | flag_descriptions::kArcRtVcpuDualCoreDesc, kOsCrOS, |
| 5553 | FEATURE_VALUE_TYPE(arc::kRtVcpuDualCore)}, |
| 5554 | {"arc-rt-vcpu-quad-core", flag_descriptions::kArcRtVcpuQuadCoreName, |
| 5555 | flag_descriptions::kArcRtVcpuQuadCoreDesc, kOsCrOS, |
| 5556 | FEATURE_VALUE_TYPE(arc::kRtVcpuQuadCore)}, |
Yuichiro Hanada | 1d94860 | 2023-06-28 09:09:10 | [diff] [blame] | 5557 | {"arc-touchscreen-emulation", |
| 5558 | flag_descriptions::kArcTouchscreenEmulationName, |
| 5559 | flag_descriptions::kArcTouchscreenEmulationDesc, kOsCrOS, |
| 5560 | FEATURE_VALUE_TYPE(arc::kTouchscreenEmulation)}, |
| 5561 | {"arc-trackpad-scroll-touchscreen-emulation", |
| 5562 | flag_descriptions::kArcTrackpadScrollTouchscreenEmulationName, |
| 5563 | flag_descriptions::kArcTrackpadScrollTouchscreenEmulationDesc, kOsCrOS, |
| 5564 | FEATURE_VALUE_TYPE(arc::kTrackpadScrollTouchscreenEmulation)}, |
Yao Li | 68896be | 2023-06-09 21:10:12 | [diff] [blame] | 5565 | {"arc-switch-to-keymint-daemon", |
| 5566 | flag_descriptions::kArcSwitchToKeyMintDaemonName, |
| 5567 | flag_descriptions::kArcSwitchToKeyMintDaemonDesc, kOsCrOS, |
| 5568 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootArcSwitchToKeyMintDaemon")}, |
Yao Li | 8f4568b1 | 2023-02-15 19:59:45 | [diff] [blame] | 5569 | {"arc-switch-to-keymint-on-t", |
| 5570 | flag_descriptions::kArcSwitchToKeyMintOnTName, |
| 5571 | flag_descriptions::kArcSwitchToKeyMintOnTDesc, kOsCrOS, |
| 5572 | FEATURE_VALUE_TYPE(arc::kSwitchToKeyMintOnT)}, |
lgcheng | cda295dce | 2023-02-22 02:38:31 | [diff] [blame] | 5573 | {"arc-sync-install-priority", |
| 5574 | flag_descriptions::kArcSyncInstallPriorityName, |
| 5575 | flag_descriptions::kArcSyncInstallPriorityDescription, kOsCrOS, |
| 5576 | FEATURE_VALUE_TYPE(arc::kSyncInstallPriority)}, |
Shengsong Tan | 4cc0257 | 2023-02-06 05:25:24 | [diff] [blame] | 5577 | {"arc-vmm-swap-keyboard-shortcut", |
| 5578 | flag_descriptions::kArcVmmSwapKBShortcutName, |
| 5579 | flag_descriptions::kArcVmmSwapKBShortcutDesc, kOsCrOS, |
| 5580 | FEATURE_VALUE_TYPE(arc::kVmmSwapKeyboardShortcut)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5581 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Mikhail Pozdnyakov | 73373a6 | 2017-08-24 17:31:25 | [diff] [blame] | 5582 | {"enable-generic-sensor-extra-classes", |
| 5583 | flag_descriptions::kEnableGenericSensorExtraClassesName, |
| 5584 | flag_descriptions::kEnableGenericSensorExtraClassesDescription, kOsAll, |
| 5585 | FEATURE_VALUE_TYPE(features::kGenericSensorExtraClasses)}, |
xdai | 05509b8 | 2016-12-19 23:48:14 | [diff] [blame] | 5586 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5587 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 5588 | {ui_devtools::switches::kEnableUiDevTools, |
| 5589 | flag_descriptions::kUiDevToolsName, |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 5590 | flag_descriptions::kUiDevToolsDescription, kOsCrOS, |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 5591 | SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5592 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 5593 | |
Vishwas Uppoor | 416acea | 2023-03-09 02:25:22 | [diff] [blame] | 5594 | {"enable-autofill-virtual-cards-on-touch-to-fill", |
| 5595 | flag_descriptions::kAutofillVirtualCardsOnTouchToFillAndroidName, |
| 5596 | flag_descriptions::kAutofillVirtualCardsOnTouchToFillAndroidDescription, |
| 5597 | kOsAll, |
| 5598 | FEATURE_VALUE_TYPE( |
| 5599 | autofill::features::kAutofillVirtualCardsOnTouchToFillAndroid)}, |
| 5600 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5601 | #if BUILDFLAG(IS_ANDROID) |
Vishwas Uppoor | 940bd24 | 2022-12-15 09:49:42 | [diff] [blame] | 5602 | {"enable-autofill-touch-to-fill-for-credit-cards", |
| 5603 | flag_descriptions::kAutofillTouchToFillForCreditCardsAndroidName, |
| 5604 | flag_descriptions::kAutofillTouchToFillForCreditCardsAndroidDescription, |
| 5605 | kOsAndroid, |
| 5606 | FEATURE_VALUE_TYPE( |
| 5607 | autofill::features::kAutofillTouchToFillForCreditCardsAndroid)}, |
kcarattini | db5f41b | 2017-01-18 13:24:06 | [diff] [blame] | 5608 | #endif |
| 5609 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5610 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
vabr | 0215a8e | 2017-03-28 12:47:34 | [diff] [blame] | 5611 | {"enable-touchscreen-calibration", |
| 5612 | flag_descriptions::kTouchscreenCalibrationName, |
| 5613 | flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS, |
Henrique Ferreiro | 93dd33b | 2022-01-18 16:06:45 | [diff] [blame] | 5614 | SINGLE_VALUE_TYPE(ash::switches::kEnableTouchCalibrationSetting)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5615 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 5616 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Wei Lee | 4fe8718 | 2020-12-22 09:32:44 | [diff] [blame] | 5617 | {"prefer-constant-frame-rate", |
| 5618 | flag_descriptions::kPreferConstantFrameRateName, |
| 5619 | flag_descriptions::kPreferConstantFrameRateDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5620 | FEATURE_VALUE_TYPE(ash::features::kPreferConstantFrameRate)}, |
Wei Lee | 585fa1b | 2022-05-15 20:26:25 | [diff] [blame] | 5621 | {"more-video-capture-buffers", |
| 5622 | flag_descriptions::kMoreVideoCaptureBuffersName, |
| 5623 | flag_descriptions::kMoreVideoCaptureBuffersDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5624 | FEATURE_VALUE_TYPE(ash::features::kMoreVideoCaptureBuffers)}, |
mojahsu | 3144bf3 | 2021-05-26 10:14:46 | [diff] [blame] | 5625 | {"force-control-face-ae", flag_descriptions::kForceControlFaceAeName, |
| 5626 | flag_descriptions::kForceControlFaceAeDescription, kOsCrOS, |
| 5627 | MULTI_VALUE_TYPE(kForceControlFaceAeChoices)}, |
Ren-Pei Zeng | 61605a5 | 2021-12-06 13:07:48 | [diff] [blame] | 5628 | {"auto-framing-override", flag_descriptions::kAutoFramingOverrideName, |
| 5629 | flag_descriptions::kAutoFramingOverrideDescription, kOsCrOS, |
| 5630 | MULTI_VALUE_TYPE(kAutoFramingOverrideChoices)}, |
Kam Kwankajornkiet | bc6eb78 | 2023-03-16 04:40:08 | [diff] [blame] | 5631 | {"camera-app-time-lapse", flag_descriptions::kCameraAppTimeLapseName, |
| 5632 | flag_descriptions::kCameraAppTimeLapseDescription, kOsCrOS, |
| 5633 | FEATURE_VALUE_TYPE(ash::features::kCameraAppTimeLapse)}, |
Ben Wells | 7238dd0 | 2019-05-02 08:20:32 | [diff] [blame] | 5634 | {"crostini-gpu-support", flag_descriptions::kCrostiniGpuSupportName, |
| 5635 | flag_descriptions::kCrostiniGpuSupportDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5636 | FEATURE_VALUE_TYPE(ash::features::kCrostiniGpuSupport)}, |
Ricky Liang | 8df4337 | 2020-07-09 09:41:09 | [diff] [blame] | 5637 | {"disable-camera-frame-rotation-at-source", |
| 5638 | flag_descriptions::kDisableCameraFrameRotationAtSourceName, |
| 5639 | flag_descriptions::kDisableCameraFrameRotationAtSourceDescription, kOsCrOS, |
| 5640 | FEATURE_VALUE_TYPE(media::features::kDisableCameraFrameRotationAtSource)}, |
Travis Lane | 636a4ac | 2022-05-24 16:28:55 | [diff] [blame] | 5641 | {"drive-fs-chrome-networking", |
| 5642 | flag_descriptions::kDriveFsChromeNetworkingName, |
| 5643 | flag_descriptions::kDriveFsChromeNetworkingDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5644 | FEATURE_VALUE_TYPE(ash::features::kDriveFsChromeNetworking)}, |
Steffen Seckler | c95470d | 2022-08-12 07:26:00 | [diff] [blame] | 5645 | {"file-transfer-enterprise-connector", |
| 5646 | flag_descriptions::kFileTransferEnterpriseConnectorName, |
| 5647 | flag_descriptions::kFileTransferEnterpriseConnectorDescription, kOsCrOS, |
| 5648 | FEATURE_VALUE_TYPE(features::kFileTransferEnterpriseConnector)}, |
Luciano Pacheco | a2f314ee | 2022-06-02 14:22:14 | [diff] [blame] | 5649 | {"files-app-experimental", flag_descriptions::kFilesAppExperimentalName, |
| 5650 | flag_descriptions::kFilesAppExperimentalDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5651 | FEATURE_VALUE_TYPE(ash::features::kFilesAppExperimental)}, |
Noel Gordon | 5c5a49e6 | 2023-01-16 06:14:00 | [diff] [blame] | 5652 | {"files-conflict-dialog", flag_descriptions::kFilesConflictDialogName, |
| 5653 | flag_descriptions::kFilesConflictDialogDescription, kOsCrOS, |
| 5654 | FEATURE_VALUE_TYPE(ash::features::kFilesConflictDialog)}, |
Ben Reich | 2caaccf | 2023-02-06 23:17:50 | [diff] [blame] | 5655 | {"files-drive-shortcuts", flag_descriptions::kFilesDriveShortcutsName, |
| 5656 | flag_descriptions::kFilesDriveShortcutsDescription, kOsCrOS, |
| 5657 | FEATURE_VALUE_TYPE(ash::features::kFilesDriveShortcuts)}, |
Marcello Salomao | dd0e6de | 2022-09-14 00:28:47 | [diff] [blame] | 5658 | {"files-inline-sync-status", flag_descriptions::kFilesInlineSyncStatusName, |
| 5659 | flag_descriptions::kFilesInlineSyncStatusDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5660 | FEATURE_VALUE_TYPE(ash::features::kFilesInlineSyncStatus)}, |
Marcello Salomao | c517be5 | 2023-05-18 06:43:36 | [diff] [blame] | 5661 | {"files-inline-sync-status-progress-events", |
| 5662 | flag_descriptions::kFilesInlineSyncStatusProgressEventsName, |
| 5663 | flag_descriptions::kFilesInlineSyncStatusProgressEventsDescription, |
| 5664 | kOsCrOS, |
| 5665 | FEATURE_VALUE_TYPE(ash::features::kFilesInlineSyncStatusProgressEvents)}, |
Omid Tourzan | bf2a0dcf | 2020-09-10 08:53:55 | [diff] [blame] | 5666 | {"files-single-partition-format", |
| 5667 | flag_descriptions::kFilesSinglePartitionFormatName, |
| 5668 | flag_descriptions::kFilesSinglePartitionFormatDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5669 | FEATURE_VALUE_TYPE(ash::features::kFilesSinglePartitionFormat)}, |
Bo Majewski | 24757cb | 2022-09-20 06:42:18 | [diff] [blame] | 5670 | {"files-search-v2", flag_descriptions::kFilesSearchV2Name, |
| 5671 | flag_descriptions::kFilesSearchV2Description, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5672 | FEATURE_VALUE_TYPE(ash::features::kFilesSearchV2)}, |
Joel Hockey | 487b679b | 2023-03-15 04:10:29 | [diff] [blame] | 5673 | {"files-trash-drive", flag_descriptions::kFilesTrashDriveName, |
| 5674 | flag_descriptions::kFilesTrashDriveDescription, kOsCrOS, |
| 5675 | FEATURE_VALUE_TYPE(ash::features::kFilesTrashDrive)}, |
Cassy Chun-Crogan | 26d8e14 | 2023-01-25 02:00:53 | [diff] [blame] | 5676 | {"force-resync-drive", flag_descriptions::kForceReSyncDriveName, |
| 5677 | flag_descriptions::kForceReSyncDriveDescription, kOsCrOS, |
| 5678 | FEATURE_VALUE_TYPE(ash::features::kForceReSyncDrive)}, |
Ricky Liang | 3bd2754b5 | 2020-10-07 02:50:32 | [diff] [blame] | 5679 | {"force-spectre-v2-mitigation", |
| 5680 | flag_descriptions::kForceSpectreVariant2MitigationName, |
| 5681 | flag_descriptions::kForceSpectreVariant2MitigationDescription, kOsCrOS, |
| 5682 | FEATURE_VALUE_TYPE( |
| 5683 | sandbox::policy::features::kForceSpectreVariant2Mitigation)}, |
Nigel Tao | 03c6903 | 2022-04-23 03:10:47 | [diff] [blame] | 5684 | {"fuse-box-debug", flag_descriptions::kFuseBoxDebugName, |
| 5685 | flag_descriptions::kFuseBoxDebugDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5686 | FEATURE_VALUE_TYPE(ash::features::kFuseBoxDebug)}, |
James Cook | 49358cc | 2022-08-30 20:30:26 | [diff] [blame] | 5687 | {kWelcomeScreenInternalName, flag_descriptions::kWelcomeScreenName, |
| 5688 | flag_descriptions::kWelcomeScreenDescription, kOsCrOS, |
| 5689 | FEATURE_VALUE_TYPE(ash::features::kGlanceables)}, |
Ricky Liang | 3bd2754b5 | 2020-10-07 02:50:32 | [diff] [blame] | 5690 | {"spectre-v2-mitigation", flag_descriptions::kSpectreVariant2MitigationName, |
| 5691 | flag_descriptions::kSpectreVariant2MitigationDescription, kOsCrOS, |
| 5692 | FEATURE_VALUE_TYPE(sandbox::policy::features::kSpectreVariant2Mitigation)}, |
Jérémie Boulic | 8c1c3fc | 2022-06-20 05:35:55 | [diff] [blame] | 5693 | {"upload-office-to-cloud", flag_descriptions::kUploadOfficeToCloudName, |
| 5694 | flag_descriptions::kUploadOfficeToCloudName, kOsCrOS, |
Alexander Bolodurin | b8e4347 | 2023-04-20 00:33:53 | [diff] [blame] | 5695 | FEATURE_VALUE_TYPE(chromeos::features::kUploadOfficeToCloud)}, |
Kyle Horimoto | 2d3b6b4b | 2022-05-13 02:12:16 | [diff] [blame] | 5696 | {"eap-gtc-wifi-authentication", |
| 5697 | flag_descriptions::kEapGtcWifiAuthenticationName, |
| 5698 | flag_descriptions::kEapGtcWifiAuthenticationDescription, kOsCrOS, |
| 5699 | FEATURE_VALUE_TYPE(ash::features::kEapGtcWifiAuthentication)}, |
whalechang | f06b6ea7 | 2022-08-26 01:13:11 | [diff] [blame] | 5700 | {"audio-peripheral-volume-granularity", |
| 5701 | flag_descriptions::kAudioPeripheralVolumeGranularityName, |
| 5702 | flag_descriptions::kAudioPeripheralVolumeGranularityDescription, kOsCrOS, |
| 5703 | FEATURE_VALUE_TYPE(ash::features::kAudioPeripheralVolumeGranularity)}, |
whalechang | 258191d | 2023-02-14 04:36:42 | [diff] [blame] | 5704 | |
paulzhchen | 26343e9 | 2021-02-09 05:43:05 | [diff] [blame] | 5705 | {"eche-swa", flag_descriptions::kEcheSWAName, |
| 5706 | flag_descriptions::kEcheSWADescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5707 | FEATURE_VALUE_TYPE(ash::features::kEcheSWA)}, |
Jon Mann | df97fa5 | 2022-11-28 23:01:16 | [diff] [blame] | 5708 | {"eche-launcher", flag_descriptions::kEcheLauncherName, |
| 5709 | flag_descriptions::kEcheLauncherDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5710 | FEATURE_VALUE_TYPE(ash::features::kEcheLauncher)}, |
Joe Antonetti | b56b820 | 2023-01-18 20:42:08 | [diff] [blame] | 5711 | {"eche-launcher-app-icon-in-more-apps-button", |
| 5712 | flag_descriptions::kEcheLauncherIconsInMoreAppsButtonName, |
| 5713 | flag_descriptions::kEcheLauncherIconsInMoreAppsButtonDescription, kOsCrOS, |
| 5714 | FEATURE_VALUE_TYPE(ash::features::kEcheLauncherIconsInMoreAppsButton)}, |
Pu Shi | 9379343 | 2022-12-20 20:34:57 | [diff] [blame] | 5715 | {"eche-launcher-list-view", flag_descriptions::kEcheLauncherListViewName, |
| 5716 | flag_descriptions::kEcheLauncherListViewDescription, kOsCrOS, |
| 5717 | FEATURE_VALUE_TYPE(ash::features::kEcheLauncherListView)}, |
Crisrael Lucero | 264086d | 2023-03-07 02:30:06 | [diff] [blame] | 5718 | {"eche-network-connection-state", |
| 5719 | flag_descriptions::kEcheNetworkConnectionStateName, |
| 5720 | flag_descriptions::kEcheNetworkConnectionStateDescription, kOsCrOS, |
| 5721 | FEATURE_VALUE_TYPE(ash::features::kEcheNetworkConnectionState)}, |
Denalex Orakwue | 44a47a4 | 2022-12-07 08:56:08 | [diff] [blame] | 5722 | {"eche-swa-check-android-network-info", |
| 5723 | flag_descriptions::kEcheSWACheckAndroidNetworkInfoName, |
| 5724 | flag_descriptions::kEcheSWACheckAndroidNetworkInfoDescription, kOsCrOS, |
| 5725 | FEATURE_VALUE_TYPE(ash::features::kEcheSWACheckAndroidNetworkInfo)}, |
Denalex Orakwue | f2ea70a | 2023-02-22 20:48:26 | [diff] [blame] | 5726 | {"eche-swa-process-android-accessibility-tree", |
| 5727 | flag_descriptions::kEcheSWAProcessAndroidAccessibilityTreeName, |
| 5728 | flag_descriptions::kEcheSWAProcessAndroidAccessibilityTreeDescription, |
| 5729 | kOsCrOS, |
| 5730 | FEATURE_VALUE_TYPE( |
| 5731 | ash::features::kEcheSWAProcessAndroidAccessibilityTree)}, |
paulzhchen | fac2819 | 2021-10-08 08:14:18 | [diff] [blame] | 5732 | {"eche-swa-debug-mode", flag_descriptions::kEcheSWADebugModeName, |
| 5733 | flag_descriptions::kEcheSWADebugModeDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5734 | FEATURE_VALUE_TYPE(ash::features::kEcheSWADebugMode)}, |
mavishsu | 1ebe64a | 2022-09-29 12:52:24 | [diff] [blame] | 5735 | {"eche-swa-disable-stun-server", |
| 5736 | flag_descriptions::kEcheSWADisableStunServerName, |
| 5737 | flag_descriptions::kEcheSWADisableStunServerDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5738 | FEATURE_VALUE_TYPE(ash::features::kEcheSWADisableStunServer)}, |
paulzhchen | 7c5907f5 | 2022-09-03 17:46:48 | [diff] [blame] | 5739 | {"eche-swa-measure-latency", flag_descriptions::kEcheSWAMeasureLatencyName, |
| 5740 | flag_descriptions::kEcheSWAMeasureLatencyDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5741 | FEATURE_VALUE_TYPE(ash::features::kEcheSWAMeasureLatency)}, |
mavishsu | c3dcafaac | 2022-09-28 06:27:42 | [diff] [blame] | 5742 | {"eche-swa-send-start-signaling", |
| 5743 | flag_descriptions::kEcheSWASendStartSignalingName, |
| 5744 | flag_descriptions::kEcheSWASendStartSignalingDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 5745 | FEATURE_VALUE_TYPE(ash::features::kEcheSWASendStartSignaling)}, |
Jennifer Serrano | f65bc54 | 2023-01-11 01:00:56 | [diff] [blame] | 5746 | {"phone-hub-nudge", flag_descriptions::kPhoneHubNudgeName, |
| 5747 | flag_descriptions::kPhoneHubNudgeDescription, kOsCrOS, |
| 5748 | FEATURE_VALUE_TYPE(ash::features::kPhoneHubNudge)}, |
Ashley Prasad | 9363e83 | 2023-04-04 15:59:56 | [diff] [blame] | 5749 | {"print-management-jelly", flag_descriptions::kPrintManagementJellyName, |
| 5750 | flag_descriptions::kPrintManagementJellyDescription, kOsCrOS, |
| 5751 | FEATURE_VALUE_TYPE(ash::features::kPrintManagementJelly)}, |
Ashley Prasad | 7909321b | 2023-05-18 16:27:44 | [diff] [blame] | 5752 | {"print-management-setup-assistance", |
| 5753 | flag_descriptions::kPrintManagementSetupAssistanceName, |
| 5754 | flag_descriptions::kPrintManagementSetupAssistanceDescription, kOsCrOS, |
| 5755 | FEATURE_VALUE_TYPE(ash::features::kPrintManagementSetupAssistance)}, |
Gavin Williams | 2e687bf | 2023-06-01 17:25:03 | [diff] [blame] | 5756 | {"print-preview-discovered-printers", |
| 5757 | flag_descriptions::kPrintPreviewDiscoveredPrintersName, |
| 5758 | flag_descriptions::kPrintPreviewDiscoveredPrintersDescription, kOsCrOS, |
| 5759 | FEATURE_VALUE_TYPE(ash::features::kPrintPreviewDiscoveredPrinters)}, |
Gavin Williams | f92f1496 | 2023-05-01 23:19:41 | [diff] [blame] | 5760 | {"printer-settings-printer-status", |
| 5761 | flag_descriptions::kPrinterSettingsPrinterStatusName, |
| 5762 | flag_descriptions::kPrinterSettingsPrinterStatusDescription, kOsCrOS, |
| 5763 | FEATURE_VALUE_TYPE(ash::features::kPrinterSettingsPrinterStatus)}, |
Gavin Williams | 4d4ab131 | 2023-04-18 18:30:38 | [diff] [blame] | 5764 | {"printer-settings-revamp", flag_descriptions::kPrinterSettingsRevampName, |
| 5765 | flag_descriptions::kPrinterSettingsRevampDescription, kOsCrOS, |
| 5766 | FEATURE_VALUE_TYPE(ash::features::kPrinterSettingsRevamp)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 5767 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
malaykeshav | b43ccf2 | 2017-01-20 21:24:57 | [diff] [blame] | 5768 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5769 | #if BUILDFLAG(IS_MAC) |
Avi Drissman | 0095f55 | 2021-11-05 19:58:53 | [diff] [blame] | 5770 | {"enable-universal-links", flag_descriptions::kEnableUniversalLinksName, |
| 5771 | flag_descriptions::kEnableUniversalLinksDescription, kOsMac, |
| 5772 | FEATURE_VALUE_TYPE(features::kEnableUniveralLinks)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5773 | #endif // BUILDFLAG(IS_MAC) |
toyoshim | 0f1c3f3 | 2017-02-10 10:03:32 | [diff] [blame] | 5774 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5775 | #if BUILDFLAG(IS_ANDROID) |
Tomasz Wiszkowski | 1b7e75db8 | 2023-04-11 06:27:36 | [diff] [blame] | 5776 | {"omnibox-adaptive-suggestions-visible-group-eligibility-update", |
| 5777 | flag_descriptions:: |
| 5778 | kOmniboxAdaptiveSuggestionsVisibleGroupEligibilityUpdateName, |
| 5779 | flag_descriptions:: |
| 5780 | kOmniboxAdaptiveSuggestionsVisibleGroupEligibilityUpdateDescription, |
| 5781 | kOsAndroid, |
| 5782 | FEATURE_VALUE_TYPE( |
| 5783 | chrome::android:: |
| 5784 | kOmniboxAdaptiveSuggestionsVisibleGroupEligibilityUpdate)}, |
Patrick Noland | dd477495 | 2023-03-09 23:59:58 | [diff] [blame] | 5785 | |
| 5786 | {"omnibox-adapt-narrow-tablet-windows", |
| 5787 | flag_descriptions::kOmniboxAdaptNarrowTabletWindowsName, |
| 5788 | flag_descriptions::kOmniboxAdaptNarrowTabletWindowsDescription, kOsAndroid, |
| 5789 | FEATURE_VALUE_TYPE(chrome::android::kOmniboxAdaptNarrowTabletWindows)}, |
| 5790 | |
Patrick Noland | 49cbd3d9 | 2023-04-05 21:54:41 | [diff] [blame] | 5791 | {"omnibox-cache-suggestion-resources", |
| 5792 | flag_descriptions::kOmniboxCacheSuggestionResourcesName, |
| 5793 | flag_descriptions::kOmniboxCacheSuggestionResourcesDescription, kOsAndroid, |
| 5794 | FEATURE_VALUE_TYPE(chrome::android::kOmniboxCacheSuggestionResources)}, |
| 5795 | |
Patrick Noland | 299fa658 | 2023-03-03 16:41:59 | [diff] [blame] | 5796 | {"omnibox-consumes-ime-insets", |
| 5797 | flag_descriptions::kOmniboxConsumesImeInsetsName, |
| 5798 | flag_descriptions::kOmniboxConsumesImeInsetsDescription, kOsAndroid, |
| 5799 | FEATURE_VALUE_TYPE(chrome::android::kOmniboxConsumesImeInsets)}, |
| 5800 | |
Tomasz Wiszkowski | a382fc6 | 2023-04-12 00:28:36 | [diff] [blame] | 5801 | {"omnibox-ignore-intermediate-results", |
| 5802 | flag_descriptions::kOmniboxIgnoreIntermediateResultsName, |
| 5803 | flag_descriptions::kOmniboxIgnoreIntermediateResultsDescription, |
| 5804 | kOsAndroid, FEATURE_VALUE_TYPE(omnibox::kIgnoreIntermediateResults)}, |
| 5805 | |
Rong Tan | 01c98990 | 2022-10-28 04:06:25 | [diff] [blame] | 5806 | {"omnibox-match-toolbar-and-status-bar-color", |
| 5807 | flag_descriptions::kOmniboxMatchToolbarAndStatusBarColorName, |
| 5808 | flag_descriptions::kOmniboxMatchToolbarAndStatusBarColorDescription, |
| 5809 | kOsAndroid, |
| 5810 | FEATURE_VALUE_TYPE(omnibox::kOmniboxMatchToolbarAndStatusBarColor)}, |
| 5811 | |
Gang Wu | 6784724 | 2022-06-30 06:18:51 | [diff] [blame] | 5812 | {"omnibox-modernize-visual-update", |
| 5813 | flag_descriptions::kOmniboxModernizeVisualUpdateName, |
| 5814 | flag_descriptions::kOmniboxModernizeVisualUpdateDescription, kOsAndroid, |
Tomasz Wiszkowski | ad4d7af | 2023-04-27 21:20:52 | [diff] [blame] | 5815 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxModernizeVisualUpdate, |
| 5816 | kOmniboxModernizeVisualUpdateVariations, |
| 5817 | "OmniboxModernizeVisualUpdate")}, |
Ender | 0be2add | 2022-07-13 18:23:48 | [diff] [blame] | 5818 | |
Rong Tan | ef44d63 | 2022-11-18 19:02:31 | [diff] [blame] | 5819 | {"omnibox-most-visited-tiles-add-recycled-view-poll", |
| 5820 | flag_descriptions::kOmniboxMostVisitedTilesAddRecycledViewPoolName, |
| 5821 | flag_descriptions::kOmniboxMostVisitedTilesAddRecycledViewPoolDescription, |
| 5822 | kOsAndroid, |
| 5823 | FEATURE_VALUE_TYPE(omnibox::kOmniboxMostVisitedTilesAddRecycledViewPool)}, |
Patrick Noland | a12a190e | 2023-04-13 20:15:10 | [diff] [blame] | 5824 | |
Patrick Noland | d50e38b | 2023-06-14 22:32:11 | [diff] [blame] | 5825 | {"omnibox-suppress-clipboard-suggestion-after-first-used", |
| 5826 | flag_descriptions::kOmniboxSuppressClipboardSuggestionAfterFirstUsedName, |
| 5827 | flag_descriptions:: |
| 5828 | kOmniboxSuppressClipboardSuggestionAfterFirstUsedDescription, |
| 5829 | kOsAndroid, |
| 5830 | FEATURE_VALUE_TYPE(omnibox::kSuppressClipboardSuggestionAfterFirstUsed)}, |
| 5831 | |
Patrick Noland | a12a190e | 2023-04-13 20:15:10 | [diff] [blame] | 5832 | {"omnibox-warm-recycled-view-pool", |
| 5833 | flag_descriptions::kOmniboxWarmRecycledViewPoolName, |
| 5834 | flag_descriptions::kOmniboxWarmRecycledViewPoolDescription, kOsAndroid, |
| 5835 | FEATURE_VALUE_TYPE(chrome::android::kOmniboxWarmRecycledViewPool)}, |
Gang Wu | 83ac7ee | 2023-04-19 23:22:47 | [diff] [blame] | 5836 | |
| 5837 | {"android-app-inintegration", flag_descriptions::kAndroidAppIntegrationName, |
| 5838 | flag_descriptions::kAndroidAppIntegrationDescription, kOsAndroid, |
| 5839 | FEATURE_VALUE_TYPE(chrome::android::kAndroidAppIntegration)}, |
Thao Nguyen | f8482bc | 2023-06-13 22:19:57 | [diff] [blame] | 5840 | |
| 5841 | {"android-app-inintegration-safesearch", |
| 5842 | flag_descriptions::kAndroidAppIntegrationSafeSearchName, |
| 5843 | flag_descriptions::kAndroidAppIntegrationSafeSearchDescription, kOsAndroid, |
| 5844 | FEATURE_VALUE_TYPE(chrome::android::kAndroidAppIntegrationSafeSearch)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5845 | #endif // BUILDFLAG(IS_ANDROID) |
Tomasz Wiszkowski | c87dff1 | 2019-01-15 02:57:51 | [diff] [blame] | 5846 | |
Moe Ahmadi | 01028f2 | 2022-08-06 17:57:35 | [diff] [blame] | 5847 | {"omnibox-local-history-zero-suggest-beyond-ntp", |
| 5848 | flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPName, |
| 5849 | flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPDescription, |
| 5850 | kOsAll, FEATURE_VALUE_TYPE(omnibox::kLocalHistoryZeroSuggestBeyondNTP)}, |
| 5851 | |
Moe Ahmadi | 3c2569e | 2022-10-06 23:41:39 | [diff] [blame] | 5852 | {"omnibox-on-clobber-focus-type-on-content", |
| 5853 | flag_descriptions::kOmniboxOnClobberFocusTypeOnContentName, |
| 5854 | flag_descriptions::kOmniboxOnClobberFocusTypeOnContentDescription, kOsAll, |
| 5855 | FEATURE_VALUE_TYPE(omnibox::kOmniboxOnClobberFocusTypeOnContent)}, |
Rong Tan | 390e219c | 2022-09-30 23:56:28 | [diff] [blame] | 5856 | |
Tommy Li | 5578402 | 2020-04-28 20:58:18 | [diff] [blame] | 5857 | {"omnibox-on-focus-suggestions-contextual-web", |
Moe Ahmadi | 5022346 | 2022-06-30 22:37:27 | [diff] [blame] | 5858 | flag_descriptions::kOmniboxFocusTriggersContextualWebZeroSuggestName, |
Tomasz Wiszkowski | 8d44775 | 2021-07-20 02:58:26 | [diff] [blame] | 5859 | flag_descriptions:: |
Moe Ahmadi | 5022346 | 2022-06-30 22:37:27 | [diff] [blame] | 5860 | kOmniboxFocusTriggersContextualWebZeroSuggestDescription, |
Tomasz Wiszkowski | 8d44775 | 2021-07-20 02:58:26 | [diff] [blame] | 5861 | kOsAll, |
Moe Ahmadi | 5022346 | 2022-06-30 22:37:27 | [diff] [blame] | 5862 | FEATURE_VALUE_TYPE(omnibox::kFocusTriggersContextualWebZeroSuggest)}, |
| 5863 | |
| 5864 | {"omnibox-on-focus-suggestions-srp", |
| 5865 | flag_descriptions::kOmniboxFocusTriggersSRPZeroSuggestName, |
| 5866 | flag_descriptions::kOmniboxFocusTriggersSRPZeroSuggestDescription, kOsAll, |
| 5867 | FEATURE_VALUE_TYPE(omnibox::kFocusTriggersSRPZeroSuggest)}, |
Tomasz Wiszkowski | 8d44775 | 2021-07-20 02:58:26 | [diff] [blame] | 5868 | |
Orin Jaworski | 291b0a3 | 2022-05-17 17:29:05 | [diff] [blame] | 5869 | {"omnibox-fuzzy-url-suggestions", |
| 5870 | flag_descriptions::kOmniboxFuzzyUrlSuggestionsName, |
Orin Jaworski | ee8947fd | 2022-07-27 21:39:30 | [diff] [blame] | 5871 | flag_descriptions::kOmniboxFuzzyUrlSuggestionsDescription, kOsAll, |
Orin Jaworski | 291b0a3 | 2022-05-17 17:29:05 | [diff] [blame] | 5872 | FEATURE_VALUE_TYPE(omnibox::kOmniboxFuzzyUrlSuggestions)}, |
| 5873 | |
Moe Ahmadi | 7c889d8 | 2022-10-27 20:35:24 | [diff] [blame] | 5874 | {"omnibox-report-assisted-query-stats", |
| 5875 | flag_descriptions::kOmniboxReportAssistedQueryStatsName, |
| 5876 | flag_descriptions::kOmniboxReportAssistedQueryStatsDescription, kOsAll, |
| 5877 | FEATURE_VALUE_TYPE(omnibox::kReportAssistedQueryStats)}, |
| 5878 | |
| 5879 | {"omnibox-report-searchbox-stats", |
| 5880 | flag_descriptions::kOmniboxReportSearchboxStatsName, |
| 5881 | flag_descriptions::kOmniboxReportSearchboxStatsDescription, kOsAll, |
| 5882 | FEATURE_VALUE_TYPE(omnibox::kReportSearchboxStats)}, |
| 5883 | |
Moe Ahmadi | 4d6f27b | 2021-11-19 01:40:36 | [diff] [blame] | 5884 | {"omnibox-zero-suggest-prefetching", |
| 5885 | flag_descriptions::kOmniboxZeroSuggestPrefetchingName, |
| 5886 | flag_descriptions::kOmniboxZeroSuggestPrefetchingDescription, kOsAll, |
Moe Ahmadi | c391a3d4 | 2022-07-07 01:43:46 | [diff] [blame] | 5887 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetching)}, |
Moe Ahmadi | 4d6f27b | 2021-11-19 01:40:36 | [diff] [blame] | 5888 | |
Khalid Peer | e26e696 | 2022-07-26 22:39:55 | [diff] [blame] | 5889 | {"omnibox-zero-suggest-prefetching-on-srp", |
| 5890 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPName, |
| 5891 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPDescription, kOsAll, |
| 5892 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnSRP)}, |
| 5893 | |
Khalid Peer | 2854604 | 2022-08-12 23:18:08 | [diff] [blame] | 5894 | {"omnibox-zero-suggest-prefetching-on-web", |
| 5895 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebName, |
| 5896 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebDescription, kOsAll, |
| 5897 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnWeb)}, |
| 5898 | |
Khalid Peer | 4bca7ea | 2022-08-26 22:51:29 | [diff] [blame] | 5899 | {"omnibox-zero-suggest-in-memory-caching", |
| 5900 | flag_descriptions::kOmniboxZeroSuggestInMemoryCachingName, |
| 5901 | flag_descriptions::kOmniboxZeroSuggestInMemoryCachingDescription, kOsAll, |
| 5902 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestInMemoryCaching)}, |
| 5903 | |
manukh | 8fcd393 | 2023-02-28 06:10:52 | [diff] [blame] | 5904 | {"omnibox-discard-temporary-input-on-tab-switch", |
| 5905 | flag_descriptions::kOmniboxDiscardTemporaryInputOnTabSwitchName, |
| 5906 | flag_descriptions::kOmniboxDiscardTemporaryInputOnTabSwitchDescription, |
| 5907 | kOsAll, FEATURE_VALUE_TYPE(omnibox::kDiscardTemporaryInputOnTabSwitch)}, |
| 5908 | |
manukh | 539d958b | 2023-03-01 16:50:25 | [diff] [blame] | 5909 | {"omnibox-redo-current-match", |
| 5910 | flag_descriptions::kOmniboxRedoCurrentMatchName, |
| 5911 | flag_descriptions::kOmniboxRedoCurrentMatchDescription, kOsAll, |
| 5912 | FEATURE_VALUE_TYPE(omnibox::kRedoCurrentMatch)}, |
| 5913 | |
| 5914 | {"omnibox-revert-model-before-closing-popup", |
| 5915 | flag_descriptions::kOmniboxRevertModelBeforeClosingPopupName, |
| 5916 | flag_descriptions::kOmniboxRevertModelBeforeClosingPopupDescription, |
| 5917 | kOsAll, FEATURE_VALUE_TYPE(omnibox::kRevertModelBeforeClosingPopup)}, |
| 5918 | |
Ryan Sturm | b9aaea2 | 2023-03-07 21:35:01 | [diff] [blame] | 5919 | {"omnibox-use-existing-autocomplete-client", |
| 5920 | flag_descriptions::kOmniboxUseExistingAutocompleteClientName, |
| 5921 | flag_descriptions::kOmniboxUseExistingAutocompleteClientDescription, |
| 5922 | kOsAll, FEATURE_VALUE_TYPE(omnibox::kUseExistingAutocompleteClient)}, |
| 5923 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5924 | #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ |
| 5925 | BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
manukh | 37b13bd3 | 2022-10-04 16:01:51 | [diff] [blame] | 5926 | {"omnibox-domain-suggestions", |
| 5927 | flag_descriptions::kOmniboxDomainSuggestionsName, |
manukh | 918d8255 | 2022-10-11 01:12:22 | [diff] [blame] | 5928 | flag_descriptions::kOmniboxDomainSuggestionsDescription, kOsDesktop, |
manukh | 37b13bd3 | 2022-10-04 16:01:51 | [diff] [blame] | 5929 | FEATURE_VALUE_TYPE(omnibox::kDomainSuggestions)}, |
Travis Skare | bcdb5ed3 | 2018-08-17 01:49:40 | [diff] [blame] | 5930 | {"omnibox-drive-suggestions", |
| 5931 | flag_descriptions::kOmniboxDriveSuggestionsName, |
manukh | 918d8255 | 2022-10-11 01:12:22 | [diff] [blame] | 5932 | flag_descriptions::kOmniboxDriveSuggestionsDescription, kOsDesktop, |
manukh | ff57974 | 2023-05-01 21:01:10 | [diff] [blame] | 5933 | FEATURE_VALUE_TYPE(omnibox::kDocumentProvider)}, |
Martin Šrámek | 60a679d2 | 2023-06-30 11:30:53 | [diff] [blame] | 5934 | {"omnibox-drive-suggestions-no-setting", |
| 5935 | flag_descriptions::kOmniboxDriveSuggestionsNoSettingName, |
| 5936 | flag_descriptions::kOmniboxDriveSuggestionsNoSettingDescription, |
| 5937 | kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kDriveSuggestionsNoSetting)}, |
manukh | 453ab7e | 2023-02-02 21:09:57 | [diff] [blame] | 5938 | {"omnibox-shortcut-boost", flag_descriptions::kOmniboxShortcutBoostName, |
| 5939 | flag_descriptions::kOmniboxShortcutBoostDescription, kOsDesktop, |
manukh | ee8f7a6d | 2023-06-17 01:07:52 | [diff] [blame] | 5940 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 5941 | omnibox_feature_configs::ShortcutBoosting::kShortcutBoost, |
| 5942 | kOmniboxShortcutBoostVariations, |
| 5943 | "OmniboxBundledExperimentV1")}, |
manukh | 6b9c59c | 2020-08-28 19:29:25 | [diff] [blame] | 5944 | {"omnibox-rich-autocompletion-promising", |
| 5945 | flag_descriptions::kOmniboxRichAutocompletionPromisingName, |
| 5946 | flag_descriptions::kOmniboxRichAutocompletionPromisingDescription, |
| 5947 | kOsDesktop, |
| 5948 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 5949 | omnibox::kRichAutocompletion, |
| 5950 | kOmniboxRichAutocompletionPromisingVariations, |
| 5951 | "OmniboxBundledExperimentV1")}, |
Jun Zou | d1e35932b | 2022-12-01 20:01:37 | [diff] [blame] | 5952 | {"omnibox-ml-log-url-scoring-signals", |
| 5953 | flag_descriptions::kOmniboxMlLogUrlScoringSignalsName, |
| 5954 | flag_descriptions::kOmniboxMlLogUrlScoringSignalsDescription, kOsDesktop, |
| 5955 | FEATURE_VALUE_TYPE(omnibox::kLogUrlScoringSignals)}, |
Moe Ahmadi | 6ca4dc5 | 2023-04-14 22:47:34 | [diff] [blame] | 5956 | {"omnibox-ml-url-scoring", flag_descriptions::kOmniboxMlUrlScoringName, |
| 5957 | flag_descriptions::kOmniboxMlUrlScoringDescription, kOsDesktop, |
| 5958 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMlUrlScoring, |
| 5959 | kOmniboxMlUrlScoringVariations, |
| 5960 | "MlUrlScoring")}, |
Jun Zou | b695a0a | 2023-01-20 18:55:02 | [diff] [blame] | 5961 | {"omnibox-ml-url-scoring-model", |
| 5962 | flag_descriptions::kOmniboxMlUrlScoringModelName, |
| 5963 | flag_descriptions::kOmniboxMlUrlScoringModelDescription, kOsDesktop, |
| 5964 | FEATURE_VALUE_TYPE(omnibox::kUrlScoringModel)}, |
Moe Ahmadi | 6a814b9 | 2023-04-11 23:28:46 | [diff] [blame] | 5965 | |
| 5966 | {"realbox-secondary-zero-suggest", |
| 5967 | flag_descriptions::kRealboxSecondaryZeroSuggestName, |
| 5968 | flag_descriptions::kRealboxSecondaryZeroSuggestDescription, kOsDesktop, |
Moe Ahmadi | a7fe61e | 2023-04-17 23:49:53 | [diff] [blame] | 5969 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kRealboxSecondaryZeroSuggest, |
| 5970 | kRealboxSecondaryZeroSuggestVariations, |
| 5971 | "RealboxSecondaryZeroSuggest")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 5972 | #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || |
| 5973 | // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) |
Moe Ahmadi | 6a814b9 | 2023-04-11 23:28:46 | [diff] [blame] | 5974 | |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 5975 | #if BUILDFLAG(IS_ANDROID) |
Moe Ahmadi | 82cd830 | 2023-04-13 04:04:41 | [diff] [blame] | 5976 | {"omnibox-actions-in-suggest", |
| 5977 | flag_descriptions::kOmniboxActionsInSuggestName, |
| 5978 | flag_descriptions::kOmniboxActionsInSuggestDescription, kOsAndroid, |
| 5979 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kActionsInSuggest, |
| 5980 | kOmniboxActionsInSuggestVariants, |
| 5981 | "OmniboxBundledExperimentV1")}, |
| 5982 | |
Tomasz Wiszkowski | 53924996 | 2023-03-16 01:01:42 | [diff] [blame] | 5983 | {"omnibox-inspire-me", flag_descriptions::kOmniboxInspireMeName, |
| 5984 | flag_descriptions::kOmniboxInspireMeDescription, kOsAndroid, |
| 5985 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kInspireMe, |
| 5986 | kOmniboxInspireMeVariants, |
| 5987 | "OmniboxBundledExperimentV1")}, |
| 5988 | #endif // BUILDFLAG(IS_ANDROID) |
Ce Chen | 7762ef3 | 2022-06-17 14:34:17 | [diff] [blame] | 5989 | #if BUILDFLAG(IS_WIN) |
| 5990 | {"omnibox-on-device-head-suggestions", |
| 5991 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsName, |
| 5992 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsDescription, kOsWin, |
| 5993 | FEATURE_VALUE_TYPE(omnibox::kOnDeviceHeadProviderNonIncognito)}, |
| 5994 | {"omnibox-on-device-head-suggestions-incognito", |
| 5995 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsIncognitoName, |
| 5996 | flag_descriptions::kOmniboxOnDeviceHeadSuggestionsIncognitoDescription, |
| 5997 | kOsWin, FEATURE_VALUE_TYPE(omnibox::kOnDeviceHeadProviderIncognito)}, |
| 5998 | #endif // BUILDFLAG(IS_WIN) |
krb | 98783dd | 2017-03-01 15:45:13 | [diff] [blame] | 5999 | |
Ce Chen | bdfaed2 | 2022-10-20 16:08:35 | [diff] [blame] | 6000 | {"omnibox-on-device-tail-suggestions", |
| 6001 | flag_descriptions::kOmniboxOnDeviceTailSuggestionsName, |
| 6002 | flag_descriptions::kOmniboxOnDeviceTailSuggestionsDescription, kOsAll, |
| 6003 | FEATURE_VALUE_TYPE(omnibox::kOnDeviceTailModel)}, |
| 6004 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 6005 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Mattias Nissler | 6bb633f | 2019-02-13 23:41:46 | [diff] [blame] | 6006 | {"scheduler-configuration", flag_descriptions::kSchedulerConfigurationName, |
| 6007 | flag_descriptions::kSchedulerConfigurationDescription, kOsCrOS, |
| 6008 | MULTI_VALUE_TYPE(kSchedulerConfigurationChoices)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 6009 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
sammiequon | d583776 | 2017-03-16 21:14:59 | [diff] [blame] | 6010 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6011 | #if BUILDFLAG(IS_ANDROID) |
Lei Tian | bd5a3bf | 2018-02-28 19:01:16 | [diff] [blame] | 6012 | {"enable-command-line-on-non-rooted-devices", |
| 6013 | flag_descriptions::kEnableCommandLineOnNonRootedName, |
| 6014 | flag_descriptions::kEnableCommandLineOnNoRootedDescription, kOsAndroid, |
| 6015 | FEATURE_VALUE_TYPE(chrome::android::kCommandLineOnNonRooted)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6016 | #endif // BUILDFLAG(IS_ANDROID) |
Lei Tian | bd5a3bf | 2018-02-28 19:01:16 | [diff] [blame] | 6017 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6018 | #if BUILDFLAG(IS_ANDROID) |
Gang Wu | a7bfb5f4 | 2021-04-09 18:54:21 | [diff] [blame] | 6019 | {"app-menu-mobile-site-option", |
| 6020 | flag_descriptions::kAppMenuMobileSiteOptionName, |
| 6021 | flag_descriptions::kAppMenuMobileSiteOptionDescription, kOsAndroid, |
| 6022 | FEATURE_VALUE_TYPE(chrome::android::kAppMenuMobileSiteOption)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6023 | #endif // BUILDFLAG(IS_ANDROID) |
Sinan Sahin | 3bafe27 | 2019-03-11 17:03:06 | [diff] [blame] | 6024 | |
Christopher Cameron | ceb8727d | 2017-09-07 23:53:16 | [diff] [blame] | 6025 | {"force-color-profile", flag_descriptions::kForceColorProfileName, |
| 6026 | flag_descriptions::kForceColorProfileDescription, kOsAll, |
| 6027 | MULTI_VALUE_TYPE(kForceColorProfileChoices)}, |
| 6028 | |
Alison Maher | c07a3fb | 2019-10-07 21:25:03 | [diff] [blame] | 6029 | {"forced-colors", flag_descriptions::kForcedColorsName, |
| 6030 | flag_descriptions::kForcedColorsDescription, kOsAll, |
| 6031 | FEATURE_VALUE_TYPE(features::kForcedColors)}, |
| 6032 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6033 | #if BUILDFLAG(IS_ANDROID) |
Chris Blume | b504da1f2 | 2020-04-27 00:21:44 | [diff] [blame] | 6034 | {"dynamic-color-gamut", flag_descriptions::kDynamicColorGamutName, |
| 6035 | flag_descriptions::kDynamicColorGamutDescription, kOsAndroid, |
| 6036 | FEATURE_VALUE_TYPE(features::kDynamicColorGamut)}, |
| 6037 | #endif |
| 6038 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 6039 | {"memlog", flag_descriptions::kMemlogName, |
| 6040 | flag_descriptions::kMemlogDescription, kOsAll, |
| 6041 | MULTI_VALUE_TYPE(kMemlogModeChoices)}, |
erikchen | 1404643 | 2017-08-17 19:55:59 | [diff] [blame] | 6042 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 6043 | {"memlog-sampling-rate", flag_descriptions::kMemlogSamplingRateName, |
| 6044 | flag_descriptions::kMemlogSamplingRateDescription, kOsAll, |
| 6045 | MULTI_VALUE_TYPE(kMemlogSamplingRateChoices)}, |
erikchen | 8bc20d8 | 2018-02-14 03:21:51 | [diff] [blame] | 6046 | |
Alexei Filippov | 522a522 | 2019-03-29 03:33:18 | [diff] [blame] | 6047 | {"memlog-stack-mode", flag_descriptions::kMemlogStackModeName, |
| 6048 | flag_descriptions::kMemlogStackModeDescription, kOsAll, |
| 6049 | MULTI_VALUE_TYPE(kMemlogStackModeChoices)}, |
Erik Chen | 3303fd023 | 2018-01-11 20:29:05 | [diff] [blame] | 6050 | |
manuk | fdd9740 | 2020-07-22 18:19:17 | [diff] [blame] | 6051 | {"omnibox-max-zero-suggest-matches", |
| 6052 | flag_descriptions::kOmniboxMaxZeroSuggestMatchesName, |
| 6053 | flag_descriptions::kOmniboxMaxZeroSuggestMatchesDescription, |
| 6054 | kOsDesktop | kOsAndroid, |
| 6055 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMaxZeroSuggestMatches, |
| 6056 | kMaxZeroSuggestMatchesVariations, |
| 6057 | "OmniboxBundledExperimentV1")}, |
| 6058 | |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 6059 | {"omnibox-ui-max-autocomplete-matches", |
| 6060 | flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, |
Patrick Noland | 2b4968b | 2019-06-27 14:50:26 | [diff] [blame] | 6061 | flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, |
| 6062 | kOsDesktop | kOsAndroid, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 6063 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6064 | omnibox::kUIExperimentMaxAutocompleteMatches, |
| 6065 | kOmniboxUIMaxAutocompleteMatchesVariations, |
Patrick Noland | 9e1fc505 | 2019-07-31 00:24:11 | [diff] [blame] | 6066 | "OmniboxBundledExperimentV1")}, |
tommycli | a5a538f9 | 2017-05-15 19:09:38 | [diff] [blame] | 6067 | |
Kevin Bailey | cd688992 | 2019-05-30 17:22:55 | [diff] [blame] | 6068 | {"omnibox-max-url-matches", flag_descriptions::kOmniboxMaxURLMatchesName, |
| 6069 | flag_descriptions::kOmniboxMaxURLMatchesDescription, kOsAll, |
| 6070 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxMaxURLMatches, |
| 6071 | kOmniboxMaxURLMatchesVariations, |
| 6072 | "OmniboxMaxURLMatchesVariations")}, |
| 6073 | |
manuk | 4e2979d | 2020-07-08 23:29:28 | [diff] [blame] | 6074 | {"omnibox-dynamic-max-autocomplete", |
| 6075 | flag_descriptions::kOmniboxDynamicMaxAutocompleteName, |
| 6076 | flag_descriptions::kOmniboxDynamicMaxAutocompleteDescription, kOsAll, |
| 6077 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kDynamicMaxAutocomplete, |
manukh | d187041 | 2020-09-15 03:42:14 | [diff] [blame] | 6078 | kOmniboxDynamicMaxAutocompleteVariations, |
| 6079 | "OmniboxBundledExperimentV1")}, |
Ender | 49a2028 | 2022-04-22 02:16:33 | [diff] [blame] | 6080 | |
Yohanes Shimelis | 53d0f6b | 2023-01-12 19:09:10 | [diff] [blame] | 6081 | {"omnibox-square-suggest-icons", |
| 6082 | flag_descriptions::kOmniboxSimplifiedUiSquareSuggestIconName, |
| 6083 | flag_descriptions::kOmniboxSimplifiedUiSquareSuggestIconDescription, |
manukh | 33cac6c | 2023-03-01 18:17:22 | [diff] [blame] | 6084 | kOsAll, |
| 6085 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kSquareSuggestIcons, |
| 6086 | kOmniboxSquareSuggestionIconVariations, |
| 6087 | "OmniboxBundledExperimentV1")}, |
Yohanes Shimelis | 53d0f6b | 2023-01-12 19:09:10 | [diff] [blame] | 6088 | |
Yohanes Shimelis | fe3b128d | 2022-10-14 00:56:04 | [diff] [blame] | 6089 | {"omnibox-uniform-suggestion-height", |
| 6090 | flag_descriptions::kOmniboxSimplifiedUiUniformRowHeightName, |
| 6091 | flag_descriptions::kOmniboxSimplifiedUiUniformRowHeightDescription, kOsAll, |
| 6092 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUniformRowHeight, |
| 6093 | kOmniboxSuggestionHeightVariations, |
| 6094 | "Uniform Omnibox Suggest Heights")}, |
manukh | 221345f | 2023-04-14 18:46:34 | [diff] [blame] | 6095 | {"omnibox-cr23-action-chips", |
| 6096 | flag_descriptions::kOmniboxCR23ActionChipsName, |
| 6097 | flag_descriptions::kOmniboxCR23ActionChipsDescription, kOsDesktop, |
| 6098 | FEATURE_VALUE_TYPE(omnibox::kCr2023ActionChips)}, |
Yohanes Shimelis | fe3b128d | 2022-10-14 00:56:04 | [diff] [blame] | 6099 | |
Justin Donnelly | 8a5df4d | 2023-06-15 05:40:54 | [diff] [blame] | 6100 | {"omnibox-cr23-action-chips-icons", |
| 6101 | flag_descriptions::kOmniboxCR23ActionChipsIconsName, |
| 6102 | flag_descriptions::kOmniboxCR23ActionChipsIconsDescription, kOsDesktop, |
| 6103 | FEATURE_VALUE_TYPE(omnibox::kCr2023ActionChipsIcons)}, |
| 6104 | |
Justin Donnelly | 87f3c56 | 2023-03-30 02:55:40 | [diff] [blame] | 6105 | {"omnibox-cr23-expanded-state-height", |
| 6106 | flag_descriptions::kOmniboxCR23ExpandedStateHeightName, |
| 6107 | flag_descriptions::kOmniboxCR23ExpandedStateHeightDescription, kOsDesktop, |
| 6108 | FEATURE_VALUE_TYPE(omnibox::kExpandedStateHeight)}, |
| 6109 | |
| 6110 | {"omnibox-cr23-expanded-state-shape", |
| 6111 | flag_descriptions::kOmniboxCR23ExpandedStateShapeName, |
| 6112 | flag_descriptions::kOmniboxCR23ExpandedStateShapeDescription, kOsDesktop, |
| 6113 | FEATURE_VALUE_TYPE(omnibox::kExpandedStateShape)}, |
| 6114 | |
Khalid Peer | 4959246 | 2023-04-19 17:16:07 | [diff] [blame] | 6115 | {"omnibox-cr23-expanded-state-suggest-icons", |
| 6116 | flag_descriptions::kOmniboxCR23ExpandedStateSuggestIconsName, |
| 6117 | flag_descriptions::kOmniboxCR23ExpandedStateSuggestIconsDescription, |
| 6118 | kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kExpandedStateSuggestIcons)}, |
| 6119 | |
Shibalik Mohapatra | 3477e6d5 | 2023-04-03 17:24:37 | [diff] [blame] | 6120 | {"omnibox-cr23-steady-state-icons", |
| 6121 | flag_descriptions::kOmniboxCR23SteadyStateIconsName, |
| 6122 | flag_descriptions::kOmniboxCR23SteadyStateIconsDescription, kOsAll, |
| 6123 | FEATURE_VALUE_TYPE(omnibox::kOmniboxCR23SteadyStateIcons)}, |
| 6124 | |
Khalid Peer | fe88204 | 2023-04-11 20:34:24 | [diff] [blame] | 6125 | {"omnibox-cr23-expanded-state-colors", |
| 6126 | flag_descriptions::kOmniboxCR23ExpandedStateColorsName, |
| 6127 | flag_descriptions::kOmniboxCR23ExpandedStateColorsDescription, kOsDesktop, |
| 6128 | FEATURE_VALUE_TYPE(omnibox::kExpandedStateColors)}, |
| 6129 | |
manukh | b82b26f0 | 2023-05-02 18:59:19 | [diff] [blame] | 6130 | {"omnibox-cr23-expanded-state-layout", |
| 6131 | flag_descriptions::kOmniboxCR23ExpandedStateLayoutName, |
| 6132 | flag_descriptions::kOmniboxCR23ExpandedStateLayoutDescription, kOsDesktop, |
| 6133 | FEATURE_VALUE_TYPE(omnibox::kExpandedLayout)}, |
| 6134 | |
Khalid Peer | 55a2564 | 2023-06-14 19:08:30 | [diff] [blame] | 6135 | {"omnibox-cr23-suggestion-hover-fill-shape", |
| 6136 | flag_descriptions::kOmniboxCR23SuggestionHoverFillShapeName, |
| 6137 | flag_descriptions::kOmniboxCR23SuggestionHoverFillShapeDescription, |
| 6138 | kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kSuggestionHoverFillShape)}, |
| 6139 | |
Khalid Peer | 93f4931 | 2023-03-06 22:28:13 | [diff] [blame] | 6140 | {"omnibox-gm3-steady-state-background-color", |
| 6141 | flag_descriptions::kOmniboxGM3SteadyStateBackgroundColorName, |
| 6142 | flag_descriptions::kOmniboxGM3SteadyStateBackgroundColorDescription, |
Khalid Peer | 7a140ae | 2023-06-29 20:27:08 | [diff] [blame] | 6143 | kOsAll, FEATURE_VALUE_TYPE(omnibox::kOmniboxSteadyStateBackgroundColor)}, |
Khalid Peer | 93f4931 | 2023-03-06 22:28:13 | [diff] [blame] | 6144 | |
Khalid Peer | 3b6c61fb | 2023-02-17 01:43:28 | [diff] [blame] | 6145 | {"omnibox-gm3-steady-state-height", |
| 6146 | flag_descriptions::kOmniboxGM3SteadyStateHeightName, |
| 6147 | flag_descriptions::kOmniboxGM3SteadyStateHeightDescription, kOsAll, |
| 6148 | FEATURE_VALUE_TYPE(omnibox::kOmniboxSteadyStateHeight)}, |
| 6149 | |
Khalid Peer | 4ef65ef5 | 2023-03-27 23:29:07 | [diff] [blame] | 6150 | {"omnibox-gm3-steady-state-text-color", |
| 6151 | flag_descriptions::kOmniboxGM3SteadyStateTextColorName, |
| 6152 | flag_descriptions::kOmniboxGM3SteadyStateTextColorDescription, kOsAll, |
| 6153 | FEATURE_VALUE_TYPE(omnibox::kOmniboxSteadyStateTextColor)}, |
| 6154 | |
Khalid Peer | 4520af9 | 2023-03-02 21:50:51 | [diff] [blame] | 6155 | {"omnibox-gm3-steady-state-text-style", |
| 6156 | flag_descriptions::kOmniboxGM3SteadyStateTextStyleName, |
| 6157 | flag_descriptions::kOmniboxGM3SteadyStateTextStyleDescription, kOsAll, |
Khalid Peer | f9cc86926 | 2023-03-30 20:14:20 | [diff] [blame] | 6158 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxSteadyStateTextStyle, |
| 6159 | kOmniboxFontSizeVariations, |
| 6160 | "OmniboxCR2023m113")}, |
Khalid Peer | 4520af9 | 2023-03-02 21:50:51 | [diff] [blame] | 6161 | |
Ender | 19574f9 | 2023-03-16 01:14:26 | [diff] [blame] | 6162 | {"omnibox-grouping-framework-zps", |
| 6163 | flag_descriptions::kOmniboxGroupingFrameworkZPSName, |
manukh | 01e4719 | 2022-12-23 00:50:25 | [diff] [blame] | 6164 | flag_descriptions::kOmniboxGroupingFrameworkDescription, kOsAll, |
Ender | 19574f9 | 2023-03-16 01:14:26 | [diff] [blame] | 6165 | FEATURE_VALUE_TYPE(omnibox::kGroupingFrameworkForZPS)}, |
| 6166 | |
| 6167 | {"omnibox-grouping-framework-non-zps", |
| 6168 | flag_descriptions::kOmniboxGroupingFrameworkNonZPSName, |
| 6169 | flag_descriptions::kOmniboxGroupingFrameworkDescription, kOsAll, |
| 6170 | FEATURE_VALUE_TYPE(omnibox::kGroupingFrameworkForNonZPS)}, |
manukh | 01e4719 | 2022-12-23 00:50:25 | [diff] [blame] | 6171 | |
rajendrant | 277b1ba | 2022-02-18 01:59:36 | [diff] [blame] | 6172 | {"optimization-guide-debug-logs", |
| 6173 | flag_descriptions::kOptimizationGuideDebugLogsName, |
| 6174 | flag_descriptions::kOptimizationGuideDebugLogsDescription, kOsAll, |
| 6175 | SINGLE_VALUE_TYPE(optimization_guide::switches::kDebugLoggingEnabled)}, |
manukh | d187041 | 2020-09-15 03:42:14 | [diff] [blame] | 6176 | |
rajendrant | b6ef55fd | 2022-10-20 20:25:24 | [diff] [blame] | 6177 | {"optimization-guide-install-wide-model-store", |
| 6178 | flag_descriptions::kOptimizationGuideInstallWideModelStoreName, |
| 6179 | flag_descriptions::kOptimizationGuideInstallWideModelStoreDescription, |
| 6180 | kOsAll, |
| 6181 | FEATURE_VALUE_TYPE(optimization_guide::features:: |
| 6182 | kOptimizationGuideInstallWideModelStore)}, |
| 6183 | |
Moe Ahmadi | 359d072 | 2022-05-16 23:17:33 | [diff] [blame] | 6184 | {"organic-repeatable-queries", |
| 6185 | flag_descriptions::kOrganicRepeatableQueriesName, |
Ender | aa53b1da | 2022-05-25 00:52:00 | [diff] [blame] | 6186 | flag_descriptions::kOrganicRepeatableQueriesDescription, |
| 6187 | kOsDesktop | kOsAndroid, |
Moe Ahmadi | 359d072 | 2022-05-16 23:17:33 | [diff] [blame] | 6188 | FEATURE_WITH_PARAMS_VALUE_TYPE(history::kOrganicRepeatableQueries, |
| 6189 | kOrganicRepeatableQueriesVariations, |
| 6190 | "OrganicRepeatableQueries")}, |
| 6191 | |
Tommy Li | a142e2c | 2021-09-29 20:35:16 | [diff] [blame] | 6192 | {"history-journeys", flag_descriptions::kJourneysName, |
Patrick Noland | ba99e8a | 2022-03-04 23:12:39 | [diff] [blame] | 6193 | flag_descriptions::kJourneysDescription, kOsDesktop | kOsAndroid, |
Tommy C. Li | 965b47f | 2022-03-17 20:42:26 | [diff] [blame] | 6194 | FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kJourneys, |
| 6195 | kJourneysVariations, |
| 6196 | "HistoryJourneys")}, |
Tommy Li | a142e2c | 2021-09-29 20:35:16 | [diff] [blame] | 6197 | |
Sophie Chang | 19b579d | 2022-09-27 22:30:35 | [diff] [blame] | 6198 | {"history-journeys-content-clustering", |
| 6199 | flag_descriptions::kJourneysContentClusteringName, |
| 6200 | flag_descriptions::kJourneysContentClusteringDescription, |
| 6201 | kOsDesktop | kOsAndroid, |
| 6202 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6203 | history_clusters::features::kOnDeviceClusteringContentClustering, |
| 6204 | kJourneysContentClusteringVariations, |
| 6205 | "HistoryJourneysContentClustering")}, |
| 6206 | |
Tommy C. Li | e9977007 | 2022-10-26 23:24:16 | [diff] [blame] | 6207 | {"history-journeys-images", flag_descriptions::kJourneysImagesName, |
| 6208 | flag_descriptions::kJourneysImagesDescription, kOsDesktop, |
Marlon Facey | 0d96334 | 2023-03-27 20:55:22 | [diff] [blame] | 6209 | FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kJourneysImages, |
| 6210 | kJourneysImagesVariations, |
| 6211 | "HistoryJourneysImages")}, |
Tommy C. Li | e9977007 | 2022-10-26 23:24:16 | [diff] [blame] | 6212 | |
Tommy C. Li | 1d8296b5 | 2022-04-27 22:12:17 | [diff] [blame] | 6213 | {"history-journeys-labels", flag_descriptions::kJourneysLabelsName, |
| 6214 | flag_descriptions::kJourneysLabelsDescription, kOsDesktop | kOsAndroid, |
| 6215 | FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kJourneysLabels, |
| 6216 | kJourneysLabelsVariations, |
| 6217 | "HistoryJourneysLabels")}, |
| 6218 | |
Tommy Li | a142e2c | 2021-09-29 20:35:16 | [diff] [blame] | 6219 | {"history-journeys-omnibox-action", |
| 6220 | flag_descriptions::kJourneysOmniboxActionName, |
Patrick Noland | ba99e8a | 2022-03-04 23:12:39 | [diff] [blame] | 6221 | flag_descriptions::kJourneysOmniboxActionDescription, |
| 6222 | kOsDesktop | kOsAndroid, |
Tommy C. Li | 721981e | 2022-04-07 20:16:37 | [diff] [blame] | 6223 | FEATURE_WITH_PARAMS_VALUE_TYPE(history_clusters::internal::kOmniboxAction, |
| 6224 | kJourneysOmniboxActionVariations, |
manukh | 5dbeb836 | 2022-10-04 18:34:42 | [diff] [blame] | 6225 | "JourneysOmniboxTriggering")}, |
manukh | 202a6dd | 2021-02-19 21:23:25 | [diff] [blame] | 6226 | |
manukh | 37c4875 | 2022-06-21 15:38:10 | [diff] [blame] | 6227 | {"history-journeys-omnibox-history-cluster-provider", |
| 6228 | flag_descriptions::kJourneysOmniboxHistoryClusterProviderName, |
| 6229 | flag_descriptions::kJourneysOmniboxHistoryClusterProviderDescription, |
| 6230 | kOsDesktop | kOsAndroid, |
manukh | 5dbeb836 | 2022-10-04 18:34:42 | [diff] [blame] | 6231 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6232 | history_clusters::internal::kOmniboxHistoryClusterProvider, |
| 6233 | kJourneysOmniboxHistoryClusterProviderVariations, |
| 6234 | "JourneysOmniboxTriggering")}, |
manukh | 37c4875 | 2022-06-21 15:38:10 | [diff] [blame] | 6235 | |
Patrick Noland | a62bf46 | 2023-03-20 18:09:34 | [diff] [blame] | 6236 | {"history-journeys-persist-caches-to-prefs", |
| 6237 | flag_descriptions::kJourneysPersistCachesToPrefsName, |
| 6238 | flag_descriptions::kJourneysPersistCachesToPrefsDescription, |
| 6239 | kOsDesktop | kOsAndroid, |
| 6240 | FEATURE_VALUE_TYPE( |
| 6241 | history_clusters::internal::kJourneysPersistCachesToPrefs)}, |
| 6242 | |
Sophie Chang | d30f4dc4f | 2022-10-18 16:10:17 | [diff] [blame] | 6243 | {"history-journeys-show-all-clusters", |
| 6244 | flag_descriptions::kJourneysShowAllClustersName, |
| 6245 | flag_descriptions::kJourneysShowAllClustersDescription, |
| 6246 | kOsDesktop | kOsAndroid, |
| 6247 | SINGLE_VALUE_TYPE(history_clusters::switches:: |
| 6248 | kShouldShowAllClustersOnProminentUiSurfaces)}, |
| 6249 | |
Sophie Chang | 4b7eff7 | 2022-12-08 16:43:29 | [diff] [blame] | 6250 | {"history-journeys-include-synced-visits", |
| 6251 | flag_descriptions::kJourneysIncludeSyncedVisitsName, |
| 6252 | flag_descriptions::kJourneysIncludeSyncedVisitsDescription, |
| 6253 | kOsDesktop | kOsAndroid, |
| 6254 | FEATURE_VALUE_TYPE( |
| 6255 | history_clusters::internal::kJourneysIncludeSyncedVisits)}, |
| 6256 | |
Sophie Chang | 8ee03ca | 2023-04-17 17:30:46 | [diff] [blame] | 6257 | {"history-journeys-zero-state-filtering", |
| 6258 | flag_descriptions::kJourneysZeroStateFilteringName, |
| 6259 | flag_descriptions::kJourneysZeroStateFilteringDescription, |
| 6260 | kOsDesktop | kOsAndroid, |
| 6261 | FEATURE_VALUE_TYPE( |
| 6262 | history_clusters::internal::kJourneysZeroStateFiltering)}, |
| 6263 | |
Khalid Peer | 197c746 | 2022-11-28 21:20:36 | [diff] [blame] | 6264 | {"extract-related-searches-from-prefetched-zps-response", |
| 6265 | flag_descriptions::kExtractRelatedSearchesFromPrefetchedZPSResponseName, |
| 6266 | flag_descriptions:: |
| 6267 | kExtractRelatedSearchesFromPrefetchedZPSResponseDescription, |
| 6268 | kOsDesktop | kOsAndroid, |
| 6269 | FEATURE_VALUE_TYPE(optimization_guide::features:: |
| 6270 | kExtractRelatedSearchesFromPrefetchedZPSResponse)}, |
| 6271 | |
Tommy C. Li | 7960fc8 | 2023-03-03 00:56:45 | [diff] [blame] | 6272 | {"page-image-service-optimization-guide-salient-images", |
| 6273 | flag_descriptions::kPageImageServiceOptimizationGuideSalientImagesName, |
| 6274 | flag_descriptions:: |
| 6275 | kPageImageServiceOptimizationGuideSalientImagesDescription, |
| 6276 | kOsDesktop, |
Tommy C. Li | 315f9ff6 | 2023-03-16 16:13:15 | [diff] [blame] | 6277 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
Tommy C. Li | df33ea61 | 2023-03-29 23:04:52 | [diff] [blame] | 6278 | page_image_service::kImageServiceOptimizationGuideSalientImages, |
Tommy C. Li | 315f9ff6 | 2023-03-16 16:13:15 | [diff] [blame] | 6279 | kImageServiceOptimizationGuideSalientImagesVariations, |
| 6280 | "PageImageService")}, |
| 6281 | |
| 6282 | {"page-image-service-suggest-powered-images", |
| 6283 | flag_descriptions::kPageImageServiceSuggestPoweredImagesName, |
| 6284 | flag_descriptions::kPageImageServiceSuggestPoweredImagesDescription, |
| 6285 | kOsDesktop, |
Tommy C. Li | df33ea61 | 2023-03-29 23:04:52 | [diff] [blame] | 6286 | FEATURE_VALUE_TYPE(page_image_service::kImageServiceSuggestPoweredImages)}, |
Tommy C. Li | 7960fc8 | 2023-03-03 00:56:45 | [diff] [blame] | 6287 | |
Sophie Chang | 9081cb3 | 2021-09-28 22:39:10 | [diff] [blame] | 6288 | {"page-content-annotations", flag_descriptions::kPageContentAnnotationsName, |
Patrick Noland | ba99e8a | 2022-03-04 23:12:39 | [diff] [blame] | 6289 | flag_descriptions::kPageContentAnnotationsDescription, |
| 6290 | kOsDesktop | kOsAndroid, |
Sophie Chang | 9081cb3 | 2021-09-28 22:39:10 | [diff] [blame] | 6291 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6292 | optimization_guide::features::kPageContentAnnotations, |
| 6293 | kPageContentAnnotationsVariations, |
| 6294 | "PageContentAnnotations")}, |
| 6295 | |
Sophie Chang | 854625a | 2023-03-22 19:57:33 | [diff] [blame] | 6296 | {"page-content-annotations-persist-salient-image-metadata", |
| 6297 | flag_descriptions::kPageContentAnnotationsPersistSalientImageMetadataName, |
| 6298 | flag_descriptions:: |
| 6299 | kPageContentAnnotationsPersistSalientImageMetadataDescription, |
| 6300 | kOsDesktop, |
| 6301 | FEATURE_VALUE_TYPE( |
| 6302 | optimization_guide::features:: |
| 6303 | kPageContentAnnotationsPersistSalientImageMetadata)}, |
| 6304 | |
Sophie Chang | 0f51933 | 2023-03-28 21:45:30 | [diff] [blame] | 6305 | {"page-content-annotations-remote-page-metadata", |
| 6306 | flag_descriptions::kPageContentAnnotationsRemotePageMetadataName, |
| 6307 | flag_descriptions::kPageContentAnnotationsRemotePageMetadataDescription, |
| 6308 | kOsDesktop, |
| 6309 | FEATURE_VALUE_TYPE(optimization_guide::features::kRemotePageMetadata)}, |
| 6310 | |
Sophie Chang | 8d50067 | 2022-02-09 22:45:30 | [diff] [blame] | 6311 | {"page-entities-page-content-annotations", |
| 6312 | flag_descriptions::kPageEntitiesPageContentAnnotationsName, |
| 6313 | flag_descriptions::kPageEntitiesPageContentAnnotationsDescription, |
Sophie Chang | ec7e07de | 2022-04-07 16:03:32 | [diff] [blame] | 6314 | kOsDesktop | kOsAndroid, |
Sophie Chang | 5b5e737 | 2022-04-06 21:23:22 | [diff] [blame] | 6315 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6316 | optimization_guide::features::kPageEntitiesPageContentAnnotations, |
| 6317 | kPageEntitiesPageContentAnnotationsVariations, |
| 6318 | "PageEntitiesPageContentAnnotations")}, |
Sophie Chang | 8d50067 | 2022-02-09 22:45:30 | [diff] [blame] | 6319 | |
| 6320 | {"page-visibility-page-content-annotations", |
| 6321 | flag_descriptions::kPageVisibilityPageContentAnnotationsName, |
| 6322 | flag_descriptions::kPageVisibilityPageContentAnnotationsDescription, |
Robert Ogden | 97914f8e | 2023-01-24 22:25:54 | [diff] [blame] | 6323 | kOsDesktop | kOsAndroid, |
Sophie Chang | 8d50067 | 2022-02-09 22:45:30 | [diff] [blame] | 6324 | FEATURE_VALUE_TYPE( |
| 6325 | optimization_guide::features::kPageVisibilityPageContentAnnotations)}, |
| 6326 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 6327 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Curtis McMullan | f2e45bf | 2020-08-26 09:51:39 | [diff] [blame] | 6328 | {"handwriting-gesture-editing", |
| 6329 | flag_descriptions::kHandwritingGestureEditingName, |
| 6330 | flag_descriptions::kHandwritingGestureEditingDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 6331 | FEATURE_VALUE_TYPE(ash::features::kHandwritingGestureEditing)}, |
Curtis McMullan | 88e039e | 2021-07-27 08:06:31 | [diff] [blame] | 6332 | {"handwriting-legacy-recognition", |
| 6333 | flag_descriptions::kHandwritingLegacyRecognitionName, |
| 6334 | flag_descriptions::kHandwritingLegacyRecognitionDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 6335 | FEATURE_VALUE_TYPE(ash::features::kHandwritingLegacyRecognition)}, |
Darren Shen | b42629a | 2022-08-17 02:52:31 | [diff] [blame] | 6336 | {"handwriting-library-dlc", flag_descriptions::kHandwritingLibraryDlcName, |
| 6337 | flag_descriptions::kHandwritingLibraryDlcDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 6338 | FEATURE_VALUE_TYPE(ash::features::kHandwritingLibraryDlc)}, |
Claudio M | f930363 | 2023-06-28 04:33:15 | [diff] [blame] | 6339 | {"language-packs-in-settings", |
| 6340 | flag_descriptions::kLanguagePacksInSettingsName, |
| 6341 | flag_descriptions::kLanguagePacksInSettingsDescription, kOsCrOS, |
| 6342 | FEATURE_VALUE_TYPE(ash::features::kLanguagePacksInSettings)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 6343 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
yhanada | c5bff5b | 2017-05-18 06:37:09 | [diff] [blame] | 6344 | |
Titouan Rigoudy | f619f546 | 2020-09-25 16:35:49 | [diff] [blame] | 6345 | {"block-insecure-private-network-requests", |
| 6346 | flag_descriptions::kBlockInsecurePrivateNetworkRequestsName, |
| 6347 | flag_descriptions::kBlockInsecurePrivateNetworkRequestsDescription, kOsAll, |
| 6348 | FEATURE_VALUE_TYPE(features::kBlockInsecurePrivateNetworkRequests)}, |
| 6349 | |
Titouan Rigoudy | 449de9d | 2022-02-16 19:14:06 | [diff] [blame] | 6350 | {"private-network-access-respect-preflight-results", |
| 6351 | flag_descriptions::kPrivateNetworkAccessRespectPreflightResultsName, |
| 6352 | flag_descriptions::kPrivateNetworkAccessRespectPreflightResultsDescription, |
| 6353 | kOsAll, |
| 6354 | FEATURE_VALUE_TYPE( |
| 6355 | features::kPrivateNetworkAccessRespectPreflightResults)}, |
| 6356 | |
Yifan Luo | 6e4029d5 | 2022-08-11 17:28:11 | [diff] [blame] | 6357 | {"private-network-access-preflight-short-timeout", |
| 6358 | flag_descriptions::kPrivateNetworkAccessPreflightShortTimeoutName, |
| 6359 | flag_descriptions::kPrivateNetworkAccessPreflightShortTimeoutDescription, |
| 6360 | kOsAll, |
| 6361 | FEATURE_VALUE_TYPE( |
| 6362 | network::features::kPrivateNetworkAccessPreflightShortTimeout)}, |
| 6363 | |
Youssef Esmat | 9cdb6b4 | 2022-12-21 19:28:45 | [diff] [blame] | 6364 | {"main-thread-compositing-priority", |
| 6365 | flag_descriptions::kMainThreadCompositingPriorityName, |
| 6366 | flag_descriptions::kMainThreadCompositingPriorityDescription, kOsAll, |
| 6367 | FEATURE_VALUE_TYPE(features::kMainThreadCompositingPriority)}, |
| 6368 | |
Dominic Farolino | 0e1f9a1a | 2020-11-25 23:25:00 | [diff] [blame] | 6369 | {"mbi-mode", flag_descriptions::kMBIModeName, |
| 6370 | flag_descriptions::kMBIModeDescription, kOsAll, |
| 6371 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kMBIMode, |
| 6372 | kMBIModeVariations, |
| 6373 | "MBIMode")}, |
| 6374 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 6375 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Ahmed Fakhry | 4f567e69 | 2018-10-16 15:51:08 | [diff] [blame] | 6376 | {"double-tap-to-zoom-in-tablet-mode", |
| 6377 | flag_descriptions::kDoubleTapToZoomInTabletModeName, |
| 6378 | flag_descriptions::kDoubleTapToZoomInTabletModeDescription, kOsCrOS, |
| 6379 | FEATURE_VALUE_TYPE(features::kDoubleTapToZoomInTabletMode)}, |
Yulun Wu | b88a920 | 2021-07-13 19:44:56 | [diff] [blame] | 6380 | |
| 6381 | {"quick-settings-pwa-notifications", |
| 6382 | flag_descriptions::kQuickSettingsPWANotificationsName, |
| 6383 | flag_descriptions::kQuickSettingsPWANotificationsDescription, kOsCrOS, |
| 6384 | FEATURE_VALUE_TYPE(features::kQuickSettingsPWANotifications)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 6385 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Toni Barzic | 0f3440a6 | 2017-07-19 20:19:31 | [diff] [blame] | 6386 | |
Alyssa Frederick | ab694f2 | 2021-07-02 20:05:39 | [diff] [blame] | 6387 | {"tab-groups-save", flag_descriptions::kTabGroupsSaveName, |
| 6388 | flag_descriptions::kTabGroupsSaveDescription, kOsDesktop, |
dljames | d060315 | 2022-11-15 23:16:56 | [diff] [blame] | 6389 | FEATURE_VALUE_TYPE(features::kTabGroupsSave)}, |
Alyssa Frederick | ab694f2 | 2021-07-02 20:05:39 | [diff] [blame] | 6390 | |
Elaine Chien | 2b731c8 | 2021-01-28 17:50:56 | [diff] [blame] | 6391 | {flag_descriptions::kScrollableTabStripFlagId, |
| 6392 | flag_descriptions::kScrollableTabStripName, |
David Pennington | 6e8eef6 | 2021-12-01 21:13:54 | [diff] [blame] | 6393 | flag_descriptions::kScrollableTabStripDescription, kOsDesktop, |
Taylor Bergquist | db93697 | 2021-02-10 23:13:13 | [diff] [blame] | 6394 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kScrollableTabStrip, |
| 6395 | kTabScrollingVariations, |
| 6396 | "TabScrolling")}, |
Charlene Yan | 0ccd7f5 | 2019-04-12 23:20:59 | [diff] [blame] | 6397 | |
David Pennington | 423db8f | 2022-10-24 22:30:04 | [diff] [blame] | 6398 | {flag_descriptions::kTabScrollingButtonPositionFlagId, |
| 6399 | flag_descriptions::kTabScrollingButtonPositionName, |
| 6400 | flag_descriptions::kTabScrollingButtonPositionDescription, kOsDesktop, |
| 6401 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kTabScrollingButtonPosition, |
| 6402 | kTabScrollingButtonPositionVariations, |
| 6403 | "TabScrollingButtonPosition")}, |
| 6404 | |
Shibalik Mohapatra | 9a31f7d3 | 2022-10-26 23:53:59 | [diff] [blame] | 6405 | {flag_descriptions::kScrollableTabStripWithDraggingFlagId, |
| 6406 | flag_descriptions::kScrollableTabStripWithDraggingName, |
| 6407 | flag_descriptions::kScrollableTabStripWithDraggingDescription, kOsDesktop, |
| 6408 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kScrollableTabStripWithDragging, |
| 6409 | kTabScrollingWithDraggingVariations, |
| 6410 | "TabScrollingWithDragging")}, |
| 6411 | |
David Pennington | 02c635e | 2022-11-18 01:03:45 | [diff] [blame] | 6412 | {flag_descriptions::kScrollableTabStripOverflowFlagId, |
| 6413 | flag_descriptions::kScrollableTabStripOverflowName, |
| 6414 | flag_descriptions::kScrollableTabStripOverflowDescription, kOsDesktop, |
| 6415 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kScrollableTabStripOverflow, |
| 6416 | kScrollableTabStripOverflowVariations, |
| 6417 | "ScrollableTabStripOverflow")}, |
| 6418 | |
Taylor Bergquist | 9adeb29 | 2022-08-25 20:33:08 | [diff] [blame] | 6419 | {"split-tabstrip", flag_descriptions::kSplitTabStripName, |
| 6420 | flag_descriptions::kSplitTabStripDescription, kOsDesktop, |
| 6421 | FEATURE_VALUE_TYPE(features::kSplitTabStrip)}, |
| 6422 | |
Marlon Facey | fce1a9e | 2022-03-31 23:48:06 | [diff] [blame] | 6423 | {flag_descriptions::kSidePanelJourneysFlagId, |
| 6424 | flag_descriptions::kSidePanelJourneysName, |
| 6425 | flag_descriptions::kSidePanelJourneysDescription, kOsDesktop, |
Tommy C. Li | 2b834a8 | 2022-08-03 19:07:46 | [diff] [blame] | 6426 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
Tommy C. Li | 3d4ee9e | 2022-12-13 23:43:34 | [diff] [blame] | 6427 | history_clusters::kSidePanelJourneys, |
Tommy C. Li | 2b834a8 | 2022-08-03 19:07:46 | [diff] [blame] | 6428 | kSidePanelJourneysOpensFromOmniboxVariations, |
| 6429 | "SidePanelJourneys")}, |
Marlon Facey | fce1a9e | 2022-03-31 23:48:06 | [diff] [blame] | 6430 | |
Marlon Facey | 41373d72b | 2022-10-11 02:34:09 | [diff] [blame] | 6431 | {flag_descriptions::kSidePanelJourneysQuerylessFlagId, |
| 6432 | flag_descriptions::kSidePanelJourneysQuerylessName, |
| 6433 | flag_descriptions::kSidePanelJourneysQuerylessDescription, kOsDesktop, |
| 6434 | FEATURE_VALUE_TYPE(features::kSidePanelJourneysQueryless)}, |
| 6435 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6436 | #if BUILDFLAG(IS_ANDROID) |
Wei-Yin Chen (陳威尹) | 41b2241 | 2017-07-21 02:51:18 | [diff] [blame] | 6437 | {"enable-reader-mode-in-cct", flag_descriptions::kReaderModeInCCTName, |
| 6438 | flag_descriptions::kReaderModeInCCTDescription, kOsAndroid, |
| 6439 | FEATURE_VALUE_TYPE(chrome::android::kReaderModeInCCT)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6440 | #endif // BUILDFLAG(IS_ANDROID) |
Wei-Yin Chen (陳威尹) | 41b2241 | 2017-07-21 02:51:18 | [diff] [blame] | 6441 | |
Matt Jones | 16977219 | 2022-08-11 17:29:26 | [diff] [blame] | 6442 | {"shopping-list", commerce::flag_descriptions::kShoppingListName, |
| 6443 | commerce::flag_descriptions::kShoppingListDescription, |
| 6444 | kOsAndroid | kOsDesktop, FEATURE_VALUE_TYPE(commerce::kShoppingList)}, |
| 6445 | |
Matt Jones | 5c8c8e3 | 2023-06-13 22:49:47 | [diff] [blame] | 6446 | {"shopping-list-track-by-default", |
| 6447 | commerce::flag_descriptions::kShoppingListTrackByDefaultName, |
| 6448 | commerce::flag_descriptions::kShoppingListTrackByDefaultDescription, |
| 6449 | kOsAndroid | kOsDesktop, |
| 6450 | FEATURE_VALUE_TYPE(commerce::kShoppingListTrackByDefault)}, |
| 6451 | |
Matt Jones | 1795eda | 2023-05-09 20:24:48 | [diff] [blame] | 6452 | {"local-pdp-detection", |
| 6453 | commerce::flag_descriptions::kCommerceLocalPDPDetectionName, |
| 6454 | commerce::flag_descriptions::kCommerceLocalPDPDetectionDescription, |
| 6455 | kOsAndroid | kOsDesktop, |
| 6456 | FEATURE_VALUE_TYPE(commerce::kCommerceLocalPDPDetection)}, |
| 6457 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6458 | #if !BUILDFLAG(IS_ANDROID) |
Mei Liang | 4ab1b5d4 | 2023-04-20 01:07:48 | [diff] [blame] | 6459 | {"enable-price-tracking-chip-experiment", |
| 6460 | commerce::flag_descriptions::kPriceTrackingChipExperimentName, |
| 6461 | commerce::flag_descriptions::kPriceTrackingChipExperimentDescription, |
| 6462 | kOsDesktop, |
| 6463 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6464 | commerce::kCommercePriceTrackingChipExperiment, |
| 6465 | kPriceTrackingChipExperimentVariations, |
| 6466 | "PriceTrackingChipExperiment")}, |
| 6467 | |
Paul Adedeji | 1ed5300 | 2022-06-13 20:15:30 | [diff] [blame] | 6468 | {"enable-retail-coupons", flag_descriptions::kRetailCouponsName, |
| 6469 | flag_descriptions::kRetailCouponsDescription, kOsDesktop, |
| 6470 | FEATURE_VALUE_TYPE(commerce::kRetailCoupons)}, |
| 6471 | |
Paul Adedeji | abbaf29 | 2023-04-03 21:21:18 | [diff] [blame] | 6472 | {"ntp-alpha-background-collections", |
| 6473 | flag_descriptions::kNtpAlphaBackgroundCollectionsName, |
| 6474 | flag_descriptions::kNtpAlphaBackgroundCollectionsDescription, kOsDesktop, |
| 6475 | FEATURE_VALUE_TYPE(ntp_features::kNtpAlphaBackgroundCollections)}, |
| 6476 | |
Paul Adedeji | c4acd309 | 2023-05-22 19:29:13 | [diff] [blame] | 6477 | {"ntp-background-image-error-detection", |
| 6478 | flag_descriptions::kNtpBackgroundImageErrorDetectionName, |
| 6479 | flag_descriptions::kNtpBackgroundImageErrorDetectionDescription, |
| 6480 | kOsDesktop, |
| 6481 | FEATURE_VALUE_TYPE(ntp_features::kNtpBackgroundImageErrorDetection)}, |
| 6482 | |
Esmael El-Moslimany | f85849d | 2021-01-15 02:18:10 | [diff] [blame] | 6483 | {"ntp-cache-one-google-bar", flag_descriptions::kNtpCacheOneGoogleBarName, |
| 6484 | flag_descriptions::kNtpCacheOneGoogleBarDescription, kOsDesktop, |
| 6485 | FEATURE_VALUE_TYPE(ntp_features::kCacheOneGoogleBar)}, |
| 6486 | |
Yue Zhang | 9d4bff0 | 2023-04-26 15:32:05 | [diff] [blame] | 6487 | {"ntp-chrome-cart-journeys-module-coexist", |
| 6488 | flag_descriptions::kNtpChromeCartHistoryClusterCoexistName, |
| 6489 | flag_descriptions::kNtpChromeCartHistoryClusterCoexistDescription, |
| 6490 | kOsDesktop, |
| 6491 | FEATURE_VALUE_TYPE(ntp_features::kNtpChromeCartHistoryClusterCoexist)}, |
| 6492 | |
Yue Zhang | b7a521b | 2023-04-11 22:33:19 | [diff] [blame] | 6493 | {"ntp-chrome-cart-in-journeys-module", |
| 6494 | flag_descriptions::kNtpChromeCartInHistoryClustersModuleName, |
| 6495 | flag_descriptions::kNtpChromeCartInHistoryClustersModuleDescription, |
| 6496 | kOsDesktop, |
Yue Zhang | 39cc225 | 2023-04-19 15:44:36 | [diff] [blame] | 6497 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6498 | ntp_features::kNtpChromeCartInHistoryClusterModule, |
| 6499 | kNtpChromeCartInHistoryClustersModuleVariations, |
| 6500 | "DesktopNtpModules")}, |
Yue Zhang | b7a521b | 2023-04-11 22:33:19 | [diff] [blame] | 6501 | |
Paul Adedeji | 1ed5300 | 2022-06-13 20:15:30 | [diff] [blame] | 6502 | {"ntp-chrome-cart-module", flag_descriptions::kNtpChromeCartModuleName, |
| 6503 | flag_descriptions::kNtpChromeCartModuleDescription, kOsDesktop, |
| 6504 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpChromeCartModule, |
| 6505 | kNtpChromeCartModuleVariations, |
| 6506 | "DesktopNtpModules")}, |
Tibor Goldschwendt | 08c6b88 | 2020-10-01 03:09:32 | [diff] [blame] | 6507 | |
Yue Zhang | b001bb1 | 2022-11-01 00:53:36 | [diff] [blame] | 6508 | {"chrome-cart-dom-based-heuristics", |
| 6509 | commerce::flag_descriptions::kChromeCartDomBasedHeuristicsName, |
| 6510 | commerce::flag_descriptions::kChromeCartDomBasedHeuristicsDescription, |
| 6511 | kOsDesktop, FEATURE_VALUE_TYPE(commerce::kChromeCartDomBasedHeuristics)}, |
| 6512 | |
Roman Arora | 201df09 | 2022-10-20 16:53:51 | [diff] [blame] | 6513 | {"ntp-comprehensive-theme-realbox", |
| 6514 | flag_descriptions::kNtpComprehensiveThemeRealboxName, |
| 6515 | flag_descriptions::kNtpComprehensiveThemeRealboxDescription, kOsDesktop, |
| 6516 | FEATURE_VALUE_TYPE(ntp_features::kNtpComprehensiveThemeRealbox)}, |
| 6517 | |
Andre Vincent | 60a5c5d | 2020-12-24 02:53:01 | [diff] [blame] | 6518 | {"ntp-drive-module", flag_descriptions::kNtpDriveModuleName, |
| 6519 | flag_descriptions::kNtpDriveModuleDescription, kOsDesktop, |
Tibor Goldschwendt | d18751b | 2021-05-11 02:03:26 | [diff] [blame] | 6520 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpDriveModule, |
| 6521 | kNtpDriveModuleVariations, |
| 6522 | "DesktopNtpModules")}, |
Andre Vincent | 60a5c5d | 2020-12-24 02:53:01 | [diff] [blame] | 6523 | |
Paul Adedeji | 68046694 | 2022-01-13 22:10:50 | [diff] [blame] | 6524 | #if !defined(OFFICIAL_BUILD) |
| 6525 | {"ntp-dummy-modules", flag_descriptions::kNtpDummyModulesName, |
| 6526 | flag_descriptions::kNtpDummyModulesDescription, kOsDesktop, |
| 6527 | FEATURE_VALUE_TYPE(ntp_features::kNtpDummyModules)}, |
| 6528 | #endif |
| 6529 | |
Roman Arora | c7579c9 | 2023-02-27 22:17:17 | [diff] [blame] | 6530 | {"ntp-journeys-module", flag_descriptions::kNtpHistoryClustersModuleName, |
| 6531 | flag_descriptions::kNtpHistoryClustersModuleDescription, kOsDesktop, |
Roman Arora | 6a6024d1 | 2023-03-03 21:05:39 | [diff] [blame] | 6532 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpHistoryClustersModule, |
| 6533 | kNtpHistoryClustersModuleVariations, |
| 6534 | "DesktopNtpModules")}, |
Roman Arora | c7579c9 | 2023-02-27 22:17:17 | [diff] [blame] | 6535 | |
Marlon Facey | daec9081 | 2023-06-29 20:14:05 | [diff] [blame] | 6536 | {"ntp-journeys-module-suggestion-chip-header", |
| 6537 | flag_descriptions::kNtpHistoryClustersModuleSuggestionChipHeaderName, |
| 6538 | flag_descriptions:: |
| 6539 | kNtpHistoryClustersModuleSuggestionChipHeaderDescription, |
| 6540 | kOsDesktop, |
| 6541 | FEATURE_VALUE_TYPE( |
| 6542 | ntp_features::kNtpHistoryClustersModuleSuggestionChipHeader)}, |
| 6543 | |
Sophie Chang | df637c98 | 2023-05-14 17:06:31 | [diff] [blame] | 6544 | {"ntp-journeys-module-model-ranking", |
| 6545 | flag_descriptions::kNtpHistoryClustersModuleUseModelRankingName, |
| 6546 | flag_descriptions::kNtpHistoryClustersModuleUseModelRankingDescription, |
| 6547 | kOsDesktop, |
| 6548 | FEATURE_VALUE_TYPE( |
| 6549 | ntp_features::kNtpHistoryClustersModuleUseModelRanking)}, |
| 6550 | |
Tibor Goldschwendt | f9501a6 | 2023-03-23 03:11:19 | [diff] [blame] | 6551 | {"ntp-modules-header-icon", flag_descriptions::kNtpModulesHeaderIconName, |
| 6552 | flag_descriptions::kNtpModulesHeaderIconDescription, kOsDesktop, |
| 6553 | FEATURE_VALUE_TYPE(ntp_features::kNtpModulesHeaderIcon)}, |
| 6554 | |
| 6555 | {"ntp-wide-modules", flag_descriptions::kNtpWideModulesName, |
| 6556 | flag_descriptions::kNtpWideModulesDescription, kOsDesktop, |
| 6557 | FEATURE_VALUE_TYPE(ntp_features::kNtpWideModules)}, |
| 6558 | |
Tibor Goldschwendt | a82f86c | 2023-03-14 00:26:51 | [diff] [blame] | 6559 | {"ntp-reduced-logo-space", flag_descriptions::kNtpReducedLogoSpaceName, |
| 6560 | flag_descriptions::kNtpReducedLogoSpaceDescription, kOsDesktop, |
| 6561 | FEATURE_VALUE_TYPE(ntp_features::kNtpReducedLogoSpace)}, |
| 6562 | |
Tibor Goldschwendt | eec4292 | 2023-03-22 18:54:54 | [diff] [blame] | 6563 | {"ntp-single-row-shortcuts", flag_descriptions::kNtpSingleRowShortcutsName, |
| 6564 | flag_descriptions::kNtpSingleRowShortcutsDescription, kOsDesktop, |
| 6565 | FEATURE_VALUE_TYPE(ntp_features::kNtpSingleRowShortcuts)}, |
| 6566 | |
Paul Adedeji | 1ed5300 | 2022-06-13 20:15:30 | [diff] [blame] | 6567 | {"ntp-middle-slot-promo-dismissal", |
| 6568 | flag_descriptions::kNtpMiddleSlotPromoDismissalName, |
| 6569 | flag_descriptions::kNtpMiddleSlotPromoDismissalDescription, kOsDesktop, |
Paul Adedeji | f0a215d8 | 2022-08-03 01:55:46 | [diff] [blame] | 6570 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpMiddleSlotPromoDismissal, |
| 6571 | kNtpMiddleSlotPromoDismissalVariations, |
| 6572 | "DesktopNtpModules")}, |
Paul Adedeji | 1ed5300 | 2022-06-13 20:15:30 | [diff] [blame] | 6573 | |
| 6574 | {"ntp-modules-drag-and-drop", flag_descriptions::kNtpModulesDragAndDropName, |
| 6575 | flag_descriptions::kNtpModulesDragAndDropDescription, kOsDesktop, |
| 6576 | FEATURE_VALUE_TYPE(ntp_features::kNtpModulesDragAndDrop)}, |
| 6577 | |
| 6578 | {"ntp-modules-first-run-experience", |
| 6579 | flag_descriptions::kNtpModulesFirstRunExperienceName, |
| 6580 | flag_descriptions::kNtpModulesFirstRunExperienceDescription, kOsDesktop, |
| 6581 | FEATURE_VALUE_TYPE(ntp_features::kNtpModulesFirstRunExperience)}, |
| 6582 | |
| 6583 | {"ntp-modules-redesigned", flag_descriptions::kNtpModulesRedesignedName, |
| 6584 | flag_descriptions::kNtpModulesRedesignedDescription, kOsDesktop, |
| 6585 | FEATURE_VALUE_TYPE(ntp_features::kNtpModulesRedesigned)}, |
| 6586 | |
Jeremy Selier | 6d7e19fe | 2021-07-20 17:08:34 | [diff] [blame] | 6587 | {"ntp-photos-module", flag_descriptions::kNtpPhotosModuleName, |
| 6588 | flag_descriptions::kNtpPhotosModuleDescription, kOsDesktop, |
Jeremy Selier | 4ced86ee | 2021-10-02 18:35:19 | [diff] [blame] | 6589 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpPhotosModule, |
| 6590 | kNtpPhotosModuleVariations, |
| 6591 | "DesktopNtpModules")}, |
Jeremy Selier | 6d7e19fe | 2021-07-20 17:08:34 | [diff] [blame] | 6592 | |
Madhuri Palagummi | b85db6417 | 2022-02-18 02:32:05 | [diff] [blame] | 6593 | {"ntp-photos-opt-in-art-work", |
| 6594 | flag_descriptions::kNtpPhotosModuleOptInArtWorkName, |
| 6595 | flag_descriptions::kNtpPhotosModuleOptInArtWorkDescription, kOsDesktop, |
| 6596 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6597 | ntp_features::kNtpPhotosModuleCustomizedOptInArtWork, |
| 6598 | kNtpPhotosModuleOptInArtWorkVariations, |
| 6599 | "DesktopNtpModules")}, |
| 6600 | |
Madhuri Palagummi | fb44d9e | 2022-02-17 04:02:06 | [diff] [blame] | 6601 | {"ntp-photos-opt-in-title", |
| 6602 | flag_descriptions::kNtpPhotosModuleOptInTitleName, |
| 6603 | flag_descriptions::kNtpPhotosModuleOptInTitleDescription, kOsDesktop, |
| 6604 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6605 | ntp_features::kNtpPhotosModuleCustomizedOptInTitle, |
| 6606 | kNtpPhotosModuleOptInTitleVariations, |
| 6607 | "DesktopNtpModules")}, |
| 6608 | |
Madhuri Palagummi | 3939bcb5 | 2022-02-18 23:27:06 | [diff] [blame] | 6609 | {"ntp-photos-soft-opt-out", |
| 6610 | flag_descriptions::kNtpPhotosModuleSoftOptOutName, |
| 6611 | flag_descriptions::kNtpPhotosModuleSoftOptOutDescription, kOsDesktop, |
| 6612 | FEATURE_VALUE_TYPE(ntp_features::kNtpPhotosModuleSoftOptOut)}, |
| 6613 | |
Esmael El-Moslimany | 75e3376 | 2020-10-21 18:26:43 | [diff] [blame] | 6614 | {"ntp-recipe-tasks-module", flag_descriptions::kNtpRecipeTasksModuleName, |
| 6615 | flag_descriptions::kNtpRecipeTasksModuleDescription, kOsDesktop, |
Tibor Goldschwendt | acb655f | 2020-11-24 23:23:06 | [diff] [blame] | 6616 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpRecipeTasksModule, |
| 6617 | kNtpRecipeTasksModuleVariations, |
Mei Liang | 9cdacfe | 2021-04-08 00:41:05 | [diff] [blame] | 6618 | "DesktopNtpModules")}, |
Esmael El-Moslimany | 75e3376 | 2020-10-21 18:26:43 | [diff] [blame] | 6619 | |
Tibor Goldschwendt | 899492d | 2023-06-14 00:03:51 | [diff] [blame] | 6620 | {"ntp-realbox-is-tall", flag_descriptions::kNtpRealboxIsTallName, |
| 6621 | flag_descriptions::kNtpRealboxIsTallDescription, kOsDesktop, |
| 6622 | FEATURE_VALUE_TYPE(ntp_features::kRealboxIsTall)}, |
| 6623 | |
Marlon Facey | a00e2f9 | 2022-01-27 23:04:09 | [diff] [blame] | 6624 | {"ntp-realbox-match-searchbox-theme", |
| 6625 | flag_descriptions::kNtpRealboxMatchSearchboxThemeName, |
| 6626 | flag_descriptions::kNtpRealboxMatchSearchboxThemeDescription, kOsDesktop, |
Marlon Facey | 4a2c207 | 2022-09-26 23:24:53 | [diff] [blame] | 6627 | FEATURE_VALUE_TYPE(ntp_features::kRealboxMatchSearchboxTheme)}, |
Marlon Facey | a00e2f9 | 2022-01-27 23:04:09 | [diff] [blame] | 6628 | |
Marlon Facey | 904d1244 | 2021-09-02 23:02:24 | [diff] [blame] | 6629 | {"ntp-realbox-pedals", flag_descriptions::kNtpRealboxPedalsName, |
| 6630 | flag_descriptions::kNtpRealboxPedalsDescription, kOsDesktop, |
| 6631 | FEATURE_VALUE_TYPE(omnibox::kNtpRealboxPedals)}, |
| 6632 | |
Marlon Facey | 94eac62a0 | 2021-12-15 01:16:37 | [diff] [blame] | 6633 | {"ntp-realbox-use-google-g-icon", |
| 6634 | flag_descriptions::kNtpRealboxUseGoogleGIconName, |
| 6635 | flag_descriptions::kNtpRealboxUseGoogleGIconDescription, kOsDesktop, |
| 6636 | FEATURE_VALUE_TYPE(ntp_features::kRealboxUseGoogleGIcon)}, |
Paul Adedeji | 1ed5300 | 2022-06-13 20:15:30 | [diff] [blame] | 6637 | |
John Lee | 07f68aa | 2023-05-19 21:32:58 | [diff] [blame] | 6638 | {"ntp-realbox-width-behavior", |
| 6639 | flag_descriptions::kNtpRealboxWidthBehaviorName, |
| 6640 | flag_descriptions::kNtpRealboxWidthBehaviorDescription, kOsDesktop, |
| 6641 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kRealboxWidthBehavior, |
| 6642 | kNtpRealboxWidthBehaviorVariations, |
| 6643 | "NtpRealboxWidthBehavior")}, |
| 6644 | |
Paul Adedeji | 1ed5300 | 2022-06-13 20:15:30 | [diff] [blame] | 6645 | {"ntp-safe-browsing-module", flag_descriptions::kNtpSafeBrowsingModuleName, |
| 6646 | flag_descriptions::kNtpSafeBrowsingModuleDescription, kOsDesktop, |
| 6647 | FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_features::kNtpSafeBrowsingModule, |
| 6648 | kNtpSafeBrowsingModuleVariations, |
| 6649 | "DesktopNtpModules")}, |
Yo Wakita | dcd3880 | 2022-10-12 17:27:07 | [diff] [blame] | 6650 | |
| 6651 | {"ntp-desktop-lens", flag_descriptions::kNtpDesktopLensName, |
| 6652 | flag_descriptions::kNtpDesktopLensDescription, kOsDesktop, |
| 6653 | FEATURE_VALUE_TYPE(ntp_features::kNtpRealboxLensSearch)}, |
| 6654 | |
Zhiyuan Cai | 01e3882f | 2023-05-12 22:22:14 | [diff] [blame] | 6655 | {"price-insights", commerce::flag_descriptions::kPriceInsightsName, |
| 6656 | commerce::flag_descriptions::kPriceInsightsDescription, kOsDesktop, |
| 6657 | FEATURE_VALUE_TYPE(commerce::kPriceInsights)}, |
| 6658 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6659 | #endif // !BUILDFLAG(IS_ANDROID) |
Chris Pickel | 3a227ae6 | 2017-08-24 10:47:26 | [diff] [blame] | 6660 | |
Sam Zackrisson | b49345a | 2022-03-25 11:15:04 | [diff] [blame] | 6661 | #if BUILDFLAG(CHROME_WIDE_ECHO_CANCELLATION) |
| 6662 | {"chrome-wide-echo-cancellation", |
| 6663 | flag_descriptions::kChromeWideEchoCancellationName, |
Sam Zackrisson | e819494 | 2022-04-06 16:30:06 | [diff] [blame] | 6664 | flag_descriptions::kChromeWideEchoCancellationDescription, |
Pengchao Cai | e07a801d | 2022-09-01 18:28:43 | [diff] [blame] | 6665 | kOsMac | kOsWin | kOsLinux, |
Sam Zackrisson | b49345a | 2022-03-25 11:15:04 | [diff] [blame] | 6666 | FEATURE_VALUE_TYPE(media::kChromeWideEchoCancellation)}, |
| 6667 | #endif // BUILDFLAG(CHROME_WIDE_ECHO_CANCELLATION) |
| 6668 | |
Wez | 02cedeba | 2022-07-26 12:48:38 | [diff] [blame] | 6669 | #if BUILDFLAG(DCHECK_IS_CONFIGURABLE) |
Wez | a6ca5b9 | 2018-03-23 19:03:07 | [diff] [blame] | 6670 | {"dcheck-is-fatal", flag_descriptions::kDcheckIsFatalName, |
| 6671 | flag_descriptions::kDcheckIsFatalDescription, kOsWin, |
| 6672 | FEATURE_VALUE_TYPE(base::kDCheckIsFatalFeature)}, |
Wez | 02cedeba | 2022-07-26 12:48:38 | [diff] [blame] | 6673 | #endif // BUILDFLAG(DCHECK_IS_CONFIGURABLE) |
Wez | 6656c57 | 2017-08-29 22:29:58 | [diff] [blame] | 6674 | |
F#m | 59d036e | 2017-09-13 07:22:17 | [diff] [blame] | 6675 | {"enable-pixel-canvas-recording", |
| 6676 | flag_descriptions::kEnablePixelCanvasRecordingName, |
Bret Sepulveda | 4dccec9 | 2018-03-31 00:02:24 | [diff] [blame] | 6677 | flag_descriptions::kEnablePixelCanvasRecordingDescription, kOsDesktop, |
F#m | 59d036e | 2017-09-13 07:22:17 | [diff] [blame] | 6678 | FEATURE_VALUE_TYPE(features::kEnablePixelCanvasRecording)}, |
Sammie Quon | ef6b488 | 2017-09-14 16:50:05 | [diff] [blame] | 6679 | |
Xing Liu | 5400a00 | 2017-09-15 21:48:29 | [diff] [blame] | 6680 | {"enable-parallel-downloading", flag_descriptions::kParallelDownloadingName, |
| 6681 | flag_descriptions::kParallelDownloadingDescription, kOsAll, |
Min Qin | d461ee46 | 2018-03-09 19:39:15 | [diff] [blame] | 6682 | FEATURE_VALUE_TYPE(download::features::kParallelDownloading)}, |
Xing Liu | 5400a00 | 2017-09-15 21:48:29 | [diff] [blame] | 6683 | |
David Benjamin | 371481f | 2022-06-15 15:57:40 | [diff] [blame] | 6684 | #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
Miriam Gershenson | 8cf139722 | 2018-01-23 22:48:29 | [diff] [blame] | 6685 | {"enable-async-dns", flag_descriptions::kAsyncDnsName, |
David Benjamin | 371481f | 2022-06-15 15:57:40 | [diff] [blame] | 6686 | flag_descriptions::kAsyncDnsDescription, kOsWin | kOsLinux, |
Miriam Gershenson | 8cf139722 | 2018-01-23 22:48:29 | [diff] [blame] | 6687 | FEATURE_VALUE_TYPE(features::kAsyncDns)}, |
David Benjamin | 371481f | 2022-06-15 15:57:40 | [diff] [blame] | 6688 | #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
Miriam Gershenson | 8cf139722 | 2018-01-23 22:48:29 | [diff] [blame] | 6689 | |
Shakti Sahu | 5a046f6 | 2019-03-12 19:25:34 | [diff] [blame] | 6690 | {"enable-new-download-backend", |
| 6691 | flag_descriptions::kEnableNewDownloadBackendName, |
| 6692 | flag_descriptions::kEnableNewDownloadBackendDescription, kOsAll, |
| 6693 | FEATURE_VALUE_TYPE( |
| 6694 | download::features::kUseDownloadOfflineContentProvider)}, |
| 6695 | |
Xing Liu | a8d6b27 | 2021-11-11 00:02:16 | [diff] [blame] | 6696 | {"download-range", flag_descriptions::kDownloadRangeName, |
| 6697 | flag_descriptions::kDownloadRangeDescription, kOsAll, |
| 6698 | FEATURE_VALUE_TYPE(download::features::kDownloadRange)}, |
| 6699 | |
Charles Meng | b48a56c | 2023-06-26 17:20:07 | [diff] [blame] | 6700 | {"tab-hover-card-image-settings", |
| 6701 | flag_descriptions::kTabHoverCardImageSettingsName, |
| 6702 | flag_descriptions::kTabHoverCardImageSettingsDescription, kOsDesktop, |
| 6703 | FEATURE_VALUE_TYPE(features::kTabHoverCardImageSettings)}, |
| 6704 | |
Eshwar Stalin | f1bb82c | 2023-05-16 17:12:42 | [diff] [blame] | 6705 | {"tab-hover-card-images", flag_descriptions::kTabHoverCardImagesName, |
| 6706 | flag_descriptions::kTabHoverCardImagesDescription, kOsDesktop, |
| 6707 | FEATURE_VALUE_TYPE(features::kTabHoverCardImages)}, |
| 6708 | |
Lexi Stavrakos | 094fd64 | 2020-06-17 23:26:43 | [diff] [blame] | 6709 | {"enable-storage-pressure-event", |
| 6710 | flag_descriptions::kStoragePressureEventName, |
| 6711 | flag_descriptions::kStoragePressureEventDescription, kOsAll, |
Lexi Stavrakos | d9e64e1 | 2020-07-21 21:52:10 | [diff] [blame] | 6712 | FEATURE_VALUE_TYPE(storage::features::kStoragePressureEvent)}, |
Lexi Stavrakos | 094fd64 | 2020-06-17 23:26:43 | [diff] [blame] | 6713 | |
Bernhard Bauer | 5533f991 | 2017-11-06 17:56:02 | [diff] [blame] | 6714 | {"enable-network-logging-to-file", |
| 6715 | flag_descriptions::kEnableNetworkLoggingToFileName, |
| 6716 | flag_descriptions::kEnableNetworkLoggingToFileDescription, kOsAll, |
John Abd-El-Malek | 91243b3 | 2018-01-19 06:08:33 | [diff] [blame] | 6717 | SINGLE_VALUE_TYPE(network::switches::kLogNetLog)}, |
Becca Hughes | 59c05b4 | 2017-11-03 13:11:58 | [diff] [blame] | 6718 | |
Martin Kreichgauer | 4c607076 | 2022-03-29 16:27:22 | [diff] [blame] | 6719 | #if !BUILDFLAG(IS_ANDROID) |
| 6720 | {"web-authentication-permit-enterprise-attestation", |
| 6721 | flag_descriptions::kWebAuthenticationPermitEnterpriseAttestationName, |
| 6722 | flag_descriptions:: |
| 6723 | kWebAuthenticationPermitEnterpriseAttestationDescription, |
| 6724 | kOsAll, |
| 6725 | ORIGIN_LIST_VALUE_TYPE( |
| 6726 | webauthn::switches::kPermitEnterpriseAttestationOriginList, |
| 6727 | "")}, |
| 6728 | #endif |
| 6729 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 6730 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Yicheng Li | 0a78f46 | 2020-08-14 00:08:12 | [diff] [blame] | 6731 | {"enable-web-authentication-chromeos-authenticator", |
| 6732 | flag_descriptions::kEnableWebAuthenticationChromeOSAuthenticatorName, |
| 6733 | flag_descriptions:: |
| 6734 | kEnableWebAuthenticationChromeOSAuthenticatorDescription, |
| 6735 | kOsCrOS, FEATURE_VALUE_TYPE(device::kWebAuthCrosPlatformAuthenticator)}, |
| 6736 | #endif |
Piotr Bialecki | 0fe1463 | 2022-03-09 00:49:24 | [diff] [blame] | 6737 | |
| 6738 | { |
| 6739 | "zero-copy-tab-capture", |
| 6740 | flag_descriptions::kEnableZeroCopyTabCaptureName, |
| 6741 | flag_descriptions::kEnableZeroCopyTabCaptureDescription, |
Hirokazu Honda | db4e35a4 | 2023-02-07 01:30:16 | [diff] [blame] | 6742 | kOsMac | kOsWin | kOsCrOS, |
Piotr Bialecki | 0fe1463 | 2022-03-09 00:49:24 | [diff] [blame] | 6743 | FEATURE_VALUE_TYPE(blink::features::kZeroCopyTabCapture), |
| 6744 | }, |
| 6745 | |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 6746 | #if BUILDFLAG(ENABLE_PDF) |
Ankit Kumar 🌪️ | cc71c02a | 2020-08-06 03:44:30 | [diff] [blame] | 6747 | {"accessible-pdf-form", flag_descriptions::kAccessiblePDFFormName, |
| 6748 | flag_descriptions::kAccessiblePDFFormDescription, kOsDesktop, |
| 6749 | FEATURE_VALUE_TYPE(chrome_pdf::features::kAccessiblePDFForm)}, |
Hui Yingst | 058c2370 | 2022-11-06 18:59:22 | [diff] [blame] | 6750 | |
| 6751 | {"pdf-use-skia-renderer", flag_descriptions::kPdfUseSkiaRendererName, |
| 6752 | flag_descriptions::kPdfUseSkiaRendererDescription, kOsDesktop, |
| 6753 | FEATURE_VALUE_TYPE(chrome_pdf::features::kPdfUseSkiaRenderer)}, |
Lei Zhang | fc8ec94 | 2018-11-17 02:53:36 | [diff] [blame] | 6754 | #endif // BUILDFLAG(ENABLE_PDF) |
Lei Zhang | 802201c | 2018-11-14 18:16:28 | [diff] [blame] | 6755 | |
Wei Li | 189867e | 2018-04-28 03:07:04 | [diff] [blame] | 6756 | #if BUILDFLAG(ENABLE_PRINTING) |
Bryan Cain | d277a9f | 2023-06-23 20:37:02 | [diff] [blame] | 6757 | #if BUILDFLAG(IS_CHROMEOS) |
| 6758 | {"enable-borderless-printing", |
| 6759 | flag_descriptions::kEnableBorderlessPrintingName, |
| 6760 | flag_descriptions::kEnableBorderlessPrintingDescription, |
| 6761 | kOsCrOS | kOsLacros, |
| 6762 | FEATURE_VALUE_TYPE(printing::features::kEnableBorderlessPrinting)}, |
| 6763 | #endif // BUILDFLAG(IS_CHROMEOS) |
| 6764 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6765 | #if BUILDFLAG(IS_MAC) |
Daniel Hosseinian | 159cb3d | 2020-03-13 03:02:02 | [diff] [blame] | 6766 | {"cups-ipp-printing-backend", |
| 6767 | flag_descriptions::kCupsIppPrintingBackendName, |
| 6768 | flag_descriptions::kCupsIppPrintingBackendDescription, kOsMac, |
| 6769 | FEATURE_VALUE_TYPE(printing::features::kCupsIppPrintingBackend)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6770 | #endif // BUILDFLAG(IS_MAC) |
Daniel Hosseinian | 159cb3d | 2020-03-13 03:02:02 | [diff] [blame] | 6771 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6772 | #if BUILDFLAG(IS_WIN) |
Lei Zhang | 1419cab | 2021-09-09 17:04:44 | [diff] [blame] | 6773 | {"print-with-postscript-type42-fonts", |
| 6774 | flag_descriptions::kPrintWithPostScriptType42FontsName, |
| 6775 | flag_descriptions::kPrintWithPostScriptType42FontsDescription, kOsWin, |
| 6776 | FEATURE_VALUE_TYPE(printing::features::kPrintWithPostScriptType42Fonts)}, |
| 6777 | |
Lei Zhang | a6a8a49 | 2020-05-14 03:55:03 | [diff] [blame] | 6778 | {"print-with-reduced-rasterization", |
| 6779 | flag_descriptions::kPrintWithReducedRasterizationName, |
| 6780 | flag_descriptions::kPrintWithReducedRasterizationDescription, kOsWin, |
| 6781 | FEATURE_VALUE_TYPE(printing::features::kPrintWithReducedRasterization)}, |
| 6782 | |
Cuc Doan | 074d8ed | 2022-03-14 22:03:34 | [diff] [blame] | 6783 | {"read-printer-capabilities-with-xps", |
| 6784 | flag_descriptions::kReadPrinterCapabilitiesWithXpsName, |
| 6785 | flag_descriptions::kReadPrinterCapabilitiesWithXpsDescription, kOsWin, |
| 6786 | FEATURE_VALUE_TYPE(printing::features::kReadPrinterCapabilitiesWithXps)}, |
| 6787 | |
Alan Screen | 574ffd66 | 2019-11-21 22:38:53 | [diff] [blame] | 6788 | {"use-xps-for-printing", flag_descriptions::kUseXpsForPrintingName, |
| 6789 | flag_descriptions::kUseXpsForPrintingDescription, kOsWin, |
| 6790 | FEATURE_VALUE_TYPE(printing::features::kUseXpsForPrinting)}, |
Alan Screen | 4938811 | 2019-12-13 23:34:21 | [diff] [blame] | 6791 | |
| 6792 | {"use-xps-for-printing-from-pdf", |
| 6793 | flag_descriptions::kUseXpsForPrintingFromPdfName, |
| 6794 | flag_descriptions::kUseXpsForPrintingFromPdfDescription, kOsWin, |
| 6795 | FEATURE_VALUE_TYPE(printing::features::kUseXpsForPrintingFromPdf)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6796 | #endif // BUILDFLAG(IS_WIN) |
Hesen Zhang | eb01d40 | 2019-12-16 23:15:39 | [diff] [blame] | 6797 | #endif // BUILDFLAG(ENABLE_PRINTING) |
Wei Li | 790e7a857 | 2018-03-23 01:31:55 | [diff] [blame] | 6798 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6799 | #if BUILDFLAG(IS_WIN) |
Qiaofei Ye | beb9a23 | 2020-07-22 23:47:04 | [diff] [blame] | 6800 | {"enable-windows-gaming-input-data-fetcher", |
| 6801 | flag_descriptions::kEnableWindowsGamingInputDataFetcherName, |
| 6802 | flag_descriptions::kEnableWindowsGamingInputDataFetcherDescription, kOsWin, |
| 6803 | FEATURE_VALUE_TYPE(features::kEnableWindowsGamingInputDataFetcher)}, |
Jackson Loeffler | a6915ef | 2023-05-23 16:36:47 | [diff] [blame] | 6804 | |
| 6805 | {"windows11-mica-titlebar", flag_descriptions::kWindows11MicaTitlebarName, |
| 6806 | flag_descriptions::kWindows11MicaTitlebarDescription, kOsWin, |
| 6807 | FEATURE_VALUE_TYPE(kWindows11MicaTitlebar)}, |
Qiaofei Ye | beb9a23 | 2020-07-22 23:47:04 | [diff] [blame] | 6808 | #endif |
| 6809 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6810 | #if BUILDFLAG(IS_ANDROID) |
Mia Glaese | 57c6b19 | 2019-08-05 20:40:40 | [diff] [blame] | 6811 | {"enable-start-surface", flag_descriptions::kStartSurfaceAndroidName, |
| 6812 | flag_descriptions::kStartSurfaceAndroidDescription, kOsAndroid, |
| 6813 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kStartSurfaceAndroid, |
| 6814 | kStartSurfaceAndroidVariations, |
Mei Liang | e569c27 | 2020-03-06 02:41:59 | [diff] [blame] | 6815 | "ChromeStart")}, |
gogerald | 939debf | 2019-07-16 17:31:48 | [diff] [blame] | 6816 | |
Xi Han | 8e1b245 | 2022-05-26 15:43:16 | [diff] [blame] | 6817 | {"enable-feed-position-on-ntp", flag_descriptions::kFeedPositionAndroidName, |
| 6818 | flag_descriptions::kFeedPositionAndroidDescription, kOsAndroid, |
| 6819 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kFeedPositionAndroid, |
| 6820 | kFeedPositionAndroidVariations, |
| 6821 | "FeedPositionAndroid")}, |
| 6822 | |
Wei-Yin Chen (陳威尹) | 50c2f46 | 2020-05-14 07:27:42 | [diff] [blame] | 6823 | {"enable-instant-start", flag_descriptions::kInstantStartName, |
| 6824 | flag_descriptions::kInstantStartDescription, kOsAndroid, |
| 6825 | FEATURE_VALUE_TYPE(chrome::android::kInstantStart)}, |
| 6826 | |
spdonghao | 86345d5 | 2022-09-20 20:13:15 | [diff] [blame] | 6827 | {"enable-start-surface-disabled-feed-improvement", |
| 6828 | flag_descriptions::kStartSurfaceDisabledFeedImprovementName, |
| 6829 | flag_descriptions::kStartSurfaceDisabledFeedImprovementDescription, |
| 6830 | kOsAndroid, |
| 6831 | FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceDisabledFeedImprovement)}, |
| 6832 | |
spdonghao | 921dbdf4 | 2022-07-12 19:02:34 | [diff] [blame] | 6833 | {"enable-start-surface-refactor", |
| 6834 | flag_descriptions::kStartSurfaceRefactorName, |
| 6835 | flag_descriptions::kStartSurfaceRefactorDescription, kOsAndroid, |
| 6836 | FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceRefactor)}, |
| 6837 | |
Xinyi Ji | 411f38f | 2023-02-10 23:32:50 | [diff] [blame] | 6838 | {"enable-start-surface-on-tablet", |
| 6839 | flag_descriptions::kStartSurfaceOnTabletName, |
| 6840 | flag_descriptions::kStartSurfaceOnTabletDescription, kOsAndroid, |
| 6841 | FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceOnTablet)}, |
| 6842 | |
Sreeja Kamishetty | 0ecfb560 | 2023-05-02 16:20:52 | [diff] [blame] | 6843 | {"enable-start-surface-spare-tab", |
| 6844 | flag_descriptions::kStartSurfaceSpareTabName, |
| 6845 | flag_descriptions::kStartSurfaceSpareTabDescription, kOsAndroid, |
| 6846 | FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceSpareTab)}, |
| 6847 | |
Xinyi Ji | e328943 | 2023-03-08 20:42:22 | [diff] [blame] | 6848 | {"enable-start-surface-with-accessibility", |
| 6849 | flag_descriptions::kStartSurfaceWithAccessibilityName, |
| 6850 | flag_descriptions::kStartSurfaceWithAccessibilityDescription, kOsAndroid, |
| 6851 | FEATURE_VALUE_TYPE(chrome::android::kStartSurfaceWithAccessibility)}, |
| 6852 | |
Xinyi Ji | 55e1c77db | 2023-05-29 19:22:22 | [diff] [blame] | 6853 | {"enable-surface-polish", flag_descriptions::kSurfacePolishName, |
| 6854 | flag_descriptions::kSurfacePolishDescription, kOsAndroid, |
Xinyi Ji | 1f663ab | 2023-06-12 18:27:20 | [diff] [blame] | 6855 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kSurfacePolish, |
| 6856 | kSurfacePolishVariations, |
| 6857 | "SurfacePolish")}, |
Xinyi Ji | 55e1c77db | 2023-05-29 19:22:22 | [diff] [blame] | 6858 | |
spdonghao | e4b5124 | 2022-03-14 23:06:18 | [diff] [blame] | 6859 | {"enable-show-scrollable-mvt-on-ntp", |
| 6860 | flag_descriptions::kShowScrollableMVTOnNTPAndroidName, |
| 6861 | flag_descriptions::kShowScrollableMVTOnNTPAndroidDescription, kOsAndroid, |
| 6862 | FEATURE_VALUE_TYPE(chrome::android::kShowScrollableMVTOnNTPAndroid)}, |
| 6863 | |
Xi Han | fe309c0 | 2022-06-07 16:57:26 | [diff] [blame] | 6864 | {"enable-search-resumption-module", |
| 6865 | flag_descriptions::kSearchResumptionModuleAndroidName, |
| 6866 | flag_descriptions::kSearchResumptionModuleAndroidDescription, kOsAndroid, |
Xi Han | 502b089 | 2022-07-06 18:22:16 | [diff] [blame] | 6867 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6868 | chrome::android::kSearchResumptionModuleAndroid, |
| 6869 | kSearchResumptionModuleAndroidVariations, |
| 6870 | "kSearchResumptionModuleAndroid")}, |
Xi Han | fe309c0 | 2022-06-07 16:57:26 | [diff] [blame] | 6871 | |
David Maunder | 915c7ef | 2019-09-20 16:22:08 | [diff] [blame] | 6872 | {"enable-close-tab-suggestions", |
| 6873 | flag_descriptions::kCloseTabSuggestionsName, |
| 6874 | flag_descriptions::kCloseTabSuggestionsDescription, kOsAndroid, |
| 6875 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCloseTabSuggestions, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 6876 | kCloseTabSuggestionsStaleVariations, |
David Maunder | 915c7ef | 2019-09-20 16:22:08 | [diff] [blame] | 6877 | "CloseSuggestionsTab")}, |
David Maunder | c1dfc02 | 2019-08-27 18:00:37 | [diff] [blame] | 6878 | |
David Maunder | 8cf7fd8 | 2020-08-20 19:31:54 | [diff] [blame] | 6879 | {"enable-critical-persisted-tab-data", |
| 6880 | flag_descriptions::kCriticalPersistedTabDataName, |
| 6881 | flag_descriptions::kCriticalPersistedTabDataDescription, kOsAndroid, |
David Maunder | 19af778b | 2022-08-17 15:10:42 | [diff] [blame] | 6882 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCriticalPersistedTabData, |
| 6883 | kCriticalPersistedTabDataVariations, |
| 6884 | "CriticalPersistedTabData")}, |
David Maunder | 8cf7fd8 | 2020-08-20 19:31:54 | [diff] [blame] | 6885 | |
Patrick Noland | fa5abf9 | 2022-02-02 20:26:13 | [diff] [blame] | 6886 | {"suppress-toolbar-captures", |
| 6887 | flag_descriptions::kSuppressToolbarCapturesName, |
| 6888 | flag_descriptions::kSuppressToolbarCapturesDescription, kOsAndroid, |
| 6889 | FEATURE_VALUE_TYPE(chrome::android::kSuppressToolbarCaptures)}, |
| 6890 | |
Yusuf Ozuysal | 67f05a0 | 2019-02-15 19:30:52 | [diff] [blame] | 6891 | {"enable-tab-grid-layout", flag_descriptions::kTabGridLayoutAndroidName, |
| 6892 | flag_descriptions::kTabGridLayoutAndroidDescription, kOsAndroid, |
Yue Zhang | d7013b53 | 2019-06-20 00:06:22 | [diff] [blame] | 6893 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabGridLayoutAndroid, |
| 6894 | kTabGridLayoutAndroidVariations, |
| 6895 | "TabGridLayoutAndroid")}, |
Yusuf Ozuysal | 436d90b8 | 2019-03-15 22:17:58 | [diff] [blame] | 6896 | |
Ayman Almadhoun | 5a72fa74 | 2021-04-28 05:49:15 | [diff] [blame] | 6897 | {"enable-commerce-merchant-viewer", |
| 6898 | flag_descriptions::kCommerceMerchantViewerAndroidName, |
| 6899 | flag_descriptions::kCommerceMerchantViewerAndroidDescription, kOsAndroid, |
Zhiyuan Cai | 7a67fff | 2021-06-18 21:35:53 | [diff] [blame] | 6900 | FEATURE_VALUE_TYPE(commerce::kCommerceMerchantViewer)}, |
| 6901 | |
| 6902 | {"enable-commerce-price-tracking", |
Matt Jones | 125dfb4 | 2022-02-11 17:23:42 | [diff] [blame] | 6903 | commerce::flag_descriptions::kCommercePriceTrackingName, |
| 6904 | commerce::flag_descriptions::kCommercePriceTrackingDescription, kOsAndroid, |
| 6905 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6906 | commerce::kCommercePriceTracking, |
| 6907 | commerce::kCommercePriceTrackingAndroidVariations, |
| 6908 | "CommercePriceTracking")}, |
Ayman Almadhoun | 5a72fa74 | 2021-04-28 05:49:15 | [diff] [blame] | 6909 | |
Yue Zhang | e561010 | 2019-11-01 19:46:39 | [diff] [blame] | 6910 | {"enable-tab-groups-continuation", |
| 6911 | flag_descriptions::kTabGroupsContinuationAndroidName, |
| 6912 | flag_descriptions::kTabGroupsContinuationAndroidDescription, kOsAndroid, |
Calder Kitagawa | 42d2489 | 2023-03-14 18:25:43 | [diff] [blame] | 6913 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 6914 | chrome::android::kTabGroupsContinuationAndroid, |
| 6915 | kTabGroupsContinuationAndroidVariations, |
| 6916 | "TabGroupsContinuationAndroid")}, |
Yue Zhang | e561010 | 2019-11-01 19:46:39 | [diff] [blame] | 6917 | |
Xi Han | 3dec578 | 2022-10-26 20:23:19 | [diff] [blame] | 6918 | {"enable-start-surface-return-time", |
| 6919 | flag_descriptions::kStartSurfaceReturnTimeName, |
| 6920 | flag_descriptions::kStartSurfaceReturnTimeDescription, kOsAndroid, |
| 6921 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kStartSurfaceReturnTime, |
| 6922 | kStartSurfaceReturnTimeVariations, |
| 6923 | "StartSurfaceReturnTime")}, |
Wei-Yin Chen (陳威尹) | 10222249 | 2019-05-22 19:27:09 | [diff] [blame] | 6924 | |
Ranjith Kagathi Ananda | d13a1a7 | 2023-05-20 00:28:30 | [diff] [blame] | 6925 | {"tab-drag-drop", flag_descriptions::kTabDragDropName, |
| 6926 | flag_descriptions::kTabDragDropDescription, kOsAndroid, |
| 6927 | FEATURE_VALUE_TYPE(chrome::android::kTabDragDropAndroid)}, |
| 6928 | |
Matt Simmons | 1fd0c9f | 2019-04-15 19:08:22 | [diff] [blame] | 6929 | {"enable-tab-engagement-reporting", |
| 6930 | flag_descriptions::kTabEngagementReportingName, |
| 6931 | flag_descriptions::kTabEngagementReportingDescription, kOsAndroid, |
| 6932 | FEATURE_VALUE_TYPE(chrome::android::kTabEngagementReportingAndroid)}, |
Yue Zhang | e9e90c5a | 2019-11-26 21:44:03 | [diff] [blame] | 6933 | |
Sirisha Kavuluru | 263350ba | 2022-09-08 21:40:21 | [diff] [blame] | 6934 | {"enable-discover-multi-column", |
| 6935 | flag_descriptions::kDiscoverFeedMultiColumnAndroidName, |
| 6936 | flag_descriptions::kDiscoverFeedMultiColumnAndroidDescription, kOsAndroid, |
| 6937 | FEATURE_VALUE_TYPE(chrome::android::kDiscoverFeedMultiColumn)}, |
| 6938 | |
Zhe Li | 5d302c8 | 2022-10-12 16:56:54 | [diff] [blame] | 6939 | {"enable-tab-strip-redesign", |
| 6940 | flag_descriptions::kTabStripRedesignAndroidName, |
| 6941 | flag_descriptions::kTabStripRedesignAndroidDescription, kOsAndroid, |
Zhe Li | b99a5faa6 | 2022-10-14 22:57:44 | [diff] [blame] | 6942 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabStripRedesign, |
| 6943 | kTabStripRedesignVariations, |
| 6944 | "TabStripRedesignAndroid")}, |
Zhe Li | 5d302c8 | 2022-10-12 16:56:54 | [diff] [blame] | 6945 | |
Zhe Li | dbe38d1 | 2023-05-17 23:55:52 | [diff] [blame] | 6946 | {"enable-tablet-toolbar-reordering", |
| 6947 | flag_descriptions::kTabletToolbarReorderingAndroidName, |
| 6948 | flag_descriptions::kTabletToolbarReorderingAndroidDescription, kOsAndroid, |
| 6949 | FEATURE_VALUE_TYPE(chrome::android::kTabletToolbarReordering)}, |
| 6950 | |
Zhe Li | 6ed8d9c | 2023-04-14 18:24:21 | [diff] [blame] | 6951 | {"enable-empty-states", flag_descriptions::kEmptyStatesAndroidName, |
| 6952 | flag_descriptions::kEmptyStatesAndroidDescription, kOsAndroid, |
| 6953 | FEATURE_VALUE_TYPE(chrome::android::kEmptyStates)}, |
| 6954 | |
Sirisha Kavuluru | e968d50 | 2022-10-27 19:37:40 | [diff] [blame] | 6955 | {"enable-foldable-jank-fix", flag_descriptions::kFoldableJankFixAndroidName, |
| 6956 | flag_descriptions::kFoldableJankFixAndroidDescription, kOsAndroid, |
Sirisha Kavuluru | 22e7a20 | 2022-10-31 21:06:01 | [diff] [blame] | 6957 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kFoldableJankFix, |
| 6958 | kFoldableJankFixDelayVariations, |
| 6959 | "FoldableJankFix")}, |
Neil Coronado | 97e13551 | 2023-01-11 20:21:09 | [diff] [blame] | 6960 | |
Neil Coronado | 6a12ed8 | 2023-05-11 23:59:00 | [diff] [blame] | 6961 | {"enable-tab-strip-startup-refactoring", |
| 6962 | flag_descriptions::kTabStripStartupRefactoringName, |
| 6963 | flag_descriptions::kTabStripStartupRefactoringDescription, kOsAndroid, |
| 6964 | FEATURE_VALUE_TYPE(chrome::android::kTabStripStartupRefactoring)}, |
| 6965 | |
Neil Coronado | 97e13551 | 2023-01-11 20:21:09 | [diff] [blame] | 6966 | {"enable-baseline-gm3-surface-colors", |
| 6967 | flag_descriptions::kBaselineGM3SurfaceColorsName, |
| 6968 | flag_descriptions::kBaselineGM3SurfaceColorsDescription, kOsAndroid, |
| 6969 | FEATURE_VALUE_TYPE(chrome::android::kBaselineGM3SurfaceColors)}, |
Neil Coronado | 2817694 | 2023-05-01 23:17:45 | [diff] [blame] | 6970 | |
| 6971 | {"enable-delay-temp-strip-removal", |
| 6972 | flag_descriptions::kDelayTempStripRemovalName, |
| 6973 | flag_descriptions::kDelayTempStripRemovalDescription, kOsAndroid, |
| 6974 | FEATURE_VALUE_TYPE(chrome::android::kDelayTempStripRemoval)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6975 | #endif // BUILDFLAG(IS_ANDROID) |
Matt Simmons | 2048b2a | 2018-12-20 20:12:56 | [diff] [blame] | 6976 | |
Mustafa Emre Acer | b3aa36a8 | 2018-05-22 21:44:05 | [diff] [blame] | 6977 | {"unsafely-treat-insecure-origin-as-secure", |
| 6978 | flag_descriptions::kTreatInsecureOriginAsSecureName, |
Elly Fong-Jones | 94fc863 | 2019-08-14 18:23:03 | [diff] [blame] | 6979 | flag_descriptions::kTreatInsecureOriginAsSecureDescription, kOsAll, |
Lukasz Anforowicz | 9527fd4 | 2019-03-13 19:08:50 | [diff] [blame] | 6980 | ORIGIN_LIST_VALUE_TYPE( |
| 6981 | network::switches::kUnsafelyTreatInsecureOriginAsSecure, |
| 6982 | "")}, |
Adam Rice | c786ad8a | 2018-05-22 09:49:15 | [diff] [blame] | 6983 | |
Sharon Yang | f390ea9 | 2021-06-23 19:55:40 | [diff] [blame] | 6984 | {"disable-process-reuse", flag_descriptions::kDisableProcessReuse, |
| 6985 | flag_descriptions::kDisableProcessReuseDescription, kOsDesktop, |
| 6986 | FEATURE_VALUE_TYPE(features::kDisableProcessReuse)}, |
| 6987 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 6988 | #if !BUILDFLAG(IS_ANDROID) |
evliu | 467c11b8 | 2020-11-17 01:29:30 | [diff] [blame] | 6989 | {"enable-accessibility-live-caption", |
| 6990 | flag_descriptions::kEnableAccessibilityLiveCaptionName, |
Mark Schillaci | 7a5cf4f | 2022-02-10 17:12:03 | [diff] [blame] | 6991 | flag_descriptions::kEnableAccessibilityLiveCaptionDescription, kOsDesktop, |
Katie D | f558c1a | 2020-04-21 20:33:59 | [diff] [blame] | 6992 | FEATURE_VALUE_TYPE(media::kLiveCaption)}, |
Irem Uguz | a8473792 | 2022-05-19 09:37:15 | [diff] [blame] | 6993 | |
Abigail Klein | cef6948 | 2023-01-24 22:14:37 | [diff] [blame] | 6994 | {"read-anything", flag_descriptions::kReadAnythingName, |
| 6995 | flag_descriptions::kReadAnythingDescription, kOsDesktop, |
| 6996 | FEATURE_VALUE_TYPE(features::kReadAnything)}, |
| 6997 | |
| 6998 | {"read-anything-with-screen2x", |
| 6999 | flag_descriptions::kReadAnythingWithScreen2xName, |
| 7000 | flag_descriptions::kReadAnythingWithScreen2xDescription, kOsDesktop, |
| 7001 | FEATURE_VALUE_TYPE(features::kReadAnythingWithScreen2x)}, |
| 7002 | |
Irem Uguz | a8473792 | 2022-05-19 09:37:15 | [diff] [blame] | 7003 | {"support-tool", flag_descriptions::kSupportTool, |
| 7004 | flag_descriptions::kSupportToolDescription, kOsDesktop, |
| 7005 | FEATURE_VALUE_TYPE(features::kSupportTool)}, |
Yumin Su | 90c764de | 2022-09-28 19:56:15 | [diff] [blame] | 7006 | |
Irem Uguz | 1eca9621 | 2023-04-24 14:04:15 | [diff] [blame] | 7007 | {"support-tool-copy-token-button", |
| 7008 | flag_descriptions::kSupportToolCopyTokenButton, |
| 7009 | flag_descriptions::kSupportToolCopyTokenButtonDescription, kOsDesktop, |
| 7010 | FEATURE_VALUE_TYPE(features::kSupportToolCopyTokenButton)}, |
| 7011 | |
Yumin Su | 90c764de | 2022-09-28 19:56:15 | [diff] [blame] | 7012 | {"support-tool-screenshot", flag_descriptions::kSupportToolScreenshot, |
| 7013 | flag_descriptions::kSupportToolScreenshotDescription, kOsDesktop, |
| 7014 | FEATURE_VALUE_TYPE(features::kSupportToolScreenshot)}, |
Mark Schillaci | 402301cb | 2022-02-02 18:36:37 | [diff] [blame] | 7015 | #endif // !BUILDFLAG(IS_ANDROID) |
Abigail Klein | e0103297 | 2021-11-02 21:50:20 | [diff] [blame] | 7016 | |
| 7017 | {"enable-auto-disable-accessibility", |
| 7018 | flag_descriptions::kEnableAutoDisableAccessibilityName, |
Mark Schillaci | 7a5cf4f | 2022-02-10 17:12:03 | [diff] [blame] | 7019 | flag_descriptions::kEnableAutoDisableAccessibilityDescription, kOsAll, |
Abigail Klein | e0103297 | 2021-11-02 21:50:20 | [diff] [blame] | 7020 | FEATURE_VALUE_TYPE(features::kAutoDisableAccessibility)}, |
Katie D | f558c1a | 2020-04-21 20:33:59 | [diff] [blame] | 7021 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7022 | #if BUILDFLAG(IS_ANDROID) |
Jack Lynch | ef0bac5 | 2022-11-01 21:22:18 | [diff] [blame] | 7023 | {"enable-auto-disable-accessibility-v2", |
| 7024 | flag_descriptions::kEnableAutoDisableAccessibilityV2Name, |
| 7025 | flag_descriptions::kEnableAutoDisableAccessibilityV2Description, |
| 7026 | kOsAndroid, FEATURE_VALUE_TYPE(features::kAutoDisableAccessibilityV2)}, |
| 7027 | #endif |
| 7028 | |
| 7029 | #if BUILDFLAG(IS_ANDROID) |
Ramin Halavati | ba7ddcc | 2019-11-13 06:19:28 | [diff] [blame] | 7030 | {"cct-incognito", flag_descriptions::kCCTIncognitoName, |
| 7031 | flag_descriptions::kCCTIncognitoDescription, kOsAndroid, |
| 7032 | FEATURE_VALUE_TYPE(chrome::android::kCCTIncognito)}, |
Michael van Ouwerkerk | bda4ad8 | 2018-06-19 14:08:00 | [diff] [blame] | 7033 | #endif |
| 7034 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7035 | #if BUILDFLAG(IS_ANDROID) |
Rohit Agarwal | c397331 | 2020-11-18 14:40:23 | [diff] [blame] | 7036 | {"cct-incognito-available-to-third-party", |
| 7037 | flag_descriptions::kCCTIncognitoAvailableToThirdPartyName, |
| 7038 | flag_descriptions::kCCTIncognitoAvailableToThirdPartyDescription, |
| 7039 | kOsAndroid, |
| 7040 | FEATURE_VALUE_TYPE(chrome::android::kCCTIncognitoAvailableToThirdParty)}, |
| 7041 | #endif |
| 7042 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7043 | #if BUILDFLAG(IS_ANDROID) |
Jinsuk Kim | 9d04257 | 2023-05-16 03:31:34 | [diff] [blame] | 7044 | {"cct-page-insights-hub", flag_descriptions::kCCTPageInsightsHubName, |
| 7045 | flag_descriptions::kCCTPageInsightsHubDescription, kOsAndroid, |
| 7046 | FEATURE_VALUE_TYPE(chrome::android::kCCTPageInsightsHub)}, |
| 7047 | |
Shimi Zhang | dabb3c2 | 2021-09-16 22:10:25 | [diff] [blame] | 7048 | {"cct-resizable-90-maximum-height", |
| 7049 | flag_descriptions::kCCTResizable90MaximumHeightName, |
| 7050 | flag_descriptions::kCCTResizable90MaximumHeightDescription, kOsAndroid, |
| 7051 | FEATURE_VALUE_TYPE(chrome::android::kCCTResizable90MaximumHeight)}, |
Shimi Zhang | dabb3c2 | 2021-09-16 22:10:25 | [diff] [blame] | 7052 | {"cct-resizable-for-third-parties", |
| 7053 | flag_descriptions::kCCTResizableForThirdPartiesName, |
| 7054 | flag_descriptions::kCCTResizableForThirdPartiesDescription, kOsAndroid, |
Jinsuk Kim | 6fdac924 | 2022-01-26 21:58:00 | [diff] [blame] | 7055 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 7056 | chrome::android::kCCTResizableForThirdParties, |
| 7057 | kCCTResizableThirdPartiesDefaultPolicyVariations, |
| 7058 | "CCTResizableThirdPartiesDefaultPolicy")}, |
Kevin Grosu | 617332a | 2022-11-22 23:24:55 | [diff] [blame] | 7059 | {"cct-resizable-side-sheet", flag_descriptions::kCCTResizableSideSheetName, |
| 7060 | flag_descriptions::kCCTResizableSideSheetDescription, kOsAndroid, |
| 7061 | FEATURE_VALUE_TYPE(chrome::android::kCCTResizableSideSheet)}, |
Zach Katz | add35f1 | 2023-03-24 19:48:43 | [diff] [blame] | 7062 | {"cct-resizable-side-sheet-discover-feed-settings", |
| 7063 | flag_descriptions::kCCTResizableSideSheetDiscoverFeedSettingsName, |
| 7064 | flag_descriptions::kCCTResizableSideSheetDiscoverFeedSettingsDescription, |
| 7065 | kOsAndroid, |
| 7066 | FEATURE_VALUE_TYPE( |
| 7067 | chrome::android::kCCTResizableSideSheetDiscoverFeedSettings)}, |
Zach Katz | ec1cc2f | 2023-01-26 01:37:46 | [diff] [blame] | 7068 | {"cct-resizable-side-sheet-for-third-parties", |
| 7069 | flag_descriptions::kCCTResizableSideSheetForThirdPartiesName, |
| 7070 | flag_descriptions::kCCTResizableSideSheetForThirdPartiesDescription, |
| 7071 | kOsAndroid, |
| 7072 | FEATURE_VALUE_TYPE( |
| 7073 | chrome::android::kCCTResizableSideSheetForThirdParties)}, |
Zach Katz | dc587ef | 2022-10-28 18:35:26 | [diff] [blame] | 7074 | {"cct-retaining-state-in-memory", |
| 7075 | flag_descriptions::kCCTRetainingStateInMemoryName, |
| 7076 | flag_descriptions::kCCTRetainingStateInMemoryDescription, kOsAndroid, |
| 7077 | FEATURE_VALUE_TYPE(chrome::android::kCCTRetainingStateInMemory)}, |
Shimi Zhang | dabb3c2 | 2021-09-16 22:10:25 | [diff] [blame] | 7078 | #endif |
| 7079 | |
Sinan Sahin | c04b1c6 | 2022-07-01 18:14:02 | [diff] [blame] | 7080 | #if BUILDFLAG(IS_ANDROID) |
| 7081 | {"cct-real-time-engagement-signals", |
| 7082 | flag_descriptions::kCCTRealTimeEngagementSignalsName, |
| 7083 | flag_descriptions::kCCTRealTimeEngagementSignalsDescription, kOsAndroid, |
Sinan Sahin | ce2514f | 2022-12-01 02:51:33 | [diff] [blame] | 7084 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 7085 | chrome::android::kCCTRealTimeEngagementSignals, |
| 7086 | kCCTRealTimeEngagementSignalsVariations, |
| 7087 | "CCTRealTimeEngagementSignals")}, |
Sinan Sahin | d9fa5c5 | 2023-03-02 02:57:04 | [diff] [blame] | 7088 | {"cct-real-time-engagement-signals-alternative-impl", |
| 7089 | flag_descriptions::kCCTRealTimeEngagementSignalsAlternativeImplName, |
| 7090 | flag_descriptions::kCCTRealTimeEngagementSignalsAlternativeImplDescription, |
| 7091 | kOsAndroid, |
| 7092 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 7093 | chrome::android::kCCTRealTimeEngagementSignalsAlternativeImpl, |
| 7094 | kCCTRealTimeEngagementSignalsAlternativeImplVariations, |
| 7095 | "CCTRealTimeEngagementSignalsAlternativeImpl")}, |
Sinan Sahin | c04b1c6 | 2022-07-01 18:14:02 | [diff] [blame] | 7096 | #endif |
| 7097 | |
Wenyu Fu | f929f73 | 2022-07-08 19:48:47 | [diff] [blame] | 7098 | #if BUILDFLAG(IS_ANDROID) |
| 7099 | {"cct-brand-transparency", flag_descriptions::kCCTBrandTransparencyName, |
| 7100 | flag_descriptions::kCCTBrandTransparencyDescription, kOsAndroid, |
Wenyu Fu | abf67d47 | 2022-08-12 00:49:28 | [diff] [blame] | 7101 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCCTBrandTransparency, |
| 7102 | kCctBrandTransparencyVariations, |
| 7103 | "CCTBrandTransparency")}, |
Wenyu Fu | f929f73 | 2022-07-08 19:48:47 | [diff] [blame] | 7104 | #endif |
| 7105 | |
Eric Willigers | 02f80aa | 2022-04-29 01:29:32 | [diff] [blame] | 7106 | #if BUILDFLAG(IS_CHROMEOS) |
Per Åhgren | bbd35403 | 2022-02-18 17:12:17 | [diff] [blame] | 7107 | {"allow-dsp-based-aec", flag_descriptions::kCrOSDspBasedAecAllowedName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 7108 | flag_descriptions::kCrOSDspBasedAecAllowedDescription, kOsCrOS | kOsLacros, |
Lionel Koenig | c9ba57b | 2023-01-20 09:56:56 | [diff] [blame] | 7109 | FEATURE_VALUE_TYPE(media::kCrOSDspBasedAecAllowed)}, |
Per Åhgren | bbd35403 | 2022-02-18 17:12:17 | [diff] [blame] | 7110 | {"allow-dsp-based-ns", flag_descriptions::kCrOSDspBasedNsAllowedName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 7111 | flag_descriptions::kCrOSDspBasedNsAllowedDescription, kOsCrOS | kOsLacros, |
Lionel Koenig | c9ba57b | 2023-01-20 09:56:56 | [diff] [blame] | 7112 | FEATURE_VALUE_TYPE(media::kCrOSDspBasedNsAllowed)}, |
Per Åhgren | bbd35403 | 2022-02-18 17:12:17 | [diff] [blame] | 7113 | {"allow-dsp-based-agc", flag_descriptions::kCrOSDspBasedAgcAllowedName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 7114 | flag_descriptions::kCrOSDspBasedAgcAllowedDescription, kOsCrOS | kOsLacros, |
Lionel Koenig | c9ba57b | 2023-01-20 09:56:56 | [diff] [blame] | 7115 | FEATURE_VALUE_TYPE(media::kCrOSDspBasedAgcAllowed)}, |
Per Åhgren | d439e1e | 2021-05-16 13:49:55 | [diff] [blame] | 7116 | {"enforce-system-aec", flag_descriptions::kCrOSEnforceSystemAecName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 7117 | flag_descriptions::kCrOSEnforceSystemAecDescription, kOsCrOS | kOsLacros, |
Lionel Koenig | c9ba57b | 2023-01-20 09:56:56 | [diff] [blame] | 7118 | FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAec)}, |
Per Åhgren | d439e1e | 2021-05-16 13:49:55 | [diff] [blame] | 7119 | {"enforce-system-aec-agc", flag_descriptions::kCrOSEnforceSystemAecAgcName, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 7120 | flag_descriptions::kCrOSEnforceSystemAecAgcDescription, |
Joseph Kim | 03f9cda5 | 2023-01-23 05:25:21 | [diff] [blame] | 7121 | kOsCrOS | kOsLacros, FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAecAgc)}, |
Per Åhgren | d439e1e | 2021-05-16 13:49:55 | [diff] [blame] | 7122 | {"enforce-system-aec-ns-agc", |
| 7123 | flag_descriptions::kCrOSEnforceSystemAecNsAgcName, |
Hsin-Yu Chao | e46eb599 | 2022-03-18 13:34:27 | [diff] [blame] | 7124 | flag_descriptions::kCrOSEnforceSystemAecNsAgcDescription, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 7125 | kOsCrOS | kOsLacros, |
Lionel Koenig | c9ba57b | 2023-01-20 09:56:56 | [diff] [blame] | 7126 | FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAecNsAgc)}, |
Per Åhgren | d439e1e | 2021-05-16 13:49:55 | [diff] [blame] | 7127 | {"enforce-system-aec-ns", flag_descriptions::kCrOSEnforceSystemAecNsName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 7128 | flag_descriptions::kCrOSEnforceSystemAecNsDescription, kOsCrOS | kOsLacros, |
Lionel Koenig | c9ba57b | 2023-01-20 09:56:56 | [diff] [blame] | 7129 | FEATURE_VALUE_TYPE(media::kCrOSEnforceSystemAecNs)}, |
Per Åhgren | d439e1e | 2021-05-16 13:49:55 | [diff] [blame] | 7130 | #endif |
| 7131 | |
Eddy Hsu | 26abc1ce | 2023-05-31 01:00:58 | [diff] [blame] | 7132 | #if BUILDFLAG(IS_CHROMEOS) |
| 7133 | {"ignore-ui-gains", flag_descriptions::kIgnoreUiGainsName, |
| 7134 | flag_descriptions::kIgnoreUiGainsDescription, kOsCrOS | kOsLacros, |
| 7135 | FEATURE_VALUE_TYPE(media::kIgnoreUiGains)}, |
Eddy Hsu | 03885a0 | 2023-06-05 20:29:57 | [diff] [blame] | 7136 | {"show-force-respect-ui-gains-toggle", |
| 7137 | flag_descriptions::kShowForceRespectUiGainsToggleName, |
| 7138 | flag_descriptions::kShowForceRespectUiGainsToggleDescription, |
| 7139 | kOsCrOS | kOsLacros, |
| 7140 | FEATURE_VALUE_TYPE(media::kShowForceRespectUiGainsToggle)}, |
Eddy Hsu | 26abc1ce | 2023-05-31 01:00:58 | [diff] [blame] | 7141 | #endif |
| 7142 | |
Mehdi Kazemi | f155bc9 | 2021-11-22 18:35:52 | [diff] [blame] | 7143 | {"enable-css-selector-fragment-anchor", |
| 7144 | flag_descriptions::kEnableCssSelectorFragmentAnchorName, |
| 7145 | flag_descriptions::kEnableCssSelectorFragmentAnchorDescription, kOsAll, |
| 7146 | FEATURE_VALUE_TYPE(blink::features::kCssSelectorFragmentAnchor)}, |
| 7147 | |
Mehdi Kazemi | 4db00b9 | 2022-07-08 14:25:20 | [diff] [blame] | 7148 | {"drop-input-events-before-first-paint", |
| 7149 | flag_descriptions::kDropInputEventsBeforeFirstPaintName, |
| 7150 | flag_descriptions::kDropInputEventsBeforeFirstPaintDescription, kOsAll, |
| 7151 | FEATURE_VALUE_TYPE(blink::features::kDropInputEventsBeforeFirstPaint)}, |
| 7152 | |
Joao Victor Almeida | 371702c | 2021-01-08 18:41:56 | [diff] [blame] | 7153 | // Should only be available if kResamplingScrollEvents is on, and using |
| 7154 | // linear resampling. |
| 7155 | {"enable-resampling-scroll-events-experimental-prediction", |
| 7156 | flag_descriptions::kEnableResamplingScrollEventsExperimentalPredictionName, |
| 7157 | flag_descriptions:: |
| 7158 | kEnableResamplingScrollEventsExperimentalPredictionDescription, |
| 7159 | kOsAll, |
| 7160 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 7161 | ::features::kResamplingScrollEventsExperimentalPrediction, |
| 7162 | kResamplingScrollEventsExperimentalPredictionVariations, |
| 7163 | "ResamplingScrollEventsExperimentalLatency")}, |
| 7164 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7165 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Andres Calderon Jaramillo | 43c0e8a | 2018-08-21 02:46:23 | [diff] [blame] | 7166 | {"enable-vaapi-jpeg-image-decode-acceleration", |
| 7167 | flag_descriptions::kVaapiJpegImageDecodeAccelerationName, |
Andres Calderon Jaramillo | 806aeefb | 2019-08-01 19:21:41 | [diff] [blame] | 7168 | flag_descriptions::kVaapiJpegImageDecodeAccelerationDescription, kOsCrOS, |
Andres Calderon Jaramillo | 43c0e8a | 2018-08-21 02:46:23 | [diff] [blame] | 7169 | FEATURE_VALUE_TYPE(features::kVaapiJpegImageDecodeAcceleration)}, |
Gil Dekel | 8f4b564 | 2019-07-27 05:27:40 | [diff] [blame] | 7170 | |
| 7171 | {"enable-vaapi-webp-image-decode-acceleration", |
| 7172 | flag_descriptions::kVaapiWebPImageDecodeAccelerationName, |
| 7173 | flag_descriptions::kVaapiWebPImageDecodeAccelerationDescription, kOsCrOS, |
| 7174 | FEATURE_VALUE_TYPE(features::kVaapiWebPImageDecodeAcceleration)}, |
Andres Calderon Jaramillo | 43c0e8a | 2018-08-21 02:46:23 | [diff] [blame] | 7175 | #endif |
Sammie Quon | e302a180 | 2019-02-11 17:54:45 | [diff] [blame] | 7176 | |
Bill Carr | 49f4608 | 2022-02-28 17:54:41 | [diff] [blame] | 7177 | #if BUILDFLAG(IS_WIN) |
| 7178 | {"calculate-native-win-occlusion", |
| 7179 | flag_descriptions::kCalculateNativeWinOcclusionName, |
| 7180 | flag_descriptions::kCalculateNativeWinOcclusionDescription, kOsWin, |
| 7181 | FEATURE_VALUE_TYPE(features::kCalculateNativeWinOcclusion)}, |
| 7182 | #endif // BUILDFLAG(IS_WIN) |
| 7183 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7184 | #if !BUILDFLAG(IS_ANDROID) |
Huanzhong Huang | 8058ea9 | 2020-02-05 09:49:32 | [diff] [blame] | 7185 | {"happiness-tracking-surveys-for-desktop-demo", |
| 7186 | flag_descriptions::kHappinessTrackingSurveysForDesktopDemoName, |
| 7187 | flag_descriptions::kHappinessTrackingSurveysForDesktopDemoDescription, |
| 7188 | kOsDesktop, |
| 7189 | FEATURE_VALUE_TYPE(features::kHappinessTrackingSurveysForDesktopDemo)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7190 | #endif // !BUILDFLAG(IS_ANDROID) |
Jeffrey Cohen | f04130a4 | 2018-08-29 00:22:27 | [diff] [blame] | 7191 | |
Nicolas Ouellet-Payeur | a77464c | 2020-10-14 15:19:49 | [diff] [blame] | 7192 | {"destroy-profile-on-browser-close", |
| 7193 | flag_descriptions::kDestroyProfileOnBrowserCloseName, |
| 7194 | flag_descriptions::kDestroyProfileOnBrowserCloseDescription, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 7195 | kOsMac | kOsWin | kOsLinux | kOsLacros | kOsFuchsia, |
Nicolas Ouellet-Payeur | a77464c | 2020-10-14 15:19:49 | [diff] [blame] | 7196 | FEATURE_VALUE_TYPE(features::kDestroyProfileOnBrowserClose)}, |
| 7197 | |
Nicolas Ouellet-Payeur | 4aff868 | 2022-01-26 16:03:16 | [diff] [blame] | 7198 | {"destroy-system-profiles", flag_descriptions::kDestroySystemProfilesName, |
| 7199 | flag_descriptions::kDestroySystemProfilesDescription, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 7200 | kOsCrOS | kOsMac | kOsWin | kOsLinux | kOsLacros | kOsFuchsia, |
Nicolas Ouellet-Payeur | 4aff868 | 2022-01-26 16:03:16 | [diff] [blame] | 7201 | FEATURE_VALUE_TYPE(features::kDestroySystemProfiles)}, |
| 7202 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7203 | #if BUILDFLAG(IS_WIN) |
Olli Etuaho | 12232119 | 2018-09-07 10:15:29 | [diff] [blame] | 7204 | {"use-angle", flag_descriptions::kUseAngleName, |
Jonah Ryan-Davis | 90ae332 | 2021-09-21 17:34:48 | [diff] [blame] | 7205 | flag_descriptions::kUseAngleDescriptionWindows, kOsWin, |
| 7206 | MULTI_VALUE_TYPE(kUseAngleChoicesWindows)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7207 | #elif BUILDFLAG(IS_MAC) |
Jonah Ryan-Davis | 90ae332 | 2021-09-21 17:34:48 | [diff] [blame] | 7208 | {"use-angle", flag_descriptions::kUseAngleName, |
| 7209 | flag_descriptions::kUseAngleDescriptionMac, kOsMac, |
| 7210 | MULTI_VALUE_TYPE(kUseAngleChoicesMac)}, |
Olli Etuaho | 12232119 | 2018-09-07 10:15:29 | [diff] [blame] | 7211 | #endif |
Varun Khaneja | 80712a8 | 2018-10-12 23:34:59 | [diff] [blame] | 7212 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7213 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Xiaohui Chen | f4283f3 | 2018-11-26 20:02:50 | [diff] [blame] | 7214 | {"enable-assistant-dsp", flag_descriptions::kEnableGoogleAssistantDspName, |
Xiaohui Chen | e6dd889 | 2019-08-12 21:50:09 | [diff] [blame] | 7215 | flag_descriptions::kEnableGoogleAssistantDspDescription, kOsCrOS, |
Yeunjoo Choi | 65c73cc | 2022-08-02 05:30:16 | [diff] [blame] | 7216 | FEATURE_VALUE_TYPE(ash::assistant::features::kEnableDspHotword)}, |
Yue Li | 806e5d8 | 2022-09-14 00:16:02 | [diff] [blame] | 7217 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Angela Xiao | d9f6c68 | 2022-05-07 01:00:21 | [diff] [blame] | 7218 | |
Yue Li | 806e5d8 | 2022-09-14 00:16:02 | [diff] [blame] | 7219 | #if BUILDFLAG(IS_CHROMEOS) |
Yue Li | 26c4494 | 2021-08-12 17:25:11 | [diff] [blame] | 7220 | {"disable-quick-answers-v2-translation", |
| 7221 | flag_descriptions::kDisableQuickAnswersV2TranslationName, |
Yue Li | 806e5d8 | 2022-09-14 00:16:02 | [diff] [blame] | 7222 | flag_descriptions::kDisableQuickAnswersV2TranslationDescription, |
| 7223 | kOsCrOS | kOsLacros, |
Yue Li | 26c4494 | 2021-08-12 17:25:11 | [diff] [blame] | 7224 | FEATURE_VALUE_TYPE(chromeos::features::kDisableQuickAnswersV2Translation)}, |
Angela Xiao | 34964f7 | 2023-04-19 20:19:20 | [diff] [blame] | 7225 | {"quick-answers-rich-card", flag_descriptions::kQuickAnswersRichCardName, |
| 7226 | flag_descriptions::kQuickAnswersRichCardDescription, kOsCrOS | kOsLacros, |
| 7227 | FEATURE_VALUE_TYPE(chromeos::features::kQuickAnswersRichCard)}, |
Yue Li | 806e5d8 | 2022-09-14 00:16:02 | [diff] [blame] | 7228 | #endif // BUILDFLAG(IS_CHROMEOS) |
Michael Lippautz | 6081dfa | 2018-10-18 13:10:14 | [diff] [blame] | 7229 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7230 | #if BUILDFLAG(IS_ANDROID) |
Jinsuk Kim | fa1b7eb | 2021-06-30 00:04:32 | [diff] [blame] | 7231 | {"instance-switcher", flag_descriptions::kInstanceSwitcherName, |
| 7232 | flag_descriptions::kInstanceSwitcherDescription, kOsAndroid, |
| 7233 | FEATURE_VALUE_TYPE(chrome::android::kInstanceSwitcher)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7234 | #endif // BUILDFLAG(IS_ANDROID) |
Jinsuk Kim | 55b5ab7 | 2021-05-17 00:11:30 | [diff] [blame] | 7235 | |
James Hollyer | 24f30cb72 | 2021-06-18 21:22:24 | [diff] [blame] | 7236 | {"enable-gamepad-button-axis-events", |
| 7237 | flag_descriptions::kEnableGamepadButtonAxisEventsName, |
| 7238 | flag_descriptions::kEnableGamepadButtonAxisEventsDescription, kOsAll, |
| 7239 | FEATURE_VALUE_TYPE(features::kEnableGamepadButtonAxisEvents)}, |
| 7240 | |
Bradley Needham | 835f0f49 | 2023-04-04 23:00:54 | [diff] [blame] | 7241 | {"enable-gamepad-multitouch", |
| 7242 | flag_descriptions::kEnableGamepadMultitouchName, |
| 7243 | flag_descriptions::kEnableGamepadMultitouchDescription, kOsWin, |
| 7244 | FEATURE_VALUE_TYPE(features::kEnableGamepadMultitouch)}, |
| 7245 | |
James Hollyer | 6e5f5c3 | 2020-07-27 21:18:10 | [diff] [blame] | 7246 | {"restrict-gamepad-access", flag_descriptions::kRestrictGamepadAccessName, |
| 7247 | flag_descriptions::kRestrictGamepadAccessDescription, kOsAll, |
| 7248 | FEATURE_VALUE_TYPE(features::kRestrictGamepadAccess)}, |
| 7249 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7250 | #if !BUILDFLAG(IS_ANDROID) |
Kyle Milka | cf3aa6e1 | 2021-07-28 00:34:02 | [diff] [blame] | 7251 | {"sharing-desktop-screenshots", |
| 7252 | flag_descriptions::kSharingDesktopScreenshotsName, |
| 7253 | flag_descriptions::kSharingDesktopScreenshotsDescription, kOsDesktop, |
| 7254 | FEATURE_VALUE_TYPE(sharing_hub::kDesktopScreenshots)}, |
| 7255 | #endif |
| 7256 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7257 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
sophiewen | cc86b2c | 2023-02-07 18:29:46 | [diff] [blame] | 7258 | {"window-layout-menu", flag_descriptions::kWindowLayoutMenu, |
| 7259 | flag_descriptions::kWindowLayoutMenuDescription, kOsCrOS, |
| 7260 | FEATURE_VALUE_TYPE(chromeos::wm::features::kWindowLayoutMenu)}, |
Richard Chui | 9bb64918 | 2022-12-09 07:12:02 | [diff] [blame] | 7261 | {"cros-labs-overview-desk-navigation", |
| 7262 | flag_descriptions::kOverviewDeskNavigationName, |
| 7263 | flag_descriptions::kOverviewDeskNavigationDescription, kOsCrOS, |
| 7264 | FEATURE_VALUE_TYPE(ash::features::kOverviewDeskNavigation)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7265 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Xiaohui Chen | c3baca4 | 2018-11-30 19:29:37 | [diff] [blame] | 7266 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7267 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Xiaohui Chen | c3baca4 | 2018-11-30 19:29:37 | [diff] [blame] | 7268 | {"enable-assistant-stereo-input", |
| 7269 | flag_descriptions::kEnableGoogleAssistantStereoInputName, |
Xiaohui Chen | e6dd889 | 2019-08-12 21:50:09 | [diff] [blame] | 7270 | flag_descriptions::kEnableGoogleAssistantStereoInputDescription, kOsCrOS, |
Yeunjoo Choi | 65c73cc | 2022-08-02 05:30:16 | [diff] [blame] | 7271 | FEATURE_VALUE_TYPE(ash::assistant::features::kEnableStereoAudioInput)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7272 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Henrik Grunell | 63f2d77 | 2018-12-06 17:25:20 | [diff] [blame] | 7273 | |
Vikas Soni | 78daa63 | 2019-01-12 01:32:52 | [diff] [blame] | 7274 | {"enable-gpu-service-logging", |
| 7275 | flag_descriptions::kEnableGpuServiceLoggingName, |
| 7276 | flag_descriptions::kEnableGpuServiceLoggingDescription, kOsAll, |
| 7277 | SINGLE_VALUE_TYPE(switches::kEnableGPUServiceLogging)}, |
Daniel Ng | 96ab0c8 | 2019-01-16 01:21:55 | [diff] [blame] | 7278 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7279 | #if !BUILDFLAG(IS_ANDROID) |
Tommy Steimel | 1aadd7b | 2019-01-18 19:39:42 | [diff] [blame] | 7280 | {"hardware-media-key-handling", |
| 7281 | flag_descriptions::kHardwareMediaKeyHandling, |
Tommy Steimel | c9bc2ce | 2019-03-12 22:45:58 | [diff] [blame] | 7282 | flag_descriptions::kHardwareMediaKeyHandlingDescription, kOsDesktop, |
Tommy Steimel | 1aadd7b | 2019-01-18 19:39:42 | [diff] [blame] | 7283 | FEATURE_VALUE_TYPE(media::kHardwareMediaKeyHandling)}, |
| 7284 | #endif |
Xing Liu | 7d57dd3 | 2019-01-20 02:34:18 | [diff] [blame] | 7285 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7286 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
echo linker | b7f4338 | 2022-02-10 23:20:34 | [diff] [blame] | 7287 | {"app-management-app-details", |
| 7288 | flag_descriptions::kAppManagementAppDetailsName, |
| 7289 | flag_descriptions::kAppManagementAppDetailsDescription, kOsCrOS, |
| 7290 | FEATURE_VALUE_TYPE(features::kAppManagementAppDetails)}, |
| 7291 | |
Shengsong Tan | 8133897 | 2021-12-22 05:27:50 | [diff] [blame] | 7292 | {"arc-window-predictor", flag_descriptions::kArcWindowPredictorName, |
| 7293 | flag_descriptions::kArcWindowPredictorDescription, kOsCrOS, |
| 7294 | FEATURE_VALUE_TYPE(full_restore::features::kArcWindowPredictor)}, |
| 7295 | |
Miguel Casas-Sanchez | dcd6915 | 2019-09-04 21:22:36 | [diff] [blame] | 7296 | {"use-fake-device-for-media-stream", |
| 7297 | flag_descriptions::kUseFakeDeviceForMediaStreamName, |
| 7298 | flag_descriptions::kUseFakeDeviceForMediaStreamDescription, kOsCrOS, |
| 7299 | FEATURE_VALUE_TYPE(media::kUseFakeDeviceForMediaStream)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7300 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Reka Norman | a11e57fc | 2019-01-29 21:56:58 | [diff] [blame] | 7301 | |
Cici Ruan | 846b671 | 2022-08-12 21:08:18 | [diff] [blame] | 7302 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Cici Ruan | 846b671 | 2022-08-12 21:08:18 | [diff] [blame] | 7303 | {"arc-input-overlay-beta", flag_descriptions::kArcInputOverlayNameBeta, |
| 7304 | flag_descriptions::kArcInputOverlayDescriptionBeta, kOsCrOS, |
| 7305 | FEATURE_VALUE_TYPE(ash::features::kArcInputOverlayBeta)}, |
Joseph Pang | a61e7db | 2022-11-29 21:23:38 | [diff] [blame] | 7306 | |
Cici Ruan | 2374f1b0 | 2022-12-07 01:19:58 | [diff] [blame] | 7307 | {"arc-input-overlay-alpha-v2", |
| 7308 | flag_descriptions::kArcInputOverlayNameAlphaV2, |
| 7309 | flag_descriptions::kArcInputOverlayDescriptionAlphaV2, kOsCrOS, |
| 7310 | FEATURE_VALUE_TYPE(ash::features::kArcInputOverlayAlphaV2)}, |
Cici Ruan | 846b671 | 2022-08-12 21:08:18 | [diff] [blame] | 7311 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 7312 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7313 | #if BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(USE_CHROMEOS_MEDIA_ACCELERATION) |
Miguel Casas | 0f1575a | 2020-07-01 01:01:25 | [diff] [blame] | 7314 | {"chromeos-direct-video-decoder", |
| 7315 | flag_descriptions::kChromeOSDirectVideoDecoderName, |
Pilar Molina Lopez | fb5103b7 | 2021-02-26 23:35:52 | [diff] [blame] | 7316 | flag_descriptions::kChromeOSDirectVideoDecoderDescription, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 7317 | kOsCrOS | kOsLacros, |
Miguel Casas | 0f1575a | 2020-07-01 01:01:25 | [diff] [blame] | 7318 | FEATURE_VALUE_TYPE(media::kUseChromeOSDirectVideoDecoder)}, |
Hirokazu Honda | 5a3450c | 2022-06-17 14:16:25 | [diff] [blame] | 7319 | |
| 7320 | {"enable-vbr-encode-acceleration", |
| 7321 | flag_descriptions::kChromeOSHWVBREncodingName, |
| 7322 | flag_descriptions::kChromeOSHWVBREncodingDescription, kOsCrOS | kOsLacros, |
| 7323 | FEATURE_VALUE_TYPE(media::kChromeOSHWVBREncoding)}, |
Fritz Koenig | a0770f5c | 2022-04-06 18:17:55 | [diff] [blame] | 7324 | #if defined(ARCH_CPU_ARM_FAMILY) |
Justin Green | 0b5c4899 | 2022-10-10 22:16:04 | [diff] [blame] | 7325 | {"prefer-gl-image-processor", |
| 7326 | flag_descriptions::kPreferGLImageProcessorName, |
| 7327 | flag_descriptions::kPreferGLImageProcessorDescription, kOsCrOS | kOsLacros, |
| 7328 | FEATURE_VALUE_TYPE(media::kPreferGLImageProcessor)}, |
Fritz Koenig | a0770f5c | 2022-04-06 18:17:55 | [diff] [blame] | 7329 | #endif // defined(ARCH_CPU_ARM_FAMILY) |
| 7330 | #endif // BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(USE_CHROMEOS_MEDIA_ACCELERATION) |
Frank Liberato | 754d14f | 2019-01-30 23:31:17 | [diff] [blame] | 7331 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7332 | #if BUILDFLAG(IS_ANDROID) |
Alice Wang | 345e0944 | 2021-07-05 09:03:29 | [diff] [blame] | 7333 | {"force-startup-signin-promo", |
| 7334 | flag_descriptions::kForceStartupSigninPromoName, |
| 7335 | flag_descriptions::kForceStartupSigninPromoDescription, kOsAndroid, |
| 7336 | FEATURE_VALUE_TYPE(switches::kForceStartupSigninPromo)}, |
Alice Wang | 9746958 | 2022-05-09 08:00:26 | [diff] [blame] | 7337 | |
| 7338 | {"tangible-sync", flag_descriptions::kTangibleSyncName, |
| 7339 | flag_descriptions::kTangibleSyncDescription, kOsAndroid, |
Tanmoy Mollik | 3256aec | 2022-08-17 21:45:23 | [diff] [blame] | 7340 | FEATURE_WITH_PARAMS_VALUE_TYPE(switches::kTangibleSync, |
| 7341 | kTangibleSyncVariations, |
| 7342 | "TangibleSyncVariations")}, |
Tanmoy Mollik | 429d21a | 2022-11-28 15:42:06 | [diff] [blame] | 7343 | |
| 7344 | {"identity-status-consistency", |
| 7345 | flag_descriptions::kIdentityStatusConsistencyName, |
| 7346 | flag_descriptions::kIdentityStatusConsistencyDescription, kOsAndroid, |
| 7347 | FEATURE_VALUE_TYPE(switches::kIdentityStatusConsistency)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7348 | #endif // BUILDFLAG(IS_ANDROID) |
Ioana Pandele | d8dc2b69 | 2019-02-20 12:04:15 | [diff] [blame] | 7349 | |
Christopher Cameron | 1e62f19 | 2023-04-18 23:21:05 | [diff] [blame] | 7350 | {"gainmap-hdr-images", flag_descriptions::kGainmapHdrImagesName, |
| 7351 | flag_descriptions::kGainmapHdrImagesDescription, kOsAll, |
| 7352 | FEATURE_VALUE_TYPE(blink::features::kGainmapHdrImages)}, |
| 7353 | |
Maryla | 26d1a41 | 2023-06-27 19:18:28 | [diff] [blame] | 7354 | {"avif-gainmap-hdr-images", flag_descriptions::kAvifGainmapHdrImagesName, |
| 7355 | flag_descriptions::kAvifGainmapHdrImagesDescription, kOsAll, |
| 7356 | FEATURE_VALUE_TYPE(blink::features::kAvifGainmapHdrImages)}, |
| 7357 | |
Caitlin Fischer | 31e60b2 | 2019-03-21 21:43:37 | [diff] [blame] | 7358 | {"autofill-use-improved-label-disambiguation", |
| 7359 | flag_descriptions::kAutofillUseImprovedLabelDisambiguationName, |
| 7360 | flag_descriptions::kAutofillUseImprovedLabelDisambiguationDescription, |
| 7361 | kOsAll, |
| 7362 | FEATURE_VALUE_TYPE( |
| 7363 | autofill::features::kAutofillUseImprovedLabelDisambiguation)}, |
Caitlin Fischer | fd366e7 | 2019-02-20 20:47:32 | [diff] [blame] | 7364 | |
Darwin Huang | 1473bc3 | 2021-06-18 01:56:23 | [diff] [blame] | 7365 | {"file-handling-icons", flag_descriptions::kFileHandlingIconsName, |
| 7366 | flag_descriptions::kFileHandlingIconsDescription, kOsDesktop, |
| 7367 | FEATURE_VALUE_TYPE(blink::features::kFileHandlingIcons)}, |
| 7368 | |
W. James MacLean | f79c97e | 2019-05-02 20:35:46 | [diff] [blame] | 7369 | {"strict-origin-isolation", flag_descriptions::kStrictOriginIsolationName, |
| 7370 | flag_descriptions::kStrictOriginIsolationDescription, kOsAll, |
| 7371 | FEATURE_VALUE_TYPE(features::kStrictOriginIsolation)}, |
| 7372 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7373 | #if BUILDFLAG(IS_ANDROID) |
Hazem Ashmawy | f1cd7e4 | 2019-03-25 18:17:32 | [diff] [blame] | 7374 | {"enable-logging-js-console-messages", |
| 7375 | flag_descriptions::kLogJsConsoleMessagesName, |
| 7376 | flag_descriptions::kLogJsConsoleMessagesDescription, kOsAndroid, |
| 7377 | FEATURE_VALUE_TYPE(features::kLogJsConsoleMessages)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7378 | #endif // BUILDFLAG(IS_ANDROID) |
Hazem Ashmawy | f1cd7e4 | 2019-03-25 18:17:32 | [diff] [blame] | 7379 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7380 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Vyshu | 9ea9e18 | 2021-02-04 17:53:06 | [diff] [blame] | 7381 | {"allow-repeated-updates", flag_descriptions::kAllowRepeatedUpdatesName, |
| 7382 | flag_descriptions::kAllowRepeatedUpdatesDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7383 | FEATURE_VALUE_TYPE(ash::features::kAllowRepeatedUpdates)}, |
Vyshu | 9ea9e18 | 2021-02-04 17:53:06 | [diff] [blame] | 7384 | |
Kyle Horimoto | 734f075 | 2020-03-20 20:46:54 | [diff] [blame] | 7385 | {"allow-scroll-settings", flag_descriptions::kAllowScrollSettingsName, |
| 7386 | flag_descriptions::kAllowScrollSettingsDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7387 | FEATURE_VALUE_TYPE(ash::features::kAllowScrollSettings)}, |
Kyle Horimoto | 734f075 | 2020-03-20 20:46:54 | [diff] [blame] | 7388 | |
alanlxl | 43ddc208 | 2022-02-01 00:24:16 | [diff] [blame] | 7389 | {"enable-neural-palm-adaptive-hold", |
| 7390 | flag_descriptions::kEnableNeuralPalmAdaptiveHoldName, |
| 7391 | flag_descriptions::kEnableNeuralPalmAdaptiveHoldDescription, kOsCrOS, |
| 7392 | FEATURE_VALUE_TYPE(ui::kEnableNeuralPalmAdaptiveHold)}, |
| 7393 | |
Rob Schonberger | c258473f | 2019-11-08 05:09:35 | [diff] [blame] | 7394 | {"enable-neural-stylus-palm-rejection", |
| 7395 | flag_descriptions::kEnableNeuralStylusPalmRejectionName, |
| 7396 | flag_descriptions::kEnableNeuralStylusPalmRejectionDescription, kOsCrOS, |
| 7397 | FEATURE_VALUE_TYPE(ui::kEnableNeuralPalmDetectionFilter)}, |
| 7398 | |
Catherine Zhang | 9df0c47 | 2023-03-09 07:33:21 | [diff] [blame] | 7399 | {"enable-edge-detection", flag_descriptions::kEnableEdgeDetectionName, |
| 7400 | flag_descriptions::kEnableEdgeDetectionDescription, kOsCrOS, |
| 7401 | FEATURE_VALUE_TYPE(ui::kEnableEdgeDetection)}, |
| 7402 | |
Xiangdong Kong | ec5a077 | 2021-05-03 21:53:01 | [diff] [blame] | 7403 | {"enable-os-feedback", flag_descriptions::kEnableOsFeedbackName, |
| 7404 | flag_descriptions::kEnableOsFeedbackDescription, kOsCrOS, |
| 7405 | FEATURE_VALUE_TYPE(ash::features::kOsFeedback)}, |
| 7406 | |
Jon Mann | 8e44814 | 2021-07-29 19:31:30 | [diff] [blame] | 7407 | {"fast-pair", flag_descriptions::kFastPairName, |
| 7408 | flag_descriptions::kFastPairDescription, kOsCrOS, |
| 7409 | FEATURE_VALUE_TYPE(ash::features::kFastPair)}, |
| 7410 | |
Alex Kingsborough | 31acba6e | 2023-01-17 21:47:45 | [diff] [blame] | 7411 | {"fast-pair-handshake-refactor", |
| 7412 | flag_descriptions::kFastPairHandshakeRefactorName, |
| 7413 | flag_descriptions::kFastPairHandshakeRefactorDescription, kOsCrOS, |
| 7414 | FEATURE_VALUE_TYPE(ash::features::kFastPairHandshakeRefactor)}, |
| 7415 | |
Daniel Classon | 1def707 | 2023-03-30 17:16:39 | [diff] [blame] | 7416 | {"fast-pair-hid", flag_descriptions::kFastPairHIDName, |
| 7417 | flag_descriptions::kFastPairHIDDescription, kOsCrOS, |
| 7418 | FEATURE_VALUE_TYPE(ash::features::kFastPairHID)}, |
| 7419 | |
Shane Fitzpatrick | ea88229 | 2022-01-24 20:30:15 | [diff] [blame] | 7420 | {"fast-pair-low-power", flag_descriptions::kFastPairLowPowerName, |
| 7421 | flag_descriptions::kFastPairLowPowerDescription, kOsCrOS, |
| 7422 | FEATURE_VALUE_TYPE(ash::features::kFastPairLowPower)}, |
| 7423 | |
Juliet Levesque | aa230e0 | 2022-04-19 18:11:14 | [diff] [blame] | 7424 | {"fast-pair-saved-devices", flag_descriptions::kFastPairSavedDevicesName, |
| 7425 | flag_descriptions::kFastPairSavedDevicesDescription, kOsCrOS, |
| 7426 | FEATURE_VALUE_TYPE(ash::features::kFastPairSavedDevices)}, |
| 7427 | |
Jon Mann | 022bd352 | 2022-01-19 22:11:51 | [diff] [blame] | 7428 | {"fast-pair-software-scanning", |
| 7429 | flag_descriptions::kFastPairSoftwareScanningName, |
| 7430 | flag_descriptions::kFastPairSoftwareScanningDescription, kOsCrOS, |
| 7431 | FEATURE_VALUE_TYPE(ash::features::kFastPairSoftwareScanning)}, |
| 7432 | |
Jimmy Gong | 3509448 | 2021-10-06 23:14:28 | [diff] [blame] | 7433 | {"pcie-billboard-notification", |
| 7434 | flag_descriptions::kPcieBillboardNotificationName, |
| 7435 | flag_descriptions::kPcieBillboardNotificationDescription, kOsCrOS, |
| 7436 | FEATURE_VALUE_TYPE(ash::features::kPcieBillboardNotification)}, |
| 7437 | |
Zentaro Kavanagh | 892851f | 2019-05-29 15:13:31 | [diff] [blame] | 7438 | {"use-search-click-for-right-click", |
| 7439 | flag_descriptions::kUseSearchClickForRightClickName, |
| 7440 | flag_descriptions::kUseSearchClickForRightClickDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7441 | FEATURE_VALUE_TYPE(ash::features::kUseSearchClickForRightClick)}, |
Jimmy Gong | 09aff04 | 2019-10-23 20:13:07 | [diff] [blame] | 7442 | |
Steven Bennetts | 66bc354 | 2020-06-25 23:05:28 | [diff] [blame] | 7443 | {"show-metered-toggle", flag_descriptions::kMeteredShowToggleName, |
| 7444 | flag_descriptions::kMeteredShowToggleDescription, kOsCrOS, |
| 7445 | FEATURE_VALUE_TYPE(features::kMeteredShowToggle)}, |
| 7446 | |
Bailey Berro | 01f0974 | 2020-07-21 05:40:59 | [diff] [blame] | 7447 | {"display-alignment-assistance", |
| 7448 | flag_descriptions::kDisplayAlignmentAssistanceName, |
| 7449 | flag_descriptions::kDisplayAlignmentAssistanceDescription, kOsCrOS, |
| 7450 | FEATURE_VALUE_TYPE(ash::features::kDisplayAlignAssist)}, |
Gavin Williams | 206629d | 2020-08-05 01:50:59 | [diff] [blame] | 7451 | |
Michael Checo | 26110cc9 | 2022-05-04 00:55:07 | [diff] [blame] | 7452 | {"enable-experimental-rgb-keyboard-patterns", |
| 7453 | flag_descriptions::kExperimentalRgbKeyboardPatternsName, |
| 7454 | flag_descriptions::kExperimentalRgbKeyboardPatternsDescription, kOsCrOS, |
| 7455 | FEATURE_VALUE_TYPE(ash::features::kExperimentalRgbKeyboardPatterns)}, |
| 7456 | |
xiangdong kong | 7348a656 | 2023-02-15 18:10:05 | [diff] [blame] | 7457 | {"enable-get-debugd-logs-in-parallel", |
| 7458 | flag_descriptions::kEnableGetDebugdLogsInParallelName, |
| 7459 | flag_descriptions::kEnableGetDebugdLogsInParallelDescription, kOsCrOS, |
| 7460 | FEATURE_VALUE_TYPE(ash::features::kEnableGetDebugdLogsInParallel)}, |
| 7461 | |
James Hawkins | a9fefa8d | 2020-10-08 00:24:03 | [diff] [blame] | 7462 | {"enable-hostname-setting", flag_descriptions::kEnableHostnameSettingName, |
| 7463 | flag_descriptions::kEnableHostnameSettingDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7464 | FEATURE_VALUE_TYPE(ash::features::kEnableHostnameSetting)}, |
Kyle Horimoto | c0108e11 | 2020-10-20 21:41:04 | [diff] [blame] | 7465 | |
Pranav Batra | 96b8eba | 2021-07-02 21:17:21 | [diff] [blame] | 7466 | {"enable-oauth-ipp", flag_descriptions::kEnableOAuthIppName, |
| 7467 | flag_descriptions::kEnableOAuthIppDescription, kOsCrOS, |
| 7468 | FEATURE_VALUE_TYPE(ash::features::kEnableOAuthIpp)}, |
| 7469 | |
Jimmy Gong | 07656e4 | 2021-04-08 02:31:08 | [diff] [blame] | 7470 | {"enable-shortcut-customization-app", |
| 7471 | flag_descriptions::kEnableShortcutCustomizationAppName, |
| 7472 | flag_descriptions::kEnableShortcutCustomizationAppDescription, kOsCrOS, |
| 7473 | FEATURE_VALUE_TYPE(features::kShortcutCustomizationApp)}, |
Joel Riley | 70055150 | 2021-05-28 00:20:00 | [diff] [blame] | 7474 | |
Cam Bickel | d363a179 | 2022-10-06 16:59:09 | [diff] [blame] | 7475 | {"enable-shortcut-customization", |
| 7476 | flag_descriptions::kEnableShortcutCustomizationName, |
| 7477 | flag_descriptions::kEnableShortcutCustomizationDescription, kOsCrOS, |
| 7478 | FEATURE_VALUE_TYPE(features::kShortcutCustomization)}, |
| 7479 | |
xiangdong kong | 72ae8d1 | 2023-06-13 16:47:52 | [diff] [blame] | 7480 | {"enable-search-customizable-shortcuts-in-launcher", |
| 7481 | flag_descriptions::kEnableSearchCustomizableShortcutsInLauncherName, |
| 7482 | flag_descriptions::kEnableSearchCustomizableShortcutsInLauncherDescription, |
| 7483 | kOsCrOS, |
| 7484 | FEATURE_VALUE_TYPE(ash::features::kSearchCustomizableShortcutsInLauncher)}, |
| 7485 | |
Cam Bickel | fd25328 | 2023-02-09 20:12:22 | [diff] [blame] | 7486 | {"enable-search-in-shortcuts-app", |
| 7487 | flag_descriptions::kEnableSearchInShortcutsAppName, |
| 7488 | flag_descriptions::kEnableSearchInShortcutsAppDescription, kOsCrOS, |
| 7489 | FEATURE_VALUE_TYPE(ash::features::kSearchInShortcutsApp)}, |
| 7490 | |
David Padlipsky | cc06de1 | 2023-02-03 01:17:32 | [diff] [blame] | 7491 | {"enable-input-device-settings-split", |
| 7492 | flag_descriptions::kEnableInputDeviceSettingsSplitName, |
| 7493 | flag_descriptions::kEnableInputDeviceSettingsSplitDescription, kOsCrOS, |
| 7494 | FEATURE_VALUE_TYPE(ash::features::kInputDeviceSettingsSplit)}, |
| 7495 | |
YuhanYang | f34f292f | 2023-06-01 23:56:23 | [diff] [blame] | 7496 | {"enable-peripheral-customization", |
| 7497 | flag_descriptions::kEnablePeripheralCustomizationName, |
| 7498 | flag_descriptions::kEnablePeripheralCustomizationDescription, kOsCrOS, |
| 7499 | FEATURE_VALUE_TYPE(ash::features::kPeripheralCustomization)}, |
| 7500 | |
Katie Dektar | 7faf40ba | 2023-01-11 22:19:30 | [diff] [blame] | 7501 | {"enable-accessibility-accelerators-notifications-timeout", |
| 7502 | flag_descriptions::kAccessibilityAcceleratorNotificationsTimeoutName, |
| 7503 | flag_descriptions:: |
| 7504 | kAccessibilityAcceleratorNotificationsTimeoutDescription, |
| 7505 | kOsCrOS, |
| 7506 | FEATURE_VALUE_TYPE( |
| 7507 | features::kAccessibilityAcceleratorNotificationsTimeout)}, |
| 7508 | |
Katie Dektar | 29e670d8 | 2022-08-23 17:54:40 | [diff] [blame] | 7509 | {"enable-accessibility-service", |
| 7510 | flag_descriptions::kAccessibilityServiceName, |
| 7511 | flag_descriptions::kAccessibilityServiceDescription, kOsCrOS, |
| 7512 | FEATURE_VALUE_TYPE(features::kAccessibilityService)}, |
Josiah Krutz | e41033b | 2022-09-02 19:48:39 | [diff] [blame] | 7513 | |
Josiah Krutz | f581bb0 | 2022-10-13 22:57:01 | [diff] [blame] | 7514 | {"enable-accessibility-select-to-speak-hover-text-improvements", |
| 7515 | flag_descriptions::kAccessibilitySelectToSpeakHoverTextImprovementsName, |
| 7516 | flag_descriptions:: |
| 7517 | kAccessibilitySelectToSpeakHoverTextImprovementsDescription, |
| 7518 | kOsCrOS, |
| 7519 | FEATURE_VALUE_TYPE( |
| 7520 | features::kAccessibilitySelectToSpeakHoverTextImprovements)}, |
| 7521 | |
Josiah Krutz | ef02161 | 2023-02-10 05:04:54 | [diff] [blame] | 7522 | {"enable-accessibility-chromevox-page-migration", |
| 7523 | flag_descriptions::kAccessibilityChromeVoxPageMigrationName, |
| 7524 | flag_descriptions::kAccessibilityChromeVoxPageMigrationDescription, |
| 7525 | kOsCrOS, |
| 7526 | FEATURE_VALUE_TYPE(features::kAccessibilityChromeVoxPageMigration)}, |
| 7527 | |
Michael Checo | 91977f56 | 2023-01-25 01:02:22 | [diff] [blame] | 7528 | {"enable-only-show-new-shortcut-app", |
| 7529 | flag_descriptions::kOnlyShowNewShortcutsAppName, |
| 7530 | flag_descriptions::kOnlyShowNewShortcutsAppDescription, kOsCrOS, |
| 7531 | FEATURE_VALUE_TYPE(ash::features::kOnlyShowNewShortcutsApp)}, |
| 7532 | |
Brandon Nguyen | 11e8921 | 2023-06-22 20:46:58 | [diff] [blame] | 7533 | {"enable-pip-double-tap-to-resize", |
| 7534 | flag_descriptions::kPipDoubleTapToResizeName, |
| 7535 | flag_descriptions::kPipDoubleTapToResizeDescription, kOsCrOS, |
| 7536 | FEATURE_VALUE_TYPE(ash::features::kPipDoubleTapToResize)}, |
| 7537 | |
Yunke Zhou | a42f647 | 2021-08-18 17:25:37 | [diff] [blame] | 7538 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Alex Ilin | b414842 | 2021-07-16 17:16:24 | [diff] [blame] | 7539 | |
Dominic Farolino | af2f3b7 | 2021-05-03 23:44:16 | [diff] [blame] | 7540 | {"enable-fenced-frames", flag_descriptions::kEnableFencedFramesName, |
| 7541 | flag_descriptions::kEnableFencedFramesDescription, kOsAll, |
Dominic Farolino | 0b06763 | 2022-11-11 02:57:49 | [diff] [blame] | 7542 | FEATURE_VALUE_TYPE(blink::features::kFencedFrames)}, |
Dominic Farolino | af2f3b7 | 2021-05-03 23:44:16 | [diff] [blame] | 7543 | |
Liam Brady | 1ead36c | 2023-05-30 17:37:38 | [diff] [blame] | 7544 | {"enable-fenced-frames-developer-mode", |
| 7545 | flag_descriptions::kEnableFencedFramesDeveloperModeName, |
| 7546 | flag_descriptions::kEnableFencedFramesDeveloperModeDescription, kOsAll, |
| 7547 | FEATURE_VALUE_TYPE(blink::features::kFencedFramesDefaultMode)}, |
| 7548 | |
Brandon Maslen | da12cf8 | 2019-08-23 20:54:18 | [diff] [blame] | 7549 | {"storage-access-api", flag_descriptions::kStorageAccessAPIName, |
| 7550 | flag_descriptions::kStorageAccessAPIDescription, kOsAll, |
Christian Dullweber | 9c02023 | 2023-06-06 07:44:28 | [diff] [blame] | 7551 | FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kStorageAccessAPI, |
| 7552 | kStorageAccessAPIVariations, |
| 7553 | "kStorageAccessAPI")}, |
Brandon Maslen | da12cf8 | 2019-08-23 20:54:18 | [diff] [blame] | 7554 | |
François Beaufort | db160c1 | 2019-05-01 06:28:14 | [diff] [blame] | 7555 | {"enable-unsafe-webgpu", flag_descriptions::kUnsafeWebGPUName, |
Brandon Jones | 11b7db0 | 2023-03-10 18:39:12 | [diff] [blame] | 7556 | flag_descriptions::kUnsafeWebGPUDescription, kOsAll, |
François Beaufort | db160c1 | 2019-05-01 06:28:14 | [diff] [blame] | 7557 | SINGLE_VALUE_TYPE(switches::kEnableUnsafeWebGPU)}, |
| 7558 | |
Brandon Jones | 2ebd9a6 | 2022-06-15 19:55:59 | [diff] [blame] | 7559 | {"enable-webgpu-developer-features", |
| 7560 | flag_descriptions::kWebGpuDeveloperFeaturesName, |
Brandon Jones | 11b7db0 | 2023-03-10 18:39:12 | [diff] [blame] | 7561 | flag_descriptions::kWebGpuDeveloperFeaturesDescription, kOsAll, |
Brandon Jones | 2ebd9a6 | 2022-06-15 19:55:59 | [diff] [blame] | 7562 | SINGLE_VALUE_TYPE(switches::kEnableWebGPUDeveloperFeatures)}, |
| 7563 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7564 | #if BUILDFLAG(IS_ANDROID) |
Caitlin Fischer | 43edd90a | 2019-05-01 13:24:30 | [diff] [blame] | 7565 | {"autofill-use-mobile-label-disambiguation", |
| 7566 | flag_descriptions::kAutofillUseMobileLabelDisambiguationName, |
| 7567 | flag_descriptions::kAutofillUseMobileLabelDisambiguationDescription, |
| 7568 | kOsAndroid, |
Caitlin Fischer | 37e0123 | 2019-05-24 13:05:45 | [diff] [blame] | 7569 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 7570 | autofill::features::kAutofillUseMobileLabelDisambiguation, |
| 7571 | kAutofillUseMobileLabelDisambiguationVariations, |
| 7572 | "AutofillUseMobileLabelDisambiguation")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7573 | #endif // BUILDFLAG(IS_ANDROID) |
Caitlin Fischer | 43edd90a | 2019-05-01 13:24:30 | [diff] [blame] | 7574 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7575 | #if BUILDFLAG(IS_ANDROID) |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 7576 | {"metrics-settings-android", flag_descriptions::kMetricsSettingsAndroidName, |
| 7577 | flag_descriptions::kMetricsSettingsAndroidDescription, kOsAndroid, |
Andrey Zaytsev | 466cfd9 | 2020-10-13 12:02:32 | [diff] [blame] | 7578 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kMetricsSettingsAndroid, |
Andrey Zaytsev | ad83cbc3 | 2020-09-30 15:43:18 | [diff] [blame] | 7579 | kMetricsSettingsAndroidVariations, |
| 7580 | "MetricsSettingsAndroid")}, |
| 7581 | #endif |
| 7582 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7583 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Harry Cutts | cfe6d934f | 2019-06-05 21:45:55 | [diff] [blame] | 7584 | {"gesture-properties-dbus-service", |
| 7585 | flag_descriptions::kEnableGesturePropertiesDBusServiceName, |
| 7586 | flag_descriptions::kEnableGesturePropertiesDBusServiceDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7587 | FEATURE_VALUE_TYPE(ash::features::kGesturePropertiesDBusService)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7588 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Harry Cutts | cfe6d934f | 2019-06-05 21:45:55 | [diff] [blame] | 7589 | |
Christopher Thompson | f3ba2012 | 2019-06-06 22:01:01 | [diff] [blame] | 7590 | {"ev-details-in-page-info", flag_descriptions::kEvDetailsInPageInfoName, |
| 7591 | flag_descriptions::kEvDetailsInPageInfoDescription, kOsDesktop, |
| 7592 | FEATURE_VALUE_TYPE(features::kEvDetailsInPageInfo)}, |
| 7593 | |
Takumi Fujimoto | c266c3f | 2022-07-11 00:42:40 | [diff] [blame] | 7594 | #if BUILDFLAG(IS_CHROMEOS) |
Jazz Xu | 7b2047a | 2023-01-19 10:44:09 | [diff] [blame] | 7595 | {"global-media-controls-cros-updated-ui", |
| 7596 | flag_descriptions::kGlobalMediaControlsCrOSUpdatedUIName, |
| 7597 | flag_descriptions::kGlobalMediaControlsCrOSUpdatedUIDescription, kOsCrOS, |
| 7598 | FEATURE_VALUE_TYPE(media::kGlobalMediaControlsCrOSUpdatedUI)}, |
Takumi Fujimoto | c266c3f | 2022-07-11 00:42:40 | [diff] [blame] | 7599 | #endif // BUILDFLAG(IS_CHROMEOS) |
| 7600 | |
Keishi Hattori | 1529974 | 2020-04-20 04:00:09 | [diff] [blame] | 7601 | {"enable-cooperative-scheduling", |
| 7602 | flag_descriptions::kCooperativeSchedulingName, |
| 7603 | flag_descriptions::kCooperativeSchedulingDescription, kOsAll, |
| 7604 | FEATURE_VALUE_TYPE(features::kCooperativeScheduling)}, |
| 7605 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7606 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Andre Le | 29427c2 | 2022-09-23 23:01:57 | [diff] [blame] | 7607 | {"enable-privacy-indicators", flag_descriptions::kPrivacyIndicatorsName, |
| 7608 | flag_descriptions::kPrivacyIndicatorsDescription, kOsCrOS, |
| 7609 | FEATURE_VALUE_TYPE(ash::features::kPrivacyIndicators)}, |
| 7610 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 7611 | |
Tomasz Jurkiewicz | 6a32bda | 2023-04-06 17:27:50 | [diff] [blame] | 7612 | #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| 7613 | {"enable-proto-api-for-classify-url", |
| 7614 | flag_descriptions::kEnableProtoApiForClassifyUrlName, |
| 7615 | flag_descriptions::kEnableProtoApiForClassifyUrlDescription, |
| 7616 | kOsAndroid | (kOsDesktop & ~kOsFuchsia), |
| 7617 | FEATURE_VALUE_TYPE(supervised_user::kEnableProtoApiForClassifyUrl)}, |
| 7618 | #endif // BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| 7619 | |
Pilar Molina Lopez | 6bceb9a | 2023-04-22 00:46:03 | [diff] [blame] | 7620 | #if BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) |
Andres Calderon Jaramillo | a55fccb | 2023-03-24 19:22:11 | [diff] [blame] | 7621 | {"use-out-of-process-video-decoding", |
| 7622 | flag_descriptions::kUseOutOfProcessVideoDecodingName, |
| 7623 | flag_descriptions::kUseOutOfProcessVideoDecodingDescription, |
| 7624 | kOsLinux | kOsCrOS | kOsLacros, |
| 7625 | FEATURE_VALUE_TYPE(media::kUseOutOfProcessVideoDecoding)}, |
Pilar Molina Lopez | 6bceb9a | 2023-04-22 00:46:03 | [diff] [blame] | 7626 | #endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) |
Andres Calderon Jaramillo | a55fccb | 2023-03-24 19:22:11 | [diff] [blame] | 7627 | |
Aga Wronska | 344fa828 | 2021-10-07 14:18:05 | [diff] [blame] | 7628 | #if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
James Lee | e219015 | 2023-06-06 11:45:39 | [diff] [blame] | 7629 | |
| 7630 | {"enable-family-link-supervision", |
| 7631 | flag_descriptions::kEnableSupervisionOnDesktopName, |
| 7632 | flag_descriptions::kEnableSupervisionOnDesktopDescription, |
| 7633 | kOsLinux | kOsMac | kOsWin, |
| 7634 | FEATURE_VALUE_TYPE(supervised_user::kEnableSupervisionOnDesktopAndIOS)}, |
| 7635 | |
| 7636 | {"enable-family-link-website-filtering", |
| 7637 | flag_descriptions::kFilterWebsitesForSupervisedUsersOnDesktopName, |
| 7638 | flag_descriptions::kFilterWebsitesForSupervisedUsersOnDesktopDescription, |
| 7639 | kOsLinux | kOsMac | kOsWin, |
| 7640 | FEATURE_VALUE_TYPE( |
| 7641 | supervised_user::kFilterWebsitesForSupervisedUsersOnDesktopAndIOS)}, |
| 7642 | |
| 7643 | {"enable-family-link-extensions-permissions", |
| 7644 | flag_descriptions:: |
| 7645 | kEnableExtensionsPermissionsForSupervisedUsersOnDesktopName, |
| 7646 | flag_descriptions:: |
| 7647 | kEnableExtensionsPermissionsForSupervisedUsersOnDesktopDescription, |
| 7648 | kOsLinux | kOsMac | kOsWin, |
| 7649 | FEATURE_VALUE_TYPE( |
| 7650 | supervised_user:: |
| 7651 | kEnableExtensionsPermissionsForSupervisedUsersOnDesktop)}, |
| 7652 | |
| 7653 | {"enable-family-link-prefs-controls", |
| 7654 | flag_descriptions::kSupervisedPrefsControlledBySupervisedStoreName, |
| 7655 | flag_descriptions::kSupervisedPrefsControlledBySupervisedStoreDescription, |
| 7656 | kOsLinux | kOsMac | kOsWin, |
| 7657 | FEATURE_VALUE_TYPE( |
| 7658 | supervised_user::kSupervisedPrefsControlledBySupervisedStore)}, |
| 7659 | |
| 7660 | {"enable-family-link-managed-ui", |
| 7661 | flag_descriptions::kEnableManagedByParentUiName, |
| 7662 | flag_descriptions::kEnableManagedByParentUiDescription, |
| 7663 | kOsLinux | kOsMac | kOsWin, |
| 7664 | FEATURE_VALUE_TYPE(supervised_user::kEnableManagedByParentUi)}, |
Liza Bipin | ac54955 | 2023-06-21 13:18:54 | [diff] [blame] | 7665 | |
| 7666 | {"enable-supervised-users-remain-signed-in", |
| 7667 | flag_descriptions::kClearingCookiesKeepsSupervisedUsersSignedInName, |
| 7668 | flag_descriptions::kClearingCookiesKeepsSupervisedUsersSignedInDescription, |
| 7669 | kOsLinux | kOsMac | kOsWin, |
| 7670 | FEATURE_VALUE_TYPE( |
| 7671 | supervised_user::kClearingCookiesKeepsSupervisedUsersSignedIn)}, |
Aga Wronska | 344fa828 | 2021-10-07 14:18:05 | [diff] [blame] | 7672 | #endif // BUILDFLAG(ENABLE_SUPERVISED_USERS) |
| 7673 | |
Xing Liu | b907026 | 2021-01-07 20:52:16 | [diff] [blame] | 7674 | {"notification-scheduler", flag_descriptions::kNotificationSchedulerName, |
| 7675 | flag_descriptions::kNotificationSchedulerDescription, kOsAndroid, |
| 7676 | FEATURE_VALUE_TYPE(notifications::features::kNotificationScheduleService)}, |
| 7677 | |
Xing Liu | 1919ec23 | 2019-07-22 20:38:04 | [diff] [blame] | 7678 | {"notification-scheduler-debug-options", |
| 7679 | flag_descriptions::kNotificationSchedulerDebugOptionName, |
| 7680 | flag_descriptions::kNotificationSchedulerDebugOptionDescription, |
| 7681 | kOsAndroid, MULTI_VALUE_TYPE(kNotificationSchedulerChoices)}, |
| 7682 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7683 | #if BUILDFLAG(IS_ANDROID) |
Xing Liu | f84cb1a | 2020-08-10 19:06:35 | [diff] [blame] | 7684 | |
Xing Liu | 1e6b43d | 2021-03-15 19:26:45 | [diff] [blame] | 7685 | {"debug-chime-notification", |
| 7686 | flag_descriptions::kChimeAlwaysShowNotificationName, |
| 7687 | flag_descriptions::kChimeAlwaysShowNotificationDescription, kOsAndroid, |
| 7688 | SINGLE_VALUE_TYPE(notifications::switches::kDebugChimeNotification)}, |
| 7689 | |
| 7690 | {"use-chime-android-sdk", flag_descriptions::kChimeAndroidSdkName, |
| 7691 | flag_descriptions::kChimeAndroidSdkDescription, kOsAndroid, |
Xing Liu | f84cb1a | 2020-08-10 19:06:35 | [diff] [blame] | 7692 | FEATURE_VALUE_TYPE(notifications::features::kUseChimeAndroidSdk)}, |
| 7693 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7694 | #endif // BUILDFLAG(IS_ANDROID) |
Patrick Noland | 76b5c44 | 2019-07-30 01:01:39 | [diff] [blame] | 7695 | |
Vikas Soni | 97365061 | 2023-05-24 08:59:46 | [diff] [blame] | 7696 | {"use-client-gmb-interface", flag_descriptions::kUseClientGmbInterfaceName, |
| 7697 | flag_descriptions::kUseClientGmbInterfaceDescription, kOsAll, |
| 7698 | FEATURE_VALUE_TYPE(features::kUseClientGmbInterface)}, |
| 7699 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7700 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Yulun Wu | 1e35513 | 2020-02-11 20:12:22 | [diff] [blame] | 7701 | {"contextual-nudges", flag_descriptions::kContextualNudgesName, |
| 7702 | flag_descriptions::kContextualNudgesDescription, kOsCrOS, |
| 7703 | FEATURE_VALUE_TYPE(ash::features::kContextualNudges)}, |
Angela Xiao | 69e8fc2 | 2023-06-01 22:05:22 | [diff] [blame] | 7704 | |
| 7705 | {"scalable-iph", flag_descriptions::kScalableIphName, |
| 7706 | flag_descriptions::kScalableIphDescription, kOsCrOS, |
| 7707 | FEATURE_VALUE_TYPE(ash::features::kScalableIph)}, |
Angela Xiao | 6436074 | 2023-06-15 21:35:07 | [diff] [blame] | 7708 | |
| 7709 | {"help-app-welcome-tips", flag_descriptions::kHelpAppWelcomeTipsName, |
| 7710 | flag_descriptions::kHelpAppWelcomeTipsDescription, kOsCrOS, |
| 7711 | FEATURE_VALUE_TYPE(ash::features::kHelpAppWelcomeTips)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7712 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Yulun Wu | 1e35513 | 2020-02-11 20:12:22 | [diff] [blame] | 7713 | |
Yulun Wu | c7439a65 | 2021-06-18 17:24:18 | [diff] [blame] | 7714 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 7715 | {"settings-app-notification-settings", |
| 7716 | flag_descriptions::kSettingsAppNotificationSettingsName, |
| 7717 | flag_descriptions::kSettingsAppNotificationSettingsDescription, kOsCrOS, |
| 7718 | FEATURE_VALUE_TYPE(ash::features::kSettingsAppNotificationSettings)}, |
| 7719 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 7720 | |
Bob Beck | d9873c2 | 2023-02-21 22:56:45 | [diff] [blame] | 7721 | {"use-sha1-server-handshakes", flag_descriptions::kSHA1ServerSignatureName, |
| 7722 | flag_descriptions::kSHA1ServerSignatureDescription, kOsAll, |
| 7723 | FEATURE_VALUE_TYPE(net::features::kSHA1ServerSignature)}, |
| 7724 | |
David Benjamin | 371481f | 2022-06-15 15:57:40 | [diff] [blame] | 7725 | {"encrypted-client-hello", flag_descriptions::kEncryptedClientHelloName, |
| 7726 | flag_descriptions::kEncryptedClientHelloDescription, kOsAll, |
| 7727 | FEATURE_VALUE_TYPE(net::features::kEncryptedClientHello)}, |
Daniel McArdle | b87dd009 | 2020-02-10 20:23:46 | [diff] [blame] | 7728 | |
Tsuyoshi Horo | d8114960 | 2022-07-04 01:34:09 | [diff] [blame] | 7729 | {"use-dns-https-svcb-alpn", flag_descriptions::kUseDnsHttpsSvcbAlpnName, |
| 7730 | flag_descriptions::kUseDnsHttpsSvcbAlpnDescription, |
| 7731 | kOsLinux | kOsMac | kOsWin | kOsCrOS | kOsAndroid, |
| 7732 | FEATURE_VALUE_TYPE(net::features::kUseDnsHttpsSvcbAlpn)}, |
| 7733 | |
Klaus Weidner | 90b7803 | 2022-06-01 22:48:33 | [diff] [blame] | 7734 | #if !BUILDFLAG(IS_ANDROID) |
| 7735 | {"hidpi-capture", flag_descriptions::kWebContentsCaptureHiDpiName, |
| 7736 | flag_descriptions::kWebContentsCaptureHiDpiDescription, kOsDesktop, |
| 7737 | FEATURE_VALUE_TYPE(media::kWebContentsCaptureHiDpi)}, |
| 7738 | #endif // !BUILDFLAG(IS_ANDROID) |
| 7739 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7740 | #if BUILDFLAG(IS_ANDROID) |
Ayu Ishii | dbdd5c9 | 2020-03-20 23:40:52 | [diff] [blame] | 7741 | {"web-otp-backend", flag_descriptions::kWebOtpBackendName, |
| 7742 | flag_descriptions::kWebOtpBackendDescription, kOsAndroid, |
Yi Gu | 13cc724 | 2020-12-10 03:23:37 | [diff] [blame] | 7743 | MULTI_VALUE_TYPE(kWebOtpBackendChoices)}, |
Ayu Ishii | dbdd5c9 | 2020-03-20 23:40:52 | [diff] [blame] | 7744 | |
Lijin Shen | 5feade6 | 2019-09-17 03:01:01 | [diff] [blame] | 7745 | {"darken-websites-checkbox-in-themes-setting", |
| 7746 | flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingName, |
| 7747 | flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingDescription, |
| 7748 | kOsAndroid, |
| 7749 | FEATURE_VALUE_TYPE( |
Neil Coronado | a0f571b8 | 2021-11-23 18:45:39 | [diff] [blame] | 7750 | content_settings::kDarkenWebsitesCheckboxInThemesSetting)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7751 | #endif // BUILDFLAG(IS_ANDROID) |
Lijin Shen | 5feade6 | 2019-09-17 03:01:01 | [diff] [blame] | 7752 | |
Christos Froussios | 13b412df | 2019-09-19 19:12:47 | [diff] [blame] | 7753 | {"enable-autofill-upi-vpa", flag_descriptions::kAutofillSaveAndFillVPAName, |
| 7754 | flag_descriptions::kAutofillSaveAndFillVPADescription, kOsAll, |
| 7755 | FEATURE_VALUE_TYPE(autofill::features::kAutofillSaveAndFillVPA)}, |
Jan Wilken Dörrie | e8a6b3c | 2019-08-20 14:14:46 | [diff] [blame] | 7756 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7757 | #if BUILDFLAG(IS_ANDROID) |
Nandhini | 11a6a87b | 2019-08-22 22:45:24 | [diff] [blame] | 7758 | {"context-menu-search-with-google-lens", |
| 7759 | flag_descriptions::kContextMenuSearchWithGoogleLensName, |
| 7760 | flag_descriptions::kContextMenuSearchWithGoogleLensDescription, kOsAndroid, |
Yu Su | e1281339 | 2022-02-15 19:26:25 | [diff] [blame] | 7761 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 7762 | chrome::android::kContextMenuSearchWithGoogleLens, |
| 7763 | kLensContextMenuSearchVariations, |
| 7764 | "ContextMenuSearchWithGoogleLens")}, |
Yu Su | 50dfedd5 | 2020-06-19 02:34:49 | [diff] [blame] | 7765 | |
Anudeep Palanki | c903c59e | 2023-01-26 16:46:55 | [diff] [blame] | 7766 | {"context-menu-google-lens-search-optimizations", |
| 7767 | flag_descriptions::kContextMenuGoogleLensSearchOptimizationsName, |
| 7768 | flag_descriptions::kContextMenuGoogleLensSearchOptimizationsDescription, |
| 7769 | kOsAndroid, |
| 7770 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 7771 | chrome::android::kContextMenuGoogleLensSearchOptimizations, |
| 7772 | kContextMenuGoogleLensSearchOptimizationVariations, |
| 7773 | "ContextMenuGoogleLensSearchOptimizations")}, |
| 7774 | |
Yu Su | c19bb6cc | 2021-02-25 06:38:29 | [diff] [blame] | 7775 | {"lens-camera-assisted-search", |
| 7776 | flag_descriptions::kLensCameraAssistedSearchName, |
| 7777 | flag_descriptions::kLensCameraAssistedSearchDescription, kOsAndroid, |
Yu Su | 49408c0 | 2021-03-12 02:04:13 | [diff] [blame] | 7778 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kLensCameraAssistedSearch, |
| 7779 | kLensCameraAssistedSearchVariations, |
Yu Su | 1238dc67 | 2022-03-17 05:10:55 | [diff] [blame] | 7780 | "LensCameraAssistedSearch")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7781 | #endif // BUILDFLAG(IS_ANDROID) |
Andy Paicu | 4d675fe | 2019-08-22 15:30:06 | [diff] [blame] | 7782 | |
Anne Lim | 24031e9d | 2019-09-12 23:03:19 | [diff] [blame] | 7783 | {"autofill-always-return-cloud-tokenized-card", |
| 7784 | flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardName, |
| 7785 | flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardDescription, |
| 7786 | kOsAll, |
| 7787 | FEATURE_VALUE_TYPE( |
| 7788 | autofill::features::kAutofillAlwaysReturnCloudTokenizedCard)}, |
| 7789 | |
Alexander Timin | 6ae060b6 | 2019-09-17 11:21:37 | [diff] [blame] | 7790 | {"back-forward-cache", flag_descriptions::kBackForwardCacheName, |
| 7791 | flag_descriptions::kBackForwardCacheDescription, kOsAll, |
Alexander Timin | 6d24bd2f | 2019-09-17 19:52:03 | [diff] [blame] | 7792 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kBackForwardCache, |
| 7793 | kBackForwardCacheVariations, |
| 7794 | "BackForwardCache")}, |
Yuzu Saijo | 312b843 | 2022-03-01 03:27:31 | [diff] [blame] | 7795 | {"enable-back-forward-cache-for-screen-reader", |
| 7796 | flag_descriptions::kEnableBackForwardCacheForScreenReaderName, |
| 7797 | flag_descriptions::kEnableBackForwardCacheForScreenReaderDescription, |
| 7798 | kOsAll, |
| 7799 | FEATURE_VALUE_TYPE(features::kEnableBackForwardCacheForScreenReader)}, |
Alexander Timin | 6ae060b6 | 2019-09-17 11:21:37 | [diff] [blame] | 7800 | |
Gaston Rodriguez Lopez | 8baf013 | 2022-07-13 18:58:24 | [diff] [blame] | 7801 | {"windows-scrolling-personality", |
| 7802 | flag_descriptions::kWindowsScrollingPersonalityName, |
| 7803 | flag_descriptions::kWindowsScrollingPersonalityDescription, kOsAll, |
| 7804 | FEATURE_VALUE_TYPE(features::kWindowsScrollingPersonality)}, |
Matt Amert | ecf4bf3 | 2019-09-25 19:50:39 | [diff] [blame] | 7805 | |
Robert Flack | 2aeba7dc | 2022-11-23 21:02:12 | [diff] [blame] | 7806 | #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) |
Robert Flack | d69659f | 2021-06-02 22:32:33 | [diff] [blame] | 7807 | {"elastic-overscroll", flag_descriptions::kElasticOverscrollName, |
| 7808 | flag_descriptions::kElasticOverscrollDescription, kOsWin | kOsAndroid, |
| 7809 | FEATURE_VALUE_TYPE(features::kElasticOverscroll)}, |
Rahul Arakeri | f87184f | 2020-04-16 23:29:39 | [diff] [blame] | 7810 | #endif |
| 7811 | |
Alexis Menard | 61ecb91d | 2021-07-17 04:10:33 | [diff] [blame] | 7812 | {"device-posture", flag_descriptions::kDevicePostureName, |
| 7813 | flag_descriptions::kDevicePostureDescription, kOsAll, |
| 7814 | FEATURE_VALUE_TYPE(features::kDevicePosture)}, |
| 7815 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7816 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Sanja Perisic | a1e5cd8 | 2022-02-24 11:52:50 | [diff] [blame] | 7817 | {"device-force-scheduled-reboot", |
| 7818 | flag_descriptions::kDeviceForceScheduledRebootName, |
| 7819 | flag_descriptions::kDeviceForceScheduledRebootDescription, kOsCrOS, |
| 7820 | FEATURE_VALUE_TYPE(ash::features::kDeviceForceScheduledReboot)}, |
Xiaohui Chen | 3f3a5bf1 | 2019-09-28 00:29:45 | [diff] [blame] | 7821 | {"enable-assistant-aec", flag_descriptions::kEnableGoogleAssistantAecName, |
| 7822 | flag_descriptions::kEnableGoogleAssistantAecDescription, kOsCrOS, |
Yeunjoo Choi | 65c73cc | 2022-08-02 05:30:16 | [diff] [blame] | 7823 | FEATURE_VALUE_TYPE(ash::assistant::features::kAssistantAudioEraser)}, |
Xiaohui Chen | 3f3a5bf1 | 2019-09-28 00:29:45 | [diff] [blame] | 7824 | #endif |
| 7825 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7826 | #if BUILDFLAG(IS_WIN) |
Pete Lavallee | 2d4415c7 | 2019-10-07 20:43:56 | [diff] [blame] | 7827 | {"enable-winrt-geolocation-implementation", |
| 7828 | flag_descriptions::kWinrtGeolocationImplementationName, |
| 7829 | flag_descriptions::kWinrtGeolocationImplementationDescription, kOsWin, |
| 7830 | FEATURE_VALUE_TYPE(features::kWinrtGeolocationImplementation)}, |
| 7831 | #endif |
| 7832 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7833 | #if BUILDFLAG(IS_MAC) |
James Hollyer | 1b943edb | 2020-10-28 03:28:06 | [diff] [blame] | 7834 | {"enable-core-location-backend", |
| 7835 | flag_descriptions::kMacCoreLocationBackendName, |
| 7836 | flag_descriptions::kMacCoreLocationBackendDescription, kOsMac, |
| 7837 | FEATURE_VALUE_TYPE(features::kMacCoreLocationBackend)}, |
| 7838 | #endif |
| 7839 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7840 | #if !BUILDFLAG(IS_ANDROID) |
Richard Knoll | 7b29356 | 2021-07-08 08:49:06 | [diff] [blame] | 7841 | {"mute-notification-snooze-action", |
| 7842 | flag_descriptions::kMuteNotificationSnoozeActionName, |
| 7843 | flag_descriptions::kMuteNotificationSnoozeActionDescription, kOsDesktop, |
| 7844 | FEATURE_VALUE_TYPE(features::kMuteNotificationSnoozeAction)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7845 | #endif // !BUILDFLAG(IS_ANDROID) |
Richard Knoll | 7b29356 | 2021-07-08 08:49:06 | [diff] [blame] | 7846 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7847 | #if BUILDFLAG(IS_MAC) |
Mohamed Adel | 52ac1ae | 2020-09-08 16:10:27 | [diff] [blame] | 7848 | {"enable-new-mac-notification-api", |
| 7849 | flag_descriptions::kNewMacNotificationAPIName, |
| 7850 | flag_descriptions::kNewMacNotificationAPIDescription, kOsMac, |
| 7851 | FEATURE_VALUE_TYPE(features::kNewMacNotificationAPI)}, |
| 7852 | #endif |
| 7853 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7854 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Hidehiko Abe | 826511f | 2023-03-24 06:58:43 | [diff] [blame] | 7855 | {"exo-consumed-by-ime-by-flag", |
| 7856 | flag_descriptions::kExoConsumedByImeByFlagName, |
| 7857 | flag_descriptions::kExoConsumedByImeByFlagDescription, kOsCrOS, |
| 7858 | FEATURE_VALUE_TYPE(ash::features::kExoConsumedByImeByFlag)}, |
Prabir Pradhan | 67677e8 | 2020-09-11 18:26:52 | [diff] [blame] | 7859 | {"exo-gamepad-vibration", flag_descriptions::kExoGamepadVibrationName, |
| 7860 | flag_descriptions::kExoGamepadVibrationDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7861 | FEATURE_VALUE_TYPE(ash::features::kGamepadVibration)}, |
Nicholas Hollingum | 4cbff26 | 2020-09-08 04:02:15 | [diff] [blame] | 7862 | {"exo-ordinal-motion", flag_descriptions::kExoOrdinalMotionName, |
| 7863 | flag_descriptions::kExoOrdinalMotionDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7864 | FEATURE_VALUE_TYPE(ash::features::kExoOrdinalMotion)}, |
Hidehiko Abe | 03ab732 | 2023-05-17 10:22:18 | [diff] [blame] | 7865 | {"exo-surrounding-text-offset", |
| 7866 | flag_descriptions::kExoSurroundingTextOffsetName, |
| 7867 | flag_descriptions::kExoSurroundingTextOffsetDescription, kOsCrOS, |
| 7868 | FEATURE_VALUE_TYPE(ash::features::kExoSurroundingTextOffset)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7869 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Nicholas Hollingum | e9a6744f | 2019-10-03 05:57:29 | [diff] [blame] | 7870 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7871 | #if BUILDFLAG(IS_MAC) |
Leonard Grey | 2e90921c | 2021-12-02 22:46:13 | [diff] [blame] | 7872 | {"screentime", flag_descriptions::kScreenTimeName, |
| 7873 | flag_descriptions::kScreenTimeDescription, kOsMac, |
| 7874 | FEATURE_VALUE_TYPE(screentime::kScreenTime)}, |
Christopher Cameron | 93855ff | 2019-10-10 19:26:54 | [diff] [blame] | 7875 | #endif |
| 7876 | |
John Delaney | 782c7776 | 2019-10-28 15:53:56 | [diff] [blame] | 7877 | {"enable-heavy-ad-intervention", |
| 7878 | flag_descriptions::kHeavyAdInterventionName, |
| 7879 | flag_descriptions::kHeavyAdInterventionDescription, kOsAll, |
Colin Blundell | 7aff584 | 2021-03-29 08:56:56 | [diff] [blame] | 7880 | FEATURE_VALUE_TYPE(heavy_ad_intervention::features::kHeavyAdIntervention)}, |
John Delaney | 782c7776 | 2019-10-28 15:53:56 | [diff] [blame] | 7881 | |
John Delaney | 521fe9f | 2020-04-29 22:18:19 | [diff] [blame] | 7882 | {"heavy-ad-privacy-mitigations", |
| 7883 | flag_descriptions::kHeavyAdPrivacyMitigationsName, |
| 7884 | flag_descriptions::kHeavyAdPrivacyMitigationsDescription, kOsAll, |
Colin Blundell | 7aff584 | 2021-03-29 08:56:56 | [diff] [blame] | 7885 | FEATURE_VALUE_TYPE( |
| 7886 | heavy_ad_intervention::features::kHeavyAdPrivacyMitigations)}, |
John Delaney | 782c7776 | 2019-10-28 15:53:56 | [diff] [blame] | 7887 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7888 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Fergus Dall | 9d0e95a | 2021-07-30 08:10:11 | [diff] [blame] | 7889 | {"crostini-container-install", |
| 7890 | flag_descriptions::kCrostiniContainerInstallName, |
| 7891 | flag_descriptions::kCrostiniContainerInstallDescription, kOsCrOS, |
| 7892 | MULTI_VALUE_TYPE(kCrostiniContainerChoices)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7893 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
David Munro | 3728ef7 | 2019-10-30 07:22:15 | [diff] [blame] | 7894 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7895 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Ethan Mooney | 01e6f19 | 2021-06-10 13:14:07 | [diff] [blame] | 7896 | {"os-settings-app-notifications-page", |
| 7897 | flag_descriptions::kOsSettingsAppNotificationsPageName, |
| 7898 | flag_descriptions::kOsSettingsAppNotificationsPageDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7899 | FEATURE_VALUE_TYPE(ash::features::kOsSettingsAppNotificationsPage)}, |
Callistus | d4ba8b0d | 2023-04-03 05:34:59 | [diff] [blame] | 7900 | {"help-app-apps-discovery", flag_descriptions::kHelpAppAppsDiscoveryName, |
| 7901 | flag_descriptions::kHelpAppAppsDiscoveryDescription, kOsCrOS, |
| 7902 | FEATURE_VALUE_TYPE(ash::features::kHelpAppAppsDiscovery)}, |
Callistus | 3b86227 | 2023-05-09 02:34:08 | [diff] [blame] | 7903 | {"help-app-auto-trigger-install-dialog", |
| 7904 | flag_descriptions::kHelpAppAutoTriggerInstallDialogName, |
| 7905 | flag_descriptions::kHelpAppAutoTriggerInstallDialogDescription, kOsCrOS, |
| 7906 | FEATURE_VALUE_TYPE(ash::features::kHelpAppAutoTriggerInstallDialog)}, |
Zufeng Wang | 9d3362eb82 | 2021-03-11 00:23:29 | [diff] [blame] | 7907 | {"help-app-launcher-search", flag_descriptions::kHelpAppLauncherSearchName, |
| 7908 | flag_descriptions::kHelpAppLauncherSearchDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7909 | FEATURE_VALUE_TYPE(ash::features::kHelpAppLauncherSearch)}, |
Patti | d12c5eb | 2023-04-03 01:37:00 | [diff] [blame] | 7910 | {"media-app-pdf-signature", flag_descriptions::kMediaAppPdfSignatureName, |
| 7911 | flag_descriptions::kMediaAppPdfSignatureDescription, kOsCrOS, |
| 7912 | FEATURE_VALUE_TYPE(ash::features::kMediaAppPdfSignature)}, |
Rachel Carpenter | 57c8523c | 2020-09-23 01:11:22 | [diff] [blame] | 7913 | {"release-notes-notification-all-channels", |
| 7914 | flag_descriptions::kReleaseNotesNotificationAllChannelsName, |
| 7915 | flag_descriptions::kReleaseNotesNotificationAllChannelsDescription, |
| 7916 | kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7917 | FEATURE_VALUE_TYPE(ash::features::kReleaseNotesNotificationAllChannels)}, |
Chad Duffin | 73b2226f | 2023-05-29 16:53:32 | [diff] [blame] | 7918 | {"use-android-staging-smds", flag_descriptions::kUseAndroidStagingSmdsName, |
| 7919 | flag_descriptions::kUseAndroidStagingSmdsDescription, kOsCrOS, |
| 7920 | FEATURE_VALUE_TYPE(ash::features::kUseAndroidStagingSmds)}, |
Regan Hsu | 3243afa | 2021-06-21 18:27:27 | [diff] [blame] | 7921 | {"use-stork-smds-server-address", |
| 7922 | flag_descriptions::kUseStorkSmdsServerAddressName, |
| 7923 | flag_descriptions::kUseStorkSmdsServerAddressDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7924 | FEATURE_VALUE_TYPE(ash::features::kUseStorkSmdsServerAddress)}, |
Regan Hsu | 1ffea92 | 2020-09-10 17:08:47 | [diff] [blame] | 7925 | {"use-wallpaper-staging-url", |
| 7926 | flag_descriptions::kUseWallpaperStagingUrlName, |
| 7927 | flag_descriptions::kUseWallpaperStagingUrlDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 7928 | FEATURE_VALUE_TYPE(ash::features::kUseWallpaperStagingUrl)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 7929 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
James Cook | 9348f36 | 2019-11-15 01:15:58 | [diff] [blame] | 7930 | |
siyua | 1959322 | 2019-12-04 22:27:06 | [diff] [blame] | 7931 | {"autofill-enable-virtual-card", |
| 7932 | flag_descriptions::kAutofillEnableVirtualCardName, |
| 7933 | flag_descriptions::kAutofillEnableVirtualCardDescription, kOsDesktop, |
| 7934 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableVirtualCard)}, |
Vipul Vinod Koul | 7830cc09 | 2022-05-04 00:42:46 | [diff] [blame] | 7935 | |
siashah | d77982440 | 2022-03-31 20:06:55 | [diff] [blame] | 7936 | #if BUILDFLAG(IS_ANDROID) |
| 7937 | {"autofill-enable-manual-fallback-for-virtual-cards", |
| 7938 | flag_descriptions::kAutofillEnableManualFallbackForVirtualCardsName, |
| 7939 | flag_descriptions::kAutofillEnableManualFallbackForVirtualCardsDescription, |
| 7940 | kOsAndroid, |
| 7941 | FEATURE_VALUE_TYPE( |
| 7942 | autofill::features::kAutofillEnableManualFallbackForVirtualCards)}, |
| 7943 | #endif // BUILDFLAG(IS_ANDROID) |
siyua | 1959322 | 2019-12-04 22:27:06 | [diff] [blame] | 7944 | |
Vishwas Uppoor | 89303a9 | 2022-08-03 00:56:26 | [diff] [blame] | 7945 | {"autofill-enable-card-product-name", |
| 7946 | flag_descriptions::kAutofillEnableCardProductNameName, |
| 7947 | flag_descriptions::kAutofillEnableCardProductNameDescription, kOsAll, |
| 7948 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardProductName)}, |
| 7949 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7950 | #if BUILDFLAG(ENABLE_PAINT_PREVIEW) && BUILDFLAG(IS_ANDROID) |
Mehran Mahmoudi | b8d0b7c | 2020-03-14 18:10:56 | [diff] [blame] | 7951 | {"paint-preview-demo", flag_descriptions::kPaintPreviewDemoName, |
| 7952 | flag_descriptions::kPaintPreviewDemoDescription, kOsAndroid, |
| 7953 | FEATURE_VALUE_TYPE(paint_preview::kPaintPreviewDemo)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7954 | #endif // BUILDFLAG(ENABLE_PAINT_PREVIEW) && BUILDFLAG(IS_ANDROID) |
ckitagawa | 8dad53d | 2020-01-07 16:03:35 | [diff] [blame] | 7955 | |
Mike Wasserman | 90ee63f | 2023-04-10 22:35:48 | [diff] [blame] | 7956 | {"fullscreen-popup-windows", flag_descriptions::kFullscreenPopupWindowsName, |
| 7957 | flag_descriptions::kFullscreenPopupWindowsDescription, |
| 7958 | kOsDesktop | kOsAndroid, |
| 7959 | FEATURE_VALUE_TYPE(blink::features::kFullscreenPopupWindows)}, |
| 7960 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7961 | #if BUILDFLAG(IS_WIN) |
Armando Miraglia | b4a2e38 | 2020-03-04 14:27:07 | [diff] [blame] | 7962 | {"run-video-capture-service-in-browser", |
| 7963 | flag_descriptions::kRunVideoCaptureServiceInBrowserProcessName, |
| 7964 | flag_descriptions::kRunVideoCaptureServiceInBrowserProcessDescription, |
| 7965 | kOsWin, |
| 7966 | FEATURE_VALUE_TYPE(features::kRunVideoCaptureServiceInBrowserProcess)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7967 | #endif // BUILDFLAG(IS_WIN) |
Kamila | 5e993568 | 2022-08-05 12:43:29 | [diff] [blame] | 7968 | {"disruptive-notification-permission-revocation", |
| 7969 | flag_descriptions::kDisruptiveNotificationPermissionRevocationName, |
| 7970 | flag_descriptions::kDisruptiveNotificationPermissionRevocationDescription, |
| 7971 | kOsAll, |
| 7972 | FEATURE_VALUE_TYPE(features::kDisruptiveNotificationPermissionRevocation)}, |
Daniele Castagna | 6a5cbdeb6 | 2020-02-18 22:48:14 | [diff] [blame] | 7973 | {"double-buffer-compositing", |
| 7974 | flag_descriptions::kDoubleBufferCompositingName, |
| 7975 | flag_descriptions::kDoubleBufferCompositingDescription, kOsCrOS, |
| 7976 | SINGLE_VALUE_TYPE(switches::kDoubleBufferCompositing)}, |
Dominic Mazzoni | 380f04f | 2020-02-18 18:49:27 | [diff] [blame] | 7977 | |
Norge Vizcay | 8f1b1e1e | 2022-11-18 17:28:59 | [diff] [blame] | 7978 | #if !BUILDFLAG(IS_ANDROID) |
Zofia Salata | 1f9c6ae | 2022-07-21 16:23:31 | [diff] [blame] | 7979 | {"page-info-hide-site-settings", |
| 7980 | flag_descriptions::kPageInfoHideSiteSettingsName, |
| 7981 | flag_descriptions::kPageInfoHideSiteSettingsDescription, kOsDesktop, |
| 7982 | FEATURE_VALUE_TYPE(page_info::kPageInfoHideSiteSettings)}, |
| 7983 | #endif // !BUILDFLAG(IS_ANDROID) |
| 7984 | |
| 7985 | #if BUILDFLAG(IS_ANDROID) |
Zaina Al-Mashni | 2df0e5f | 2023-01-20 11:09:26 | [diff] [blame] | 7986 | {"page-info-about-this-site-improved-bottomsheet", |
| 7987 | flag_descriptions::kPageInfoAboutThisSiteImprovedBottomSheetName, |
| 7988 | flag_descriptions::kPageInfoAboutThisSiteImprovedBottomSheetDescription, |
| 7989 | kOsAndroid, |
| 7990 | FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteImprovedBottomSheet)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7991 | #endif // BUILDFLAG(IS_ANDROID) |
Ehimare Okoyomon | 2eccb607 | 2020-05-12 12:22:27 | [diff] [blame] | 7992 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7993 | #if !BUILDFLAG(IS_ANDROID) |
Olesia Marukhno | 4f39c7fb | 2021-12-14 16:55:48 | [diff] [blame] | 7994 | {"page-info-history-desktop", |
| 7995 | flag_descriptions::kPageInfoHistoryDesktopName, |
| 7996 | flag_descriptions::kPageInfoHistoryDesktopDescription, kOsDesktop, |
| 7997 | FEATURE_VALUE_TYPE(page_info::kPageInfoHistoryDesktop)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 7998 | #endif // !BUILDFLAG(IS_ANDROID) |
Olesia Marukhno | 4f39c7fb | 2021-12-14 16:55:48 | [diff] [blame] | 7999 | |
Filipa Senra | b578756 | 2023-02-20 11:03:50 | [diff] [blame] | 8000 | {"page-info-about-this-site-new-icon", |
| 8001 | flag_descriptions::kPageInfoAboutThisSiteNewIconName, |
| 8002 | flag_descriptions::kPageInfoAboutThisSiteNewIconDescription, |
| 8003 | kOsDesktop | kOsAndroid, |
| 8004 | FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteNewIcon)}, |
| 8005 | |
Christian Dullweber | 77ae675 | 2022-12-14 18:58:38 | [diff] [blame] | 8006 | {"page-info-about-this-site-non-en", |
| 8007 | flag_descriptions::kPageInfoAboutThisSiteNonEnName, |
| 8008 | flag_descriptions::kPageInfoAboutThisSiteNonEnDescription, |
| 8009 | kOsDesktop | kOsAndroid, |
Christian Dullweber | 686e52c | 2023-06-15 08:52:18 | [diff] [blame] | 8010 | FEATURE_VALUE_TYPE(page_info::kPageInfoAboutThisSiteMoreLangs)}, |
Christian Dullweber | 77ae675 | 2022-12-14 18:58:38 | [diff] [blame] | 8011 | |
Christian Dullweber | a0b16c187 | 2022-09-22 09:44:02 | [diff] [blame] | 8012 | #if !BUILDFLAG(IS_ANDROID) |
Christian Dullweber | 8fdeb5d | 2022-08-24 20:14:57 | [diff] [blame] | 8013 | {"page-info-about-this-page-persistent-side-panel-entry", |
| 8014 | flag_descriptions::kPageInfoboutThisPagePersistentEntryName, |
| 8015 | flag_descriptions::kPageInfoboutThisPagePersistentEntryDescription, |
| 8016 | kOsDesktop, |
| 8017 | FEATURE_VALUE_TYPE(page_info::kAboutThisSitePersistentSidePanelEntry)}, |
Filipa Senra | fc3fb452 | 2023-03-17 18:12:22 | [diff] [blame] | 8018 | |
| 8019 | {"page-info-about-this-site-keep-side-panel-open-on-same-tab-navs", |
| 8020 | flag_descriptions::kPageInfoAboutThisSiteKeepSidePanelOnSameTabNavs, |
| 8021 | flag_descriptions:: |
| 8022 | kPageInfoAboutThisSiteKeepSidePanelOnSameTabNavsDescription, |
| 8023 | kOsDesktop, |
| 8024 | FEATURE_VALUE_TYPE( |
| 8025 | page_info::kPageInfoAboutThisSiteKeepSidePanelOnSameTabNavs)}, |
Christian Dullweber | a0b16c187 | 2022-09-22 09:44:02 | [diff] [blame] | 8026 | #endif |
Christian Dullweber | 8fdeb5d | 2022-08-24 20:14:57 | [diff] [blame] | 8027 | |
Olesia Marukhno | cfcb388 | 2023-06-06 08:55:11 | [diff] [blame] | 8028 | {"user-bypass-ui", flag_descriptions::kUserBypassUIName, |
| 8029 | flag_descriptions::kUserBypassUIDescription, kOsDesktop | kOsAndroid, |
| 8030 | FEATURE_VALUE_TYPE(content_settings::features::kUserBypassUI)}, |
| 8031 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8032 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Colin Kincaid | fdf4661 | 2023-03-23 01:23:23 | [diff] [blame] | 8033 | {kClipboardHistoryLongpressInternalName, |
| 8034 | flag_descriptions::kClipboardHistoryLongpressName, |
| 8035 | flag_descriptions::kClipboardHistoryLongpressDescription, kOsCrOS, |
| 8036 | FEATURE_VALUE_TYPE(ash::features::kClipboardHistoryLongpress)}, |
Colin Kincaid | b78ba32 | 2023-06-22 02:25:37 | [diff] [blame] | 8037 | {kClipboardHistoryRefreshInternalName, |
| 8038 | flag_descriptions::kClipboardHistoryRefreshName, |
| 8039 | flag_descriptions::kClipboardHistoryRefreshDescription, kOsCrOS, |
| 8040 | FEATURE_VALUE_TYPE(chromeos::features::kClipboardHistoryRefresh)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8041 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Avery Musbach | 6277782 | 2020-03-06 05:49:04 | [diff] [blame] | 8042 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8043 | #if BUILDFLAG(IS_WIN) |
Armando Miraglia | d2e6fc9e | 2020-03-06 09:23:09 | [diff] [blame] | 8044 | {"enable-media-foundation-video-capture", |
| 8045 | flag_descriptions::kEnableMediaFoundationVideoCaptureName, |
| 8046 | flag_descriptions::kEnableMediaFoundationVideoCaptureDescription, kOsWin, |
| 8047 | FEATURE_VALUE_TYPE(media::kMediaFoundationVideoCapture)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8048 | #endif // BUILDFLAG(IS_WIN) |
Armando Miraglia | d2e6fc9e | 2020-03-06 09:23:09 | [diff] [blame] | 8049 | |
Sergey Kataev | c3be71f1 | 2022-11-18 20:11:55 | [diff] [blame] | 8050 | {"private-state-tokens", flag_descriptions::kPrivateStateTokensName, |
| 8051 | flag_descriptions::kPrivateStateTokensDescription, kOsAll, |
Sam Schlesinger | 59f5144 | 2022-12-07 21:36:17 | [diff] [blame] | 8052 | FEATURE_VALUE_TYPE(network::features::kPrivateStateTokens)}, |
David Van Cleve | 08c5bc01 | 2020-03-26 17:31:46 | [diff] [blame] | 8053 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8054 | #if !BUILDFLAG(IS_ANDROID) |
John Lee | 651b4767 | 2020-09-14 19:55:02 | [diff] [blame] | 8055 | {"copy-link-to-text", flag_descriptions::kCopyLinkToTextName, |
| 8056 | flag_descriptions::kCopyLinkToTextDescription, kOsDesktop, |
| 8057 | FEATURE_VALUE_TYPE(features::kCopyLinkToText)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8058 | #endif // !BUILDFLAG(IS_ANDROID) |
Josh Nohle | 928fdb6 | 2020-11-03 18:54:23 | [diff] [blame] | 8059 | |
Cheick Cisse | 006ab4e1 | 2022-06-03 17:30:05 | [diff] [blame] | 8060 | {"shared-highlighting-manager", |
| 8061 | flag_descriptions::kSharedHighlightingManagerName, |
| 8062 | flag_descriptions::kSharedHighlightingManagerDescription, kOsAll, |
| 8063 | FEATURE_VALUE_TYPE(shared_highlighting::kSharedHighlightingManager)}, |
Gayane Petrosyan | 6538073 | 2021-01-15 01:09:53 | [diff] [blame] | 8064 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8065 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Anton Swifton | 1917b87 | 2022-05-26 06:27:43 | [diff] [blame] | 8066 | {"shimless-rma-os-update", flag_descriptions::kShimlessRMAOsUpdateName, |
| 8067 | flag_descriptions::kShimlessRMAOsUpdateDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 8068 | FEATURE_VALUE_TYPE(ash::features::kShimlessRMAOsUpdate)}, |
Cam Bickel | a829746 | 2023-06-15 19:36:52 | [diff] [blame] | 8069 | {"shimless-rma-compliance-check", |
| 8070 | flag_descriptions::kShimlessRMAComplianceCheckName, |
| 8071 | flag_descriptions::kShimlessRMAComplianceCheckDescription, kOsCrOS, |
| 8072 | FEATURE_VALUE_TYPE(ash::features::kShimlessRMAComplianceCheck)}, |
wenyu zhang | 9800016 | 2022-06-16 17:02:53 | [diff] [blame] | 8073 | {"shimless-rma-disable-dark-mode", |
| 8074 | flag_descriptions::kShimlessRMADisableDarkModeName, |
| 8075 | flag_descriptions::kShimlessRMADisableDarkModeDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 8076 | FEATURE_VALUE_TYPE(ash::features::kShimlessRMADisableDarkMode)}, |
Gavin Williams | 1a14b921 | 2023-03-22 19:42:29 | [diff] [blame] | 8077 | {"shimless-rma-diagnostic-page", |
| 8078 | flag_descriptions::kShimlessRMADiagnosticPageName, |
| 8079 | flag_descriptions::kShimlessRMADiagnosticPageDescription, kOsCrOS, |
Gavin Williams | 849e64d | 2023-04-04 23:50:17 | [diff] [blame] | 8080 | FEATURE_VALUE_TYPE(ash::features::kShimlessRMADiagnosticPage)}, |
Ashley Prasad | a370c060 | 2023-04-04 20:54:05 | [diff] [blame] | 8081 | {"shortcut-customization-jelly", |
| 8082 | flag_descriptions::kShortcutCustomizationJellyName, |
| 8083 | flag_descriptions::kShortcutCustomizationJellyDescription, kOsCrOS, |
| 8084 | FEATURE_VALUE_TYPE(ash::features::kShortcutCustomizationJelly)}, |
Brando | 51a6f88 | 2023-05-26 19:02:44 | [diff] [blame] | 8085 | {"nearby-sharing-self-share", |
| 8086 | flag_descriptions::kNearbySharingSelfShareName, |
| 8087 | flag_descriptions::kNearbySharingSelfShareDescription, kOsCrOS, |
| 8088 | FEATURE_VALUE_TYPE(features::kNearbySharingSelfShare)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8089 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
James Vecore | 30f589c2 | 2020-04-03 23:16:17 | [diff] [blame] | 8090 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8091 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Rob Schonberger | e0a8e3c | 2020-04-21 03:04:39 | [diff] [blame] | 8092 | {"enable-palm-suppression", flag_descriptions::kEnablePalmSuppressionName, |
| 8093 | flag_descriptions::kEnablePalmSuppressionDescription, kOsCrOS, |
| 8094 | FEATURE_VALUE_TYPE(ui::kEnablePalmSuppression)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8095 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Rob Schonberger | e0a8e3c | 2020-04-21 03:04:39 | [diff] [blame] | 8096 | |
Lily Chen | 17c5797 | 2020-04-22 19:27:44 | [diff] [blame] | 8097 | {"enable-experimental-cookie-features", |
| 8098 | flag_descriptions::kEnableExperimentalCookieFeaturesName, |
| 8099 | flag_descriptions::kEnableExperimentalCookieFeaturesDescription, kOsAll, |
| 8100 | MULTI_VALUE_TYPE(kEnableExperimentalCookieFeaturesChoices)}, |
| 8101 | |
Alisa Lin | 7925114 | 2021-06-15 20:22:12 | [diff] [blame] | 8102 | {"canvas-2d-layers", flag_descriptions::kCanvas2DLayersName, |
| 8103 | flag_descriptions::kCanvas2DLayersDescription, kOsAll, |
| 8104 | SINGLE_VALUE_TYPE(switches::kEnableCanvas2DLayers)}, |
| 8105 | |
Honglin Yu | a0a14fa | 2022-03-31 22:40:05 | [diff] [blame] | 8106 | {"enable-machine-learning-model-loader-web-platform-api", |
| 8107 | flag_descriptions::kEnableMachineLearningModelLoaderWebPlatformApiName, |
| 8108 | flag_descriptions:: |
| 8109 | kEnableMachineLearningModelLoaderWebPlatformApiDescription, |
| 8110 | kOsAll, |
| 8111 | FEATURE_VALUE_TYPE( |
| 8112 | features::kEnableMachineLearningModelLoaderWebPlatformApi)}, |
| 8113 | |
Florian Jacky | ca9da17 | 2022-09-26 16:29:46 | [diff] [blame] | 8114 | {"confirmation-chip", flag_descriptions::kConfirmationChipName, |
| 8115 | flag_descriptions::kConfirmationChipNameDescription, kOsDesktop, |
| 8116 | FEATURE_VALUE_TYPE(permissions::features::kConfirmationChip)}, |
| 8117 | |
| 8118 | {"chip-location-bar-icon-override", |
| 8119 | flag_descriptions::kChipLocationBarIconOverrideName, |
| 8120 | flag_descriptions::kChipLocationBarIconOverrideDescription, kOsDesktop, |
| 8121 | FEATURE_VALUE_TYPE(permissions::features::kChipLocationBarIconOverride)}, |
| 8122 | |
Florian Jacky | 3560a40 | 2023-04-03 16:39:03 | [diff] [blame] | 8123 | {"one-time-permission", flag_descriptions::kOneTimePermissionName, |
| 8124 | flag_descriptions::kOneTimePermissionDescription, kOsDesktop, |
| 8125 | FEATURE_VALUE_TYPE(permissions::features::kOneTimePermission)}, |
| 8126 | |
Illia Klimov | 693a6cc | 2023-07-06 15:20:42 | [diff] [blame] | 8127 | {"improved-semantics-activity-indicators", |
| 8128 | flag_descriptions::kImprovedSemanticsActivityIndicatorsName, |
| 8129 | flag_descriptions::kImprovedSemanticsActivityIndicatorsDescription, |
| 8130 | kOsDesktop, |
| 8131 | FEATURE_VALUE_TYPE( |
| 8132 | permissions::features::kImprovedSemanticsActivityIndicators)}, |
| 8133 | |
Doug Arnett | c52291a | 2020-05-07 18:52:30 | [diff] [blame] | 8134 | {"enable-translate-sub-frames", |
| 8135 | flag_descriptions::kEnableTranslateSubFramesName, |
| 8136 | flag_descriptions::kEnableTranslateSubFramesDescription, kOsAll, |
| 8137 | FEATURE_VALUE_TYPE(translate::kTranslateSubFrames)}, |
| 8138 | |
Andrew Paseltiner | 11afa4e | 2022-07-26 14:23:49 | [diff] [blame] | 8139 | {"attribution-reporting-debug-mode", |
| 8140 | flag_descriptions::kAttributionReportingDebugModeName, |
| 8141 | flag_descriptions::kAttributionReportingDebugModeDescription, kOsAll, |
| 8142 | SINGLE_VALUE_TYPE(switches::kAttributionReportingDebugMode)}, |
John Delaney | cd1a54d4 | 2020-05-13 23:06:33 | [diff] [blame] | 8143 | |
Alex Turner | b6d89fa | 2022-10-12 18:33:57 | [diff] [blame] | 8144 | {"private-aggregation-developer-mode", |
| 8145 | flag_descriptions::kPrivateAggregationDeveloperModeName, |
| 8146 | flag_descriptions::kPrivateAggregationDeveloperModeDescription, kOsAll, |
| 8147 | SINGLE_VALUE_TYPE(switches::kPrivateAggregationDeveloperMode)}, |
Alex Turner | 2d50495 | 2022-09-21 23:56:49 | [diff] [blame] | 8148 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8149 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
James Cook | b661f380 | 2021-09-30 21:43:20 | [diff] [blame] | 8150 | {"productivity-launcher", flag_descriptions::kProductivityLauncherName, |
| 8151 | flag_descriptions::kProductivityLauncherDescription, kOsCrOS, |
tby | 630ca62 | 2022-02-02 07:22:17 | [diff] [blame] | 8152 | FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kProductivityLauncher, |
| 8153 | kProductivityLauncherVariations, |
| 8154 | "ProductivityLauncher")}, |
Rachel Wong | bde90d7 | 2022-07-11 06:18:27 | [diff] [blame] | 8155 | {"launcher-item-suggest", flag_descriptions::kLauncherItemSuggestName, |
| 8156 | flag_descriptions::kLauncherItemSuggestDescription, kOsCrOS, |
andrewxu | f7efde2 | 2023-01-12 00:25:28 | [diff] [blame] | 8157 | FEATURE_WITH_PARAMS_VALUE_TYPE(ash::kLauncherItemSuggest, |
Rachel Wong | bde90d7 | 2022-07-11 06:18:27 | [diff] [blame] | 8158 | kLauncherItemSuggestVariations, |
| 8159 | "LauncherItemSuggest")}, |
Matthew Mourgos | 0f79f50 | 2023-03-17 21:22:40 | [diff] [blame] | 8160 | {"eol-incentive", flag_descriptions::kEolIncentiveName, |
| 8161 | flag_descriptions::kEolIncentiveDescription, kOsCrOS, |
| 8162 | FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kEolIncentive, |
| 8163 | kEolIncentiveVariations, |
| 8164 | "EolIncentive")}, |
Yulun Wu | fad5377 | 2022-06-22 22:56:35 | [diff] [blame] | 8165 | {"autocomplete-extended-suggestions", |
| 8166 | flag_descriptions::kAutocompleteExtendedSuggestionsName, |
| 8167 | flag_descriptions::kAutocompleteExtendedSuggestionsDescription, kOsCrOS, |
| 8168 | FEATURE_VALUE_TYPE(ash::features::kAutocompleteExtendedSuggestions)}, |
Yulun Wu | 2f559799 | 2022-08-12 23:57:20 | [diff] [blame] | 8169 | {"productivity-launcher-image-search", |
| 8170 | flag_descriptions::kProductivityLauncherImageSearchName, |
| 8171 | flag_descriptions::kProductivityLauncherImageSearchDescription, kOsCrOS, |
| 8172 | FEATURE_VALUE_TYPE(ash::features::kProductivityLauncherImageSearch)}, |
Ashley Prasad | 0b9fb608 | 2023-04-05 17:36:19 | [diff] [blame] | 8173 | {"scanning-app-jelly", flag_descriptions::kScanningAppJellyName, |
| 8174 | flag_descriptions::kScanningAppJellyDescription, kOsCrOS, |
| 8175 | FEATURE_VALUE_TYPE(ash::features::kScanningAppJelly)}, |
Elliot Tuck | 5551fdd | 2022-07-25 21:10:14 | [diff] [blame] | 8176 | {"shelf-auto-hide-separation", |
| 8177 | flag_descriptions::kShelfAutoHideSeparationName, |
| 8178 | flag_descriptions::kShelfAutoHideSeparationDescription, kOsCrOS, |
| 8179 | FEATURE_VALUE_TYPE(ash::features::kShelfAutoHideSeparation)}, |
Yulun Wu | ee44426 | 2023-01-31 22:40:52 | [diff] [blame] | 8180 | {"shelf-stacked-hotseat", flag_descriptions::kShelfStackedHotseatName, |
| 8181 | flag_descriptions::kShelfStackedHotseatDescription, kOsCrOS, |
| 8182 | FEATURE_VALUE_TYPE(ash::features::kShelfStackedHotseat)}, |
tby | e50bce9a | 2022-03-31 03:32:54 | [diff] [blame] | 8183 | {"launcher-game-search", flag_descriptions::kLauncherGameSearchName, |
| 8184 | flag_descriptions::kLauncherGameSearchDescription, kOsCrOS, |
| 8185 | FEATURE_VALUE_TYPE(search_features::kLauncherGameSearch)}, |
Lauren Commeignes | 9c601fe3 | 2023-06-05 02:47:30 | [diff] [blame] | 8186 | {"launcher-fuzzy-match-across-providers", |
| 8187 | flag_descriptions::kLauncherFuzzyMatchAcrossProvidersName, |
| 8188 | flag_descriptions::kLauncherFuzzyMatchAcrossProvidersDescription, kOsCrOS, |
| 8189 | FEATURE_VALUE_TYPE(search_features::kLauncherFuzzyMatchAcrossProviders)}, |
Rebecca Hsu | 1d63391 | 2022-12-14 06:09:33 | [diff] [blame] | 8190 | {"launcher-keyword-extraction-scoring", |
| 8191 | flag_descriptions::kLauncherKeywordExtractionScoring, |
| 8192 | flag_descriptions::kLauncherKeywordExtractionScoringDescription, kOsCrOS, |
| 8193 | FEATURE_VALUE_TYPE(search_features::kLauncherKeywordExtractionScoring)}, |
Lauren Commeignes | 9f0db8f | 2022-12-21 00:03:47 | [diff] [blame] | 8194 | {"launcher-fuzzy-match-for-omnibox", |
| 8195 | flag_descriptions::kLauncherFuzzyMatchForOmniboxName, |
| 8196 | flag_descriptions::kLauncherFuzzyMatchForOmniboxDescription, kOsCrOS, |
Lauren Commeignes | 6cae745 | 2023-06-27 07:07:51 | [diff] [blame] | 8197 | FEATURE_VALUE_TYPE(search_features::kLauncherFuzzyMatchForOmnibox)}, |
Lauren Commeignes | 33aea8b | 2023-01-03 02:38:28 | [diff] [blame] | 8198 | {"launcher-system-info-answer-cards", |
| 8199 | flag_descriptions::kLauncherSystemInfoAnswerCardsName, |
| 8200 | flag_descriptions::kLauncherSystemInfoAnswerCardsDescription, kOsCrOS, |
| 8201 | FEATURE_VALUE_TYPE(search_features::kLauncherSystemInfoAnswerCards)}, |
Ana Salazar | bb287bcc4 | 2023-01-11 00:34:20 | [diff] [blame] | 8202 | {"app-list-drag-and-drop-refactor", |
| 8203 | flag_descriptions::kAppListDragAndDropRefactorName, |
| 8204 | flag_descriptions::kAppListDragAndDropRefactorDescription, kOsCrOS, |
| 8205 | FEATURE_VALUE_TYPE(app_list_features::kDragAndDropRefactor)}, |
Wen-Chien Wang | e893a8d | 2022-10-05 16:53:25 | [diff] [blame] | 8206 | {"text-in-shelf", flag_descriptions::kTextInShelfName, |
| 8207 | flag_descriptions::kTextInShelfDescription, kOsCrOS, |
| 8208 | FEATURE_VALUE_TYPE(ash::features::kHomeButtonWithText)}, |
Wen-Chien Wang | ecbea05 | 2023-03-02 00:02:23 | [diff] [blame] | 8209 | {"app-collection-folder-refresh", |
| 8210 | flag_descriptions::kAppCollectionFolderRefreshName, |
| 8211 | flag_descriptions::kAppCollectionFolderRefreshDescription, kOsCrOS, |
| 8212 | FEATURE_VALUE_TYPE(ash::features::kAppCollectionFolderRefresh)}, |
Dmitry Grebenyuk | 462003b | 2023-03-26 23:42:26 | [diff] [blame] | 8213 | {"launcher-local-image-search", |
| 8214 | flag_descriptions::kLauncherLocalImageSearchName, |
| 8215 | flag_descriptions::kLauncherLocalImageSearchDescription, kOsCrOS, |
| 8216 | FEATURE_VALUE_TYPE(search_features::kLauncherImageSearch)}, |
Dmitry Grebenyuk | 5f388ac2 | 2023-05-22 03:24:39 | [diff] [blame] | 8217 | {"launcher-local-image-search-ocr", |
| 8218 | flag_descriptions::kLauncherLocalImageSearchOcrName, |
| 8219 | flag_descriptions::kLauncherLocalImageSearchOcrDescription, kOsCrOS, |
| 8220 | FEATURE_VALUE_TYPE(search_features::kLauncherImageSearchOcr)}, |
| 8221 | {"launcher-local-image-search-ica", |
| 8222 | flag_descriptions::kLauncherLocalImageSearchIcaName, |
| 8223 | flag_descriptions::kLauncherLocalImageSearchIcaDescription, kOsCrOS, |
| 8224 | FEATURE_VALUE_TYPE(search_features::kLauncherImageSearchIca)}, |
Matthew Mourgos | 467fb1e | 2023-04-26 21:28:30 | [diff] [blame] | 8225 | {"quick-app-access-test-ui", flag_descriptions::kQuickAppAccessTestUIName, |
| 8226 | flag_descriptions::kQuickAppAccessTestUIDescription, kOsCrOS, |
| 8227 | FEATURE_VALUE_TYPE(ash::features::kQuickAppAccessTestUI)}, |
| 8228 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8229 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Ana Salazar | 270fed4 | 2020-06-11 14:44:40 | [diff] [blame] | 8230 | |
tby | 989a5b5ad | 2021-04-16 06:42:20 | [diff] [blame] | 8231 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Chad Duffin | cdab936 | 2022-07-29 18:31:38 | [diff] [blame] | 8232 | {"mac-address-randomization", |
| 8233 | flag_descriptions::kMacAddressRandomizationName, |
| 8234 | flag_descriptions::kMacAddressRandomizationDescription, kOsCrOS, |
| 8235 | FEATURE_VALUE_TYPE(ash::features::kMacAddressRandomization)}, |
tby | 9a3d807 | 2021-09-01 00:35:45 | [diff] [blame] | 8236 | |
Simon Ziegltrum | 55f69bc | 2022-12-22 16:05:51 | [diff] [blame] | 8237 | {"oobe-jelly", flag_descriptions::kOobeJellyName, |
| 8238 | flag_descriptions::kOobeJellyDescription, kOsCrOS, |
| 8239 | FEATURE_VALUE_TYPE(ash::features::kOobeJelly)}, |
Simon Ziegltrum | ffe92cee8 | 2023-06-30 19:44:34 | [diff] [blame] | 8240 | {"oobe-jelly-modal", flag_descriptions::kOobeJellyModalName, |
| 8241 | flag_descriptions::kOobeJellyModalDescription, kOsCrOS, |
| 8242 | FEATURE_VALUE_TYPE(ash::features::kOobeJellyModal)}, |
Simon Ziegltrum | f02c98af | 2023-03-16 23:03:28 | [diff] [blame] | 8243 | {"oobe-simon", flag_descriptions::kOobeSimonName, |
| 8244 | flag_descriptions::kOobeSimonDescription, kOsCrOS, |
| 8245 | FEATURE_VALUE_TYPE(ash::features::kOobeSimon)}, |
Simon Ziegltrum | c23cb6c5 | 2022-09-22 19:43:44 | [diff] [blame] | 8246 | |
Yulun Wu | 0425551 | 2022-02-15 01:34:15 | [diff] [blame] | 8247 | {"search-result-inline-icon", |
| 8248 | flag_descriptions::kSearchResultInlineIconName, |
| 8249 | flag_descriptions::kSearchResultInlineIconDescription, kOsCrOS, |
| 8250 | FEATURE_VALUE_TYPE(app_list_features::kSearchResultInlineIcon)}, |
| 8251 | |
Chad Duffin | ea47d50 | 2023-04-12 23:25:37 | [diff] [blame] | 8252 | {"smds-support", flag_descriptions::kSmdsSupportName, |
| 8253 | flag_descriptions::kSmdsSupportDescription, kOsCrOS, |
| 8254 | FEATURE_VALUE_TYPE(ash::features::kSmdsSupport)}, |
| 8255 | |
Chad Duffin | e34312d | 2023-04-13 00:17:10 | [diff] [blame] | 8256 | {"smds-support-euicc-upload", |
| 8257 | flag_descriptions::kSmdsSupportEuiccUploadName, |
| 8258 | flag_descriptions::kSmdsSupportEuiccUploadDescription, kOsCrOS, |
| 8259 | FEATURE_VALUE_TYPE(ash::features::kSmdsSupportEuiccUpload)}, |
| 8260 | |
Chad Duffin | c8c3708 | 2023-03-07 17:04:05 | [diff] [blame] | 8261 | {"smds-dbus-migration", flag_descriptions::kSmdsDbusMigrationName, |
| 8262 | flag_descriptions::kSmdsDbusMigrationDescription, kOsCrOS, |
| 8263 | FEATURE_VALUE_TYPE(ash::features::kSmdsDbusMigration)}, |
| 8264 | |
Yulun Wu | 1cd0faa | 2022-03-03 06:59:21 | [diff] [blame] | 8265 | {"dynamic-search-update-animation", |
| 8266 | flag_descriptions::kDynamicSearchUpdateAnimationName, |
| 8267 | flag_descriptions::kDynamicSearchUpdateAnimationDescription, kOsCrOS, |
| 8268 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8269 | app_list_features::kDynamicSearchUpdateAnimation, |
| 8270 | kDynamicSearchUpdateAnimationVariations, |
| 8271 | "LauncherDynamicAnimations")}, |
tby | 989a5b5ad | 2021-04-16 06:42:20 | [diff] [blame] | 8272 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 8273 | |
Vicky Min | b02c3e9 | 2020-07-07 20:56:52 | [diff] [blame] | 8274 | {"enable-bluetooth-spp-in-serial-api", |
| 8275 | flag_descriptions::kEnableBluetoothSerialPortProfileInSerialApiName, |
| 8276 | flag_descriptions::kEnableBluetoothSerialPortProfileInSerialApiDescription, |
Chris Mumford | 57923e2 | 2022-01-05 23:31:56 | [diff] [blame] | 8277 | kOsDesktop, |
Jesse Melhuish | 845fee9 | 2023-05-23 22:07:07 | [diff] [blame] | 8278 | FEATURE_VALUE_TYPE( |
| 8279 | features::kEnableBluetoothSerialPortProfileInSerialApi)}, |
Vicky Min | b02c3e9 | 2020-07-07 20:56:52 | [diff] [blame] | 8280 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8281 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
yjliu | 8f78e8b | 2020-07-22 20:51:21 | [diff] [blame] | 8282 | {"frame-throttle-fps", flag_descriptions::kFrameThrottleFpsName, |
| 8283 | flag_descriptions::kFrameThrottleFpsDescription, kOsCrOS, |
Jeffrey Kardatzke | 9340e24 | 2020-08-05 22:00:22 | [diff] [blame] | 8284 | MULTI_VALUE_TYPE(kFrameThrottleFpsChoices)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8285 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Carlos IL | 0dc83283 | 2020-07-17 01:14:44 | [diff] [blame] | 8286 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8287 | #if BUILDFLAG(IS_ANDROID) |
Rohit Agarwal | 6e9b602 | 2021-08-10 19:44:37 | [diff] [blame] | 8288 | {"incognito-reauthentication-for-android", |
| 8289 | flag_descriptions::kIncognitoReauthenticationForAndroidName, |
| 8290 | flag_descriptions::kIncognitoReauthenticationForAndroidDescription, |
| 8291 | kOsAndroid, |
Rohit Agarwal | 90fbdf35 | 2021-09-01 11:05:43 | [diff] [blame] | 8292 | FEATURE_VALUE_TYPE(chrome::android::kIncognitoReauthenticationForAndroid)}, |
Side Yilmaz | 424606f | 2021-04-09 14:08:29 | [diff] [blame] | 8293 | #endif |
| 8294 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8295 | #if BUILDFLAG(IS_ANDROID) |
Vikas Soni | f14e32c | 2020-08-15 06:17:22 | [diff] [blame] | 8296 | {"enable-surface-control", flag_descriptions::kAndroidSurfaceControlName, |
| 8297 | flag_descriptions::kAndroidSurfaceControlDescription, kOsAndroid, |
| 8298 | FEATURE_VALUE_TYPE(features::kAndroidSurfaceControl)}, |
Vikas Soni | 5463f1a | 2020-08-17 22:47:30 | [diff] [blame] | 8299 | |
| 8300 | {"enable-image-reader", flag_descriptions::kAImageReaderName, |
| 8301 | flag_descriptions::kAImageReaderDescription, kOsAndroid, |
| 8302 | FEATURE_VALUE_TYPE(features::kAImageReader)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8303 | #endif // BUILDFLAG(IS_ANDROID) |
Eric Seckler | b9545b3 | 2020-08-11 21:29:42 | [diff] [blame] | 8304 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8305 | #if BUILDFLAG(IS_ANDROID) |
Hung Vu | c394db6 | 2020-08-21 21:26:52 | [diff] [blame] | 8306 | {"smart-suggestion-for-large-downloads", |
| 8307 | flag_descriptions::kSmartSuggestionForLargeDownloadsName, |
| 8308 | flag_descriptions::kSmartSuggestionForLargeDownloadsDescription, |
| 8309 | kOsAndroid, |
| 8310 | FEATURE_VALUE_TYPE(download::features::kSmartSuggestionForLargeDownloads)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8311 | #endif // BUILDFLAG(IS_ANDROID) |
Hung Vu | c394db6 | 2020-08-21 21:26:52 | [diff] [blame] | 8312 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8313 | #if BUILDFLAG(IS_ANDROID) |
Aishwarya Rajesh | 0dd7192 | 2021-07-28 20:22:38 | [diff] [blame] | 8314 | {"messages-for-android-ads-blocked", |
| 8315 | flag_descriptions::kMessagesForAndroidAdsBlockedName, |
| 8316 | flag_descriptions::kMessagesForAndroidAdsBlockedDescription, kOsAndroid, |
| 8317 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidAdsBlocked)}, |
Pavel Yatsuk | 35829175 | 2020-09-03 18:25:22 | [diff] [blame] | 8318 | {"messages-for-android-infrastructure", |
| 8319 | flag_descriptions::kMessagesForAndroidInfrastructureName, |
| 8320 | flag_descriptions::kMessagesForAndroidInfrastructureDescription, |
| 8321 | kOsAndroid, |
| 8322 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidInfrastructure)}, |
Vishwas Uppoor | 8031d64 | 2022-05-10 01:28:51 | [diff] [blame] | 8323 | {"messages-for-android-offer-notification", |
| 8324 | flag_descriptions::kMessagesForAndroidOfferNotificationName, |
| 8325 | flag_descriptions::kMessagesForAndroidOfferNotificationDescription, |
| 8326 | kOsAndroid, |
| 8327 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidOfferNotification)}, |
Lijin Shen | 2d61a0a3 | 2021-07-20 23:15:52 | [diff] [blame] | 8328 | {"messages-for-android-permission-update", |
| 8329 | flag_descriptions::kMessagesForAndroidPermissionUpdateName, |
| 8330 | flag_descriptions::kMessagesForAndroidPermissionUpdateDescription, |
| 8331 | kOsAndroid, |
| 8332 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidPermissionUpdate)}, |
Lijin Shen | ba9a6b0e | 2021-02-18 01:59:06 | [diff] [blame] | 8333 | {"messages-for-android-popup-blocked", |
| 8334 | flag_descriptions::kMessagesForAndroidPopupBlockedName, |
| 8335 | flag_descriptions::kMessagesForAndroidPopupBlockedDescription, kOsAndroid, |
| 8336 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidPopupBlocked)}, |
Pavel Yatsuk | b7307fa | 2021-09-15 18:02:30 | [diff] [blame] | 8337 | {"messages-for-android-pwa-install", |
| 8338 | flag_descriptions::kMessagesForAndroidPWAInstallName, |
| 8339 | flag_descriptions::kMessagesForAndroidPWAInstallDescription, kOsAndroid, |
| 8340 | FEATURE_VALUE_TYPE(webapps::features::kInstallableAmbientBadgeMessage)}, |
Lijin Shen | d98ce99 | 2021-05-01 01:47:42 | [diff] [blame] | 8341 | {"messages-for-android-save-card", |
| 8342 | flag_descriptions::kMessagesForAndroidSaveCardName, |
| 8343 | flag_descriptions::kMessagesForAndroidSaveCardDescription, kOsAndroid, |
| 8344 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidSaveCard)}, |
Lijin Shen | 0e049c43 | 2022-04-05 23:12:43 | [diff] [blame] | 8345 | {"messages-for-android-stacking-animation", |
| 8346 | flag_descriptions::kMessagesForAndroidStackingAnimationName, |
| 8347 | flag_descriptions::kMessagesForAndroidStackingAnimationDescription, |
| 8348 | kOsAndroid, |
| 8349 | FEATURE_VALUE_TYPE(messages::kMessagesForAndroidStackingAnimation)}, |
Pavel Yatsuk | 35829175 | 2020-09-03 18:25:22 | [diff] [blame] | 8350 | #endif |
| 8351 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8352 | #if BUILDFLAG(IS_ANDROID) |
Trevor Perrier | c1384bb | 2021-06-04 23:54:03 | [diff] [blame] | 8353 | {"android-force-app-language-prompt", |
| 8354 | flag_descriptions::kAndroidForceAppLanguagePromptName, |
| 8355 | flag_descriptions::kAndroidForceAppLanguagePromptDescription, kOsAndroid, |
| 8356 | FEATURE_VALUE_TYPE(language::kForceAppLanguagePrompt)}, |
Trevor Perrier | 990a1c6 | 2020-09-11 20:27:32 | [diff] [blame] | 8357 | #endif |
| 8358 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8359 | #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ |
| 8360 | BUILDFLAG(IS_FUCHSIA) |
Leonard Grey | e2b8fe9 | 2022-03-04 20:36:01 | [diff] [blame] | 8361 | {"quick-commands", flag_descriptions::kQuickCommandsName, |
| 8362 | flag_descriptions::kQuickCommandsDescription, kOsDesktop, |
| 8363 | FEATURE_VALUE_TYPE(features::kQuickCommands)}, |
Josh Santana | 0863d704 | 2021-02-04 20:56:45 | [diff] [blame] | 8364 | #endif |
| 8365 | |
Rohit Agarwal | 5e1c17fc | 2023-02-03 11:44:15 | [diff] [blame] | 8366 | #if BUILDFLAG(IS_ANDROID) |
| 8367 | {"quick-delete-for-android", flag_descriptions::kQuickDeleteForAndroidName, |
| 8368 | flag_descriptions::kQuickDeleteForAndroidDescription, kOsAndroid, |
| 8369 | FEATURE_VALUE_TYPE(chrome::android::kQuickDeleteForAndroid)}, |
| 8370 | #endif // BUILDFLAG(IS_ANDROID) |
| 8371 | |
Finnur Thorarinsson | 52835574 | 2022-03-07 10:57:01 | [diff] [blame] | 8372 | {"pwa-update-dialog-for-icon", |
| 8373 | flag_descriptions::kPwaUpdateDialogForAppIconName, |
| 8374 | flag_descriptions::kPwaUpdateDialogForAppIconDescription, kOsAll, |
| 8375 | FEATURE_VALUE_TYPE(features::kPwaUpdateDialogForIcon)}, |
| 8376 | |
Alan Screen | ed2fdda | 2021-09-15 17:24:46 | [diff] [blame] | 8377 | #if BUILDFLAG(ENABLE_OOP_PRINTING) |
Alan Screen | 652ddbb | 2020-09-16 07:14:53 | [diff] [blame] | 8378 | {"enable-oop-print-drivers", flag_descriptions::kEnableOopPrintDriversName, |
| 8379 | flag_descriptions::kEnableOopPrintDriversDescription, kOsDesktop, |
| 8380 | FEATURE_VALUE_TYPE(printing::features::kEnableOopPrintDrivers)}, |
| 8381 | #endif |
| 8382 | |
Finnur Thorarinsson | 4e43a085 | 2023-03-23 09:20:02 | [diff] [blame] | 8383 | #if BUILDFLAG(IS_ANDROID) |
| 8384 | {"media-picker-adoption", flag_descriptions::kMediaPickerAdoptionStudyName, |
| 8385 | flag_descriptions::kMediaPickerAdoptionStudyDescription, kOsAndroid, |
| 8386 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8387 | photo_picker::features::kAndroidMediaPickerAdoption, |
| 8388 | kPhotoPickerAdoptionStudyFeatureVariations, |
| 8389 | "MediaPickerAdoption")}, |
| 8390 | #endif // BUILDFLAG(IS_ANDROID) |
| 8391 | |
John Delaney | 1d6e4b5c | 2022-03-25 02:19:22 | [diff] [blame] | 8392 | {"privacy-sandbox-ads-apis", |
| 8393 | flag_descriptions::kPrivacySandboxAdsAPIsOverrideName, |
| 8394 | flag_descriptions::kPrivacySandboxAdsAPIsOverrideDescription, kOsAll, |
Alex Turner | 8c6cd1dc | 2022-09-27 02:21:18 | [diff] [blame] | 8395 | SINGLE_VALUE_TYPE(switches::kEnablePrivacySandboxAdsApis)}, |
John Delaney | 1d6e4b5c | 2022-03-25 02:19:22 | [diff] [blame] | 8396 | |
Theodore Olsauskas-Warren | 474cdb5 | 2023-01-04 10:16:34 | [diff] [blame] | 8397 | {"privacy-sandbox-settings-4", |
| 8398 | flag_descriptions::kPrivacySandboxSettings4Name, |
| 8399 | flag_descriptions::kPrivacySandboxSettings4Description, kOsAll, |
| 8400 | FEATURE_WITH_PARAMS_VALUE_TYPE(privacy_sandbox::kPrivacySandboxSettings4, |
| 8401 | kPrivacySandboxSettings4Variations, |
| 8402 | "PrivacySandboxSettings4")}, |
| 8403 | |
Andrey Zaytsev | 5794f89 | 2022-07-14 16:16:55 | [diff] [blame] | 8404 | #if BUILDFLAG(IS_ANDROID) |
| 8405 | {"site-data-improvements", flag_descriptions::kSiteDataImprovementsName, |
| 8406 | flag_descriptions::kSiteDataImprovementsDescription, kOsAndroid, |
| 8407 | FEATURE_VALUE_TYPE(browser_ui::kSiteDataImprovements)}, |
| 8408 | #endif // BUILDFLAG(IS_ANDROID) |
| 8409 | |
Chris Blume | d5d8587 | 2021-02-17 18:21:01 | [diff] [blame] | 8410 | {"animated-image-resume", flag_descriptions::kAnimatedImageResumeName, |
| 8411 | flag_descriptions::kAnimatedImageResumeDescription, kOsAll, |
| 8412 | FEATURE_VALUE_TYPE(features::kAnimatedImageResume)}, |
| 8413 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8414 | #if !BUILDFLAG(IS_ANDROID) |
Awad Osman | 3302987 | 2022-12-02 19:04:26 | [diff] [blame] | 8415 | {"enable-enhanced-safe-browsing-settings-improvements", |
| 8416 | flag_descriptions::kEnableEnhancedSafeBrowsingSettingsImprovementsName, |
| 8417 | flag_descriptions:: |
| 8418 | kEnableEnhancedSafeBrowsingSettingsImprovementsDescription, |
| 8419 | kOsDesktop, |
Awad Osman | 0d0fa31 | 2023-02-09 19:06:40 | [diff] [blame] | 8420 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8421 | safe_browsing::kEsbIphBubbleAndCollapseSettings, |
| 8422 | kEsbIphBubbleAndCollapseSettingsVariations, |
| 8423 | "EsbIphBubbleAndCollapseSettingsVariations")}, |
Awad Osman | 3302987 | 2022-12-02 19:04:26 | [diff] [blame] | 8424 | #endif // !BUILDFLAG(IS_ANDROID) |
| 8425 | |
Awad Osman | a930e9c | 2023-06-12 17:33:01 | [diff] [blame] | 8426 | {"enable-friendlier-safe-browsing-settings", |
| 8427 | flag_descriptions::kEnableFriendlierSafeBrowsingSettingsName, |
| 8428 | flag_descriptions::kEnableFriendlierSafeBrowsingSettingsDescription, |
| 8429 | kOsAll, |
| 8430 | FEATURE_VALUE_TYPE(safe_browsing::kFriendlierSafeBrowsingSettings)}, |
| 8431 | |
Javier Castro | 44dd9c1 | 2023-06-22 20:05:49 | [diff] [blame] | 8432 | {"enable-tailored-security-retry-for-sync-users", |
| 8433 | flag_descriptions::kTailoredSecurityRetryForSyncUsersName, |
| 8434 | flag_descriptions::kTailoredSecurityRetryForSyncUsersDescription, kOsAll, |
| 8435 | FEATURE_VALUE_TYPE(safe_browsing::kTailoredSecurityRetryForSyncUsers)}, |
| 8436 | |
Awad Osman | 0bbaafd | 2023-04-14 01:35:29 | [diff] [blame] | 8437 | {"enable-tailored-security-updated-messages", |
| 8438 | flag_descriptions::kEnableTailoredSecurityUpdatedMessagesName, |
| 8439 | flag_descriptions::kEnableTailoredSecurityUpdatedMessagesDescription, |
| 8440 | kOsAll, |
| 8441 | FEATURE_VALUE_TYPE(safe_browsing::kTailoredSecurityUpdatedMessages)}, |
| 8442 | |
Awad Osman | 3302987 | 2022-12-02 19:04:26 | [diff] [blame] | 8443 | #if !BUILDFLAG(IS_ANDROID) |
Chris Thompson | 657d5c8 | 2020-10-08 23:04:10 | [diff] [blame] | 8444 | {"sct-auditing", flag_descriptions::kSCTAuditingName, |
| 8445 | flag_descriptions::kSCTAuditingDescription, kOsDesktop, |
| 8446 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kSCTAuditing, |
| 8447 | kSCTAuditingVariations, |
| 8448 | "SCTAuditingVariations")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8449 | #endif // !BUILDFLAG(IS_ANDROID) |
Chris Thompson | 657d5c8 | 2020-10-08 23:04:10 | [diff] [blame] | 8450 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8451 | #if BUILDFLAG(IS_ANDROID) |
Zaina Al-Mashni | 9ff75407 | 2023-06-13 11:39:14 | [diff] [blame] | 8452 | // TODO(https://crbug.com/985245): remove flag when API version 33 is the |
| 8453 | // lowest supported version and the kImprovedIncognitoScreenshot flag is |
| 8454 | // cleaned up, Since this flag has no effect when |
| 8455 | // kImprovedIncognitoScreenshot is enabled and is used as a fallback when |
| 8456 | // kImprovedIncognitoScreenshot is disabled. |
Ramin Halavati | df9668c | 2020-10-30 15:35:53 | [diff] [blame] | 8457 | {"incognito-screenshot", flag_descriptions::kIncognitoScreenshotName, |
| 8458 | flag_descriptions::kIncognitoScreenshotDescription, kOsAndroid, |
| 8459 | FEATURE_VALUE_TYPE(chrome::android::kIncognitoScreenshot)}, |
Side YILMAZ | 99a468a0 | 2022-05-23 08:02:41 | [diff] [blame] | 8460 | |
Alex Ilasi | ab901f9 | 2021-09-13 09:27:27 | [diff] [blame] | 8461 | {"incognito-downloads-warning", |
| 8462 | flag_descriptions::kIncognitoDownloadsWarningName, |
Side YILMAZ | 99a468a0 | 2022-05-23 08:02:41 | [diff] [blame] | 8463 | flag_descriptions::kIncognitoDownloadsWarningDescription, kOsAndroid, |
Side YILMAZ | 5b0e0af1 | 2022-05-11 15:02:43 | [diff] [blame] | 8464 | FEATURE_VALUE_TYPE(features::kIncognitoDownloadsWarning)}, |
Zaina Al-Mashni | 9ff75407 | 2023-06-13 11:39:14 | [diff] [blame] | 8465 | |
| 8466 | {"improved-incognito-screenshot", |
| 8467 | flag_descriptions::kImprovedIncognitoScreenshotName, |
| 8468 | flag_descriptions::kImprovedIncognitoScreenshotDescription, kOsAndroid, |
| 8469 | FEATURE_VALUE_TYPE(chrome::android::kImprovedIncognitoScreenshot)}, |
Side YILMAZ | 99a468a0 | 2022-05-23 08:02:41 | [diff] [blame] | 8470 | #endif |
Alex Ilasi | ab901f9 | 2021-09-13 09:27:27 | [diff] [blame] | 8471 | |
Saba Khukhunashvili | 9253894 | 2021-08-11 14:27:26 | [diff] [blame] | 8472 | {"incognito-ntp-revamp", flag_descriptions::kIncognitoNtpRevampName, |
| 8473 | flag_descriptions::kIncognitoNtpRevampDescription, kOsAll, |
| 8474 | FEATURE_VALUE_TYPE(features::kIncognitoNtpRevamp)}, |
| 8475 | |
Joe DeBlasio | b82518ad | 2023-05-18 17:42:19 | [diff] [blame] | 8476 | {"insecure-download-warnings", |
| 8477 | flag_descriptions::kInsecureDownloadWarningsName, |
| 8478 | flag_descriptions::kInsecureDownloadWarningsDescription, kOsAll, |
| 8479 | FEATURE_VALUE_TYPE(features::kInsecureDownloadWarnings)}, |
Joe DeBlasio | e349bdd | 2022-12-28 00:39:59 | [diff] [blame] | 8480 | |
Weiliang Chen | e39e765 | 2020-11-18 05:30:15 | [diff] [blame] | 8481 | {"show-performance-metrics-hud", |
| 8482 | flag_descriptions::kShowPerformanceMetricsHudName, |
| 8483 | flag_descriptions::kShowPerformanceMetricsHudDescription, kOsAll, |
| 8484 | FEATURE_VALUE_TYPE(features::kHudDisplayForPerformanceMetrics)}, |
| 8485 | |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8486 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Pilar Molina Lopez | d5b78751 | 2020-11-19 00:21:48 | [diff] [blame] | 8487 | {"disable-buffer-bw-compression", |
| 8488 | flag_descriptions::kDisableBufferBWCompressionName, |
| 8489 | flag_descriptions::kDisableBufferBWCompressionDescription, kOsCrOS, |
| 8490 | SINGLE_VALUE_TYPE(switches::kDisableBufferBWCompression)}, |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 8491 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Pilar Molina Lopez | d5b78751 | 2020-11-19 00:21:48 | [diff] [blame] | 8492 | |
Robert Lin | 4035ebb | 2021-10-08 12:23:41 | [diff] [blame] | 8493 | {"omnibox-trigger-for-prerender2", |
| 8494 | flag_descriptions::kOmniboxTriggerForPrerender2Name, |
| 8495 | flag_descriptions::kOmniboxTriggerForPrerender2Description, kOsAll, |
| 8496 | FEATURE_VALUE_TYPE(features::kOmniboxTriggerForPrerender2)}, |
Lingqi Chi | 357fcda1 | 2022-02-18 03:34:15 | [diff] [blame] | 8497 | {"search-suggestion-for-prerender2", |
| 8498 | flag_descriptions::kSupportSearchSuggestionForPrerender2Name, |
| 8499 | flag_descriptions::kSupportSearchSuggestionForPrerender2Description, |
| 8500 | kOsAll, |
Lingqi Chi | f3f3fe7 | 2022-07-21 12:02:50 | [diff] [blame] | 8501 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8502 | features::kSupportSearchSuggestionForPrerender2, |
Felipe Andrade | 579b7fd | 2022-10-14 15:17:28 | [diff] [blame] | 8503 | kSearchSuggestionPrerenderTypeVariations, |
Lingqi Chi | f3f3fe7 | 2022-07-21 12:02:50 | [diff] [blame] | 8504 | "SearchSuggestionPrerender")}, |
Shimi Zhang | 86c5f21 | 2020-11-23 20:36:51 | [diff] [blame] | 8505 | |
Ryan Sturm | 0c7162f7 | 2022-09-16 15:13:41 | [diff] [blame] | 8506 | {"omnibox-search-prefetch", |
| 8507 | flag_descriptions::kEnableOmniboxSearchPrefetchName, |
| 8508 | flag_descriptions::kEnableOmniboxSearchPrefetchDescription, kOsAll, |
| 8509 | FEATURE_WITH_PARAMS_VALUE_TYPE(kSearchPrefetchServicePrefetching, |
| 8510 | kSearchPrefetchServicePrefetchingVariations, |
| 8511 | "SearchSuggestionPrefetch")}, |
| 8512 | {"omnibox-search-client-prefetch", |
| 8513 | flag_descriptions::kEnableOmniboxClientSearchPrefetchName, |
| 8514 | flag_descriptions::kEnableOmniboxClientSearchPrefetchDescription, kOsAll, |
| 8515 | FEATURE_VALUE_TYPE(kSearchNavigationPrefetch)}, |
| 8516 | |
Elaine Chien | aeb4adc | 2020-12-08 04:22:05 | [diff] [blame] | 8517 | {"chrome-labs", flag_descriptions::kChromeLabsName, |
Elaine Chien | 3e956ede | 2021-05-10 19:18:23 | [diff] [blame] | 8518 | flag_descriptions::kChromeLabsDescription, kOsDesktop, |
Elaine Chien | aeb4adc | 2020-12-08 04:22:05 | [diff] [blame] | 8519 | FEATURE_VALUE_TYPE(features::kChromeLabs)}, |
| 8520 | |
Elaine Chien | aef6d93 | 2023-05-15 18:29:41 | [diff] [blame] | 8521 | {flag_descriptions::kChromeRefresh2023Id, |
| 8522 | flag_descriptions::kChromeRefresh2023Name, |
Elaine Chien | f90ffa7 | 2023-01-25 19:18:32 | [diff] [blame] | 8523 | flag_descriptions::kChromeRefresh2023Description, kOsDesktop, |
Keren Zhu | eaf0e02 | 2023-04-06 18:16:29 | [diff] [blame] | 8524 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kChromeRefresh2023, |
| 8525 | kChromeRefresh2023Variations, |
| 8526 | "ChromeRefresh2023")}, |
Elaine Chien | f90ffa7 | 2023-01-25 19:18:32 | [diff] [blame] | 8527 | |
John Lee | e6d9a868 | 2023-04-22 00:58:39 | [diff] [blame] | 8528 | {"chrome-webui-refresh-2023", |
| 8529 | flag_descriptions::kChromeWebuiRefresh2023Name, |
| 8530 | flag_descriptions::kChromeWebuiRefresh2023Description, kOsDesktop, |
| 8531 | FEATURE_VALUE_TYPE(features::kChromeWebuiRefresh2023)}, |
| 8532 | |
Keren Zhu | 28ac5182 | 2023-04-10 18:27:53 | [diff] [blame] | 8533 | #if BUILDFLAG(IS_MAC) |
| 8534 | {"cr2023-mac-font-smoothing", |
| 8535 | flag_descriptions::kCr2023MacFontSmoothingName, |
| 8536 | flag_descriptions::kCr2023MacFontSmoothingDescription, kOsMac, |
| 8537 | FEATURE_VALUE_TYPE(features::kCr2023MacFontSmoothing)}, |
| 8538 | #endif |
| 8539 | |
cfredric | 6f15576 | 2020-12-10 18:52:40 | [diff] [blame] | 8540 | {"enable-first-party-sets", flag_descriptions::kEnableFirstPartySetsName, |
| 8541 | flag_descriptions::kEnableFirstPartySetsDescription, kOsAll, |
Kirubel Aklilu | c9b4e41 | 2022-01-12 01:00:01 | [diff] [blame] | 8542 | FEATURE_VALUE_TYPE(features::kFirstPartySets)}, |
cfredric | 6f15576 | 2020-12-10 18:52:40 | [diff] [blame] | 8543 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8544 | #if BUILDFLAG(IS_ANDROID) |
siashah | eb118ad5 | 2020-12-15 00:17:07 | [diff] [blame] | 8545 | {"autofill-enable-offers-in-clank-keyboard-accessory", |
| 8546 | flag_descriptions::kAutofillEnableOffersInClankKeyboardAccessoryName, |
| 8547 | flag_descriptions:: |
| 8548 | kAutofillEnableOffersInClankKeyboardAccessoryDescription, |
| 8549 | kOsAndroid, |
| 8550 | FEATURE_VALUE_TYPE( |
| 8551 | autofill::features::kAutofillEnableOffersInClankKeyboardAccessory)}, |
| 8552 | #endif |
| 8553 | |
Carlos IL | c5c2e270 | 2020-12-15 21:19:50 | [diff] [blame] | 8554 | #if BUILDFLAG(ENABLE_PDF) |
Nektarios Paisios | 98906870 | 2022-03-02 09:06:56 | [diff] [blame] | 8555 | |
| 8556 | #if !BUILDFLAG(IS_ANDROID) |
Ramin Halavati | 749df2f | 2023-05-08 18:46:08 | [diff] [blame] | 8557 | // TODO(https://crbug.com/1443341): Add Windows once library supports it. |
Nektarios Paisios | 98906870 | 2022-03-02 09:06:56 | [diff] [blame] | 8558 | {"pdf-ocr", flag_descriptions::kPdfOcrName, |
Ramin Halavati | 12a8d33c | 2022-11-16 05:46:05 | [diff] [blame] | 8559 | flag_descriptions::kPdfOcrDescription, |
| 8560 | kOsMac | kOsLinux | kOsCrOS | kOsLacros, |
Nektarios Paisios | 98906870 | 2022-03-02 09:06:56 | [diff] [blame] | 8561 | FEATURE_VALUE_TYPE(features::kPdfOcr)}, |
| 8562 | #endif // !BUILDFLAG(IS_ANDROID) |
| 8563 | |
Carlos IL | c5c2e270 | 2020-12-15 21:19:50 | [diff] [blame] | 8564 | {"pdf-xfa-forms", flag_descriptions::kPdfXfaFormsName, |
Lei Zhang | 14671ef5 | 2021-10-25 18:10:46 | [diff] [blame] | 8565 | flag_descriptions::kPdfXfaFormsDescription, kOsDesktop, |
Carlos IL | c5c2e270 | 2020-12-15 21:19:50 | [diff] [blame] | 8566 | FEATURE_VALUE_TYPE(chrome_pdf::features::kPdfXfaSupport)}, |
| 8567 | #endif // BUILDFLAG(ENABLE_PDF) |
| 8568 | |
Victor Hugo Vianna Silva | f0a4400 | 2022-02-16 10:38:00 | [diff] [blame] | 8569 | {"send-tab-to-self-signin-promo", |
| 8570 | flag_descriptions::kSendTabToSelfSigninPromoName, |
| 8571 | flag_descriptions::kSendTabToSelfSigninPromoDescription, kOsAll, |
| 8572 | FEATURE_VALUE_TYPE(send_tab_to_self::kSendTabToSelfSigninPromo)}, |
| 8573 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8574 | #if BUILDFLAG(IS_ANDROID) |
Kyle Milka | 9b53215c3 | 2021-05-10 18:40:34 | [diff] [blame] | 8575 | {"send-tab-to-self-v2", flag_descriptions::kSendTabToSelfV2Name, |
Elly Fong-Jones | 6fde14c | 2022-01-05 18:10:58 | [diff] [blame] | 8576 | flag_descriptions::kSendTabToSelfV2Description, kOsAndroid, |
Kyle Milka | 9b53215c3 | 2021-05-10 18:40:34 | [diff] [blame] | 8577 | FEATURE_VALUE_TYPE(send_tab_to_self::kSendTabToSelfV2)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8578 | #endif // BUILDFLAG(IS_ANDROID) |
Kyle Milka | 9b53215c3 | 2021-05-10 18:40:34 | [diff] [blame] | 8579 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8580 | #if BUILDFLAG(IS_WIN) |
henrika | c66d101 | 2021-01-19 13:59:18 | [diff] [blame] | 8581 | {"raw-audio-capture", flag_descriptions::kRawAudioCaptureName, |
| 8582 | flag_descriptions::kRawAudioCaptureDescription, kOsWin, |
| 8583 | FEATURE_VALUE_TYPE(media::kWasapiRawAudioCapture)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8584 | #endif // BUILDFLAG(IS_WIN) |
henrika | c66d101 | 2021-01-19 13:59:18 | [diff] [blame] | 8585 | |
Anatoliy Potapchuk | f096475c | 2021-04-06 15:51:59 | [diff] [blame] | 8586 | {"enable-managed-configuration-web-api", |
| 8587 | flag_descriptions::kEnableManagedConfigurationWebApiName, |
| 8588 | flag_descriptions::kEnableManagedConfigurationWebApiDescription, kOsCrOS, |
| 8589 | FEATURE_VALUE_TYPE(blink::features::kManagedConfiguration)}, |
| 8590 | |
Anqing Zhao | c7136af | 2021-01-20 05:52:39 | [diff] [blame] | 8591 | {"enable-restricted-web-apis", |
| 8592 | flag_descriptions::kEnableRestrictedWebApisName, |
| 8593 | flag_descriptions::kEnableRestrictedWebApisDescription, kOsCrOS, |
| 8594 | FEATURE_VALUE_TYPE(features::kEnableRestrictedWebApis)}, |
| 8595 | |
Shuran Huang | d11e73e | 2021-04-14 16:10:12 | [diff] [blame] | 8596 | {"clear-cross-site-cross-browsing-context-group-window-name", |
| 8597 | flag_descriptions::kClearCrossSiteCrossBrowsingContextGroupWindowNameName, |
| 8598 | flag_descriptions:: |
| 8599 | kClearCrossSiteCrossBrowsingContextGroupWindowNameDescription, |
Shuran Huang | a5be08b | 2021-01-20 18:46:29 | [diff] [blame] | 8600 | kOsAll, |
| 8601 | FEATURE_VALUE_TYPE( |
Shuran Huang | d11e73e | 2021-04-14 16:10:12 | [diff] [blame] | 8602 | features::kClearCrossSiteCrossBrowsingContextGroupWindowName)}, |
Shuran Huang | a5be08b | 2021-01-20 18:46:29 | [diff] [blame] | 8603 | |
Simon Hangl | f8a8cf5 | 2023-05-16 19:58:10 | [diff] [blame] | 8604 | #if BUILDFLAG(IS_CHROMEOS) |
| 8605 | {kTaskManagerEndProcessDisabledForExtensionInternalName, |
| 8606 | flag_descriptions::kTaskManagerEndProcessDisabledForExtensionName, |
| 8607 | flag_descriptions::kTaskManagerEndProcessDisabledForExtensionDescription, |
| 8608 | kOsCrOS | kOsLacros, |
| 8609 | FEATURE_VALUE_TYPE(features::kDesktopPWAsRunOnOsLogin)}, |
| 8610 | #endif // BUILDFLAG(IS_CHROMEOS) |
| 8611 | |
Jeffrey Young | 35f24d3 | 2021-01-27 22:58:21 | [diff] [blame] | 8612 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Colin Kincaid | 292cfc4 | 2022-05-03 19:17:07 | [diff] [blame] | 8613 | {kWallpaperFastRefreshInternalName, |
| 8614 | flag_descriptions::kWallpaperFastRefreshName, |
| 8615 | flag_descriptions::kWallpaperFastRefreshDescription, kOsCrOS, |
| 8616 | FEATURE_VALUE_TYPE(ash::features::kWallpaperFastRefresh)}, |
Jerry Liu | a21b6162 | 2022-12-20 00:52:12 | [diff] [blame] | 8617 | {kWallpaperGooglePhotosSharedAlbumsInternalName, |
| 8618 | flag_descriptions::kWallpaperGooglePhotosSharedAlbumsName, |
| 8619 | flag_descriptions::kWallpaperGooglePhotosSharedAlbumsDescription, kOsCrOS, |
| 8620 | FEATURE_VALUE_TYPE(ash::features::kWallpaperGooglePhotosSharedAlbums)}, |
Sean Kau | 1d8791e3 | 2021-11-08 22:51:54 | [diff] [blame] | 8621 | {kWallpaperPerDeskName, flag_descriptions::kWallpaperPerDeskName, |
| 8622 | flag_descriptions::kWallpaperPerDeskDescription, kOsCrOS, |
| 8623 | FEATURE_VALUE_TYPE(ash::features::kWallpaperPerDesk)}, |
Jeffrey Young | 35f24d3 | 2021-01-27 22:58:21 | [diff] [blame] | 8624 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 8625 | |
Simon Hangl | 05d1f6a | 2023-01-13 15:33:59 | [diff] [blame] | 8626 | #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) |
Simon Hangl | cfe153b | 2023-04-03 14:38:40 | [diff] [blame] | 8627 | {"enable-get-all-screens-media", flag_descriptions::kGetAllScreensMediaName, |
| 8628 | flag_descriptions::kGetAllScreensMediaDescription, |
| 8629 | kOsCrOS | kOsLacros | kOsLinux, |
| 8630 | FEATURE_VALUE_TYPE(blink::features::kGetAllScreensMedia)}, |
Simon Hangl | 05d1f6a | 2023-01-13 15:33:59 | [diff] [blame] | 8631 | #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) |
| 8632 | |
| 8633 | #if BUILDFLAG(IS_CHROMEOS) |
Sebastian Fiß | 8f6d9a8 | 2023-03-07 09:04:25 | [diff] [blame] | 8634 | {"enable-run-on-os-login", flag_descriptions::kRunOnOsLoginName, |
| 8635 | flag_descriptions::kRunOnOsLoginDescription, kOsCrOS | kOsLacros, |
| 8636 | FEATURE_VALUE_TYPE(features::kDesktopPWAsRunOnOsLogin)}, |
Simon Hangl | 39e525b | 2023-04-14 17:19:38 | [diff] [blame] | 8637 | {"enable-prevent-close", flag_descriptions::kPreventCloseName, |
| 8638 | flag_descriptions::kPreventCloseDescription, kOsCrOS | kOsLacros, |
| 8639 | FEATURE_VALUE_TYPE(features::kDesktopPWAsPreventClose)}, |
Sebastian Fiß | 8f6d9a8 | 2023-03-07 09:04:25 | [diff] [blame] | 8640 | #endif // BUILDFLAG(IS_CHROMEOS) |
| 8641 | |
| 8642 | #if BUILDFLAG(IS_CHROMEOS) |
Jon Mann | f67d2fb | 2022-02-28 06:26:22 | [diff] [blame] | 8643 | {"messages-preinstall", flag_descriptions::kMessagesPreinstallName, |
| 8644 | flag_descriptions::kMessagesPreinstallDescription, kOsCrOS, |
| 8645 | FEATURE_VALUE_TYPE(web_app::kMessagesPreinstall)}, |
Femi Adegunloye | c22dc3e | 2022-09-08 15:25:58 | [diff] [blame] | 8646 | |
| 8647 | {"lacros-color-management", flag_descriptions::kLacrosColorManagementName, |
Femi Adegunloye | 546a204 | 2023-06-14 22:59:46 | [diff] [blame] | 8648 | flag_descriptions::kLacrosColorManagementDescription, kOsLacros, |
Femi Adegunloye | c22dc3e | 2022-09-08 15:25:58 | [diff] [blame] | 8649 | FEATURE_VALUE_TYPE(features::kLacrosColorManagement)}, |
Glen Robertson | 371a2df | 2023-02-15 04:18:19 | [diff] [blame] | 8650 | #endif |
Sebastian Fiß | 8f6d9a8 | 2023-03-07 09:04:25 | [diff] [blame] | 8651 | |
Glen Robertson | 371a2df | 2023-02-15 04:18:19 | [diff] [blame] | 8652 | #if BUILDFLAG(IS_CHROMEOS) |
| 8653 | {"preinstalled-web-app-window-experiment", |
| 8654 | flag_descriptions::kPreinstalledWebAppWindowExperimentName, |
| 8655 | flag_descriptions::kPreinstalledWebAppWindowExperimentDescription, |
| 8656 | kOsCrOS | kOsLacros, |
| 8657 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8658 | features::kPreinstalledWebAppWindowExperiment, |
| 8659 | kPreinstalledWebAppWindowExperimentVariations, |
| 8660 | "PreinstalledWebAppWindowExperimentVariations")}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8661 | #endif // BUILDFLAG(IS_CHROMEOS) |
Clarissa Garvey | 124eb7c | 2021-01-28 23:10:42 | [diff] [blame] | 8662 | |
Pilar Molina Lopez | ae61dfc | 2022-01-21 21:04:45 | [diff] [blame] | 8663 | #if defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) |
| 8664 | // TODO(b/214589754): revisit the need for this flag when the final design |
| 8665 | // for HW encoding is implemented for lacros-chrome. |
Miguel Casas | b93a0e35 | 2021-07-16 04:07:21 | [diff] [blame] | 8666 | {"enable-vaapi-vp9-kSVC-encode-acceleration", |
| 8667 | flag_descriptions::kVaapiVP9kSVCEncoderName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 8668 | flag_descriptions::kVaapiVP9kSVCEncoderDescription, kOsCrOS | kOsLacros, |
Miguel Casas | 5de4a00 | 2021-07-16 20:14:26 | [diff] [blame] | 8669 | FEATURE_VALUE_TYPE(media::kVaapiVp9kSVCHWEncoding)}, |
Pilar Molina Lopez | ae61dfc | 2022-01-21 21:04:45 | [diff] [blame] | 8670 | #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) |
Miguel Casas | b93a0e35 | 2021-07-16 04:07:21 | [diff] [blame] | 8671 | |
Jeff Chen | 64a0458a | 2022-01-13 17:12:17 | [diff] [blame] | 8672 | {"enable-global-vaapi-lock", flag_descriptions::kGlobalVaapiLockName, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 8673 | flag_descriptions::kGlobalVaapiLockDescription, |
| 8674 | kOsCrOS | kOsLinux | kOsLacros, |
Jeff Chen | 64a0458a | 2022-01-13 17:12:17 | [diff] [blame] | 8675 | FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)}, |
| 8676 | |
Hirokazu Honda | 22eb73a | 2021-10-29 03:58:38 | [diff] [blame] | 8677 | {"enable-vp9-kSVC-decode-acceleration", |
| 8678 | flag_descriptions::kVp9kSVCHWDecodingName, |
| 8679 | flag_descriptions::kVp9kSVCHWDecodingDescription, kOsAll, |
| 8680 | FEATURE_VALUE_TYPE(media::kVp9kSVCHWDecoding)}, |
| 8681 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8682 | #if BUILDFLAG(IS_WIN) || \ |
| 8683 | (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || \ |
| 8684 | BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA) |
Wei Li | 51e9c16 | 2021-02-01 19:53:35 | [diff] [blame] | 8685 | { |
| 8686 | "ui-debug-tools", |
| 8687 | flag_descriptions::kUIDebugToolsName, |
| 8688 | flag_descriptions::kUIDebugToolsDescription, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 8689 | kOsWin | kOsLinux | kOsLacros | kOsMac | kOsFuchsia, |
Wei Li | 51e9c16 | 2021-02-01 19:53:35 | [diff] [blame] | 8690 | FEATURE_VALUE_TYPE(features::kUIDebugTools), |
| 8691 | }, |
Gabriel Oliveira | c1792c8 | 2022-08-17 17:31:41 | [diff] [blame] | 8692 | |
Tibor Goldschwendt | f9501a6 | 2023-03-23 03:11:19 | [diff] [blame] | 8693 | {"sync-poll-immediately-on-every-startup", |
| 8694 | flag_descriptions::kSyncPollImmediatelyOnEveryStartupName, |
| 8695 | flag_descriptions::kSyncPollImmediatelyOnEveryStartupDescription, |
| 8696 | kOsDesktop, |
| 8697 | FEATURE_VALUE_TYPE(syncer::kSyncPollImmediatelyOnEveryStartup)}, |
Wei Li | 51e9c16 | 2021-02-01 19:53:35 | [diff] [blame] | 8698 | #endif |
shivanigithub | 75489e35 | 2021-02-22 19:24:30 | [diff] [blame] | 8699 | {"http-cache-partitioning", |
| 8700 | flag_descriptions::kSplitCacheByNetworkIsolationKeyName, |
| 8701 | flag_descriptions::kSplitCacheByNetworkIsolationKeyDescription, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 8702 | kOsWin | kOsLinux | kOsLacros | kOsMac | kOsCrOS | kOsAndroid | kOsFuchsia, |
shivanigithub | 75489e35 | 2021-02-22 19:24:30 | [diff] [blame] | 8703 | FEATURE_VALUE_TYPE(net::features::kSplitCacheByNetworkIsolationKey)}, |
Wei Li | 51e9c16 | 2021-02-01 19:53:35 | [diff] [blame] | 8704 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8705 | #if BUILDFLAG(IS_ANDROID) |
Basia Zimirska | b0d235a | 2021-02-24 19:42:53 | [diff] [blame] | 8706 | {"content-languages-in-language-picker", |
| 8707 | flag_descriptions::kContentLanguagesInLanguagePickerName, |
Trent Apted | 1d296d6 | 2021-08-10 00:47:59 | [diff] [blame] | 8708 | flag_descriptions::kContentLanguagesInLanguagePickerDescription, |
| 8709 | kOsAndroid, |
Basia Zimirska | 12b7edca | 2021-08-09 17:24:46 | [diff] [blame] | 8710 | FEATURE_WITH_PARAMS_VALUE_TYPE(language::kContentLanguagesInLanguagePicker, |
| 8711 | kContentLanguagesInLanguaePickerVariations, |
| 8712 | "ContentLanguagesInLanguagePicker")}, |
Basia Zimirska | b0d235a | 2021-02-24 19:42:53 | [diff] [blame] | 8713 | #endif |
| 8714 | |
Viktor Semeniuk | d5cfc26 | 2021-02-25 12:51:22 | [diff] [blame] | 8715 | {"filling-across-affiliated-websites", |
| 8716 | flag_descriptions::kFillingAcrossAffiliatedWebsitesName, |
| 8717 | flag_descriptions::kFillingAcrossAffiliatedWebsitesDescription, kOsAll, |
| 8718 | FEATURE_VALUE_TYPE( |
| 8719 | password_manager::features::kFillingAcrossAffiliatedWebsites)}, |
| 8720 | |
Din Nezametdinov | 9e537c2 | 2023-04-25 11:42:44 | [diff] [blame] | 8721 | #if !BUILDFLAG(IS_ANDROID) |
| 8722 | {"filling-across-grouped-sites", |
| 8723 | flag_descriptions::kFillingAcrossGroupedSitesName, |
| 8724 | flag_descriptions::kFillingAcrossGroupedSitesDescription, kOsDesktop, |
| 8725 | FEATURE_VALUE_TYPE( |
| 8726 | password_manager::features::kFillingAcrossGroupedSites)}, |
| 8727 | #endif // !BUILDFLAG(IS_ANDROID) |
| 8728 | |
Mario Bianucci | 3be046eb | 2021-02-26 18:41:48 | [diff] [blame] | 8729 | {"draw-predicted-ink-point", flag_descriptions::kDrawPredictedPointsName, |
| 8730 | flag_descriptions::kDrawPredictedPointsDescription, kOsAll, |
Joao Victor Almeida | 947a3c7c | 2021-07-29 23:44:36 | [diff] [blame] | 8731 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kDrawPredictedInkPoint, |
| 8732 | kDrawPredictedPointVariations, |
| 8733 | "DrawPredictedInkPoint")}, |
Mario Bianucci | 3be046eb | 2021-02-26 18:41:48 | [diff] [blame] | 8734 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8735 | #if BUILDFLAG(IS_ANDROID) |
Robert Ogden | 52285a5 | 2021-07-01 19:26:20 | [diff] [blame] | 8736 | {"optimization-guide-push-notifications", |
Tarun Bansal | ca4fae3d | 2022-04-05 21:17:34 | [diff] [blame] | 8737 | flag_descriptions::kOptimizationGuidePushNotificationName, |
| 8738 | flag_descriptions::kOptimizationGuidePushNotificationDescription, |
Robert Ogden | 52285a5 | 2021-07-01 19:26:20 | [diff] [blame] | 8739 | kOsAndroid, |
| 8740 | FEATURE_VALUE_TYPE(optimization_guide::features::kPushNotifications)}, |
| 8741 | #endif |
| 8742 | |
Peter Kotwicz | 980079f | 2021-12-02 07:18:34 | [diff] [blame] | 8743 | {"fedcm", flag_descriptions::kFedCmName, |
Peter Kotwicz | 72ac999 | 2022-04-14 20:12:16 | [diff] [blame] | 8744 | flag_descriptions::kFedCmDescription, kOsAll, |
Peter Kotwicz | 980079f | 2021-12-02 07:18:34 | [diff] [blame] | 8745 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kFedCm, |
| 8746 | kFedCmFeatureVariations, |
| 8747 | "FedCmFeatureVariations")}, |
Yi Gu | c164858 | 2022-10-13 19:45:24 | [diff] [blame] | 8748 | |
Sam Goto | 0b64ffc2 | 2023-04-01 00:02:30 | [diff] [blame] | 8749 | {"fedcm-authz", flag_descriptions::kFedCmAuthzName, |
| 8750 | flag_descriptions::kFedCmAuthzDescription, kOsDesktop, |
| 8751 | FEATURE_VALUE_TYPE(features::kFedCmAuthz)}, |
| 8752 | |
Sam Goto | a0b477b | 2023-02-07 06:37:29 | [diff] [blame] | 8753 | {"fedcm-idp-registration", flag_descriptions::kFedCmIdPRegistrationName, |
| 8754 | flag_descriptions::kFedCmIdPRegistrationDescription, kOsDesktop, |
| 8755 | FEATURE_VALUE_TYPE(features::kFedCmIdPRegistration)}, |
| 8756 | |
Yi Gu | c164858 | 2022-10-13 19:45:24 | [diff] [blame] | 8757 | {"fedcm-metrics-endpoint", flag_descriptions::kFedCmMetricsEndpointName, |
| 8758 | flag_descriptions::kFedCmMetricsEndpointDescription, kOsAll, |
| 8759 | FEATURE_VALUE_TYPE(features::kFedCmMetricsEndpoint)}, |
| 8760 | |
Nicolás Peña Moreno | 4f77c4b | 2022-09-06 22:16:54 | [diff] [blame] | 8761 | {"fedcm-multi-idp", flag_descriptions::kFedCmMultiIdpName, |
| 8762 | flag_descriptions::kFedCmMultiIdpDescription, kOsDesktop, |
| 8763 | FEATURE_VALUE_TYPE(features::kFedCmMultipleIdentityProviders)}, |
Ken Buchanan | 26fbf14c | 2021-03-04 05:36:14 | [diff] [blame] | 8764 | |
Sam Goto | 2cff8a5 | 2022-12-21 00:50:34 | [diff] [blame] | 8765 | {"fedcm-selective-disclosure", |
| 8766 | flag_descriptions::kFedCmSelectiveDisclosureName, |
| 8767 | flag_descriptions::kFedCmSelectiveDisclosureDescription, kOsAll, |
| 8768 | FEATURE_VALUE_TYPE(features::kFedCmSelectiveDisclosure)}, |
| 8769 | |
Christian Biesinger | 88c92264 | 2023-06-21 03:52:42 | [diff] [blame] | 8770 | {"fedcm-idp-signin-status-api", |
| 8771 | flag_descriptions::kFedCmIdpSigninStatusName, |
| 8772 | flag_descriptions::kFedCmIdpSigninStatusDescription, kOsAll, |
| 8773 | FEATURE_VALUE_TYPE(features::kFedCmIdpSigninStatusEnabled)}, |
| 8774 | |
Nicolás Peña Moreno | 8e55856 | 2022-12-20 18:57:44 | [diff] [blame] | 8775 | {"fedcm-without-third-party-cookies", |
| 8776 | flag_descriptions::kFedCmWithoutThirdPartyCookiesName, |
| 8777 | flag_descriptions::kFedCmWithoutThirdPartyCookiesDescription, kOsAll, |
| 8778 | FEATURE_VALUE_TYPE(features::kFedCmWithoutThirdPartyCookies)}, |
| 8779 | |
Yi Gu | 70a988f | 2023-06-28 16:51:14 | [diff] [blame] | 8780 | {"fedcm-without-well-known-enforcement", |
| 8781 | flag_descriptions::kFedCmWithoutWellKnownEnforcementName, |
| 8782 | flag_descriptions::kFedCmWithoutWellKnownEnforcementDescription, kOsAll, |
| 8783 | FEATURE_VALUE_TYPE(features::kFedCmWithoutWellKnownEnforcement)}, |
| 8784 | |
Sam Goto | 4edd639 | 2023-02-28 16:15:28 | [diff] [blame] | 8785 | {"web-identity-mdocs", flag_descriptions::kWebIdentityMDocsName, |
| 8786 | flag_descriptions::kWebIdentityMDocsDescription, kOsAndroid, |
| 8787 | FEATURE_VALUE_TYPE(features::kWebIdentityMDocs)}, |
| 8788 | |
Yu Liu | 9d01d34 | 2021-03-12 20:05:16 | [diff] [blame] | 8789 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 8790 | {"bluetooth-sessionized-metrics", |
| 8791 | flag_descriptions::kBluetoothSessionizedMetricsName, |
| 8792 | flag_descriptions::kBluetoothSessionizedMetricsDescription, kOsCrOS, |
| 8793 | FEATURE_VALUE_TYPE(metrics::structured::kBluetoothSessionizedMetrics)}, |
| 8794 | #endif |
| 8795 | |
Matthias Körber | 44082a49 | 2021-09-15 18:29:18 | [diff] [blame] | 8796 | {"autofill-highlight-only-changed-value-in-preview-mode", |
| 8797 | flag_descriptions::kAutofillHighlightOnlyChangedValuesInPreviewModeName, |
| 8798 | flag_descriptions:: |
| 8799 | kAutofillHighlightOnlyChangedValuesInPreviewModeDescription, |
| 8800 | kOsDesktop, |
| 8801 | FEATURE_VALUE_TYPE( |
| 8802 | autofill::features::kAutofillHighlightOnlyChangedValuesInPreviewMode)}, |
| 8803 | |
Daniel Vogelheim | 236d9a8 | 2021-04-01 15:40:53 | [diff] [blame] | 8804 | {"sanitizer-api", flag_descriptions::kSanitizerApiName, |
| 8805 | flag_descriptions::kSanitizerApiDescription, kOsAll, |
| 8806 | FEATURE_VALUE_TYPE(blink::features::kSanitizerAPI)}, |
| 8807 | |
Eric Willigers | c805ad61 | 2021-04-01 19:50:09 | [diff] [blame] | 8808 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Harry Cutts | 8b445de | 2021-06-10 02:25:55 | [diff] [blame] | 8809 | {"enable-input-event-logging", |
| 8810 | flag_descriptions::kEnableInputEventLoggingName, |
| 8811 | flag_descriptions::kEnableInputEventLoggingDescription, kOsCrOS, |
| 8812 | FEATURE_VALUE_TYPE(ui::kEnableInputEventLogging)}, |
Eric Willigers | c805ad61 | 2021-04-01 19:50:09 | [diff] [blame] | 8813 | #endif |
| 8814 | |
siashah | 2b698e2b | 2021-04-21 15:09:55 | [diff] [blame] | 8815 | {"autofill-enable-sticky-manual-fallback-for-cards", |
| 8816 | flag_descriptions::kAutofillEnableStickyManualFallbackForCardsName, |
| 8817 | flag_descriptions::kAutofillEnableStickyManualFallbackForCardsDescription, |
| 8818 | kOsAndroid, |
| 8819 | FEATURE_VALUE_TYPE( |
| 8820 | autofill::features::kAutofillEnableStickyManualFallbackForCards)}, |
| 8821 | |
| 8822 | {"autofill-auto-trigger-manual-fallback-for-cards", |
| 8823 | flag_descriptions::kAutofillAutoTriggerManualFallbackForCardsName, |
| 8824 | flag_descriptions::kAutofillAutoTriggerManualFallbackForCardsDescription, |
| 8825 | kOsAndroid, |
| 8826 | FEATURE_VALUE_TYPE( |
| 8827 | autofill::features::kAutofillAutoTriggerManualFallbackForCards)}, |
| 8828 | |
Vidhan | 5885afa | 2022-06-23 15:18:16 | [diff] [blame] | 8829 | {"autofill-prevent-overriding-prefilled-values", |
| 8830 | flag_descriptions::kAutofillPreventOverridingPrefilledValuesName, |
| 8831 | flag_descriptions::kAutofillPreventOverridingPrefilledValuesDescription, |
| 8832 | kOsDesktop | kOsAndroid, |
| 8833 | FEATURE_VALUE_TYPE( |
| 8834 | autofill::features::kAutofillPreventOverridingPrefilledValues)}, |
| 8835 | |
Jan Keitel | 0518047 | 2023-03-01 11:01:42 | [diff] [blame] | 8836 | {"autofill-show-autocomplete-delete-button", |
| 8837 | flag_descriptions::kAutofillShowAutocompleteDeleteButtonName, |
| 8838 | flag_descriptions::kAutofillShowAutocompleteDeleteButtonDescription, |
| 8839 | kOsDesktop, |
| 8840 | FEATURE_VALUE_TYPE( |
| 8841 | autofill::features::kAutofillShowAutocompleteDeleteButton)}, |
| 8842 | |
Vidhan | b03b1ea | 2022-05-19 12:07:58 | [diff] [blame] | 8843 | {"autofill-show-manual-fallbacks-in-context-menu", |
| 8844 | flag_descriptions::kAutofillShowManualFallbackInContextMenuName, |
| 8845 | flag_descriptions::kAutofillShowManualFallbackInContextMenuDescription, |
| 8846 | kOsDesktop, |
| 8847 | FEATURE_VALUE_TYPE( |
| 8848 | autofill::features::kAutofillShowManualFallbackInContextMenu)}, |
| 8849 | |
Juan Mojica | 6ea85d07 | 2022-03-17 20:33:19 | [diff] [blame] | 8850 | {flag_descriptions::kEnableLensStandaloneFlagId, |
| 8851 | flag_descriptions::kEnableLensStandaloneName, |
| 8852 | flag_descriptions::kEnableLensStandaloneDescription, kOsDesktop, |
Juan Mojica | 65fab6c | 2022-12-21 01:05:15 | [diff] [blame] | 8853 | FEATURE_VALUE_TYPE(lens::features::kLensStandalone)}, |
Ali Stanfield | 980a749 | 2021-07-21 19:21:26 | [diff] [blame] | 8854 | |
Duncan Mercer | 80e9910 | 2022-12-28 21:30:27 | [diff] [blame] | 8855 | #if BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
Ali Stanfield | 56104328 | 2023-03-10 03:04:30 | [diff] [blame] | 8856 | {"csc", flag_descriptions::kCscName, flag_descriptions::kCscDescription, |
| 8857 | kOsDesktop, |
Tarun Bansal | 083f274 | 2023-06-16 16:46:12 | [diff] [blame] | 8858 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8859 | companion::features::internal::kSidePanelCompanion, |
| 8860 | kCscVariations, |
| 8861 | "CSC")}, |
Ali Stanfield | 56104328 | 2023-03-10 03:04:30 | [diff] [blame] | 8862 | |
mcrouse | ff4a6cf | 2023-05-31 04:46:42 | [diff] [blame] | 8863 | {"csc-pinned-state", flag_descriptions::kCscPinnedName, |
| 8864 | flag_descriptions::kCscPinnedDescription, kOsDesktop, |
| 8865 | MULTI_VALUE_TYPE(kSidePanelPinnedStateChoices)}, |
| 8866 | |
Pierre St Juste | 9bc615e3 | 2023-05-26 01:58:32 | [diff] [blame] | 8867 | {"csc-vss", flag_descriptions::kCscVssName, |
| 8868 | flag_descriptions::kCscVssDescription, kOsDesktop, |
Pierre St Juste | aacb233 | 2023-06-01 22:41:44 | [diff] [blame] | 8869 | FEATURE_VALUE_TYPE( |
| 8870 | companion::visual_search::features::kVisualSearchSuggestions)}, |
Pierre St Juste | 9bc615e3 | 2023-05-26 01:58:32 | [diff] [blame] | 8871 | |
Juan Mojica | a2c0648 | 2022-10-14 18:27:01 | [diff] [blame] | 8872 | {"enable-lens-region-search-static-page", |
| 8873 | flag_descriptions::kLensRegionSearchStaticPageName, |
| 8874 | flag_descriptions::kLensRegionSearchStaticPageDescription, kOsDesktop, |
| 8875 | FEATURE_VALUE_TYPE(lens::features::kLensRegionSearchStaticPage)}, |
Duncan Mercer | 80e9910 | 2022-12-28 21:30:27 | [diff] [blame] | 8876 | #endif // BUILDFLAG(ENABLE_LENS_DESKTOP_GOOGLE_BRANDED_FEATURES) |
Juan Mojica | a2c0648 | 2022-10-14 18:27:01 | [diff] [blame] | 8877 | |
Duncan Mercer | 10a2000a | 2022-11-07 23:00:53 | [diff] [blame] | 8878 | {"enable-lens-image-format-optimizations", |
| 8879 | flag_descriptions::kLensImageFormatOptimizationsName, |
| 8880 | flag_descriptions::kLensImageFormatOptimizationsDescription, kOsDesktop, |
| 8881 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8882 | lens::features::kLensImageFormatOptimizations, |
| 8883 | kLensImageFormatVariations, |
| 8884 | "LensImageFormatOptimizations")}, |
| 8885 | |
Bryan Nguyen | d7f0cd74 | 2023-02-10 21:16:22 | [diff] [blame] | 8886 | {"enable-lens-image-translate", flag_descriptions::kLensImageTranslateName, |
| 8887 | flag_descriptions::kLensImageTranslateDescription, kOsDesktop, |
| 8888 | FEATURE_VALUE_TYPE(lens::features::kEnableImageTranslate)}, |
| 8889 | |
Jason Hu | a755d7983 | 2023-04-27 00:26:44 | [diff] [blame] | 8890 | {"enable-lens-ping", flag_descriptions::kEnableLensPingName, |
| 8891 | flag_descriptions::kEnableLensPingDescription, kOsDesktop, |
| 8892 | FEATURE_WITH_PARAMS_VALUE_TYPE(lens::features::kEnableLensPing, |
| 8893 | kLensPingVariations, |
| 8894 | "EnableLensPing")}, |
| 8895 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8896 | #if BUILDFLAG(IS_ANDROID) |
Ioana Pandele | 69fe467 | 2021-04-28 08:06:37 | [diff] [blame] | 8897 | {"biometric-reauth-password-filling", |
| 8898 | flag_descriptions::kBiometricReauthForPasswordFillingName, |
| 8899 | flag_descriptions::kBiometricReauthForPasswordFillingDescription, |
| 8900 | kOsAndroid, |
| 8901 | FEATURE_VALUE_TYPE(password_manager::features::kBiometricTouchToFill)}, |
Norge Vizcay | 5f6bfb4 | 2022-06-10 08:33:14 | [diff] [blame] | 8902 | {"fast-checkout", flag_descriptions::kFastCheckoutName, |
| 8903 | flag_descriptions::kFastCheckoutDescription, kOsAndroid, |
Norge Vizcay | d0432e17 | 2022-11-23 09:58:20 | [diff] [blame] | 8904 | FEATURE_VALUE_TYPE(features::kFastCheckout)}, |
Norge Vizcay | 81af880 | 2022-09-06 09:57:12 | [diff] [blame] | 8905 | {"force-enable-fast-checkout-capabilities", |
| 8906 | flag_descriptions::kForceEnableFastCheckoutCapabilitiesName, |
| 8907 | flag_descriptions::kForceEnableFastCheckoutCapabilitiesDescription, |
| 8908 | kOsAndroid, |
| 8909 | FEATURE_VALUE_TYPE(features::kForceEnableFastCheckoutCapabilities)}, |
Ioana Pandele | 69fe467 | 2021-04-28 08:06:37 | [diff] [blame] | 8910 | #endif |
siashah | 2b698e2b | 2021-04-21 15:09:55 | [diff] [blame] | 8911 | |
Nicolas MacBeth | 3dcf753 | 2023-04-21 21:30:13 | [diff] [blame] | 8912 | #if !BUILDFLAG(IS_ANDROID) && BUILDFLAG(GOOGLE_CHROME_BRANDING) |
| 8913 | {"ios-promo-password-bubble", |
| 8914 | flag_descriptions::kIOSPromoPasswordBubbleName, |
| 8915 | flag_descriptions::kIOSPromoPasswordBubbleDecription, kOsDesktop, |
Nicolas MacBeth | 53fa814 | 2023-06-20 15:06:09 | [diff] [blame] | 8916 | FEATURE_WITH_PARAMS_VALUE_TYPE(promos_features::kIOSPromoPasswordBubble, |
Nicolas MacBeth | 3dcf753 | 2023-04-21 21:30:13 | [diff] [blame] | 8917 | kIOSPromoPasswordBubbleVariations, |
| 8918 | "IOSPromoPasswordBubble")}, |
| 8919 | #endif |
| 8920 | |
Rachel Wong | 0210c45 | 2021-04-29 03:40:02 | [diff] [blame] | 8921 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Roger Tinkoff | 6c1bed2 | 2022-01-07 14:52:01 | [diff] [blame] | 8922 | {"enable-keyboard-backlight-toggle", |
| 8923 | flag_descriptions::kEnableKeyboardBacklightToggleName, |
| 8924 | flag_descriptions::kEnableKeyboardBacklightToggleDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 8925 | FEATURE_VALUE_TYPE(ash::features::kEnableKeyboardBacklightToggle)}, |
Rachel Wong | 0210c45 | 2021-04-29 03:40:02 | [diff] [blame] | 8926 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 8927 | |
Etienne Pierre-doray | b6e0b67 | 2022-07-06 17:17:36 | [diff] [blame] | 8928 | {"align-wakeups", flag_descriptions::kAlignWakeUpsName, |
| 8929 | flag_descriptions::kAlignWakeUpsDescription, kOsAll, |
| 8930 | FEATURE_VALUE_TYPE(base::kAlignWakeUps)}, |
| 8931 | |
W. James MacLean | 17fc685 | 2021-05-06 18:29:29 | [diff] [blame] | 8932 | {"enable-throttle-display-none-and-visibility-hidden-cross-origin-iframes", |
| 8933 | flag_descriptions:: |
| 8934 | kThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframesName, |
| 8935 | flag_descriptions:: |
| 8936 | kThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframesDescription, |
| 8937 | kOsDesktop | kOsAndroid, |
| 8938 | FEATURE_VALUE_TYPE( |
| 8939 | blink::features:: |
Harry Cutts | f7435671 | 2021-05-14 02:13:38 | [diff] [blame] | 8940 | kThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes)}, |
| 8941 | |
W. James MacLean | 853cd42 | 2022-10-17 14:08:58 | [diff] [blame] | 8942 | {"enable-new-base-url-inheritance-behavior", |
| 8943 | flag_descriptions::kNewBaseUrlInheritanceBehaviorName, |
| 8944 | flag_descriptions::kNewBaseUrlInheritanceBehaviorDescription, |
| 8945 | kOsDesktop | kOsAndroid, |
| 8946 | FEATURE_VALUE_TYPE(blink::features::kNewBaseUrlInheritanceBehavior)}, |
| 8947 | |
Vasiliy Telezhnikov | ef7a1a7b4 | 2023-01-11 19:16:45 | [diff] [blame] | 8948 | #if BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) |
Peng Huang | 723f26e | 2021-06-04 01:55:10 | [diff] [blame] | 8949 | {"use-passthrough-command-decoder", |
| 8950 | flag_descriptions::kUsePassthroughCommandDecoderName, |
Geoff Lang | acba5b08 | 2022-11-08 20:10:46 | [diff] [blame] | 8951 | flag_descriptions::kUsePassthroughCommandDecoderDescription, kOsAll, |
Peng Huang | 723f26e | 2021-06-04 01:55:10 | [diff] [blame] | 8952 | FEATURE_VALUE_TYPE(features::kDefaultPassthroughCommandDecoder)}, |
Vasiliy Telezhnikov | ef7a1a7b4 | 2023-01-11 19:16:45 | [diff] [blame] | 8953 | #endif // BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) |
Peng Huang | 723f26e | 2021-06-04 01:55:10 | [diff] [blame] | 8954 | |
Daniel Andersson | a36c4bc | 2021-06-04 22:09:43 | [diff] [blame] | 8955 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 8956 | {"focus-follows-cursor", flag_descriptions::kFocusFollowsCursorName, |
| 8957 | flag_descriptions::kFocusFollowsCursorDescription, kOsCrOS, |
| 8958 | FEATURE_VALUE_TYPE(::features::kFocusFollowsCursor)}, |
| 8959 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 8960 | |
rgod | 9bbe0a5 | 2023-05-10 16:04:29 | [diff] [blame] | 8961 | #if !BUILDFLAG(IS_ANDROID) |
| 8962 | {"password-generation-experiment", |
| 8963 | flag_descriptions::kPasswordGenerationExperimentName, |
| 8964 | flag_descriptions::kPasswordGenerationExperimentDescription, kOsDesktop, |
rgod | 7029ae5 | 2023-05-16 13:01:36 | [diff] [blame] | 8965 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 8966 | password_manager::features::kPasswordGenerationExperiment, |
| 8967 | kPasswordGenerationExperimentVariations, |
| 8968 | "PasswordGenerationExperiment")}, |
rgod | 9bbe0a5 | 2023-05-10 16:04:29 | [diff] [blame] | 8969 | #endif |
| 8970 | |
Ashley Prasad | 55deb36 | 2023-06-22 23:55:33 | [diff] [blame] | 8971 | #if BUILDFLAG(IS_CHROMEOS) |
| 8972 | {"print-preview-setup-assistance", |
| 8973 | flag_descriptions::kPrintPreviewSetupAssistanceName, |
| 8974 | flag_descriptions::kPrintPreviewSetupAssistanceDescription, |
| 8975 | kOsCrOS | kOsLacros, |
| 8976 | FEATURE_VALUE_TYPE(features::kPrintPreviewSetupAssistance)}, |
| 8977 | #endif |
| 8978 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 8979 | #if BUILDFLAG(IS_ANDROID) |
Andrey Zaytsev | 7c790c1 | 2022-05-23 13:07:30 | [diff] [blame] | 8980 | {"privacy-guide-android", flag_descriptions::kPrivacyGuideAndroidName, |
| 8981 | flag_descriptions::kPrivacyGuideAndroidDescription, kOsAndroid, |
| 8982 | FEATURE_VALUE_TYPE(features::kPrivacyGuideAndroid)}, |
| 8983 | #endif |
| 8984 | |
Yuheng Huang | 59d1d30 | 2021-10-29 21:21:14 | [diff] [blame] | 8985 | {"tab-search-fuzzy-search", flag_descriptions::kTabSearchFuzzySearchName, |
| 8986 | flag_descriptions::kTabSearchFuzzySearchDescription, kOsDesktop, |
| 8987 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kTabSearchFuzzySearch, |
| 8988 | kTabSearchSearchThresholdVariations, |
| 8989 | "TabSearchFuzzySearch")}, |
| 8990 | |
rbpotter | e877c1f | 2021-06-15 00:23:55 | [diff] [blame] | 8991 | {"chrome-whats-new-ui", flag_descriptions::kChromeWhatsNewUIName, |
| 8992 | flag_descriptions::kChromeWhatsNewUIDescription, kOsDesktop, |
| 8993 | FEATURE_VALUE_TYPE(features::kChromeWhatsNewUI)}, |
| 8994 | |
shivanigithub | 9936838 | 2021-06-16 18:33:37 | [diff] [blame] | 8995 | {"debug-history-intervention-no-user-activation", |
| 8996 | flag_descriptions::kDebugHistoryInterventionNoUserActivationName, |
| 8997 | flag_descriptions::kDebugHistoryInterventionNoUserActivationDescription, |
| 8998 | kOsAll, |
| 8999 | FEATURE_VALUE_TYPE(features::kDebugHistoryInterventionNoUserActivation)}, |
| 9000 | |
Curt Clemens | 37a5c99c | 2021-06-19 00:30:06 | [diff] [blame] | 9001 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Sam Chiu | 1dee4a1 | 2021-10-12 18:21:27 | [diff] [blame] | 9002 | {"enable-phone-hub-call-notification", |
| 9003 | flag_descriptions::kPhoneHubCallNotificationName, |
| 9004 | flag_descriptions::kPhoneHubCallNotificationDescription, kOsCrOS, |
| 9005 | FEATURE_VALUE_TYPE(ash::features::kPhoneHubCallNotification)}, |
Jason Sun | 1d94791 | 2021-06-21 16:54:23 | [diff] [blame] | 9006 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9007 | |
Dylan Cutler | c2988fe | 2021-08-05 14:24:37 | [diff] [blame] | 9008 | {"partitioned-cookies", flag_descriptions::kPartitionedCookiesName, |
Dylan Cutler | ab2b4a3 | 2022-03-17 20:42:38 | [diff] [blame] | 9009 | flag_descriptions::kPartitionedCookiesDescription, kOsAll, |
Dylan Cutler | c2988fe | 2021-08-05 14:24:37 | [diff] [blame] | 9010 | FEATURE_VALUE_TYPE(net::features::kPartitionedCookies)}, |
| 9011 | |
Nathan Eliason | 320cf31 | 2022-07-26 23:02:32 | [diff] [blame] | 9012 | {"third-party-storage-partitioning", |
| 9013 | flag_descriptions::kThirdPartyStoragePartitioningName, |
| 9014 | flag_descriptions::kThirdPartyStoragePartitioningDescription, kOsAll, |
Chris Fredrickson | e139a8d7 | 2022-08-10 22:58:06 | [diff] [blame] | 9015 | FEATURE_VALUE_TYPE(net::features::kThirdPartyStoragePartitioning)}, |
Nathan Eliason | 320cf31 | 2022-07-26 23:02:32 | [diff] [blame] | 9016 | |
Jonathan Njeunje | 9dc4e6c | 2023-04-10 03:05:32 | [diff] [blame] | 9017 | {"bounce-tracking-mitigations", flag_descriptions::kDIPSName, |
| 9018 | flag_descriptions::kDIPSDescription, kOsAll, |
| 9019 | FEATURE_WITH_PARAMS_VALUE_TYPE(dips::kFeature, kDIPSVariations, "DIPS")}, |
| 9020 | |
danielng | 1078c637 | 2021-06-28 06:31:36 | [diff] [blame] | 9021 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
danielng | dd3ef94 | 2021-10-28 06:42:48 | [diff] [blame] | 9022 | {kBorealisBigGlInternalName, flag_descriptions::kBorealisBigGlName, |
| 9023 | flag_descriptions::kBorealisBigGlDescription, kOsCrOS, |
| 9024 | FEATURE_VALUE_TYPE(ash::features::kBorealisBigGl)}, |
Dominik Behr | 03b5c24f | 2023-04-18 21:20:52 | [diff] [blame] | 9025 | {kBorealisDGPUInternalName, flag_descriptions::kBorealisDGPUName, |
| 9026 | flag_descriptions::kBorealisDGPUDescription, kOsCrOS, |
| 9027 | FEATURE_VALUE_TYPE(ash::features::kBorealisDGPU)}, |
danielng | 1078c637 | 2021-06-28 06:31:36 | [diff] [blame] | 9028 | {kBorealisDiskManagementInternalName, |
| 9029 | flag_descriptions::kBorealisDiskManagementName, |
| 9030 | flag_descriptions::kBorealisDiskManagementDescription, kOsCrOS, |
| 9031 | FEATURE_VALUE_TYPE(ash::features::kBorealisDiskManagement)}, |
Nicholas Hollingum | 449d825 | 2021-11-29 00:18:29 | [diff] [blame] | 9032 | {kBorealisForceBetaClientInternalName, |
| 9033 | flag_descriptions::kBorealisForceBetaClientName, |
| 9034 | flag_descriptions::kBorealisForceBetaClientDescription, kOsCrOS, |
| 9035 | FEATURE_VALUE_TYPE(ash::features::kBorealisForceBetaClient)}, |
Nicholas Hollingum | e867209 | 2022-08-25 04:23:16 | [diff] [blame] | 9036 | {kBorealisForceDoubleScaleInternalName, |
| 9037 | flag_descriptions::kBorealisForceDoubleScaleName, |
| 9038 | flag_descriptions::kBorealisForceDoubleScaleDescription, kOsCrOS, |
| 9039 | FEATURE_VALUE_TYPE(ash::features::kBorealisForceDoubleScale)}, |
Nicholas Hollingum | 449d825 | 2021-11-29 00:18:29 | [diff] [blame] | 9040 | {kBorealisLinuxModeInternalName, flag_descriptions::kBorealisLinuxModeName, |
| 9041 | flag_descriptions::kBorealisLinuxModeDescription, kOsCrOS, |
| 9042 | FEATURE_VALUE_TYPE(ash::features::kBorealisLinuxMode)}, |
Nicholas Hollingum | 97500cc1 | 2022-03-03 22:44:43 | [diff] [blame] | 9043 | {kBorealisPermittedInternalName, flag_descriptions::kBorealisPermittedName, |
| 9044 | flag_descriptions::kBorealisPermittedDescription, kOsCrOS, |
| 9045 | FEATURE_VALUE_TYPE(ash::features::kBorealisPermitted)}, |
danielng | 573ad374 | 2022-07-06 05:26:24 | [diff] [blame] | 9046 | {kBorealisStorageBallooningInternalName, |
| 9047 | flag_descriptions::kBorealisStorageBallooningName, |
| 9048 | flag_descriptions::kBorealisStorageBallooningDescription, kOsCrOS, |
| 9049 | FEATURE_VALUE_TYPE(ash::features::kBorealisStorageBallooning)}, |
Max Lee | fb53d9c | 2022-09-01 00:23:34 | [diff] [blame] | 9050 | {kVmPerBootShaderCacheName, flag_descriptions::kVmPerBootShaderCacheName, |
| 9051 | flag_descriptions::kVmPerBootShaderCacheDescription, kOsCrOS, |
| 9052 | FEATURE_VALUE_TYPE(ash::features::kVmPerBootShaderCache)}, |
danielng | 1078c637 | 2021-06-28 06:31:36 | [diff] [blame] | 9053 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9054 | |
Emily Stark | 70158ce | 2021-07-16 18:26:31 | [diff] [blame] | 9055 | {"https-only-mode-setting", flag_descriptions::kHttpsOnlyModeName, |
| 9056 | flag_descriptions::kHttpsOnlyModeDescription, kOsDesktop | kOsAndroid, |
| 9057 | FEATURE_VALUE_TYPE(features::kHttpsOnlyMode)}, |
| 9058 | |
Chris Thompson | 69d0901 | 2022-12-21 01:26:05 | [diff] [blame] | 9059 | {"https-first-mode-v2", flag_descriptions::kHttpsFirstModeV2Name, |
| 9060 | flag_descriptions::kHttpsFirstModeV2Description, kOsDesktop | kOsAndroid, |
| 9061 | FEATURE_VALUE_TYPE(features::kHttpsFirstModeV2)}, |
| 9062 | |
Mustafa Emre Acer | 002821e | 2023-05-09 23:47:02 | [diff] [blame] | 9063 | {"https-first-mode-v2-for-engaged-sites", |
| 9064 | flag_descriptions::kHttpsFirstModeV2ForEngagedSitesName, |
| 9065 | flag_descriptions::kHttpsFirstModeV2ForEngagedSitesDescription, |
| 9066 | kOsDesktop | kOsAndroid, |
| 9067 | FEATURE_VALUE_TYPE(features::kHttpsFirstModeV2ForEngagedSites)}, |
| 9068 | |
Chris Thompson | de18f3d6 | 2022-12-08 01:23:27 | [diff] [blame] | 9069 | {"https-upgrades", flag_descriptions::kHttpsUpgradesName, |
| 9070 | flag_descriptions::kHttpsUpgradesDescription, kOsDesktop | kOsAndroid, |
| 9071 | FEATURE_VALUE_TYPE(features::kHttpsUpgrades)}, |
| 9072 | |
Mustafa Emre Acer | 0626cbb | 2021-07-14 20:35:04 | [diff] [blame] | 9073 | {"omnibox-updated-connection-security-indicators", |
| 9074 | flag_descriptions::kOmniboxUpdatedConnectionSecurityIndicatorsName, |
| 9075 | flag_descriptions::kOmniboxUpdatedConnectionSecurityIndicatorsDescription, |
| 9076 | kOsDesktop | kOsAndroid, |
| 9077 | FEATURE_VALUE_TYPE(omnibox::kUpdatedConnectionSecurityIndicators)}, |
Mustafa Emre Acer | 0626cbb | 2021-07-14 20:35:04 | [diff] [blame] | 9078 | |
Vikas Soni | 7981a2d | 2021-07-30 18:51:11 | [diff] [blame] | 9079 | {"enable-drdc", flag_descriptions::kEnableDrDcName, |
| 9080 | flag_descriptions::kEnableDrDcDescription, kOsAll, |
| 9081 | FEATURE_VALUE_TYPE(features::kEnableDrDc)}, |
vikassoni | 93f244b | 2022-05-12 21:58:26 | [diff] [blame] | 9082 | |
Le Hoang Quyen | d6ceade6 | 2022-05-20 07:13:10 | [diff] [blame] | 9083 | {"force-gpu-main-thread-to-normal-priority-drdc", |
| 9084 | flag_descriptions::kForceGpuMainThreadToNormalPriorityDrDcName, |
| 9085 | flag_descriptions::kForceGpuMainThreadToNormalPriorityDrDcDescription, |
| 9086 | kOsAll, |
| 9087 | FEATURE_VALUE_TYPE(features::kForceGpuMainThreadToNormalPriorityDrDc)}, |
| 9088 | |
vikassoni | 93f244b | 2022-05-12 21:58:26 | [diff] [blame] | 9089 | #if BUILDFLAG(IS_ANDROID) |
| 9090 | {"enable-drdc-vulkan", flag_descriptions::kEnableDrDcVulkanName, |
| 9091 | flag_descriptions::kEnableDrDcDescription, kOsAndroid, |
| 9092 | FEATURE_VALUE_TYPE(features::kEnableDrDcVulkan)}, |
| 9093 | #endif // BUILDFLAG(IS_ANDROID) |
| 9094 | |
Jared Saul | 2188f76 | 2021-08-02 21:22:23 | [diff] [blame] | 9095 | {"autofill-fill-merchant-promo-code-fields", |
| 9096 | flag_descriptions::kAutofillFillMerchantPromoCodeFieldsName, |
| 9097 | flag_descriptions::kAutofillFillMerchantPromoCodeFieldsDescription, kOsAll, |
| 9098 | FEATURE_VALUE_TYPE( |
| 9099 | autofill::features::kAutofillFillMerchantPromoCodeFields)}, |
Vikas Soni | 7981a2d | 2021-07-30 18:51:11 | [diff] [blame] | 9100 | |
Kartik Hegde | 5af7093 | 2021-08-12 23:04:20 | [diff] [blame] | 9101 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Steven Bennetts | 9b695dc | 2022-04-12 17:10:27 | [diff] [blame] | 9102 | {"traffic-counters", flag_descriptions::kTrafficCountersEnabledName, |
| 9103 | flag_descriptions::kTrafficCountersEnabledDescription, kOsCrOS, |
| 9104 | FEATURE_VALUE_TYPE(ash::features::kTrafficCountersEnabled)}, |
Kartik Hegde | 5af7093 | 2021-08-12 23:04:20 | [diff] [blame] | 9105 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9106 | |
Devlin Cronin | 15608c3 | 2022-06-01 01:39:52 | [diff] [blame] | 9107 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
Emilia Paz | d7cce42 | 2021-08-14 00:50:48 | [diff] [blame] | 9108 | {"extensions-menu-access-control", |
| 9109 | flag_descriptions::kExtensionsMenuAccessControlName, |
| 9110 | flag_descriptions::kExtensionsMenuAccessControlDescription, kOsDesktop, |
Devlin Cronin | 15608c3 | 2022-06-01 01:39:52 | [diff] [blame] | 9111 | FEATURE_VALUE_TYPE(extensions_features::kExtensionsMenuAccessControl)}, |
Solomon Kinard | 6b014f0b | 2023-02-24 02:20:34 | [diff] [blame] | 9112 | |
| 9113 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9114 | {"extension-web-file-handlers", |
| 9115 | flag_descriptions::kExtensionWebFileHandlersName, |
| 9116 | flag_descriptions::kExtensionWebFileHandlersDescription, kOsCrOS, |
| 9117 | FEATURE_VALUE_TYPE(extensions_features::kExtensionWebFileHandlers)}, |
| 9118 | #endif // IS_CHROMEOS_ASH |
Eric Lawrence | bff3a165 | 2023-05-23 04:12:03 | [diff] [blame] | 9119 | #if BUILDFLAG(IS_WIN) |
| 9120 | {"launch-windows-native-hosts-directly", |
| 9121 | flag_descriptions::kLaunchWindowsNativeHostsDirectlyName, |
| 9122 | flag_descriptions::kLaunchWindowsNativeHostsDirectlyDescription, kOsWin, |
| 9123 | FEATURE_VALUE_TYPE( |
| 9124 | extensions_features::kLaunchWindowsNativeHostsDirectly)}, |
| 9125 | #endif // IS_WIN |
Solomon Kinard | 6b014f0b | 2023-02-24 02:20:34 | [diff] [blame] | 9126 | #endif // ENABLE_EXTENSIONS |
Emilia Paz | d7cce42 | 2021-08-14 00:50:48 | [diff] [blame] | 9127 | |
Justin Novosad | 8faf695 | 2021-08-20 22:36:49 | [diff] [blame] | 9128 | {"canvas-oop-rasterization", flag_descriptions::kCanvasOopRasterizationName, |
| 9129 | flag_descriptions::kCanvasOopRasterizationDescription, kOsAll, |
| 9130 | FEATURE_VALUE_TYPE(features::kCanvasOopRasterization)}, |
| 9131 | |
Sunny Sachanandani | ad91d1a | 2023-05-18 23:31:31 | [diff] [blame] | 9132 | {"skia-graphite", flag_descriptions::kSkiaGraphiteName, |
| 9133 | flag_descriptions::kSkiaGraphiteDescription, kOsAll, |
| 9134 | FEATURE_VALUE_TYPE(features::kSkiaGraphite)}, |
| 9135 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 9136 | #if BUILDFLAG(IS_ANDROID) |
Brandon Wylie | 955a1694 | 2021-09-24 22:43:10 | [diff] [blame] | 9137 | {"bookmarks-improved-save-flow", |
| 9138 | flag_descriptions::kBookmarksImprovedSaveFlowName, |
| 9139 | flag_descriptions::kBookmarksImprovedSaveFlowDescription, kOsAndroid, |
| 9140 | FEATURE_VALUE_TYPE(chrome::android::kBookmarksImprovedSaveFlow)}, |
| 9141 | |
Brandon Wylie | 9fe3758 | 2021-08-24 01:22:53 | [diff] [blame] | 9142 | {"bookmarks-refresh", flag_descriptions::kBookmarksRefreshName, |
| 9143 | flag_descriptions::kBookmarksRefreshDescription, kOsAndroid, |
Brandon Wylie | f203eee | 2021-10-11 22:55:45 | [diff] [blame] | 9144 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kBookmarksRefresh, |
| 9145 | kBookmarksRefreshVariations, |
bttk | 110e5301 | 2022-02-07 23:04:36 | [diff] [blame] | 9146 | "Collections")}, |
Brandon Wylie | 9fe3758 | 2021-08-24 01:22:53 | [diff] [blame] | 9147 | #endif |
| 9148 | |
evliu | e454a13 | 2022-01-25 23:03:43 | [diff] [blame] | 9149 | {"enable-tab-audio-muting", flag_descriptions::kTabAudioMutingName, |
| 9150 | flag_descriptions::kTabAudioMutingDescription, kOsDesktop, |
| 9151 | FEATURE_VALUE_TYPE(media::kEnableTabMuting)}, |
| 9152 | |
Jared Saul | 702563e | 2021-09-20 22:36:52 | [diff] [blame] | 9153 | {"autofill-enable-offer-notification-for-promo-codes", |
| 9154 | flag_descriptions::kAutofillEnableOfferNotificationForPromoCodesName, |
| 9155 | flag_descriptions:: |
| 9156 | kAutofillEnableOfferNotificationForPromoCodesDescription, |
| 9157 | kOsAll, |
| 9158 | FEATURE_VALUE_TYPE( |
| 9159 | autofill::features::kAutofillEnableOfferNotificationForPromoCodes)}, |
Ali Beyad | 3070c42 | 2021-09-20 18:47:55 | [diff] [blame] | 9160 | |
Elly Fong-Jones | 4362437 | 2023-02-16 19:36:11 | [diff] [blame] | 9161 | {"upcoming-follow-features", flag_descriptions::kUpcomingFollowFeaturesName, |
| 9162 | flag_descriptions::kUpcomingFollowFeaturesDescription, kOsAll, |
| 9163 | FEATURE_VALUE_TYPE(follow::kUpcomingFollowFeatures)}, |
| 9164 | |
Yuheng Huang | 48cf225e | 2022-05-12 02:33:29 | [diff] [blame] | 9165 | #if defined(TOOLKIT_VIEWS) |
Mohamed Amir Yosef | 4d5d526b | 2022-11-10 11:05:25 | [diff] [blame] | 9166 | {"revamped-password-management-bubble", |
| 9167 | flag_descriptions::kRevampedPasswordManagementBubbleName, |
| 9168 | flag_descriptions::kRevampedPasswordManagementBubbleDescription, |
| 9169 | kOsDesktop, |
| 9170 | FEATURE_VALUE_TYPE( |
| 9171 | password_manager::features::kRevampedPasswordManagementBubble)}, |
| 9172 | |
Michael Crouse | b56427f | 2023-04-12 00:47:49 | [diff] [blame] | 9173 | {"side-search", flag_descriptions::kSideSearchName, |
| 9174 | flag_descriptions::kSideSearchDescription, kOsDesktop, |
| 9175 | FEATURE_VALUE_TYPE(features::kSideSearch)}, |
| 9176 | |
Pengchao Cai | 74b3379d | 2022-09-09 18:55:18 | [diff] [blame] | 9177 | {"search-web-in-side-panel", flag_descriptions::kSearchWebInSidePanelName, |
| 9178 | flag_descriptions::kSearchWebInSidePanelDescription, kOsDesktop, |
| 9179 | FEATURE_VALUE_TYPE(features::kSearchWebInSidePanel)}, |
Yuheng Huang | 48cf225e | 2022-05-12 02:33:29 | [diff] [blame] | 9180 | #endif // defined(TOOLKIT_VIEWS) |
tom | 927b2ab8 | 2021-09-23 03:45:27 | [diff] [blame] | 9181 | |
Nihar Majmudar | c934f4f | 2022-08-02 23:56:15 | [diff] [blame] | 9182 | #if !BUILDFLAG(IS_ANDROID) |
| 9183 | {"customize-chrome-side-panel", |
| 9184 | flag_descriptions::kCustomizeChromeSidePanelName, |
| 9185 | flag_descriptions::KCustomizeChromeSidePanelDescription, kOsDesktop, |
| 9186 | FEATURE_VALUE_TYPE(ntp_features::kCustomizeChromeSidePanel)}, |
Riley Tatum | 8a784fdb | 2022-10-19 16:48:52 | [diff] [blame] | 9187 | |
| 9188 | {"customize-chrome-color-extraction", |
| 9189 | flag_descriptions::kCustomizeChromeColorExtractionName, |
| 9190 | flag_descriptions::kCustomizeChromeColorExtractionDescription, kOsDesktop, |
| 9191 | FEATURE_VALUE_TYPE(ntp_features::kCustomizeChromeColorExtraction)}, |
Nihar Majmudar | c934f4f | 2022-08-02 23:56:15 | [diff] [blame] | 9192 | #endif |
| 9193 | |
Roman Arora | 595d571 | 2021-09-24 18:06:05 | [diff] [blame] | 9194 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9195 | {"enable-component-updater-test-request", |
| 9196 | flag_descriptions::kComponentUpdaterTestRequestName, |
| 9197 | flag_descriptions::kComponentUpdaterTestRequestDescription, kOsCrOS, |
| 9198 | SINGLE_VALUE_TYPE_AND_VALUE(switches::kComponentUpdater, |
| 9199 | component_updater::kSwitchTestRequestParam)}, |
| 9200 | #endif |
| 9201 | |
Peng Huang | a0f7d7e5 | 2021-09-29 13:27:13 | [diff] [blame] | 9202 | {"enable-raw-draw", flag_descriptions::kEnableRawDrawName, |
| 9203 | flag_descriptions::kEnableRawDrawDescription, kOsAll, |
| 9204 | FEATURE_VALUE_TYPE(features::kRawDraw)}, |
| 9205 | |
Peter McNeeley | 8a0156d2 | 2022-02-01 20:37:54 | [diff] [blame] | 9206 | #if BUILDFLAG(IS_CHROMEOS_LACROS) |
| 9207 | {"enable-delegated-compositing", |
| 9208 | flag_descriptions::kEnableDelegatedCompositingName, |
| 9209 | flag_descriptions::kEnableDelegatedCompositingDescription, kOsAll, |
| 9210 | FEATURE_VALUE_TYPE(features::kDelegatedCompositing)}, |
| 9211 | #endif |
| 9212 | |
Tommy Steimel | c79b2e0 | 2022-07-07 19:07:51 | [diff] [blame] | 9213 | #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ |
| 9214 | BUILDFLAG(IS_CHROMEOS_ASH) |
| 9215 | {"document-picture-in-picture-api", |
| 9216 | flag_descriptions::kDocumentPictureInPictureApiName, |
| 9217 | flag_descriptions::kDocumentPictureInPictureApiDescription, |
| 9218 | kOsMac | kOsWin | kOsLinux | kOsCrOS, |
François Beaufort | cbab5d4 | 2022-11-23 17:43:02 | [diff] [blame] | 9219 | FEATURE_VALUE_TYPE(blink::features::kDocumentPictureInPictureAPI)}, |
Tommy Steimel | c79b2e0 | 2022-07-07 19:07:51 | [diff] [blame] | 9220 | #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || |
| 9221 | // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9222 | |
Reilly Grant | 679f59d | 2021-09-29 18:39:38 | [diff] [blame] | 9223 | {"web-midi", flag_descriptions::kWebMidiName, |
| 9224 | flag_descriptions::kWebMidiDescription, kOsAll, |
| 9225 | FEATURE_VALUE_TYPE(features::kWebMidi)}, |
| 9226 | |
Andreea Costinas | 81bed8a | 2022-11-23 16:03:38 | [diff] [blame] | 9227 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9228 | {"dns-over-https-with-identifiers-reuse-old-policy", |
| 9229 | flag_descriptions::kDnsOverHttpsWithIdentifiersReuseOldPolicyName, |
| 9230 | flag_descriptions::kDnsOverHttpsWithIdentifiersReuseOldPolicyDescription, |
| 9231 | kOsCrOS, |
| 9232 | FEATURE_VALUE_TYPE( |
| 9233 | ash::features::kDnsOverHttpsWithIdentifiersReuseOldPolicy)}, |
| 9234 | #endif |
| 9235 | |
Mei Liang | 6b29698 | 2021-10-06 22:49:04 | [diff] [blame] | 9236 | {"enable-commerce-developer", flag_descriptions::kCommerceDeveloperName, |
| 9237 | flag_descriptions::kCommerceDeveloperDescription, kOsAll, |
| 9238 | FEATURE_VALUE_TYPE(commerce::kCommerceDeveloper)}, |
| 9239 | |
Harry Cutts | 932c80a | 2021-10-07 15:00:38 | [diff] [blame] | 9240 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9241 | {"enable-libinput-to-handle-touchpad", |
| 9242 | flag_descriptions::kEnableLibinputToHandleTouchpadName, |
| 9243 | flag_descriptions::kEnableLibinputToHandleTouchpadDescription, kOsCrOS, |
| 9244 | FEATURE_VALUE_TYPE(ui::kLibinputHandleTouchpad)}, |
| 9245 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9246 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 9247 | #if BUILDFLAG(IS_ANDROID) |
Sirisha Kavuluru | 003e096 | 2021-12-08 21:40:30 | [diff] [blame] | 9248 | {"enable-tab-groups-for-tablets", |
| 9249 | flag_descriptions::kTabGroupsForTabletsName, |
| 9250 | flag_descriptions::kTabGroupsForTabletsDescription, kOsAndroid, |
| 9251 | FEATURE_VALUE_TYPE(chrome::android::kTabGroupsForTablets)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 9252 | #endif // BUILDFLAG(IS_ANDROID) |
Fabio Tirelo | 20aa056 | 2021-10-20 15:07:58 | [diff] [blame] | 9253 | |
Richard Chui | f823bf6 | 2021-10-29 21:06:01 | [diff] [blame] | 9254 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9255 | {"enable-desks-templates", flag_descriptions::kDesksTemplatesName, |
| 9256 | flag_descriptions::kDesksTemplatesDescription, kOsCrOS, |
| 9257 | FEATURE_VALUE_TYPE(ash::features::kDesksTemplates)}, |
| 9258 | #endif |
| 9259 | |
bttk | 90927fd | 2021-11-12 19:38:27 | [diff] [blame] | 9260 | {"large-favicon-from-google", |
| 9261 | flag_descriptions::kLargeFaviconFromGoogleName, |
| 9262 | flag_descriptions::kLargeFaviconFromGoogleDescription, kOsAndroid, |
| 9263 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kLargeFaviconFromGoogle, |
| 9264 | kLargeFaviconFromGoogleVariations, |
| 9265 | "LargeFaviconFromGoogle")}, |
| 9266 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 9267 | #if BUILDFLAG(IS_ANDROID) |
Philip Rogers | 388e07a | 2023-03-27 17:54:33 | [diff] [blame] | 9268 | {"force-off-text-autosizing", |
| 9269 | flag_descriptions::kForceOffTextAutosizingName, |
| 9270 | flag_descriptions::kForceOffTextAutosizingDescription, kOsAndroid, |
| 9271 | FEATURE_VALUE_TYPE(features::kForceOffTextAutosizing)}, |
Shu Yang | a2ec2d1 | 2021-11-15 22:13:15 | [diff] [blame] | 9272 | #endif |
| 9273 | |
Michael Martis | ecdb584 | 2021-11-29 04:45:24 | [diff] [blame] | 9274 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Guoxing Zhao | 7e12963 | 2023-01-25 03:58:55 | [diff] [blame] | 9275 | {"video-conference", flag_descriptions::kVideoConferenceName, |
| 9276 | flag_descriptions::kVideoConferenceDescription, kOsCrOS, |
| 9277 | FEATURE_VALUE_TYPE(ash::features::kVideoConference)}, |
Jim Pollock | c74e382 | 2022-10-17 03:56:50 | [diff] [blame] | 9278 | |
Guoxing Zhao | 7e12963 | 2023-01-25 03:58:55 | [diff] [blame] | 9279 | {"vc-background-replace", flag_descriptions::kVcBackgroundReplaceName, |
| 9280 | flag_descriptions::kVcBackgroundReplaceDescription, kOsCrOS, |
| 9281 | FEATURE_VALUE_TYPE(ash::features::kVcBackgroundReplace)}, |
Ard Oerlemans | c550dd0 | 2023-03-13 10:02:15 | [diff] [blame] | 9282 | |
| 9283 | {"vc-segmentation-model", flag_descriptions::kVcSegmentationModelName, |
| 9284 | flag_descriptions::kVcSegmentationModelDescription, kOsCrOS, |
| 9285 | FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kVcSegmentationModel, |
| 9286 | kVcSegmentationModelVariations, |
| 9287 | "VCSegmentationModel")}, |
Nikolas Bowe | 2d3e0c5 | 2023-05-22 00:20:12 | [diff] [blame] | 9288 | {"vc-light-intensity", flag_descriptions::kVcLightIntensityName, |
| 9289 | flag_descriptions::kVcLightIntensityDescription, kOsCrOS, |
| 9290 | FEATURE_WITH_PARAMS_VALUE_TYPE(ash::features::kVcLightIntensity, |
| 9291 | kVcLightIntensityVariations, |
| 9292 | "VCLightIntensity")}, |
| 9293 | |
Guoxing Zhao | 13538c6 | 2022-09-15 06:08:16 | [diff] [blame] | 9294 | #endif |
| 9295 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 9296 | #if BUILDFLAG(IS_ANDROID) |
Mustaq Ahmed | a130fec | 2022-02-09 19:03:26 | [diff] [blame] | 9297 | {"touch-drag-and-context-menu", |
| 9298 | flag_descriptions::kTouchDragAndContextMenuName, |
| 9299 | flag_descriptions::kTouchDragAndContextMenuDescription, kOsAndroid, |
| 9300 | FEATURE_VALUE_TYPE(features::kTouchDragAndContextMenu)}, |
Peter E Conn | 9eea1c0b | 2023-04-24 15:53:45 | [diff] [blame] | 9301 | {"twa-post-message", flag_descriptions::kTwaPostMessageName, |
| 9302 | flag_descriptions::kTwaPostMessageDescription, kOsAndroid, |
| 9303 | FEATURE_VALUE_TYPE(chrome::android::kTrustedWebActivityPostMessage)}, |
Shu Yang | 9550610 | 2023-01-11 19:16:32 | [diff] [blame] | 9304 | {"animated-image-drag-shadow", |
| 9305 | flag_descriptions::kAnimatedImageDragShadowName, |
| 9306 | flag_descriptions::kAnimatedImageDragShadowDescription, kOsAndroid, |
| 9307 | FEATURE_VALUE_TYPE(chrome::android::kAnimatedImageDragShadow)}, |
Joel Tan-Aristy | 1d280937 | 2023-07-05 20:45:36 | [diff] [blame] | 9308 | {"drag-drop-into-omnibox", flag_descriptions::kDragDropIntoOmniboxName, |
| 9309 | flag_descriptions::kDragDropIntoOmniboxDescription, kOsAndroid, |
| 9310 | FEATURE_VALUE_TYPE(chrome::android::kDragDropIntoOmnibox)}, |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 9311 | #endif // BUILDFLAG(IS_ANDROID) |
Wenyu Fu | b78c22e | 2021-12-29 21:26:17 | [diff] [blame] | 9312 | |
Vinny Persky | f98de02 | 2022-01-05 22:14:10 | [diff] [blame] | 9313 | {"autofill-enable-update-virtual-card-enrollment", |
| 9314 | flag_descriptions::kAutofillEnableUpdateVirtualCardEnrollmentName, |
| 9315 | flag_descriptions::kAutofillEnableUpdateVirtualCardEnrollmentDescription, |
| 9316 | kOsAll, |
| 9317 | FEATURE_VALUE_TYPE( |
| 9318 | autofill::features::kAutofillEnableUpdateVirtualCardEnrollment)}, |
| 9319 | |
Yishui Liu | b5563546 | 2023-05-23 04:22:29 | [diff] [blame] | 9320 | {"autofill-move-legal-terms-and-icon-for-new-card-enrollment", |
| 9321 | flag_descriptions::kAutofillMoveLegalTermsAndIconForNewCardEnrollmentName, |
| 9322 | flag_descriptions:: |
| 9323 | kAutofillMoveLegalTermsAndIconForNewCardEnrollmentDescription, |
| 9324 | kOsDesktop, |
| 9325 | FEATURE_VALUE_TYPE( |
| 9326 | autofill::features:: |
| 9327 | kAutofillMoveLegalTermsAndIconForNewCardEnrollment)}, |
| 9328 | |
Jan Krcal | d11ad89 | 2022-01-17 12:37:02 | [diff] [blame] | 9329 | #if BUILDFLAG(IS_CHROMEOS_LACROS) |
Alex Cooper | 9ec625a | 2022-02-11 23:17:22 | [diff] [blame] | 9330 | |
Alex Cooper | dad8fb69 | 2022-10-03 22:42:41 | [diff] [blame] | 9331 | {"enable-lacros-aura-capture", flag_descriptions::kLacrosAuraCaptureName, |
| 9332 | flag_descriptions::kLacrosAuraCaptureDescription, kOsCrOS | kOsLacros, |
| 9333 | FEATURE_VALUE_TYPE(features::kLacrosAuraCapture)}, |
| 9334 | |
Andrea Orru | e14d8fd8 | 2022-02-24 16:47:51 | [diff] [blame] | 9335 | {"lacros-merge-icu-data-file", |
| 9336 | flag_descriptions::kLacrosMergeIcuDataFileName, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 9337 | flag_descriptions::kLacrosMergeIcuDataFileDescription, kOsCrOS | kOsLacros, |
Andrea Orru | e14d8fd8 | 2022-02-24 16:47:51 | [diff] [blame] | 9338 | FEATURE_VALUE_TYPE(base::i18n::kLacrosMergeIcuDataFile)}, |
Jan Krcal | d11ad89 | 2022-01-17 12:37:02 | [diff] [blame] | 9339 | #endif |
| 9340 | |
Ramin Halavati | 4633ca4 | 2022-02-01 09:51:38 | [diff] [blame] | 9341 | #if !BUILDFLAG(IS_ANDROID) |
Ramin Halavati | 749df2f | 2023-05-08 18:46:08 | [diff] [blame] | 9342 | // TODO(https://crbug.com/1443349): Add Windows once library supports it. |
Ramin Halavati | 7935b62 | 2022-11-16 08:11:46 | [diff] [blame] | 9343 | {"layout-extraction", flag_descriptions::kLayoutExtractionName, |
| 9344 | flag_descriptions::kLayoutExtractionDescription, |
Ramin Halavati | 12a8d33c | 2022-11-16 05:46:05 | [diff] [blame] | 9345 | kOsMac | kOsLinux | kOsCrOS | kOsLacros, |
Ramin Halavati | 7935b62 | 2022-11-16 08:11:46 | [diff] [blame] | 9346 | FEATURE_VALUE_TYPE(features::kLayoutExtraction)}, |
Ramin Halavati | 4633ca4 | 2022-02-01 09:51:38 | [diff] [blame] | 9347 | #endif |
| 9348 | |
Siyu An | a8b9a0bc | 2022-01-31 19:40:41 | [diff] [blame] | 9349 | {"autofill-enable-virtual-card-management-in-desktop-settings-page", |
| 9350 | flag_descriptions:: |
| 9351 | kAutofillEnableVirtualCardManagementInDesktopSettingsPageName, |
| 9352 | flag_descriptions:: |
| 9353 | kAutofillEnableVirtualCardManagementInDesktopSettingsPageDescription, |
| 9354 | kOsDesktop, |
| 9355 | FEATURE_VALUE_TYPE( |
| 9356 | autofill::features:: |
| 9357 | kAutofillEnableVirtualCardManagementInDesktopSettingsPage)}, |
| 9358 | |
Daniel Vogelheim | 88d1ca9e | 2022-02-04 19:53:45 | [diff] [blame] | 9359 | {"origin-agent-cluster-default", |
| 9360 | flag_descriptions::kOriginAgentClusterDefaultName, |
| 9361 | flag_descriptions::kOriginAgentClusterDefaultDescription, kOsAll, |
| 9362 | FEATURE_VALUE_TYPE(blink::features::kOriginAgentClusterDefaultEnabled)}, |
| 9363 | |
W. James MacLean | 2f339dc | 2023-05-25 14:43:41 | [diff] [blame] | 9364 | {"origin-keyed-processes-by-default", |
| 9365 | flag_descriptions::kOriginKeyedProcessesByDefaultName, |
| 9366 | flag_descriptions::kOriginKeyedProcessesByDefaultDescription, kOsAll, |
| 9367 | FEATURE_VALUE_TYPE(features::kOriginKeyedProcessesByDefault)}, |
| 9368 | |
Yann Dago | 716d1de | 2022-02-07 18:49:30 | [diff] [blame] | 9369 | #if !BUILDFLAG(IS_ANDROID) |
Mei Liang | d5813c3 | 2022-10-29 01:09:07 | [diff] [blame] | 9370 | {"enable-code-based-rbd", flag_descriptions::kCodeBasedRBDName, |
| 9371 | flag_descriptions::kCodeBasedRBDDescription, kOsDesktop, |
| 9372 | FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kCodeBasedRBD, |
| 9373 | kCodeBasedRBDVariations, |
| 9374 | "CodeBasedRBD")}, |
| 9375 | |
Mei Liang | 36e41a5e | 2022-02-10 01:43:50 | [diff] [blame] | 9376 | {"enable-discount-consent-v2", flag_descriptions::kDiscountConsentV2Name, |
| 9377 | flag_descriptions::kDiscountConsentV2Description, kOsDesktop, |
Mei Liang | a696d227 | 2022-02-25 02:06:07 | [diff] [blame] | 9378 | FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kDiscountConsentV2, |
Mei Liang | 5415f2d | 2022-02-25 07:49:25 | [diff] [blame] | 9379 | kDiscountConsentV2Variations, |
Mei Liang | a696d227 | 2022-02-25 02:06:07 | [diff] [blame] | 9380 | "DiscountConsentV2")}, |
Mei Liang | d79d382 | 2022-10-26 21:55:25 | [diff] [blame] | 9381 | |
| 9382 | {"enable-merchant-wide-promotions", |
| 9383 | flag_descriptions::kMerchantWidePromotionsName, |
| 9384 | flag_descriptions::kMerchantWidePromotionsDescription, kOsDesktop, |
Mei Liang | d3726df | 2022-10-31 18:29:02 | [diff] [blame] | 9385 | FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kMerchantWidePromotion, |
| 9386 | kMerchantWidePromotionVariations, |
| 9387 | "MerchantWidePromotion")}, |
Mei Liang | 36e41a5e | 2022-02-10 01:43:50 | [diff] [blame] | 9388 | #endif |
| 9389 | |
Anupam Snigdha | ecc5739e | 2022-02-14 18:35:58 | [diff] [blame] | 9390 | {"edit-context", flag_descriptions::kEditContextName, |
| 9391 | flag_descriptions::kEditContextDescription, kOsAll, |
| 9392 | FEATURE_VALUE_TYPE(blink::features::kEditContext)}, |
William Mahon | 9d1605f | 2022-04-22 23:54:59 | [diff] [blame] | 9393 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9394 | {"enable-fake-keyboard-heuristic", |
| 9395 | flag_descriptions::kEnableFakeKeyboardHeuristicName, |
| 9396 | flag_descriptions::kEnableFakeKeyboardHeuristicDescription, kOsCrOS, |
| 9397 | FEATURE_VALUE_TYPE(ui::kEnableFakeKeyboardHeuristic)}, |
| 9398 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
W. James MacLean | 0d757fa | 2022-02-16 16:13:31 | [diff] [blame] | 9399 | #if !BUILDFLAG(IS_ANDROID) |
| 9400 | {"enable-isolated-sandboxed-iframes", |
| 9401 | flag_descriptions::kIsolatedSandboxedIframesName, |
| 9402 | flag_descriptions::kIsolatedSandboxedIframesDescription, kOsDesktop, |
W. James MacLean | 3b6d087 | 2022-06-24 16:16:14 | [diff] [blame] | 9403 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
W. James MacLean | 7d286973 | 2022-10-14 19:11:56 | [diff] [blame] | 9404 | blink::features::kIsolateSandboxedIframes, |
W. James MacLean | 3b6d087 | 2022-06-24 16:16:14 | [diff] [blame] | 9405 | kIsolateSandboxedIframesGroupingVariations, |
| 9406 | "IsolateSandboxedIframes" /* trial name */)}, |
W. James MacLean | 0d757fa | 2022-02-16 16:13:31 | [diff] [blame] | 9407 | #endif |
| 9408 | |
Varun Khaneja | e493d2b2 | 2022-02-18 18:17:31 | [diff] [blame] | 9409 | {"download-bubble", flag_descriptions::kDownloadBubbleName, |
Fred Shih | 87e6a56 | 2022-04-13 19:51:51 | [diff] [blame] | 9410 | flag_descriptions::kDownloadBubbleDescription, |
| 9411 | kOsLinux | kOsLacros | kOsMac | kOsWin, |
Varun Khaneja | e493d2b2 | 2022-02-18 18:17:31 | [diff] [blame] | 9412 | FEATURE_VALUE_TYPE(safe_browsing::kDownloadBubble)}, |
| 9413 | |
thefrog | e0ea8bd | 2022-06-24 15:04:53 | [diff] [blame] | 9414 | {"download-bubble-v2", flag_descriptions::kDownloadBubbleV2Name, |
| 9415 | flag_descriptions::kDownloadBubbleV2Description, |
| 9416 | kOsLinux | kOsLacros | kOsMac | kOsWin, |
| 9417 | FEATURE_VALUE_TYPE(safe_browsing::kDownloadBubbleV2)}, |
| 9418 | |
Etienne Pierre-doray | 247abce | 2022-03-08 18:45:48 | [diff] [blame] | 9419 | {"unthrottled-nested-timeout", |
| 9420 | flag_descriptions::kUnthrottledNestedTimeoutName, |
| 9421 | flag_descriptions::kUnthrottledNestedTimeoutDescription, kOsAll, |
| 9422 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 9423 | blink::features::kMaxUnthrottledTimeoutNestingLevel, |
| 9424 | kUnthrottledNestedTimeout_Variations, |
| 9425 | "NestingLevel")}, |
| 9426 | |
Victor Tan | 0e75ea5 | 2022-08-12 16:46:28 | [diff] [blame] | 9427 | {"reduce-accept-language", flag_descriptions::kReduceAcceptLanguageName, |
| 9428 | flag_descriptions::kReduceAcceptLanguageDescription, kOsAll, |
| 9429 | FEATURE_VALUE_TYPE(network::features::kReduceAcceptLanguage)}, |
| 9430 | |
Andrew Wolfers | a051f74 | 2022-03-03 21:08:22 | [diff] [blame] | 9431 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9432 | {"enable-variable-refresh-rate", |
| 9433 | flag_descriptions::kEnableVariableRefreshRateName, |
| 9434 | flag_descriptions::kEnableVariableRefreshRateDescription, kOsCrOS, |
| 9435 | FEATURE_VALUE_TYPE(features::kEnableVariableRefreshRate)}, |
Melissa Zhang | b77b96f | 2022-03-07 06:05:30 | [diff] [blame] | 9436 | |
Toby Huang | 6a77193f2 | 2022-08-12 18:07:30 | [diff] [blame] | 9437 | {"enable-projector-local-playback", |
| 9438 | flag_descriptions::kProjectorLocalPlaybackName, |
| 9439 | flag_descriptions::kProjectorLocalPlaybackDescription, kOsCrOS, |
| 9440 | FEATURE_VALUE_TYPE(ash::features::kProjectorLocalPlayback)}, |
| 9441 | |
| 9442 | {"enable-projector-app-debug", flag_descriptions::kProjectorAppDebugName, |
| 9443 | flag_descriptions::kProjectorAppDebugDescription, kOsCrOS, |
| 9444 | FEATURE_VALUE_TYPE(ash::features::kProjectorAppDebug)}, |
Yilkal | 2bc6531 | 2023-02-23 21:27:12 | [diff] [blame] | 9445 | |
| 9446 | {kProjectorServerSideSpeechRecognition, |
| 9447 | flag_descriptions::kProjectorServerSideSpeechRecognitionName, |
| 9448 | flag_descriptions::kProjectorServerSideSpeechRecognitionDescription, |
| 9449 | kOsCrOS, |
| 9450 | FEATURE_VALUE_TYPE(ash::features::kInternalServerSideSpeechRecognition)}, |
Andrew Wolfers | a051f74 | 2022-03-03 21:08:22 | [diff] [blame] | 9451 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9452 | |
Ari Chivukula | 8edcb69 | 2022-03-10 19:22:31 | [diff] [blame] | 9453 | {"web-sql-access", flag_descriptions::kWebSQLAccessName, |
| 9454 | flag_descriptions::kWebSQLAccessDescription, kOsAll, |
| 9455 | FEATURE_VALUE_TYPE(blink::features::kWebSQLAccess)}, |
| 9456 | |
momoka0122y | da18aeb | 2022-03-15 08:23:54 | [diff] [blame] | 9457 | {"omit-cors-client-cert", flag_descriptions::kOmitCorsClientCertName, |
| 9458 | flag_descriptions::kOmitCorsClientCertDescription, kOsAll, |
| 9459 | FEATURE_VALUE_TYPE(network::features::kOmitCorsClientCert)}, |
| 9460 | |
Mustafa Emre Acer | c6b5135 | 2022-11-18 18:43:51 | [diff] [blame] | 9461 | {"use-idna2008-non-transitional", |
| 9462 | flag_descriptions::kUseIDNA2008NonTransitionalName, |
| 9463 | flag_descriptions::kUseIDNA2008NonTransitionalDescription, kOsAll, |
| 9464 | FEATURE_VALUE_TYPE(url::kUseIDNA2008NonTransitional)}, |
| 9465 | |
Tim Sergeant | e9c45c4 | 2022-03-17 21:53:52 | [diff] [blame] | 9466 | #if BUILDFLAG(IS_CHROMEOS) |
Maksim Moskvitin | 70a77cb | 2022-04-06 12:26:40 | [diff] [blame] | 9467 | {"sync-chromeos-explicit-passphrase-sharing", |
| 9468 | flag_descriptions::kSyncChromeOSExplicitPassphraseSharingName, |
| 9469 | flag_descriptions::kSyncChromeOSExplicitPassphraseSharingDescription, |
Fred Shih | ebe9cf8 | 2022-04-19 21:06:26 | [diff] [blame] | 9470 | kOsCrOS | kOsLacros, |
Maksim Moskvitin | 70a77cb | 2022-04-06 12:26:40 | [diff] [blame] | 9471 | FEATURE_VALUE_TYPE(syncer::kSyncChromeOSExplicitPassphraseSharing)}, |
Tim Sergeant | e9c45c4 | 2022-03-17 21:53:52 | [diff] [blame] | 9472 | #endif |
| 9473 | |
Rachel Wong | 29efa07 | 2022-03-24 07:37:41 | [diff] [blame] | 9474 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Jeffrey Kardatzke | a686ded2 | 2022-03-28 18:28:46 | [diff] [blame] | 9475 | {"always-enable-hdcp", flag_descriptions::kAlwaysEnableHdcpName, |
| 9476 | flag_descriptions::kAlwaysEnableHdcpDescription, kOsCrOS, |
| 9477 | MULTI_VALUE_TYPE(kAlwaysEnableHdcpChoices)}, |
Eric Sum | 2971b95 | 2022-10-20 04:55:37 | [diff] [blame] | 9478 | {"throttle-ambient-animations", |
| 9479 | flag_descriptions::kAmbientModeThrottleAnimationName, |
| 9480 | flag_descriptions::kAmbientModeThrottleAnimationDescription, kOsCrOS, |
| 9481 | FEATURE_VALUE_TYPE(ash::features::kAmbientModeThrottleAnimation)}, |
Harry Cutts | bc694180 | 2022-04-07 22:57:47 | [diff] [blame] | 9482 | {"enable-touchpads-in-diagnostics-app", |
| 9483 | flag_descriptions::kEnableTouchpadsInDiagnosticsAppName, |
| 9484 | flag_descriptions::kEnableTouchpadsInDiagnosticsAppDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 9485 | FEATURE_VALUE_TYPE(ash::features::kEnableTouchpadsInDiagnosticsApp)}, |
Harry Cutts | bc694180 | 2022-04-07 22:57:47 | [diff] [blame] | 9486 | {"enable-touchscreens-in-diagnostics-app", |
| 9487 | flag_descriptions::kEnableTouchscreensInDiagnosticsAppName, |
| 9488 | flag_descriptions::kEnableTouchscreensInDiagnosticsAppDescription, kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 9489 | FEATURE_VALUE_TYPE(ash::features::kEnableTouchscreensInDiagnosticsApp)}, |
Harry Cutts | 6deecd8 | 2022-04-08 01:30:23 | [diff] [blame] | 9490 | {"enable-external-keyboards-in-diagnostics-app", |
| 9491 | flag_descriptions::kEnableExternalKeyboardsInDiagnosticsAppName, |
| 9492 | flag_descriptions::kEnableExternalKeyboardsInDiagnosticsAppDescription, |
| 9493 | kOsCrOS, |
Henrique Ferreiro | 9d7def18 | 2022-11-30 12:38:42 | [diff] [blame] | 9494 | FEATURE_VALUE_TYPE(ash::features::kEnableExternalKeyboardsInDiagnostics)}, |
Hongyu Long | 3bd31e5 | 2022-11-21 20:08:30 | [diff] [blame] | 9495 | {"enable-power-sounds", flag_descriptions::kSystemSoundsName, |
| 9496 | flag_descriptions::kSystemSoundsDescription, kOsCrOS, |
| 9497 | FEATURE_VALUE_TYPE(ash::features::kSystemSounds)}, |
Harry Cutts | bc694180 | 2022-04-07 22:57:47 | [diff] [blame] | 9498 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Rachel Wong | 29efa07 | 2022-03-24 07:37:41 | [diff] [blame] | 9499 | |
Siyu An | ff02e74 | 2022-04-07 19:08:22 | [diff] [blame] | 9500 | {"autofill-enforce-delays-in-strike-database", |
| 9501 | flag_descriptions::kAutofillEnforceDelaysInStrikeDatabaseName, |
| 9502 | flag_descriptions::kAutofillEnforceDelaysInStrikeDatabaseDescription, |
| 9503 | kOsAll, |
| 9504 | FEATURE_VALUE_TYPE( |
| 9505 | autofill::features::kAutofillEnforceDelaysInStrikeDatabase)}, |
| 9506 | |
Siyu An | 003243c | 2022-04-07 22:13:11 | [diff] [blame] | 9507 | {"autofill-enable-virtual-card-metadata", |
| 9508 | flag_descriptions::kAutofillEnableVirtualCardMetadataName, |
| 9509 | flag_descriptions::kAutofillEnableVirtualCardMetadataDescription, kOsAll, |
| 9510 | FEATURE_VALUE_TYPE( |
| 9511 | autofill::features::kAutofillEnableVirtualCardMetadata)}, |
| 9512 | |
Anna Tsvirchkova | 94fecb5f | 2022-04-14 10:34:04 | [diff] [blame] | 9513 | #if BUILDFLAG(IS_ANDROID) |
| 9514 | {"password-edit-dialog-with-details", |
| 9515 | flag_descriptions::kPasswordEditDialogWithDetailsName, |
| 9516 | flag_descriptions::kPasswordEditDialogWithDetailsDescription, kOsAndroid, |
| 9517 | FEATURE_VALUE_TYPE( |
| 9518 | password_manager::features::kPasswordEditDialogWithDetails)}, |
| 9519 | #endif // BUILDFLAG(IS_ANDROID) |
Alexander Tekle | b464381 | 2023-01-06 23:12:30 | [diff] [blame] | 9520 | {"autofill-enable-ranking-formula-address-profiles", |
| 9521 | flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesName, |
| 9522 | flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesDescription, |
| 9523 | kOsAll, |
| 9524 | FEATURE_VALUE_TYPE( |
| 9525 | autofill::features::kAutofillEnableRankingFormulaAddressProfiles)}, |
| 9526 | |
Alexander Tekle | 35dfbbd | 2023-01-31 08:32:39 | [diff] [blame] | 9527 | {"autofill-enable-ranking-formula-credit-cards", |
| 9528 | flag_descriptions::kAutofillEnableRankingFormulaCreditCardsName, |
| 9529 | flag_descriptions::kAutofillEnableRankingFormulaCreditCardsDescription, |
| 9530 | kOsAll, |
| 9531 | FEATURE_VALUE_TYPE( |
| 9532 | autofill::features::kAutofillEnableRankingFormulaCreditCards)}, |
| 9533 | |
Vinny Persky | 650f8440 | 2022-04-14 18:46:18 | [diff] [blame] | 9534 | {"autofill-enable-virtual-card-fido-enrollment", |
| 9535 | flag_descriptions::kAutofillEnableVirtualCardFidoEnrollmentName, |
| 9536 | flag_descriptions::kAutofillEnableVirtualCardFidoEnrollmentDescription, |
| 9537 | kOsAll, |
| 9538 | FEATURE_VALUE_TYPE( |
| 9539 | autofill::features::kAutofillEnableVirtualCardFidoEnrollment)}, |
Jared Saul | b0473bd | 2022-04-20 00:03:41 | [diff] [blame] | 9540 | {"autofill-upstream-allow-additional-email-domains", |
| 9541 | flag_descriptions::kAutofillUpstreamAllowAdditionalEmailDomainsName, |
| 9542 | flag_descriptions::kAutofillUpstreamAllowAdditionalEmailDomainsDescription, |
| 9543 | kOsAll, |
| 9544 | FEATURE_VALUE_TYPE( |
| 9545 | autofill::features::kAutofillUpstreamAllowAdditionalEmailDomains)}, |
| 9546 | {"autofill-upstream-allow-all-email-domains", |
| 9547 | flag_descriptions::kAutofillUpstreamAllowAllEmailDomainsName, |
| 9548 | flag_descriptions::kAutofillUpstreamAllowAllEmailDomainsDescription, |
| 9549 | kOsAll, |
| 9550 | FEATURE_VALUE_TYPE( |
| 9551 | autofill::features::kAutofillUpstreamAllowAllEmailDomains)}, |
Vinny Persky | 650f8440 | 2022-04-14 18:46:18 | [diff] [blame] | 9552 | |
Henrique Nakashima | aa6c314 | 2022-07-14 21:53:11 | [diff] [blame] | 9553 | #if BUILDFLAG(IS_ANDROID) |
| 9554 | {"safe-mode-for-cached-flags", |
| 9555 | flag_descriptions::kSafeModeForCachedFlagsName, |
| 9556 | flag_descriptions::kSafeModeForCachedFlagsDescription, kOsAndroid, |
| 9557 | FEATURE_VALUE_TYPE(chrome::android::kSafeModeForCachedFlags)}, |
| 9558 | #endif // BUILDFLAG(IS_ANDROID) |
| 9559 | |
George Benz | 37338b7 | 2022-05-02 23:28:03 | [diff] [blame] | 9560 | #if !BUILDFLAG(IS_ANDROID) |
Eduard Hez | 0141dce | 2022-09-22 11:46:50 | [diff] [blame] | 9561 | {"safety-check-notification-permissions", |
| 9562 | flag_descriptions::kSafetyCheckNotificationPermissionsName, |
| 9563 | flag_descriptions::kSafetyCheckNotificationPermissionsDescription, |
| 9564 | kOsDesktop, |
| 9565 | FEATURE_VALUE_TYPE(features::kSafetyCheckNotificationPermissions)}, |
| 9566 | |
Side Yilmaz | d828f16 | 2022-10-11 00:05:24 | [diff] [blame] | 9567 | {"notification-interaction-history", |
| 9568 | flag_descriptions::kNotificationInteractionHistoryName, |
| 9569 | flag_descriptions::kNotificationInteractionHistoryDescription, kOsDesktop, |
| 9570 | FEATURE_VALUE_TYPE( |
| 9571 | permissions::features::kNotificationInteractionHistory)}, |
| 9572 | |
Eduard Hez | 0141dce | 2022-09-22 11:46:50 | [diff] [blame] | 9573 | {"safety-check-unused-site-permissions", |
| 9574 | flag_descriptions::kSafetyCheckUnusedSitePermissionsName, |
| 9575 | flag_descriptions::kSafetyCheckUnusedSitePermissionsDescription, |
| 9576 | kOsDesktop, |
Tom Van Goethem | a0ecc5b | 2022-12-13 13:21:32 | [diff] [blame] | 9577 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 9578 | content_settings::features::kSafetyCheckUnusedSitePermissions, |
| 9579 | kSafetyCheckUnusedSitePermissionsVariations, |
| 9580 | "SafetyCheckUnusedSitePermissions")}, |
Tom Van Goethem | 7ad67c08 | 2022-12-13 18:56:26 | [diff] [blame] | 9581 | |
| 9582 | {"record-permission-expiration-timestamps", |
| 9583 | flag_descriptions::kRecordPermissionExpirationTimestampsName, |
| 9584 | flag_descriptions::kRecordPermissionExpirationTimestampsDescription, |
| 9585 | kOsDesktop, |
| 9586 | FEATURE_VALUE_TYPE( |
| 9587 | permissions::features::kRecordPermissionExpirationTimestamps)}, |
Side Yilmaz | 468cad2 | 2023-05-10 10:43:06 | [diff] [blame] | 9588 | |
| 9589 | {"safety-hub", flag_descriptions::kSafetyHubName, |
| 9590 | flag_descriptions::kSafetyHubDescription, kOsDesktop, |
Aisulu Rakhmetullina | 431fe56 | 2023-07-05 15:39:21 | [diff] [blame] | 9591 | FEATURE_VALUE_TYPE(features::kSafetyHub)}, |
Side Yilmaz | cdd69f78 | 2022-07-22 08:05:30 | [diff] [blame] | 9592 | #endif // !BUILDFLAG(IS_ANDROID) |
| 9593 | |
Yutaka Hirano | 639d974 | 2022-05-13 12:35:16 | [diff] [blame] | 9594 | #if BUILDFLAG(IS_ANDROID) |
| 9595 | {"network-service-in-process", |
| 9596 | flag_descriptions::kNetworkServiceInProcessName, |
| 9597 | flag_descriptions::kNetworkServiceInProcessDescription, kOsAndroid, |
| 9598 | FEATURE_VALUE_TYPE(features::kNetworkServiceInProcess)}, |
| 9599 | #endif |
| 9600 | |
Yutaka Hirano | 92bdfa2 | 2022-06-01 15:51:33 | [diff] [blame] | 9601 | {"broker-file-operations-on-disk-cache-in-network-service", |
| 9602 | flag_descriptions::kBrokerFileOperationsOnDiskCacheInNetworkServiceName, |
| 9603 | flag_descriptions:: |
| 9604 | kBrokerFileOperationsOnDiskCacheInNetworkServiceDescription, |
| 9605 | kOsAll, |
| 9606 | FEATURE_VALUE_TYPE( |
| 9607 | features::kBrokerFileOperationsOnDiskCacheInNetworkService)}, |
| 9608 | |
Yue Zhang | 25d7296 | 2022-06-13 21:14:05 | [diff] [blame] | 9609 | #if BUILDFLAG(IS_ANDROID) |
| 9610 | {"enable-commerce-hint-android", |
| 9611 | flag_descriptions::kCommerceHintAndroidName, |
| 9612 | flag_descriptions::kCommerceHintAndroidDescription, kOsAndroid, |
| 9613 | FEATURE_VALUE_TYPE(commerce::kCommerceHintAndroid)}, |
| 9614 | #endif |
| 9615 | |
Alvin Ji | 3443b9b | 2022-06-17 19:57:47 | [diff] [blame] | 9616 | #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
| 9617 | {"enable-web-bluetooth-confirm-pairing-support", |
| 9618 | flag_descriptions::kWebBluetoothConfirmPairingSupportName, |
| 9619 | flag_descriptions::kWebBluetoothConfirmPairingSupportDescription, |
| 9620 | kOsDesktop, |
| 9621 | FEATURE_VALUE_TYPE(device::features::kWebBluetoothConfirmPairingSupport)}, |
| 9622 | #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) |
| 9623 | |
Jiahe Zhang | c3577e33 | 2022-06-22 11:20:38 | [diff] [blame] | 9624 | {"quick-intensive-throttling-after-loading", |
| 9625 | flag_descriptions::kQuickIntensiveWakeUpThrottlingAfterLoadingName, |
| 9626 | flag_descriptions::kQuickIntensiveWakeUpThrottlingAfterLoadingDescription, |
| 9627 | kOsAll, |
| 9628 | FEATURE_VALUE_TYPE( |
| 9629 | blink::features::kQuickIntensiveWakeUpThrottlingAfterLoading)}, |
| 9630 | |
Tom Burgin | 5c3fde0 | 2022-06-23 18:24:07 | [diff] [blame] | 9631 | #if BUILDFLAG(IS_MAC) |
| 9632 | {"system-color-chooser", flag_descriptions::kSystemColorChooserName, |
| 9633 | flag_descriptions::kSystemColorChooserDescription, kOsMac, |
| 9634 | FEATURE_VALUE_TYPE(blink::features::kSystemColorChooser)}, |
| 9635 | #endif // BUILDFLAG(IS_MAC) |
| 9636 | |
Victor Hugo Vianna Silva | 020f8dc | 2022-06-27 19:36:43 | [diff] [blame] | 9637 | {"ignore-sync-encryption-keys-long-missing", |
| 9638 | flag_descriptions::kIgnoreSyncEncryptionKeysLongMissingName, |
| 9639 | flag_descriptions::kIgnoreSyncEncryptionKeysLongMissingDescription, kOsAll, |
| 9640 | FEATURE_VALUE_TYPE(syncer::kIgnoreSyncEncryptionKeysLongMissing)}, |
| 9641 | |
Nakul Vaidya | ddfdfbc | 2022-06-28 23:43:32 | [diff] [blame] | 9642 | {"autofill-parse-iban-fields", |
Nakul Vaidya | 876210f | 2022-08-08 17:47:19 | [diff] [blame] | 9643 | flag_descriptions::kAutofillParseIBANFieldsName, |
| 9644 | flag_descriptions::kAutofillParseIBANFieldsDescription, kOsAll, |
| 9645 | FEATURE_VALUE_TYPE(autofill::features::kAutofillParseIBANFields)}, |
Nakul Vaidya | ddfdfbc | 2022-06-28 23:43:32 | [diff] [blame] | 9646 | |
Yi An | 8b28bef | 2022-06-29 19:11:32 | [diff] [blame] | 9647 | #if BUILDFLAG(IS_ANDROID) |
| 9648 | {"autofill-enable-fido-progress-dialog", |
| 9649 | flag_descriptions::kAutofillEnableFIDOProgressDialogName, |
| 9650 | flag_descriptions::kAutofillEnableFIDOProgressDialogDescription, |
| 9651 | kOsAndroid, |
| 9652 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableFIDOProgressDialog)}, |
| 9653 | #endif // BUILDFLAG(IS_ANDROID) |
Shu Yang | d1d8f6b8 | 2022-06-30 18:46:28 | [diff] [blame] | 9654 | |
Alexander Timin | a812932f | 2022-06-29 23:39:34 | [diff] [blame] | 9655 | {"enable-perfetto-system-tracing", |
| 9656 | flag_descriptions::kEnablePerfettoSystemTracingName, |
| 9657 | flag_descriptions::kEnablePerfettoSystemTracingDescription, kOsAndroid, |
| 9658 | FEATURE_VALUE_TYPE(features::kEnablePerfettoSystemTracing)}, |
Yi An | 8b28bef | 2022-06-29 19:11:32 | [diff] [blame] | 9659 | |
liyanbo.monster | 41ebdd1 | 2022-06-30 04:32:32 | [diff] [blame] | 9660 | #if BUILDFLAG(IS_ANDROID) |
| 9661 | {"enable-android-gamepad-vibration", |
| 9662 | flag_descriptions::kEnableAndroidGamepadVibrationName, |
| 9663 | flag_descriptions::kEnableAndroidGamepadVibrationDescription, kOsAndroid, |
| 9664 | FEATURE_VALUE_TYPE(features::kEnableAndroidGamepadVibration)}, |
| 9665 | #endif // BUILDFLAG(IS_ANDROID) |
| 9666 | |
Shu Yang | d1d8f6b8 | 2022-06-30 18:46:28 | [diff] [blame] | 9667 | #if BUILDFLAG(IS_ANDROID) |
| 9668 | {"request-desktop-site-additions", |
| 9669 | flag_descriptions::kRequestDesktopSiteAdditionsName, |
| 9670 | flag_descriptions::kRequestDesktopSiteAdditionsDescription, kOsAndroid, |
| 9671 | FEATURE_VALUE_TYPE(features::kRequestDesktopSiteAdditions)}, |
| 9672 | #endif // BUILDFLAG(IS_ANDROID) |
| 9673 | |
Aishwarya Rajesh | 3d0bd21 | 2022-07-22 22:48:31 | [diff] [blame] | 9674 | #if BUILDFLAG(IS_ANDROID) |
| 9675 | {"request-desktop-site-defaults", |
| 9676 | flag_descriptions::kRequestDesktopSiteDefaultsName, |
| 9677 | flag_descriptions::kRequestDesktopSiteDefaultsDescription, kOsAndroid, |
| 9678 | FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSiteDefaults)}, |
| 9679 | #endif // BUILDFLAG(IS_ANDROID) |
| 9680 | |
Aishwarya Rajesh | 63e60f7 | 2022-08-26 00:34:19 | [diff] [blame] | 9681 | #if BUILDFLAG(IS_ANDROID) |
Aishwarya Rajesh | ed9865f8 | 2022-09-12 22:46:57 | [diff] [blame] | 9682 | {"request-desktop-site-defaults-downgrade", |
| 9683 | flag_descriptions::kRequestDesktopSiteDefaultsDowngradeName, |
| 9684 | flag_descriptions::kRequestDesktopSiteDefaultsDowngradeDescription, |
| 9685 | kOsAndroid, |
| 9686 | FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSiteDefaultsDowngrade)}, |
| 9687 | #endif // BUILDFLAG(IS_ANDROID) |
| 9688 | |
| 9689 | #if BUILDFLAG(IS_ANDROID) |
Shu Yang | 6673a04 | 2023-02-28 00:27:36 | [diff] [blame] | 9690 | {"request-desktop-site-defaults-logging", |
| 9691 | flag_descriptions::kRequestDesktopSiteDefaultsLoggingName, |
| 9692 | flag_descriptions::kRequestDesktopSiteDefaultsLoggingDescription, |
| 9693 | kOsAndroid, |
| 9694 | FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSiteDefaultsLogging)}, |
| 9695 | #endif // BUILDFLAG(IS_ANDROID) |
| 9696 | |
| 9697 | #if BUILDFLAG(IS_ANDROID) |
Aishwarya Rajesh | a327b16 | 2023-01-06 01:34:42 | [diff] [blame] | 9698 | {"request-desktop-site-per-site-iph", |
| 9699 | flag_descriptions::kRequestDesktopSitePerSiteIphName, |
| 9700 | flag_descriptions::kRequestDesktopSitePerSiteIphDescription, kOsAndroid, |
| 9701 | FEATURE_VALUE_TYPE(chrome::android::kRequestDesktopSitePerSiteIph)}, |
| 9702 | #endif // BUILDFLAG(IS_ANDROID) |
| 9703 | |
| 9704 | #if BUILDFLAG(IS_ANDROID) |
Aishwarya Rajesh | 7b43f26 | 2022-11-02 20:22:04 | [diff] [blame] | 9705 | {"request-desktop-site-zoom", |
| 9706 | flag_descriptions::kRequestDesktopSiteZoomName, |
| 9707 | flag_descriptions::kRequestDesktopSiteZoomDescription, kOsAndroid, |
| 9708 | FEATURE_VALUE_TYPE(features::kRequestDesktopSiteZoom)}, |
| 9709 | #endif // BUILDFLAG(IS_ANDROID) |
| 9710 | |
Jack Hsieh | 1e6d84a | 2022-07-01 16:18:57 | [diff] [blame] | 9711 | #if !BUILDFLAG(IS_ANDROID) |
| 9712 | {"enable-web-hid-on-extension-service-worker", |
| 9713 | flag_descriptions::kEnableWebHidOnExtensionServiceWorkerName, |
| 9714 | flag_descriptions::kEnableWebHidOnExtensionServiceWorkerDescription, |
| 9715 | kOsDesktop, |
| 9716 | FEATURE_VALUE_TYPE(features::kEnableWebHidOnExtensionServiceWorker)}, |
| 9717 | #endif |
| 9718 | |
Marc Treib | b9d8ed80 | 2022-07-05 15:15:49 | [diff] [blame] | 9719 | {"enable-sync-history-datatype", |
| 9720 | flag_descriptions::kSyncEnableHistoryDataTypeName, |
| 9721 | flag_descriptions::kSyncEnableHistoryDataTypeDescription, kOsAll, |
| 9722 | FEATURE_VALUE_TYPE(syncer::kSyncEnableHistoryDataType)}, |
| 9723 | |
Karol Sygiet | 901acb4 | 2022-08-08 16:00:04 | [diff] [blame] | 9724 | #if BUILDFLAG(IS_MAC) |
| 9725 | {"biometric-authentication-in-settings", |
| 9726 | flag_descriptions::kBiometricAuthenticationInSettingsName, |
| 9727 | flag_descriptions::kBiometricAuthenticationInSettingsDescription, kOsMac, |
Karol Sygiet | 3f6a816 | 2022-07-07 11:34:43 | [diff] [blame] | 9728 | FEATURE_VALUE_TYPE( |
Karol Sygiet | 901acb4 | 2022-08-08 16:00:04 | [diff] [blame] | 9729 | password_manager::features::kBiometricAuthenticationInSettings)}, |
| 9730 | #endif // BUILDFLAG(IS_MAC) |
Tim Sergeant | a596e2f | 2022-07-06 05:27:30 | [diff] [blame] | 9731 | |
Siyu An | 3194bda | 2022-07-13 19:30:37 | [diff] [blame] | 9732 | {"autofill-enable-remade-downstream-metrics", |
| 9733 | flag_descriptions::kAutofillEnableRemadeDownstreamMetricsName, |
| 9734 | flag_descriptions::kAutofillEnableRemadeDownstreamMetricsDescription, |
| 9735 | kOsAll, |
| 9736 | FEATURE_VALUE_TYPE( |
| 9737 | autofill::features::kAutofillEnableRemadeDownstreamMetrics)}, |
| 9738 | |
Drew Davenport | ef72571 | 2022-07-13 21:05:08 | [diff] [blame] | 9739 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9740 | {"enable-seamless-refresh-rate-switching", |
| 9741 | flag_descriptions::kEnableSeamlessRefreshRateSwitchingName, |
| 9742 | flag_descriptions::kEnableSeamlessRefreshRateSwitchingDescription, kOsCrOS, |
| 9743 | FEATURE_VALUE_TYPE(ash::features::kSeamlessRefreshRateSwitching)}, |
| 9744 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9745 | |
Elly Fong-Jones | 6d1e47c7 | 2023-02-24 16:12:57 | [diff] [blame] | 9746 | {"click-to-call", flag_descriptions::kClickToCallName, |
| 9747 | flag_descriptions::kClickToCallDescription, kOsAll, |
| 9748 | FEATURE_VALUE_TYPE(kClickToCall)}, |
| 9749 | |
Ana SollanoKim | 2266c11 | 2022-07-14 23:38:15 | [diff] [blame] | 9750 | {"clipboard-unsanitized-content", |
| 9751 | flag_descriptions::kClipboardUnsanitizedContentName, |
| 9752 | flag_descriptions::kClipboardUnsanitizedContentDescription, kOsAll, |
| 9753 | FEATURE_VALUE_TYPE(blink::features::kClipboardUnsanitizedContent)}, |
| 9754 | |
Patrick Noland | d50e38b | 2023-06-14 22:32:11 | [diff] [blame] | 9755 | {"clipboard-maximum-age", flag_descriptions::kClipboardMaximumAgeName, |
| 9756 | flag_descriptions::kClipboardMaximumAgeDescription, kOsAndroid, |
| 9757 | FEATURE_WITH_PARAMS_VALUE_TYPE(kClipboardMaximumAge, |
| 9758 | kClipboardMaximumAgeVariations, |
| 9759 | "ClipboardMaximumAge")}, |
| 9760 | |
Erin Park | bbb5decc | 2022-07-21 21:37:13 | [diff] [blame] | 9761 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9762 | {"enable-media-dynamic-cgroup", flag_descriptions::kMediaDynamicCgroupName, |
| 9763 | flag_descriptions::kMediaDynamicCgroupDescription, kOsCrOS, |
| 9764 | PLATFORM_FEATURE_NAME_TYPE("CrOSLateBootMediaDynamicCgroup")}, |
| 9765 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9766 | |
Qihui Zhao | 30bf4ca | 2022-07-26 20:24:59 | [diff] [blame] | 9767 | {"autofill-fill-iban-fields", |
| 9768 | flag_descriptions::kAutofillFillIbanFieldsName, |
| 9769 | flag_descriptions::kAutofillFillIbanFieldsDescription, kOsDesktop, |
| 9770 | FEATURE_VALUE_TYPE(autofill::features::kAutofillFillIbanFields)}, |
| 9771 | |
Nakul Vaidya | 13ca204 | 2022-07-27 01:59:55 | [diff] [blame] | 9772 | {"autofill-parse-vcn-card-on-file-standalone-cvc-fields", |
| 9773 | flag_descriptions::kAutofillParseVcnCardOnFileStandaloneCvcFieldsName, |
| 9774 | flag_descriptions:: |
| 9775 | kAutofillParseVcnCardOnFileStandaloneCvcFieldsDescription, |
| 9776 | kOsAll, |
| 9777 | FEATURE_VALUE_TYPE( |
| 9778 | autofill::features::kAutofillParseVcnCardOnFileStandaloneCvcFields)}, |
| 9779 | |
Tsuyoshi Horo | 41b0fe00 | 2023-01-30 03:04:57 | [diff] [blame] | 9780 | {"background-resource-fetch", |
| 9781 | flag_descriptions::kBackgroundResourceFetchName, |
| 9782 | flag_descriptions::kBackgroundResourceFetchDescription, kOsAll, |
| 9783 | FEATURE_VALUE_TYPE(blink::features::kBackgroundResourceFetch)}, |
| 9784 | |
Karol Sygiet | c5e3da65 | 2022-08-02 15:47:50 | [diff] [blame] | 9785 | #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) |
| 9786 | {"biometric-authentication-for-filling", |
| 9787 | flag_descriptions::kBiometricAuthenticationForFillingName, |
| 9788 | flag_descriptions::kBiometricAuthenticationForFillingDescription, |
| 9789 | kOsMac | kOsWin, |
| 9790 | FEATURE_VALUE_TYPE( |
| 9791 | password_manager::features::kBiometricAuthenticationForFilling)}, |
| 9792 | #endif |
Yoshisato Yanagisawa | 577d8282 | 2022-08-17 01:51:10 | [diff] [blame] | 9793 | {"skip-service-worker-fetch-handler", |
| 9794 | flag_descriptions::kSkipServiceWorkerFetchHandlerName, |
| 9795 | flag_descriptions::kSkipServiceWorkerFetchHandlerDescription, kOsAll, |
| 9796 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 9797 | features::kServiceWorkerSkipIgnorableFetchHandler, |
| 9798 | kServiceWorkerSkipIgnorableFetchHandlerVariations, |
| 9799 | "ServiceWorkerSkipIgnorableFetchHandler")}, |
Karol Sygiet | c5e3da65 | 2022-08-02 15:47:50 | [diff] [blame] | 9800 | |
Andrii Natiahlyi | 653c2409 | 2023-02-16 11:37:35 | [diff] [blame] | 9801 | {"passwords-import-m2", flag_descriptions::kPasswordsImportM2Name, |
| 9802 | flag_descriptions::kPasswordsImportM2Description, kOsDesktop, |
| 9803 | FEATURE_VALUE_TYPE(password_manager::features::kPasswordsImportM2)}, |
Andrii Natiahlyi | 653c2409 | 2023-02-16 11:37:35 | [diff] [blame] | 9804 | |
liqining.keiling | 151bedd6 | 2022-08-17 19:18:26 | [diff] [blame] | 9805 | #if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) |
| 9806 | {flag_descriptions::kDesktopPWAsAppHomePageFlagId, |
| 9807 | flag_descriptions::kDesktopPWAsAppHomePageName, |
| 9808 | flag_descriptions::kDesktopPWAsAppHomePageDescription, kOsDesktop, |
| 9809 | FEATURE_VALUE_TYPE(features::kDesktopPWAsAppHomePage)}, |
| 9810 | #endif // !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) |
| 9811 | |
Michael Thiessen | 495a0d3 | 2022-08-24 17:58:19 | [diff] [blame] | 9812 | #if BUILDFLAG(IS_ANDROID) |
| 9813 | {"external-navigation-debug-logs", |
| 9814 | flag_descriptions::kExternalNavigationDebugLogsName, |
| 9815 | flag_descriptions::kExternalNavigationDebugLogsDescription, kOsAndroid, |
| 9816 | FEATURE_VALUE_TYPE(external_intents::kExternalNavigationDebugLogs)}, |
| 9817 | #endif |
| 9818 | |
Charles Meng | 17ba75d | 2022-08-23 18:45:28 | [diff] [blame] | 9819 | #if !BUILDFLAG(IS_ANDROID) |
Anthony Vallee-Dubois | 3d3039fb | 2023-03-17 16:11:15 | [diff] [blame] | 9820 | {"heuristic-memory-saver-mode", |
| 9821 | flag_descriptions::kHeuristicMemorySaverName, |
| 9822 | flag_descriptions::kHeuristicMemorySaverDescription, kOsDesktop, |
| 9823 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 9824 | performance_manager::features::kHeuristicMemorySaver, |
| 9825 | kHeuristicMemorySaverVariations, |
| 9826 | "HeuristicMemorySaver")}, |
Baitinq | 8e9648d | 2023-06-05 10:52:34 | [diff] [blame] | 9827 | |
| 9828 | {"hide-incognito-media-metadata", |
| 9829 | flag_descriptions::kHideIncognitoMediaMetadataName, |
| 9830 | flag_descriptions::kHideIncognitoMediaMetadataDescription, kOsDesktop, |
| 9831 | FEATURE_VALUE_TYPE(media::kHideIncognitoMediaMetadata)}, |
| 9832 | |
Alison Gale | a48e0e1 | 2023-05-10 22:57:52 | [diff] [blame] | 9833 | {"memory-saver-multi-state-mode", |
| 9834 | flag_descriptions::kHighEfficiencyMultistateModeAvailableName, |
| 9835 | flag_descriptions::kHighEfficiencyMultistateModeAvailableDescription, |
| 9836 | kOsDesktop, |
Charles Meng | 095d98b | 2023-06-14 16:21:57 | [diff] [blame] | 9837 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 9838 | performance_manager::features::kHighEfficiencyMultistateMode, |
| 9839 | kHighEfficiencyMultistateModeVariations, |
| 9840 | "HighEfficiencyMultistateMode")}, |
Alison Gale | a48e0e1 | 2023-05-10 22:57:52 | [diff] [blame] | 9841 | |
Alison Gale | e124dea3 | 2023-05-05 21:39:05 | [diff] [blame] | 9842 | {"memory-saver-discarded-tab-treatment", |
| 9843 | flag_descriptions::kHighEfficiencyDiscardedTabTreatmentName, |
| 9844 | flag_descriptions::kHighEfficiencyDiscardedTabTreatmentDescription, |
| 9845 | kOsDesktop, |
| 9846 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 9847 | performance_manager::features::kDiscardedTabTreatment, |
| 9848 | kDiscardedTabTreatmentVariations, |
| 9849 | "DiscardedTabTreatment")}, |
| 9850 | |
Alison Gale | eebae68 | 2023-06-06 20:30:53 | [diff] [blame] | 9851 | {"memory-saver-memory-usage-in-hovercards", |
| 9852 | flag_descriptions::kHighEfficiencyMemoryUsageInHovercardsName, |
| 9853 | flag_descriptions::kHighEfficiencyMemoryUsageInHovercardsDescription, |
| 9854 | kOsDesktop, |
| 9855 | FEATURE_VALUE_TYPE( |
| 9856 | performance_manager::features::kMemoryUsageInHovercards)}, |
| 9857 | |
Alison Gale | af76701 | 2023-05-12 18:27:06 | [diff] [blame] | 9858 | {"memory-saver-discard-exceptions-improvements", |
| 9859 | flag_descriptions::kHighEfficiencyDiscardExceptionsImprovementsName, |
| 9860 | flag_descriptions::kHighEfficiencyDiscardExceptionsImprovementsDescription, |
| 9861 | kOsDesktop, |
| 9862 | FEATURE_VALUE_TYPE( |
| 9863 | performance_manager::features::kDiscardExceptionsImprovements)}, |
| 9864 | |
Alison Gale | 56cd69b | 2023-04-25 16:56:32 | [diff] [blame] | 9865 | {"memory-saver-savings-reporting-improvements", |
| 9866 | flag_descriptions::kHighEfficiencySavingsReportingImprovementsName, |
| 9867 | flag_descriptions::kHighEfficiencySavingsReportingImprovementsDescription, |
| 9868 | kOsDesktop, |
Alison Gale | a3718263 | 2023-05-11 17:44:56 | [diff] [blame] | 9869 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 9870 | performance_manager::features::kMemorySavingsReportingImprovements, |
| 9871 | kHighEfficiencyMemorySavingsReportingVariations, |
| 9872 | "MemorySavingsReportingImprovements")}, |
Alison Gale | 56cd69b | 2023-04-25 16:56:32 | [diff] [blame] | 9873 | |
Charles Meng | 17ba75d | 2022-08-23 18:45:28 | [diff] [blame] | 9874 | #endif |
| 9875 | |
Moe Ahmadi | 40e0eba5 | 2022-12-22 01:44:25 | [diff] [blame] | 9876 | {"webui-omnibox-popup", flag_descriptions::kWebUIOmniboxPopupName, |
| 9877 | flag_descriptions::kWebUIOmniboxPopupDescription, kOsDesktop, |
| 9878 | FEATURE_VALUE_TYPE(omnibox::kWebUIOmniboxPopup)}, |
| 9879 | |
dpapad | 36b3a3b2 | 2023-04-19 17:07:46 | [diff] [blame] | 9880 | #if !BUILDFLAG(IS_LINUX) |
dpapad | 7c00cc7f0 | 2023-03-24 17:54:35 | [diff] [blame] | 9881 | {"webui-system-font", flag_descriptions::kWebUiSystemFontName, |
| 9882 | flag_descriptions::kWebUiSystemFontDescription, kOsAll, |
| 9883 | FEATURE_VALUE_TYPE(features::kWebUiSystemFont)}, |
dpapad | 36b3a3b2 | 2023-04-19 17:07:46 | [diff] [blame] | 9884 | #endif |
dpapad | 7c00cc7f0 | 2023-03-24 17:54:35 | [diff] [blame] | 9885 | |
Tim Sergeant | b2f5dc0 | 2022-09-14 08:07:17 | [diff] [blame] | 9886 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9887 | {"arc-nearby-share-fuse-box", flag_descriptions::kArcNearbyShareFuseBoxName, |
| 9888 | flag_descriptions::kArcNearbyShareFuseBoxDescription, kOsCrOS, |
Siyu An | 042eac8 | 2022-09-19 23:55:03 | [diff] [blame] | 9889 | FEATURE_VALUE_TYPE(arc::kEnableArcNearbyShareFuseBox)}, |
Tim Sergeant | b2f5dc0 | 2022-09-14 08:07:17 | [diff] [blame] | 9890 | #endif |
| 9891 | |
Siyu An | 042eac8 | 2022-09-19 23:55:03 | [diff] [blame] | 9892 | {"autofill-enable-card-art-image", |
| 9893 | flag_descriptions::kAutofillEnableCardArtImageName, |
| 9894 | flag_descriptions::kAutofillEnableCardArtImageDescription, kOsAll, |
| 9895 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardArtImage)}, |
| 9896 | |
Calder Kitagawa | 621534c | 2022-09-20 19:12:51 | [diff] [blame] | 9897 | #if BUILDFLAG(IS_ANDROID) |
Brandon Fong | 7ec73ac | 2023-06-15 19:08:59 | [diff] [blame] | 9898 | {"restore-tabs-on-fre", flag_descriptions::kRestoreTabsOnFREName, |
| 9899 | flag_descriptions::kRestoreTabsOnFREDescription, kOsAndroid, |
| 9900 | FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kRestoreTabsOnFRE, |
| 9901 | kRestoreTabsOnFREVariations, |
| 9902 | "RestoreTabsOnFRE")}, |
| 9903 | |
Wenyu Fu | 54672f4 | 2022-09-22 17:51:51 | [diff] [blame] | 9904 | {"context-menu-popup-for-all-screen-sizes", |
| 9905 | flag_descriptions::kContextMenuPopupForAllScreenSizesName, |
| 9906 | flag_descriptions::kContextMenuPopupForAllScreenSizesDescription, |
| 9907 | kOsAndroid, |
| 9908 | FEATURE_VALUE_TYPE(chrome::android::kContextMenuPopupForAllScreenSizes)}, |
Calder Kitagawa | 621534c | 2022-09-20 19:12:51 | [diff] [blame] | 9909 | #endif |
Vasiliy Telezhnikov | a416481 | 2022-10-03 18:38:20 | [diff] [blame] | 9910 | {"use-dmsaa-for-tiles", flag_descriptions::kUseDMSAAForTilesName, |
| 9911 | flag_descriptions::kUseDMSAAForTilesDescription, kOsAll, |
| 9912 | FEATURE_VALUE_TYPE(::features::kUseDMSAAForTiles)}, |
Calder Kitagawa | 621534c | 2022-09-20 19:12:51 | [diff] [blame] | 9913 | |
Matt Reynolds | 9e96d08d | 2022-09-30 01:28:50 | [diff] [blame] | 9914 | {"enable-web-usb-on-extension-service-worker", |
| 9915 | flag_descriptions::kEnableWebUsbOnExtensionServiceWorkerName, |
| 9916 | flag_descriptions::kEnableWebUsbOnExtensionServiceWorkerDescription, |
| 9917 | kOsAndroid | kOsDesktop, |
| 9918 | FEATURE_VALUE_TYPE(features::kEnableWebUsbOnExtensionServiceWorker)}, |
| 9919 | |
David Black | 6fca0bc | 2022-10-08 00:35:17 | [diff] [blame] | 9920 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9921 | {"enable-holding-space-predictability", |
| 9922 | flag_descriptions::kHoldingSpacePredictabilityName, |
| 9923 | flag_descriptions::kHoldingSpacePredictabilityDescription, kOsCrOS, |
| 9924 | FEATURE_VALUE_TYPE(ash::features::kHoldingSpacePredictability)}, |
| 9925 | {"enable-holding-space-refresh", |
| 9926 | flag_descriptions::kHoldingSpaceRefreshName, |
| 9927 | flag_descriptions::kHoldingSpaceRefreshDescription, kOsCrOS, |
| 9928 | FEATURE_VALUE_TYPE(ash::features::kHoldingSpaceRefresh)}, |
| 9929 | {"enable-holding-space-suggestions", |
| 9930 | flag_descriptions::kHoldingSpaceSuggestionsName, |
| 9931 | flag_descriptions::kHoldingSpaceSuggestionsDescription, kOsCrOS, |
| 9932 | FEATURE_VALUE_TYPE(ash::features::kHoldingSpaceSuggestions)}, |
| 9933 | #endif |
| 9934 | |
Momoka Yamamoto | f1accfce | 2022-10-13 10:00:19 | [diff] [blame] | 9935 | {"use-nat64-for-ipv4-literal", |
| 9936 | flag_descriptions::kUseNAT64ForIPv4LiteralName, |
| 9937 | flag_descriptions::kUseNAT64ForIPv4LiteralDescription, kOsAll, |
| 9938 | FEATURE_VALUE_TYPE(net::features::kUseNAT64ForIPv4Literal)}, |
| 9939 | |
Victor Hugo Vianna Silva | bb878dea | 2022-10-18 10:19:04 | [diff] [blame] | 9940 | #if BUILDFLAG(IS_ANDROID) |
| 9941 | {"enable-passwords-account-storage", |
| 9942 | flag_descriptions::kEnablePasswordsAccountStorageName, |
| 9943 | flag_descriptions::kEnablePasswordsAccountStorageDescription, kOsAndroid, |
| 9944 | FEATURE_VALUE_TYPE( |
| 9945 | password_manager::features::kEnablePasswordsAccountStorage)}, |
| 9946 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9947 | |
Matt Mueller | 8b02b190 | 2023-03-07 00:06:36 | [diff] [blame] | 9948 | #if BUILDFLAG(CHROME_ROOT_STORE_OPTIONAL) |
Hubert Chao | d8adfa7 | 2022-10-19 18:18:52 | [diff] [blame] | 9949 | {"chrome-root-store-enabled", |
| 9950 | flag_descriptions::kChromeRootStoreEnabledName, |
Hubert Chao | ce53df36 | 2022-12-05 21:19:39 | [diff] [blame] | 9951 | flag_descriptions::kChromeRootStoreEnabledDescription, |
Matt Mueller | 8b02b190 | 2023-03-07 00:06:36 | [diff] [blame] | 9952 | kOsAndroid | kOsLinux | kOsCrOS | kOsLacros, |
Hubert Chao | d8adfa7 | 2022-10-19 18:18:52 | [diff] [blame] | 9953 | FEATURE_VALUE_TYPE(net::features::kChromeRootStoreUsed)}, |
Matt Mueller | 8b02b190 | 2023-03-07 00:06:36 | [diff] [blame] | 9954 | #endif // BUILDFLAG(CHROME_ROOT_STORE_OPTIONAL) |
Hubert Chao | d8adfa7 | 2022-10-19 18:18:52 | [diff] [blame] | 9955 | |
Hubert Chao | c30058a | 2022-12-01 01:08:44 | [diff] [blame] | 9956 | #if BUILDFLAG(TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED) |
| 9957 | {"cert-dual-verification-enabled", |
| 9958 | flag_descriptions::kCertDualVerificationEnabledName, |
| 9959 | flag_descriptions::kCertDualVerificationEnabledDescription, kOsAndroid, |
| 9960 | FEATURE_VALUE_TYPE(net::features::kCertDualVerificationTrialFeature)}, |
| 9961 | #endif // BUILDFLAG(TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED) |
| 9962 | |
Fabio Tirelo | 86429cb | 2022-10-25 22:25:19 | [diff] [blame] | 9963 | #if BUILDFLAG(IS_ANDROID) |
Salma Elmahallawy | dcdfa9e | 2023-01-30 18:42:24 | [diff] [blame] | 9964 | {"policy-logs-page-android", flag_descriptions::kPolicyLogsPageAndroidName, |
| 9965 | flag_descriptions::kPolicyLogsPageAndroidDescription, kOsAndroid, |
| 9966 | FEATURE_VALUE_TYPE(policy::features::kPolicyLogsPageAndroid)}, |
| 9967 | #endif |
| 9968 | |
Fabio Tirelo | 343dcc8 | 2023-03-13 16:34:10 | [diff] [blame] | 9969 | #if BUILDFLAG(IS_ANDROID) |
| 9970 | {"safe-sites-filter-behavior-policy-android", |
| 9971 | flag_descriptions::kSafeSitesFilterBehaviorPolicyAndroidName, |
| 9972 | flag_descriptions::kSafeSitesFilterBehaviorPolicyAndroidDescription, |
| 9973 | kOsAndroid, |
| 9974 | FEATURE_VALUE_TYPE( |
| 9975 | policy::features::kSafeSitesFilterBehaviorPolicyAndroid)}, |
| 9976 | #endif |
| 9977 | |
Igor Ruvinov | b1f7bea | 2022-11-08 23:20:50 | [diff] [blame] | 9978 | #if BUILDFLAG(IS_WIN) |
Igor Ruvinov | a21c076a | 2023-05-10 18:51:09 | [diff] [blame] | 9979 | {"cloud-ap-auth-attach-as-header", |
| 9980 | flag_descriptions::kCloudApAuthAttachAsHeaderName, |
| 9981 | flag_descriptions::kCloudApAuthAttachAsHeaderDescription, kOsWin, |
| 9982 | FEATURE_VALUE_TYPE(enterprise_auth::kCloudApAuthAttachAsHeader)}, |
Igor Ruvinov | b1f7bea | 2022-11-08 23:20:50 | [diff] [blame] | 9983 | #endif // BUILDFLAG(IS_WIN) |
| 9984 | |
Tao Wu | 4b5d816 | 2022-11-10 19:58:07 | [diff] [blame] | 9985 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9986 | {kLibAssistantV2MigrationInternalName, |
| 9987 | flag_descriptions::kLibAssistantV2MigrationName, |
| 9988 | flag_descriptions::kLibAssistantV2MigrationDescription, kOsCrOS, |
| 9989 | FEATURE_VALUE_TYPE(ash::assistant::features::kEnableLibAssistantV2)}, |
| 9990 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9991 | |
Daniel Andersson | 3a71e98 | 2022-11-17 02:34:07 | [diff] [blame] | 9992 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 9993 | {"enable-per-desk-z-order", flag_descriptions::kEnablePerDeskZOrderName, |
| 9994 | flag_descriptions::kEnablePerDeskZOrderDescription, kOsCrOS, |
| 9995 | FEATURE_VALUE_TYPE(ash::features::kEnablePerDeskZOrder)}, |
| 9996 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 9997 | |
Emily Shack | 675ca99 | 2022-11-18 22:07:24 | [diff] [blame] | 9998 | #if !BUILDFLAG(IS_ANDROID) |
| 9999 | {"power-bookmarks-side-panel", flag_descriptions::kPowerBookmarksSidePanel, |
| 10000 | flag_descriptions::kPowerBookmarksSidePanelDescription, kOsDesktop, |
| 10001 | FEATURE_VALUE_TYPE(features::kPowerBookmarksSidePanel)}, |
| 10002 | #endif |
| 10003 | |
Yuki Awano | eeaad0f | 2022-11-22 22:44:59 | [diff] [blame] | 10004 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10005 | {"gallery-app-pdf-edit-notification", |
| 10006 | flag_descriptions::kGalleryAppPdfEditNotificationName, |
| 10007 | flag_descriptions::kGalleryAppPdfEditNotificationDescription, kOsCrOS, |
| 10008 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 10009 | ash::features::kGalleryAppPdfEditNotification, |
| 10010 | kGalleryAppPdfEditNotificationVariations, |
| 10011 | "GalleryAppPdfEditNotification")}, |
| 10012 | #endif |
| 10013 | |
Yuki Awano | 6ac1a1dc | 2023-01-21 00:50:24 | [diff] [blame] | 10014 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10015 | {"google-one-offer-files-banner", |
| 10016 | flag_descriptions::kGoogleOneOfferFilesBannerName, |
| 10017 | flag_descriptions::kGoogleOneOfferFilesBannerDescription, kOsCrOS, |
| 10018 | FEATURE_VALUE_TYPE(ash::features::kGoogleOneOfferFilesBanner)}, |
| 10019 | #endif |
| 10020 | |
Alexander Tekle | 629b1be | 2022-12-05 23:55:12 | [diff] [blame] | 10021 | {"sync-autofill-wallet-usage-data", |
| 10022 | flag_descriptions::kSyncAutofillWalletUsageDataName, |
| 10023 | flag_descriptions::kSyncAutofillWalletUsageDataDescription, kOsAll, |
| 10024 | FEATURE_VALUE_TYPE(syncer::kSyncAutofillWalletUsageData)}, |
| 10025 | |
Maksim Sisov | dc5d70a | 2022-11-23 08:03:02 | [diff] [blame] | 10026 | #if !BUILDFLAG(IS_ANDROID) |
| 10027 | {"ui-enable-shared-image-cache-for-gpu", |
| 10028 | flag_descriptions::kUIEnableSharedImageCacheForGpuName, |
| 10029 | flag_descriptions::kUIEnableSharedImageCacheForGpuDescription, kOsDesktop, |
| 10030 | FEATURE_VALUE_TYPE(::features::kUIEnableSharedImageCacheForGpu)}, |
| 10031 | #endif |
| 10032 | |
Danil Somsikov | 0d20614 | 2022-11-28 23:37:20 | [diff] [blame] | 10033 | #if !BUILDFLAG(IS_ANDROID) |
| 10034 | {"devtools-tab-target", flag_descriptions::kDevToolsTabTargetLiteralName, |
| 10035 | flag_descriptions::kDevToolsTabTargetLiteralDescription, kOsDesktop, |
| 10036 | FEATURE_VALUE_TYPE(::features::kDevToolsTabTarget)}, |
| 10037 | #endif |
Andrew Pantera | 67b07b4 | 2022-12-06 19:32:00 | [diff] [blame] | 10038 | |
| 10039 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10040 | {"cros-labs-window-cycle-shortcut", |
| 10041 | flag_descriptions::kSameAppWindowCycleName, |
| 10042 | flag_descriptions::kSameAppWindowCycleDescription, kOsCrOS, |
| 10043 | FEATURE_VALUE_TYPE(ash::features::kSameAppWindowCycle)}, |
| 10044 | #endif |
George Benz | 57b4f6a | 2022-12-06 22:57:18 | [diff] [blame] | 10045 | |
Vivian Pao | fc22288b | 2022-12-07 03:00:11 | [diff] [blame] | 10046 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10047 | {"promise-icons", flag_descriptions::kPromiseIconsName, |
| 10048 | flag_descriptions::kPromiseIconsDescription, kOsCrOS, |
| 10049 | FEATURE_VALUE_TYPE(ash::features::kPromiseIcons)}, |
| 10050 | #endif |
Piotr Pawliczek | 49732c9 | 2022-12-12 18:10:58 | [diff] [blame] | 10051 | |
| 10052 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10053 | {"printing-ppd-channel", flag_descriptions::kPrintingPpdChannelName, |
| 10054 | flag_descriptions::kPrintingPpdChannelDescription, kOsCrOS, |
Piotr Pawliczek | d05f6968 | 2023-03-07 03:42:04 | [diff] [blame] | 10055 | MULTI_VALUE_TYPE(kPrintingPpdChannelChoices)}, |
Piotr Pawliczek | 49732c9 | 2022-12-12 18:10:58 | [diff] [blame] | 10056 | #endif |
| 10057 | |
Salma Elmahallawy | 65cafa5 | 2023-04-18 16:34:34 | [diff] [blame] | 10058 | #if BUILDFLAG(IS_WIN) || (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) || \ |
| 10059 | BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) |
| 10060 | {"data-retention-policies-disable-sync-types-needed", |
| 10061 | flag_descriptions::kDataRetentionPoliciesDisableSyncTypesNeededName, |
| 10062 | flag_descriptions::kDataRetentionPoliciesDisableSyncTypesNeededDescription, |
| 10063 | kOsLinux | kOsWin | kOsMac | kOsCrOS | kOsAndroid, |
| 10064 | FEATURE_VALUE_TYPE(browsing_data::features:: |
| 10065 | kDataRetentionPoliciesDisableSyncTypesNeeded)}, |
| 10066 | #endif |
| 10067 | |
Ayu Ishii | 1e06316f | 2022-12-14 14:54:50 | [diff] [blame] | 10068 | {"storage-buckets", flag_descriptions::kStorageBucketsName, |
| 10069 | flag_descriptions::kStorageBucketsDescription, kOsAll, |
| 10070 | FEATURE_VALUE_TYPE(blink::features::kStorageBuckets)}, |
| 10071 | |
sisidovski | a29a302 | 2023-04-20 07:53:54 | [diff] [blame] | 10072 | {"service-worker-bypass-fetch-handler", |
| 10073 | flag_descriptions::kServiceWorkerBypassFetchHandlerName, |
| 10074 | flag_descriptions::kServiceWorkerBypassFetchHandlerDescription, kOsAll, |
| 10075 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kServiceWorkerBypassFetchHandler, |
| 10076 | kServiceWorkerBypassFetchHandlerVariations, |
| 10077 | "ServiceWorkerBypassFetchHandler")}, |
| 10078 | |
sisidovski | 62b577f2 | 2022-12-15 03:10:00 | [diff] [blame] | 10079 | {"service-worker-bypass-fetch-handler-for-main-resource", |
| 10080 | flag_descriptions::kServiceWorkerBypassFetchHandlerForMainResourceName, |
| 10081 | flag_descriptions:: |
| 10082 | kServiceWorkerBypassFetchHandlerForMainResourceDescription, |
Qihui Zhao | 69ac9eee | 2022-12-15 21:36:39 | [diff] [blame] | 10083 | kOsAll, FEATURE_VALUE_TYPE(features::kServiceWorkerBypassFetchHandler)}, |
| 10084 | |
Yoshisato Yanagisawa | 9dc8ebe | 2023-06-13 07:07:04 | [diff] [blame] | 10085 | {"service-worker-static-router", |
| 10086 | flag_descriptions::kServiceWorkerStaticRouterName, |
| 10087 | flag_descriptions::kServiceWorkerStaticRouterDescription, kOsAll, |
| 10088 | FEATURE_VALUE_TYPE(features::kServiceWorkerStaticRouter)}, |
| 10089 | |
Qihui Zhao | 69ac9eee | 2022-12-15 21:36:39 | [diff] [blame] | 10090 | {"autofill-remove-card-expiration-and-type-titles", |
| 10091 | flag_descriptions::kAutofillRemoveCardExpirationAndTypeTitlesName, |
| 10092 | flag_descriptions::kAutofillRemoveCardExpirationAndTypeTitlesDescription, |
| 10093 | kOsDesktop, |
| 10094 | FEATURE_VALUE_TYPE( |
| 10095 | autofill::features::kAutofillRemoveCardExpirationAndTypeTitles)}, |
Qihui Zhao | 72836c6 | 2022-12-16 04:31:41 | [diff] [blame] | 10096 | |
| 10097 | {"autofill-offer-to-save-card-with-same-last-four", |
| 10098 | flag_descriptions::kAutofillOfferToSaveCardWithSameLastFourName, |
| 10099 | flag_descriptions::kAutofillOfferToSaveCardWithSameLastFourDescription, |
| 10100 | kOsAll, |
| 10101 | FEATURE_VALUE_TYPE( |
| 10102 | autofill::features::kAutofillOfferToSaveCardWithSameLastFour)}, |
| 10103 | |
Nikki Fang | 32bf628 | 2023-01-04 05:28:41 | [diff] [blame] | 10104 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10105 | {"app-deduplication-service-fondue", |
| 10106 | flag_descriptions::kAppDeduplicationServiceFondueName, |
| 10107 | flag_descriptions::kAppDeduplicationServiceFondueDescription, kOsCrOS, |
| 10108 | FEATURE_VALUE_TYPE(features::kAppDeduplicationServiceFondue)}, |
| 10109 | #endif |
| 10110 | |
Vipul Vinod Koul | aebbcb3a | 2023-01-05 19:50:50 | [diff] [blame] | 10111 | {"autofill-suggest-server-card-instead-of-local-card", |
| 10112 | flag_descriptions::kAutofillSuggestServerCardInsteadOfLocalCardName, |
| 10113 | flag_descriptions::kAutofillSuggestServerCardInsteadOfLocalCardDescription, |
| 10114 | kOsAll, |
| 10115 | FEATURE_VALUE_TYPE( |
| 10116 | autofill::features::kAutofillSuggestServerCardInsteadOfLocalCard)}, |
Sky Malice | 300d5fc | 2023-01-12 19:37:33 | [diff] [blame] | 10117 | |
| 10118 | #if BUILDFLAG(IS_ANDROID) |
| 10119 | {"android-improved-bookmarks", |
| 10120 | flag_descriptions::kAndroidImprovedBookmarksName, |
| 10121 | flag_descriptions::kAndroidImprovedBookmarksDescription, kOsAndroid, |
Brandon Wylie | 294073a | 2023-03-31 22:15:31 | [diff] [blame] | 10122 | FEATURE_VALUE_TYPE(chrome::android::kAndroidImprovedBookmarks)}, |
Sky Malice | 300d5fc | 2023-01-12 19:37:33 | [diff] [blame] | 10123 | #endif // BUILDFLAG(IS_ANDROID) |
| 10124 | |
Charles William Dick | a0a0f97 | 2023-01-27 02:12:32 | [diff] [blame] | 10125 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10126 | {"arc-idle-manager", flag_descriptions::kArcIdleManagerName, |
| 10127 | flag_descriptions::kArcIdleManagerDescription, kOsCrOS, |
| 10128 | FEATURE_VALUE_TYPE(arc::kEnableArcIdleManager)}, |
| 10129 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 10130 | |
Kevin McNee | 96b3a1b | 2023-02-02 20:24:50 | [diff] [blame] | 10131 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 10132 | {"enable-webview-tag-mparch-behavior", |
| 10133 | flag_descriptions::kWebViewTagMPArchBehaviorName, |
| 10134 | flag_descriptions::kWebViewTagMPArchBehaviorDescription, kOsDesktop, |
| 10135 | FEATURE_VALUE_TYPE(extensions_features::kWebviewTagMPArchBehavior)}, |
Ryan Sultanem | bff00a9 | 2023-03-06 11:45:10 | [diff] [blame] | 10136 | |
| 10137 | {"web-auth-flow-in-browser-tab", |
| 10138 | flag_descriptions::kWebAuthFlowInBrowserTabName, |
| 10139 | flag_descriptions::kWebAuthFlowInBrowserTabDescription, kOsDesktop, |
| 10140 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kWebAuthFlowInBrowserTab, |
| 10141 | kWebAuthFlowInBrowserTabVariations, |
| 10142 | "WebAuthFlowInBrowserTab")}, |
Kevin McNee | 96b3a1b | 2023-02-02 20:24:50 | [diff] [blame] | 10143 | #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
Calder Kitagawa | e13c2391 | 2023-02-08 22:50:28 | [diff] [blame] | 10144 | // |
| 10145 | #if BUILDFLAG(IS_ANDROID) |
| 10146 | {"thumbnail-cache-refactor", flag_descriptions::kThumbnailCacheRefactorName, |
| 10147 | flag_descriptions::kThumbnailCacheRefactorDescription, kOsAndroid, |
Calder Kitagawa | 204d640 | 2023-02-22 18:16:57 | [diff] [blame] | 10148 | FEATURE_VALUE_TYPE(thumbnail::kThumbnailCacheRefactor)}, |
Bo Liu | de36ab6 | 2023-02-24 20:08:29 | [diff] [blame] | 10149 | |
| 10150 | {"slim-compositor", flag_descriptions::kSlimCompositorName, |
| 10151 | flag_descriptions::kSlimCompositorDescription, kOsAndroid, |
| 10152 | FEATURE_VALUE_TYPE(features::kSlimCompositor)}, |
Bo Liu | 2f24729 | 2023-05-15 18:28:32 | [diff] [blame] | 10153 | |
| 10154 | {"surface-control-magnifier", |
| 10155 | flag_descriptions::kSurfaceControlMagnifierName, |
| 10156 | flag_descriptions::kSurfaceControlMagnifierDescription, kOsAndroid, |
| 10157 | FEATURE_VALUE_TYPE(features::kAndroidSurfaceControlMagnifier)}, |
Calder Kitagawa | e13c2391 | 2023-02-08 22:50:28 | [diff] [blame] | 10158 | #endif // BUILDFLAG(IS_ANDROID) |
Kevin McNee | 96b3a1b | 2023-02-02 20:24:50 | [diff] [blame] | 10159 | |
Vinny Persky | e6677d5 | 2023-02-22 22:22:19 | [diff] [blame] | 10160 | {"autofill-enable-iban-client-side-url-filtering", |
| 10161 | flag_descriptions::kAutofillEnableIbanClientSideUrlFilteringName, |
| 10162 | flag_descriptions::kAutofillEnableIbanClientSideUrlFilteringDescription, |
Vinny Persky | 6d96eae | 2023-02-08 00:46:04 | [diff] [blame] | 10163 | kOsAll, |
| 10164 | FEATURE_VALUE_TYPE( |
Vinny Persky | e6677d5 | 2023-02-22 22:22:19 | [diff] [blame] | 10165 | autofill::features::kAutofillEnableIbanClientSideUrlFiltering)}, |
Vinny Persky | 6d96eae | 2023-02-08 00:46:04 | [diff] [blame] | 10166 | |
Michael Martis | d3a46a87 | 2023-02-08 05:27:50 | [diff] [blame] | 10167 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10168 | {"system-live-caption", flag_descriptions::kSystemLiveCaptionName, |
| 10169 | flag_descriptions::kSystemLiveCaptionDescription, kOsCrOS, |
| 10170 | FEATURE_VALUE_TYPE(ash::features::kSystemLiveCaption)}, |
| 10171 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 10172 | |
Alex Mitra | c4bcea2 | 2023-02-09 11:10:15 | [diff] [blame] | 10173 | #if BUILDFLAG(IS_ANDROID) |
| 10174 | {"stylus-rich-gestures", flag_descriptions::kStylusRichGesturesName, |
| 10175 | flag_descriptions::kStylusRichGesturesDescription, kOsAndroid, |
| 10176 | FEATURE_VALUE_TYPE(blink::features::kStylusRichGestures)}, |
| 10177 | #endif // BUILDFLAG(IS_ANDROID) |
| 10178 | |
Saifuddin Hitawala | 74627fe | 2023-02-14 20:25:45 | [diff] [blame] | 10179 | {"passthrough-yuv-rgb-conversion", |
| 10180 | flag_descriptions::kPassthroughYuvRgbConversionName, |
| 10181 | flag_descriptions::kPassthroughYuvRgbConversionDescription, kOsAll, |
| 10182 | FEATURE_VALUE_TYPE(features::kPassthroughYuvRgbConversion)}, |
| 10183 | |
Saifuddin Hitawala | 0c64780 | 2023-03-22 21:20:49 | [diff] [blame] | 10184 | {"use-multi-plane-format-for-hardware-video", |
| 10185 | flag_descriptions::kUseMultiPlaneFormatForHardwareVideoName, |
| 10186 | flag_descriptions::kUseMultiPlaneFormatForHardwareVideoDescription, kOsAll, |
| 10187 | FEATURE_VALUE_TYPE(media::kUseMultiPlaneFormatForHardwareVideo)}, |
| 10188 | |
Saifuddin Hitawala | e3b5ec8 | 2023-03-30 17:08:03 | [diff] [blame] | 10189 | {"use-multi-plane-format-for-software-video", |
| 10190 | flag_descriptions::kUseMultiPlaneFormatForSoftwareVideoName, |
| 10191 | flag_descriptions::kUseMultiPlaneFormatForSoftwareVideoDescription, kOsAll, |
| 10192 | FEATURE_VALUE_TYPE(media::kUseMultiPlaneFormatForSoftwareVideo)}, |
| 10193 | |
andrewxu | 6396d65 | 2023-02-20 17:58:54 | [diff] [blame] | 10194 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10195 | {"enable-notification-image-drag", |
| 10196 | flag_descriptions::kEnableNotificationImageDragName, |
| 10197 | flag_descriptions::kEnableNotificationImageDragDescription, kOsCrOS, |
| 10198 | FEATURE_VALUE_TYPE(ash::features::kNotificationImageDrag)}, |
| 10199 | #endif |
| 10200 | |
Vipul Vinod Koul | 633bbf65 | 2023-02-21 23:34:11 | [diff] [blame] | 10201 | #if !BUILDFLAG(IS_ANDROID) |
| 10202 | {"autofill-enable-new-save-card-bubble-ui", |
| 10203 | flag_descriptions::kAutofillEnableNewSaveCardBubbleUiName, |
| 10204 | flag_descriptions::kAutofillEnableNewSaveCardBubbleUiDescription, |
| 10205 | kOsDesktop, |
| 10206 | FEATURE_VALUE_TYPE( |
| 10207 | autofill::features::kAutofillEnableNewSaveCardBubbleUi)}, |
| 10208 | #endif // !BUILDFLAG(IS_ANDROID) |
| 10209 | |
Alexander Tekle | a82c414 | 2023-02-22 01:33:42 | [diff] [blame] | 10210 | {"autofill-enable-new-card-art-and-network-images", |
| 10211 | flag_descriptions::kAutofillEnableNewCardArtAndNetworkImagesName, |
| 10212 | flag_descriptions::kAutofillEnableNewCardArtAndNetworkImagesDescription, |
| 10213 | kOsAll, |
| 10214 | FEATURE_VALUE_TYPE( |
| 10215 | autofill::features::kAutofillEnableNewCardArtAndNetworkImages)}, |
Vishwas Uppoor | d6bfcb5 | 2023-06-27 02:15:35 | [diff] [blame] | 10216 | |
| 10217 | {"autofill-enable-card-art-server-side-stretching", |
| 10218 | flag_descriptions::kAutofillEnableCardArtServerSideStretchingName, |
| 10219 | flag_descriptions::kAutofillEnableCardArtServerSideStretchingDescription, |
| 10220 | kOsAll, |
| 10221 | FEATURE_VALUE_TYPE( |
| 10222 | autofill::features::kAutofillEnableCardArtServerSideStretching)}, |
| 10223 | |
Jared Saul | 5ea8b257f | 2023-02-22 18:53:27 | [diff] [blame] | 10224 | {"autofill-upstream-use-alternate-secure-data-type", |
| 10225 | flag_descriptions::kAutofillUpstreamUseAlternateSecureDataTypeName, |
| 10226 | flag_descriptions::kAutofillUpstreamUseAlternateSecureDataTypeDescription, |
| 10227 | kOsAll, |
| 10228 | FEATURE_VALUE_TYPE( |
| 10229 | autofill::features::kAutofillUpstreamUseAlternateSecureDataType)}, |
Alexander Tekle | a82c414 | 2023-02-22 01:33:42 | [diff] [blame] | 10230 | |
Brandon Wylie | 130e579 | 2023-02-23 23:59:38 | [diff] [blame] | 10231 | {"power-bookmark-backend", flag_descriptions::kPowerBookmarkBackendName, |
| 10232 | flag_descriptions::kPowerBookmarkBackendDescription, kOsAll, |
| 10233 | FEATURE_VALUE_TYPE(power_bookmarks::kPowerBookmarkBackend)}, |
| 10234 | |
Caroline Rising | 19c8490 | 2023-02-27 23:46:00 | [diff] [blame] | 10235 | #if !BUILDFLAG(IS_ANDROID) |
| 10236 | {"user-notes-side-panel", flag_descriptions::kUserNotesSidePanelName, |
| 10237 | flag_descriptions::kUserNotesSidePanelDescription, kOsDesktop, |
| 10238 | FEATURE_VALUE_TYPE(user_notes::kUserNotes)}, |
| 10239 | #endif |
| 10240 | |
Vinny Persky | 5a0ac3a3 | 2023-03-02 18:35:50 | [diff] [blame] | 10241 | {"autofill-enable-merchant-opt-out-client-side-url-filtering", |
| 10242 | flag_descriptions::kAutofillEnableMerchantOptOutClientSideUrlFilteringName, |
| 10243 | flag_descriptions:: |
| 10244 | kAutofillEnableMerchantOptOutClientSideUrlFilteringDescription, |
| 10245 | kOsAll, |
| 10246 | FEATURE_VALUE_TYPE( |
| 10247 | autofill::features:: |
| 10248 | kAutofillEnableMerchantOptOutClientSideUrlFiltering)}, |
| 10249 | |
Matthew Mourgos | 6f663a4 | 2023-03-14 20:58:08 | [diff] [blame] | 10250 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10251 | {"enable-eol-notification-reset-dismissed-prefs", |
| 10252 | flag_descriptions::kEolResetDismissedPrefsName, |
| 10253 | flag_descriptions::kEolResetDismissedPrefsDescription, kOsCrOS, |
| 10254 | SINGLE_VALUE_TYPE(ash::switches::kEolResetDismissedPrefs)}, |
| 10255 | #endif |
| 10256 | |
Anna Tsvirchkova | 0891e9da | 2023-03-08 12:42:09 | [diff] [blame] | 10257 | #if BUILDFLAG(IS_ANDROID) |
| 10258 | {"password-generation-bottom-sheet", |
| 10259 | flag_descriptions::kPasswordGenerationBottomSheetName, |
| 10260 | flag_descriptions::kPasswordGenerationBottomSheetDescription, kOsAndroid, |
| 10261 | FEATURE_VALUE_TYPE( |
| 10262 | password_manager::features::kPasswordGenerationBottomSheet)}, |
| 10263 | #endif // BUILDFLAG(IS_ANDROID) |
| 10264 | |
Jared Saul | 5363f396 | 2023-03-10 23:03:51 | [diff] [blame] | 10265 | {"autofill-upstream-authenticate-preflight-call", |
| 10266 | flag_descriptions::kAutofillUpstreamAuthenticatePreflightCallName, |
| 10267 | flag_descriptions::kAutofillUpstreamAuthenticatePreflightCallDescription, |
| 10268 | kOsAll, |
| 10269 | FEATURE_VALUE_TYPE( |
| 10270 | autofill::features::kAutofillUpstreamAuthenticatePreflightCall)}, |
| 10271 | |
Marc Treib | e9f79ea7 | 2023-03-14 10:25:42 | [diff] [blame] | 10272 | {"enable-preferences-account-storage", |
| 10273 | flag_descriptions::kEnablePreferencesAccountStorageName, |
| 10274 | flag_descriptions::kEnablePreferencesAccountStorageDescription, kOsAll, |
| 10275 | FEATURE_VALUE_TYPE(syncer::kEnablePreferencesAccountStorage)}, |
| 10276 | |
James Lee | ed090a1b | 2023-03-16 22:51:58 | [diff] [blame] | 10277 | {"enable-variations-google-group-filtering", |
| 10278 | flag_descriptions::kEnableVariationsGoogleGroupFilteringName, |
| 10279 | flag_descriptions::kEnableVariationsGoogleGroupFilteringDescription, |
| 10280 | kOsAll, FEATURE_VALUE_TYPE(kVariationsGoogleGroupFiltering)}, |
| 10281 | |
Daniel Andersson | 9a81b3350 | 2023-03-20 19:15:37 | [diff] [blame] | 10282 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10283 | {"app-launch-automation", flag_descriptions::kAppLaunchAutomationName, |
| 10284 | flag_descriptions::kAppLaunchAutomationDescription, kOsCrOS, |
| 10285 | FEATURE_VALUE_TYPE(ash::features::kAppLaunchAutomation)}, |
| 10286 | #endif |
| 10287 | |
Jason Lin | e4862b0 | 2023-03-21 04:38:13 | [diff] [blame] | 10288 | #if BUILDFLAG(IS_CHROMEOS_LACROS) |
Jason Lin | 288a01a | 2023-04-03 01:50:47 | [diff] [blame] | 10289 | {"experimental-web-app-profile-isolation", |
| 10290 | flag_descriptions::kExperimentalWebAppProfileIsolationName, |
| 10291 | flag_descriptions::kExperimentalWebAppProfileIsolationDescription, |
| 10292 | kOsLacros, |
| 10293 | FEATURE_VALUE_TYPE( |
| 10294 | chromeos::features::kExperimentalWebAppProfileIsolation)}, |
| 10295 | |
Jason Lin | e4862b0 | 2023-03-21 04:38:13 | [diff] [blame] | 10296 | {"experimental-web-app-storage-partition-isolation", |
| 10297 | flag_descriptions::kExperimentalWebAppStoragePartitionIsolationName, |
| 10298 | flag_descriptions::kExperimentalWebAppStoragePartitionIsolationDescription, |
| 10299 | kOsLacros, |
| 10300 | FEATURE_VALUE_TYPE( |
| 10301 | chromeos::features::kExperimentalWebAppStoragePartitionIsolation)}, |
| 10302 | #endif // BUILDFLAG(IS_CHROMEOS_LACROS) |
| 10303 | |
Ben Becker | f60ef85 | 2023-03-22 23:08:24 | [diff] [blame] | 10304 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10305 | {"enable-desk-button", flag_descriptions::kDeskButtonName, |
| 10306 | flag_descriptions::kDeskButtonDescription, kOsCrOS, |
| 10307 | FEATURE_VALUE_TYPE(ash::features::kDeskButton)}, |
| 10308 | #endif |
| 10309 | |
Shuming Hao | 42af3d7 | 2023-03-30 20:06:10 | [diff] [blame] | 10310 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10311 | {"render-arc-notifications-by-chrome", |
| 10312 | flag_descriptions::kRenderArcNotificationsByChromeName, |
| 10313 | flag_descriptions::kRenderArcNotificationsByChromeDescription, kOsCrOS, |
| 10314 | FEATURE_VALUE_TYPE(ash::features::kRenderArcNotificationsByChrome)}, |
| 10315 | #endif |
| 10316 | |
Jochen Eisinger | bd1033a | 2023-03-27 18:31:23 | [diff] [blame] | 10317 | #if !BUILDFLAG(IS_ANDROID) && BUILDFLAG(GOOGLE_CHROME_BRANDING) |
| 10318 | {"settings-enable-get-the-most-out-of-chrome", |
| 10319 | flag_descriptions::kSettingsEnableGetTheMostOutOfChromeName, |
| 10320 | flag_descriptions::kSettingsEnableGetTheMostOutOfChromeDescription, |
| 10321 | kOsDesktop, FEATURE_VALUE_TYPE(::features::kGetTheMostOutOfChrome)}, |
Jochen Eisinger | 6ef16de | 2023-03-23 20:44:18 | [diff] [blame] | 10322 | #endif |
| 10323 | |
Vinny Persky | 7442638c | 2023-03-24 01:02:54 | [diff] [blame] | 10324 | #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) |
| 10325 | {"autofill-enable-payments-mandatory-reauth", |
| 10326 | flag_descriptions::kAutofillEnablePaymentsMandatoryReauthName, |
| 10327 | flag_descriptions::kAutofillEnablePaymentsMandatoryReauthDescription, |
| 10328 | kOsMac | kOsWin | kOsAndroid, |
| 10329 | FEATURE_VALUE_TYPE( |
| 10330 | autofill::features::kAutofillEnablePaymentsMandatoryReauth)}, |
| 10331 | #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) |
| 10332 | |
Junhui He | 9896c7b | 2023-03-27 18:39:53 | [diff] [blame] | 10333 | {"autofill-enable-email-otp-for-vcn-yellow-path", |
| 10334 | flag_descriptions::kAutofillEnableEmailOtpForVcnYellowPathName, |
| 10335 | flag_descriptions::kAutofillEnableEmailOtpForVcnYellowPathDescription, |
| 10336 | kOsAll, |
| 10337 | FEATURE_VALUE_TYPE( |
| 10338 | autofill::features::kAutofillEnableEmailOtpForVcnYellowPath)}, |
| 10339 | |
Mark Schillaci | fcf1992 | 2023-03-30 20:20:07 | [diff] [blame] | 10340 | {"enable-accessibility-unserialize-optimizations", |
| 10341 | flag_descriptions::kAccessibilityUnserializeOptimizationsName, |
| 10342 | flag_descriptions::kAccessibilityUnserializeOptimizationsDescription, |
| 10343 | kOsAll, |
| 10344 | FEATURE_VALUE_TYPE(features::kAccessibilityUnserializeOptimizations)}, |
| 10345 | |
Tsuyoshi Horo | 2fbde5b | 2023-04-04 22:52:55 | [diff] [blame] | 10346 | {"enable-compression-dictionary-transport", |
| 10347 | flag_descriptions::kCompressionDictionaryTransportName, |
| 10348 | flag_descriptions::kCompressionDictionaryTransportDescription, kOsAll, |
Tsuyoshi Horo | b697e7b8 | 2023-07-06 08:33:09 | [diff] [blame] | 10349 | FEATURE_VALUE_TYPE(network::features::kCompressionDictionaryTransport)}, |
Tsuyoshi Horo | 2fbde5b | 2023-04-04 22:52:55 | [diff] [blame] | 10350 | |
| 10351 | {"enable-compression-dictionary-transport-backend", |
| 10352 | flag_descriptions::kCompressionDictionaryTransportBackendName, |
| 10353 | flag_descriptions::kCompressionDictionaryTransportBackendDescription, |
| 10354 | kOsAll, |
| 10355 | FEATURE_VALUE_TYPE( |
Tsuyoshi Horo | b697e7b8 | 2023-07-06 08:33:09 | [diff] [blame] | 10356 | network::features::kCompressionDictionaryTransportBackend)}, |
Tsuyoshi Horo | 2fbde5b | 2023-04-04 22:52:55 | [diff] [blame] | 10357 | |
Bryan Yu | c6e84d52 | 2023-04-03 02:48:59 | [diff] [blame] | 10358 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10359 | {"arc-arc-on-demand", flag_descriptions::kArcArcOnDemandExperimentName, |
| 10360 | flag_descriptions::kArcArcOnDemandExperimentDescription, kOsCrOS, |
| 10361 | FEATURE_VALUE_TYPE(arc::kArcOnDemandFeature)}, |
| 10362 | #endif |
| 10363 | |
Ken Buchanan | 3e7f855d | 2023-04-12 01:03:22 | [diff] [blame] | 10364 | #if BUILDFLAG(IS_ANDROID) |
| 10365 | {"web-authentication-android-credential-management", |
| 10366 | flag_descriptions::kWebAuthnAndroidCredManName, |
| 10367 | flag_descriptions::kWebAuthnAndroidCredManDescription, kOsAndroid, |
| 10368 | FEATURE_VALUE_TYPE(device::kWebAuthnAndroidCredMan)}, |
Adem Derinel | ee646e21 | 2023-05-12 13:46:56 | [diff] [blame] | 10369 | |
| 10370 | {"passwords-in-android-credential-management", |
| 10371 | flag_descriptions::kPasswordsInCredManName, |
| 10372 | flag_descriptions::kPasswordsInCredManDescription, kOsAndroid, |
| 10373 | FEATURE_VALUE_TYPE(password_manager::features::kPasswordsInCredMan)}, |
Ken Buchanan | 3e7f855d | 2023-04-12 01:03:22 | [diff] [blame] | 10374 | #endif // BUILDFLAG(IS_ANDROID) |
| 10375 | |
Filipa Senra | cb661ca3 | 2023-04-19 16:03:13 | [diff] [blame] | 10376 | #if !BUILDFLAG(IS_ANDROID) |
| 10377 | {"permission-storage-access-api", |
| 10378 | flag_descriptions::kPermissionStorageAccessAPIName, |
| 10379 | flag_descriptions::kPermissionStorageAccessAPIDescription, kOsDesktop, |
| 10380 | FEATURE_VALUE_TYPE(permissions::features::kPermissionStorageAccessAPI)}, |
| 10381 | #endif // !BUILDFLAG(IS_ANDROID) |
| 10382 | |
Wayne Jackson Jr | c70686e8 | 2023-04-24 14:12:10 | [diff] [blame] | 10383 | #if BUILDFLAG(IS_ANDROID) |
| 10384 | {"android-extended-keyboard-shortcuts", |
| 10385 | flag_descriptions::kAndroidExtendedKeyboardShortcutsName, |
| 10386 | flag_descriptions::kAndroidExtendedKeyboardShortcutsDescription, |
| 10387 | kOsAndroid, |
| 10388 | FEATURE_VALUE_TYPE(blink::features::kAndroidExtendedKeyboardShortcuts)}, |
Michael van Ouwerkerk | 99b42f4 | 2023-04-24 16:15:41 | [diff] [blame] | 10389 | {"convert-trackpad-events-to-mouse", |
| 10390 | flag_descriptions::kConvertTrackpadEventsToMouseName, |
| 10391 | flag_descriptions::kConvertTrackpadEventsToMouseDescription, kOsAndroid, |
| 10392 | FEATURE_VALUE_TYPE(ui::kConvertTrackpadEventsToMouse)}, |
Finnur Thorarinsson | 118fc3f | 2023-06-05 10:54:01 | [diff] [blame] | 10393 | {"deprecated-external-picker-function", |
| 10394 | flag_descriptions::kDeprecatedExternalPickerFunctionName, |
| 10395 | flag_descriptions::kDeprecatedExternalPickerFunctionDescription, |
| 10396 | kOsAndroid, FEATURE_VALUE_TYPE(ui::kDeprecatedExternalPickerFunction)}, |
Tarun Bansal | 41f3cf2 | 2023-04-25 16:16:29 | [diff] [blame] | 10397 | {"enable-cct-text-fragment-lookup-api", |
| 10398 | flag_descriptions::kCCTTextFragmentLookupApiEnabledName, |
| 10399 | flag_descriptions::kCCTTextFragmentLookupApiEnabledDescription, kOsAndroid, |
| 10400 | FEATURE_VALUE_TYPE(chrome::android::kCCTTextFragmentLookupApiEnabled)}, |
| 10401 | |
Wayne Jackson Jr | c70686e8 | 2023-04-24 14:12:10 | [diff] [blame] | 10402 | #endif // BUILDFLAG(IS_ANDROID) |
| 10403 | |
Leonid Baraz | c904d47 | 2023-05-09 23:53:44 | [diff] [blame] | 10404 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10405 | {"enable-missive-storage-config", flag_descriptions::kMissiveStorageName, |
| 10406 | flag_descriptions::kMissiveStorageDescription, kOsCrOS, |
| 10407 | PLATFORM_FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 10408 | "CrOSLateBootMissiveStorage", |
| 10409 | kCrOSLateBootMissiveStorageDefaultVariations, |
| 10410 | "CrOSLateBootMissiveStorage")}, |
| 10411 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 10412 | |
George Benz | 0508630 | 2023-05-02 23:39:10 | [diff] [blame] | 10413 | #if !BUILDFLAG(IS_ANDROID) |
| 10414 | {"cast-mirroring-target-playout-delay", |
| 10415 | flag_descriptions::kCastMirroringTargetPlayoutDelayName, |
| 10416 | flag_descriptions::kCastMirroringTargetPlayoutDelayDescription, kOsDesktop, |
| 10417 | MULTI_VALUE_TYPE(kCastMirroringTargetPlayoutDelayChoices)}, |
| 10418 | #endif // !BUILDFLAG(IS_ANDROID) |
| 10419 | |
Elena Scobici | 74eb9cf | 2023-05-30 19:55:32 | [diff] [blame] | 10420 | {"enable-policy-test-page", flag_descriptions::kEnablePolicyTestPageName, |
| 10421 | flag_descriptions::kEnablePolicyTestPageDescription, kOsAll, |
| 10422 | FEATURE_VALUE_TYPE(policy::features::kEnablePolicyTestPage)}, |
| 10423 | |
Jun Ishiguro | 7af64004 | 2023-06-01 05:04:09 | [diff] [blame] | 10424 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Jun Ishiguro | 508cc98d | 2023-06-09 00:12:35 | [diff] [blame] | 10425 | {"allow-devtools-in-system-ui", |
| 10426 | flag_descriptions::kAllowDevtoolsInSystemUIName, |
| 10427 | flag_descriptions::kAllowDevtoolsInSystemUIDescription, kOsCrOS, |
| 10428 | FEATURE_VALUE_TYPE(ash::features::kAllowDevtoolsInSystemUI)}, |
Maggie Cai | c0666ef | 2023-06-01 08:46:37 | [diff] [blame] | 10429 | {"cros-web-app-shortcut-ui-update", |
| 10430 | flag_descriptions::kCrosWebAppShortcutUiUpdateName, |
| 10431 | flag_descriptions::kCrosWebAppShortcutUiUpdateDescription, kOsCrOS, |
| 10432 | FEATURE_VALUE_TYPE(features::kCrosWebAppShortcutUiUpdate)}, |
Frank Liberato | 98173be0 | 2023-06-06 17:11:09 | [diff] [blame] | 10433 | {"enable-audio-focus-enforcement", |
| 10434 | flag_descriptions::kEnableAudioFocusEnforcementName, |
| 10435 | flag_descriptions::kEnableAudioFocusEnforcementDescription, kOsCrOS, |
| 10436 | FEATURE_VALUE_TYPE(media_session::features::kAudioFocusEnforcement)}, |
| 10437 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Jun Ishiguro | 7af64004 | 2023-06-01 05:04:09 | [diff] [blame] | 10438 | |
Vikas Soni | f7d55a3 | 2023-06-05 18:52:40 | [diff] [blame] | 10439 | {"use-gpu-scheduler-dfs", flag_descriptions::kUseGpuSchedulerDfsName, |
| 10440 | flag_descriptions::kUseGpuSchedulerDfsDescription, kOsAll, |
| 10441 | FEATURE_VALUE_TYPE(features::kUseGpuSchedulerDfs)}, |
| 10442 | |
Charles William Dick | c35c069 | 2023-06-07 09:15:02 | [diff] [blame] | 10443 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10444 | {"cros-battery-saver", flag_descriptions::kCrosBatterySaverName, |
| 10445 | flag_descriptions::kCrosBatterySaverDescription, kOsCrOS, |
| 10446 | FEATURE_VALUE_TYPE(ash::features::kBatterySaver)}, |
| 10447 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Calder Kitagawa | 04cc694 | 2023-06-14 18:38:46 | [diff] [blame] | 10448 | // |
| 10449 | #if BUILDFLAG(IS_ANDROID) |
| 10450 | {"thumbnail-placeholder", flag_descriptions::kThumbnailPlaceholderName, |
| 10451 | flag_descriptions::kThumbnailPlaceholderDescription, kOsAndroid, |
| 10452 | FEATURE_VALUE_TYPE(chrome::android::kThumbnailPlaceholder)}, |
| 10453 | #endif // BUILDFLAG(IS_ANDROID) |
Charles William Dick | c35c069 | 2023-06-07 09:15:02 | [diff] [blame] | 10454 | |
Kenichi Ishibashi | ed0f1d2 | 2023-06-09 00:27:31 | [diff] [blame] | 10455 | {"enable-process-per-site-up-to-main-frame-threshold", |
| 10456 | flag_descriptions::kEnableProcessPerSiteUpToMainFrameThresholdName, |
| 10457 | flag_descriptions::kEnableProcessPerSiteUpToMainFrameThresholdDescription, |
| 10458 | kOsDesktop | kOsAndroid, |
| 10459 | FEATURE_VALUE_TYPE(features::kProcessPerSiteUpToMainFrameThreshold)}, |
| 10460 | |
Bryant Chandler | dcd994e | 2023-06-13 18:23:31 | [diff] [blame] | 10461 | #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \ |
| 10462 | BUILDFLAG(IS_FUCHSIA) |
| 10463 | {"camera-mic-preview", flag_descriptions::kCameraMicPreviewName, |
| 10464 | flag_descriptions::kCameraMicPreviewDescription, |
| 10465 | static_cast<unsigned short>(kOsMac | kOsWin | kOsLinux | kOsFuchsia), |
| 10466 | FEATURE_VALUE_TYPE(features::kCameraMicPreview)}, |
| 10467 | #endif |
| 10468 | |
Charles William Dick | 778e6c2 | 2023-06-13 07:57:47 | [diff] [blame] | 10469 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10470 | {"cros-battery-saver-always-on", |
| 10471 | flag_descriptions::kCrosBatterySaverAlwaysOnName, |
| 10472 | flag_descriptions::kCrosBatterySaverAlwaysOnDescription, kOsCrOS, |
| 10473 | FEATURE_VALUE_TYPE(ash::features::kBatterySaverAlwaysOn)}, |
| 10474 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 10475 | |
Rakina Zata Amni | bd37a57 | 2023-06-14 09:58:16 | [diff] [blame] | 10476 | {"render-document", flag_descriptions::kRenderDocumentName, |
| 10477 | flag_descriptions::kRenderDocumentDescription, kOsAll, |
| 10478 | FEATURE_WITH_PARAMS_VALUE_TYPE(features::kRenderDocument, |
| 10479 | kRenderDocumentVariations, |
| 10480 | "RenderDocument")}, |
| 10481 | |
Sharon Yang | f68d8c3 | 2023-06-27 17:27:54 | [diff] [blame] | 10482 | {"site-instance-groups-for-data-urls", |
| 10483 | flag_descriptions::kSiteInstanceGroupsForDataUrlsName, |
| 10484 | flag_descriptions::kSiteInstanceGroupsForDataUrlsDescription, kOsAll, |
| 10485 | FEATURE_VALUE_TYPE(features::kSiteInstanceGroupsForDataUrls)}, |
| 10486 | |
Anunoy Ghosh | 24ebac0 | 2023-06-14 19:32:19 | [diff] [blame] | 10487 | #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 10488 | {"cws-info-fast-check", flag_descriptions::kCWSInfoFastCheckName, |
| 10489 | flag_descriptions::kCWSInfoFastCheckDescription, kOsDesktop, |
| 10490 | FEATURE_VALUE_TYPE(extensions::kCWSInfoFastCheck)}, |
| 10491 | |
| 10492 | {"safety-check-extensions", flag_descriptions::kSafetyCheckExtensionsName, |
| 10493 | flag_descriptions::kSafetyCheckExtensionsDescription, kOsDesktop, |
| 10494 | FEATURE_VALUE_TYPE(features::kSafetyCheckExtensions)}, |
| 10495 | #endif // BUILDFLAG(ENABLE_EXTENSIONS) |
| 10496 | |
Ella Ge | 95775d7 | 2023-06-14 21:27:17 | [diff] [blame] | 10497 | #if BUILDFLAG(IS_ANDROID) |
| 10498 | {"webapk-install-failure-notification", |
| 10499 | flag_descriptions::kWebApkInstallFailureNotificationName, |
| 10500 | flag_descriptions::kWebApkInstallFailureNotificationDescription, |
| 10501 | kOsAndroid, |
| 10502 | FEATURE_VALUE_TYPE(webapps::features::kWebApkInstallFailureNotification)}, |
| 10503 | {"webapk-install-failure-retry", |
| 10504 | flag_descriptions::kWebApkInstallFailureRetryName, |
| 10505 | flag_descriptions::kWebApkInstallFailureRetryDescription, kOsAndroid, |
| 10506 | FEATURE_VALUE_TYPE(webapps::features::kWebApkInstallFailureRetry)}, |
| 10507 | #endif // BUILDFLAG(IS_ANDROID) |
| 10508 | |
Vipul Vinod Koul | dbbe251 | 2023-06-15 06:20:18 | [diff] [blame] | 10509 | {"autofill-enable-cvc-storage-and-filling", |
| 10510 | flag_descriptions::kAutofillEnableCvcStorageAndFillingName, |
| 10511 | flag_descriptions::kAutofillEnableCvcStorageAndFillingDescription, kOsAll, |
| 10512 | FEATURE_VALUE_TYPE( |
| 10513 | autofill::features::kAutofillEnableCvcStorageAndFilling)}, |
| 10514 | |
Oleg Davydov | 5f3716c | 2023-06-15 15:43:47 | [diff] [blame] | 10515 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10516 | {"drive-fs-show-cse-files", flag_descriptions::kDriveFsShowCSEFilesName, |
| 10517 | flag_descriptions::kDriveFsShowCSEFilesDescription, kOsCrOS, |
| 10518 | FEATURE_VALUE_TYPE(ash::features::kDriveFsShowCSEFiles)}, |
| 10519 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 10520 | |
Pu Shi | 12b1d04 | 2023-06-15 22:18:40 | [diff] [blame] | 10521 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10522 | {"system-nudge-v2", flag_descriptions::kSystemNudgeV2Name, |
| 10523 | flag_descriptions::kSystemNudgeV2Description, kOsCrOS, |
| 10524 | FEATURE_VALUE_TYPE(ash::features::kSystemNudgeV2)}, |
| 10525 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 10526 | |
Kevin Radtke | cb7f1d48 | 2023-06-20 21:10:48 | [diff] [blame] | 10527 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10528 | {"speak-on-mute-opt-in-nudge-prefs-reset", |
| 10529 | flag_descriptions::kSpeakOnMuteOptInNudgePrefsResetName, |
| 10530 | flag_descriptions::kSpeakOnMuteOptInNudgePrefsResetDescription, kOsCrOS, |
| 10531 | FEATURE_VALUE_TYPE(ash::features::kSpeakOnMuteOptInNudgePrefsReset)}, |
| 10532 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
| 10533 | |
Liam Brady | 018446b8 | 2023-06-23 18:03:29 | [diff] [blame] | 10534 | {"privacy-sandbox-enrollment-overrides", |
| 10535 | flag_descriptions::kPrivacySandboxEnrollmentOverridesName, |
| 10536 | flag_descriptions::kPrivacySandboxEnrollmentOverridesDescription, kOsAll, |
| 10537 | ORIGIN_LIST_VALUE_TYPE(privacy_sandbox::kPrivacySandboxEnrollmentOverrides, |
| 10538 | "")}, |
Viktoriia Kovalova | d232909 | 2023-07-04 12:55:22 | [diff] [blame] | 10539 | #if !BUILDFLAG(IS_ANDROID) |
| 10540 | {"enable-smart-card-web-api", flag_descriptions::kSmartCardWebApiName, |
| 10541 | flag_descriptions::kSmartCardWebApiDescription, kOsDesktop, |
| 10542 | FEATURE_VALUE_TYPE(blink::features::kSmartCard)}, |
| 10543 | #endif |
Liam Brady | 018446b8 | 2023-06-23 18:03:29 | [diff] [blame] | 10544 | |
Erin Park | bbb5decc | 2022-07-21 21:37:13 | [diff] [blame] | 10545 | // NOTE: Adding a new flag requires adding a corresponding entry to enum |
| 10546 | // "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag |
| 10547 | // Histograms" in tools/metrics/histograms/README.md (run the |
| 10548 | // AboutFlagsHistogramTest unit test to verify this process). |
[email protected] | a0e4b07 | 2011-08-17 01:47:07 | [diff] [blame] | 10549 | }; |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 10550 | |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 10551 | class FlagsStateSingleton : public flags_ui::FlagsState::Delegate { |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10552 | public: |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10553 | FlagsStateSingleton() |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 10554 | : flags_state_( |
| 10555 | std::make_unique<flags_ui::FlagsState>(kFeatureEntries, this)) {} |
David Bienvenu | 481ef0b | 2020-09-12 00:04:15 | [diff] [blame] | 10556 | FlagsStateSingleton(const FlagsStateSingleton&) = delete; |
| 10557 | FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete; |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 10558 | ~FlagsStateSingleton() override = default; |
Elly Fong-Jones | c3e9aea | 2019-10-24 19:44:19 | [diff] [blame] | 10559 | |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10560 | static FlagsStateSingleton* GetInstance() { |
| 10561 | return base::Singleton<FlagsStateSingleton>::get(); |
| 10562 | } |
asvitkine | 91931d5 | 2015-10-16 17:55:47 | [diff] [blame] | 10563 | |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10564 | static flags_ui::FlagsState* GetFlagsState() { |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 10565 | return GetInstance()->flags_state_.get(); |
| 10566 | } |
| 10567 | |
| 10568 | void RebuildState(const std::vector<flags_ui::FeatureEntry>& entries) { |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 10569 | flags_state_ = std::make_unique<flags_ui::FlagsState>(entries, this); |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10570 | } |
| 10571 | |
David Bienvenu | 128c1b1c | 2021-05-07 18:06:47 | [diff] [blame] | 10572 | void RestoreDefaultState() { |
| 10573 | flags_state_ = |
| 10574 | std::make_unique<flags_ui::FlagsState>(kFeatureEntries, this); |
| 10575 | } |
| 10576 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10577 | private: |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 10578 | // flags_ui::FlagsState::Delegate: |
Elly Fong-Jones | f8a4aa4 | 2020-08-04 15:53:30 | [diff] [blame] | 10579 | bool ShouldExcludeFlag(const flags_ui::FlagsStorage* storage, |
| 10580 | const FeatureEntry& entry) override { |
| 10581 | return flags::IsFlagExpired(storage, entry.internal_name); |
Elly Fong-Jones | 3cd7528 | 2019-11-12 20:26:50 | [diff] [blame] | 10582 | } |
| 10583 | |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 10584 | std::unique_ptr<flags_ui::FlagsState> flags_state_; |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10585 | }; |
| 10586 | |
Yann Dago | 7802871 | 2019-09-04 15:23:54 | [diff] [blame] | 10587 | bool ShouldSkipNonDeprecatedFeatureEntry(const FeatureEntry& entry) { |
| 10588 | return ~entry.supported_platforms & kDeprecated; |
Yann Dago | baa08aa | 2019-07-29 20:52:37 | [diff] [blame] | 10589 | } |
| 10590 | |
Elaine Chien | c5a80ae | 2021-03-02 23:07:06 | [diff] [blame] | 10591 | } // namespace |
| 10592 | |
Erik Chen | 92f2f0d | 2023-03-13 00:09:48 | [diff] [blame] | 10593 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10594 | // This method may be invoked both synchronously or asynchronously. Based on |
| 10595 | // whether the current user is the owner of the device, generates the |
| 10596 | // appropriate flag storage. |
| 10597 | void GetStorageAsync(Profile* profile, |
| 10598 | GetStorageCallback callback, |
| 10599 | bool current_user_is_owner) { |
| 10600 | // On ChromeOS the owner can set system wide flags and other users can only |
| 10601 | // set flags for their own session. |
| 10602 | if (current_user_is_owner) { |
| 10603 | ash::OwnerSettingsServiceAsh* service = |
| 10604 | ash::OwnerSettingsServiceAshFactory::GetForBrowserContext(profile); |
| 10605 | std::move(callback).Run( |
| 10606 | std::make_unique<ash::about_flags::OwnerFlagsStorage>( |
| 10607 | profile->GetPrefs(), service), |
| 10608 | flags_ui::kOwnerAccessToFlags); |
| 10609 | } else { |
| 10610 | std::move(callback).Run(std::make_unique<flags_ui::PrefServiceFlagsStorage>( |
| 10611 | profile->GetPrefs()), |
| 10612 | flags_ui::kGeneralAccessFlagsOnly); |
| 10613 | } |
| 10614 | } |
| 10615 | #endif |
| 10616 | |
| 10617 | // ash-chrome uses different storage flag storage logic from other desktop |
| 10618 | // platforms. |
| 10619 | void GetStorage(Profile* profile, GetStorageCallback callback) { |
| 10620 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
| 10621 | // Bypass possible incognito profile. |
| 10622 | // On ChromeOS the owner can set system wide flags and other users can only |
| 10623 | // set flags for their own session. |
| 10624 | Profile* original_profile = profile->GetOriginalProfile(); |
| 10625 | if (base::SysInfo::IsRunningOnChromeOS() && |
| 10626 | ash::OwnerSettingsServiceAshFactory::GetForBrowserContext( |
| 10627 | original_profile)) { |
| 10628 | ash::OwnerSettingsServiceAsh* service = |
| 10629 | ash::OwnerSettingsServiceAshFactory::GetForBrowserContext( |
| 10630 | original_profile); |
| 10631 | service->IsOwnerAsync(base::BindOnce(&GetStorageAsync, original_profile, |
| 10632 | std::move(callback))); |
| 10633 | } else { |
| 10634 | GetStorageAsync(original_profile, std::move(callback), |
| 10635 | /*current_user_is_owner=*/false); |
| 10636 | } |
| 10637 | #else |
| 10638 | std::move(callback).Run(std::make_unique<flags_ui::PrefServiceFlagsStorage>( |
| 10639 | g_browser_process->local_state()), |
| 10640 | flags_ui::kOwnerAccessToFlags); |
| 10641 | #endif |
| 10642 | } |
| 10643 | |
Elaine Chien | c5a80ae | 2021-03-02 23:07:06 | [diff] [blame] | 10644 | bool ShouldSkipConditionalFeatureEntry(const flags_ui::FlagsStorage* storage, |
| 10645 | const FeatureEntry& entry) { |
sdefresne | 9fb6769 | 2015-08-03 18:48:22 | [diff] [blame] | 10646 | version_info::Channel channel = chrome::GetChannel(); |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 10647 | #if BUILDFLAG(IS_CHROMEOS_ASH) |
Yilkal | 2bc6531 | 2023-02-23 21:27:12 | [diff] [blame] | 10648 | // enable-projector-server-side-speech-recognition is only available if |
| 10649 | // the InternalServerSideSpeechRecognitionControl flag is enabled as well. |
| 10650 | if (!strcmp(kProjectorServerSideSpeechRecognition, entry.internal_name)) { |
| 10651 | return !ash::features:: |
| 10652 | IsInternalServerSideSpeechRecognitionControlEnabled(); |
| 10653 | } |
| 10654 | |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 10655 | // enable-ui-devtools is only available on for non Stable channels. |
Mike Wasserman | 8f8b085 | 2018-12-03 22:08:10 | [diff] [blame] | 10656 | if (!strcmp(ui_devtools::switches::kEnableUiDevTools, entry.internal_name) && |
bruthig | eafb0c0 | 2017-06-09 13:11:53 | [diff] [blame] | 10657 | channel == version_info::Channel::STABLE) { |
| 10658 | return true; |
| 10659 | } |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 10660 | |
Hidehiko Abe | ded6e5b | 2022-01-24 17:00:04 | [diff] [blame] | 10661 | // Skip lacros-availability-policy always. This is a pseudo entry |
| 10662 | // and used to carry the policy value crossing the Chrome's lifetime. |
| 10663 | if (!strcmp(crosapi::browser_util::kLacrosAvailabilityPolicyInternalName, |
| 10664 | entry.internal_name)) { |
| 10665 | return true; |
| 10666 | } |
| 10667 | |
Victor-Gabriel Savu | 6b0d97c | 2022-12-09 12:22:43 | [diff] [blame] | 10668 | // Skip lacros-backward-data-migration-policy always. This is a pseudo entry |
| 10669 | // and used to carry the policy value crossing the Chrome's lifetime. |
| 10670 | if (!strcmp(crosapi::browser_util:: |
| 10671 | kLacrosDataBackwardMigrationModePolicyInternalName, |
| 10672 | entry.internal_name)) { |
| 10673 | return true; |
| 10674 | } |
Artem Sumaneev | 1f3555a | 2023-01-30 12:48:27 | [diff] [blame] | 10675 | // Skip lacros-selection if it is controlled by LacrosSelection policy. |
| 10676 | if (!strcmp(kLacrosSelectionInternalName, entry.internal_name)) { |
| 10677 | return crosapi::browser_util::GetCachedLacrosSelectionPolicy() != |
| 10678 | crosapi::browser_util::LacrosSelectionPolicy::kUserChoice; |
| 10679 | } |
Victor-Gabriel Savu | 6b0d97c | 2022-12-09 12:22:43 | [diff] [blame] | 10680 | |
Peter Boström | 6324b79 | 2022-09-28 23:15:56 | [diff] [blame] | 10681 | if (!strcmp(kPreferDcheckInternalName, entry.internal_name)) { |
| 10682 | return !crosapi::browser_util::IsLacrosAllowedToBeEnabled(); |
| 10683 | } |
| 10684 | |
Artem Sumaneev | c007b31 | 2021-04-08 12:50:04 | [diff] [blame] | 10685 | if (!strcmp(kLacrosSupportInternalName, entry.internal_name)) { |
Hidehiko Abe | 34d367f | 2022-02-22 19:11:52 | [diff] [blame] | 10686 | return !crosapi::browser_util::IsLacrosSupportFlagAllowed(); |
Artem Sumaneev | c007b31 | 2021-04-08 12:50:04 | [diff] [blame] | 10687 | } |
| 10688 | |
| 10689 | if (!strcmp(kLacrosStabilityInternalName, entry.internal_name)) { |
Hidehiko Abe | 34d367f | 2022-02-22 19:11:52 | [diff] [blame] | 10690 | return !crosapi::browser_util::IsLacrosAllowedToBeEnabled(); |
James Cook | c813eb5 | 2020-05-08 18:03:53 | [diff] [blame] | 10691 | } |
David Black | 12709a38 | 2020-06-30 04:03:00 | [diff] [blame] | 10692 | |
Hidehiko Abe | a7217c9 | 2022-02-01 05:54:57 | [diff] [blame] | 10693 | if (!strcmp(kLacrosOnlyInternalName, entry.internal_name)) { |
Hidehiko Abe | 34d367f | 2022-02-22 19:11:52 | [diff] [blame] | 10694 | return !crosapi::browser_util::IsLacrosOnlyFlagAllowed(); |
Hidehiko Abe | a7217c9 | 2022-02-01 05:54:57 | [diff] [blame] | 10695 | } |
| 10696 | |
Hidehiko Abe | 9f190d1 | 2021-03-18 12:55:20 | [diff] [blame] | 10697 | if (!strcmp(kLacrosPrimaryInternalName, entry.internal_name)) { |
Hidehiko Abe | 34d367f | 2022-02-22 19:11:52 | [diff] [blame] | 10698 | return !crosapi::browser_util::IsLacrosPrimaryFlagAllowed(); |
Artem Sumaneev | c007b31 | 2021-04-08 12:50:04 | [diff] [blame] | 10699 | } |
| 10700 | |
Maggie Cai | 6dd6b55 | 2021-04-27 08:40:32 | [diff] [blame] | 10701 | if (!strcmp(kWebAppsCrosapiInternalName, entry.internal_name)) { |
Hidehiko Abe | 34d367f | 2022-02-22 19:11:52 | [diff] [blame] | 10702 | return !crosapi::browser_util::IsLacrosAllowedToBeEnabled(); |
Hidehiko Abe | 9f190d1 | 2021-03-18 12:55:20 | [diff] [blame] | 10703 | } |
| 10704 | |
Youkichi Hosoi | 4768546 | 2022-10-06 01:51:39 | [diff] [blame] | 10705 | if (!strcmp(kArcEnableVirtioBlkForDataInternalName, entry.internal_name)) { |
| 10706 | return !arc::IsArcVmEnabled(); |
| 10707 | } |
| 10708 | |
danielng | 1078c637 | 2021-06-28 06:31:36 | [diff] [blame] | 10709 | // Only show Borealis flags on enabled devices. |
danielng | dd3ef94 | 2021-10-28 06:42:48 | [diff] [blame] | 10710 | if (!strcmp(kBorealisBigGlInternalName, entry.internal_name)) { |
| 10711 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10712 | } |
| 10713 | |
Dominik Behr | 03b5c24f | 2023-04-18 21:20:52 | [diff] [blame] | 10714 | if (!strcmp(kBorealisDGPUInternalName, entry.internal_name)) { |
| 10715 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10716 | } |
| 10717 | |
danielng | 1078c637 | 2021-06-28 06:31:36 | [diff] [blame] | 10718 | if (!strcmp(kBorealisDiskManagementInternalName, entry.internal_name)) { |
| 10719 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10720 | } |
| 10721 | |
Nicholas Hollingum | 449d825 | 2021-11-29 00:18:29 | [diff] [blame] | 10722 | if (!strcmp(kBorealisForceBetaClientInternalName, entry.internal_name)) { |
| 10723 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10724 | } |
| 10725 | |
Nicholas Hollingum | e867209 | 2022-08-25 04:23:16 | [diff] [blame] | 10726 | if (!strcmp(kBorealisForceDoubleScaleInternalName, entry.internal_name)) { |
| 10727 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10728 | } |
| 10729 | |
Nicholas Hollingum | 449d825 | 2021-11-29 00:18:29 | [diff] [blame] | 10730 | if (!strcmp(kBorealisLinuxModeInternalName, entry.internal_name)) { |
| 10731 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10732 | } |
| 10733 | |
Nicholas Hollingum | 97500cc1 | 2022-03-03 22:44:43 | [diff] [blame] | 10734 | if (!strcmp(kBorealisPermittedInternalName, entry.internal_name)) { |
| 10735 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10736 | } |
| 10737 | |
danielng | 573ad374 | 2022-07-06 05:26:24 | [diff] [blame] | 10738 | if (!strcmp(kBorealisStorageBallooningInternalName, entry.internal_name)) { |
| 10739 | return !base::FeatureList::IsEnabled(features::kBorealis); |
| 10740 | } |
| 10741 | |
Jeffrey Young | 7d279c4 | 2022-06-24 19:29:05 | [diff] [blame] | 10742 | // Only show wallpaper fast refresh flag if channel is one of |
| 10743 | // Dev/Canary/Unknown. |
Colin Kincaid | 292cfc4 | 2022-05-03 19:17:07 | [diff] [blame] | 10744 | if (!strcmp(kWallpaperFastRefreshInternalName, entry.internal_name)) { |
| 10745 | return (channel != version_info::Channel::DEV && |
| 10746 | channel != version_info::Channel::CANARY && |
Jeffrey Young | 7d279c4 | 2022-06-24 19:29:05 | [diff] [blame] | 10747 | channel != version_info::Channel::UNKNOWN); |
David Black | 946176f | 2022-02-28 21:07:39 | [diff] [blame] | 10748 | } |
Colin Kincaid | 0dcc3b02 | 2022-05-26 15:51:57 | [diff] [blame] | 10749 | |
Colin Kincaid | fdf4661 | 2023-03-23 01:23:23 | [diff] [blame] | 10750 | // Only show clipboard history longpress flag if channel is one of |
| 10751 | // Beta/Dev/Canary/Unknown. |
| 10752 | if (!strcmp(kClipboardHistoryLongpressInternalName, entry.internal_name)) { |
| 10753 | return channel != version_info::Channel::BETA && |
| 10754 | channel != version_info::Channel::DEV && |
| 10755 | channel != version_info::Channel::CANARY && |
| 10756 | channel != version_info::Channel::UNKNOWN; |
| 10757 | } |
| 10758 | |
James Cook | 7374dd58 | 2022-09-19 22:50:24 | [diff] [blame] | 10759 | // Skip glanceables flag on stable channel. |
James Cook | 49358cc | 2022-08-30 20:30:26 | [diff] [blame] | 10760 | if (!strcmp(kWelcomeScreenInternalName, entry.internal_name)) { |
James Cook | 7374dd58 | 2022-09-19 22:50:24 | [diff] [blame] | 10761 | return channel == version_info::Channel::STABLE; |
James Cook | 49358cc | 2022-08-30 20:30:26 | [diff] [blame] | 10762 | } |
Tao Wu | 4b5d816 | 2022-11-10 19:58:07 | [diff] [blame] | 10763 | |
| 10764 | // Only show LibAssistant V2 migration flag if channel is one of |
| 10765 | // Dev/Canary/Unknown. |
| 10766 | if (!strcmp(kLibAssistantV2MigrationInternalName, entry.internal_name)) { |
| 10767 | return (channel != version_info::Channel::DEV && |
| 10768 | channel != version_info::Channel::CANARY && |
| 10769 | channel != version_info::Channel::UNKNOWN); |
| 10770 | } |
Sarvesh | 02d88ff | 2023-01-18 23:10:41 | [diff] [blame] | 10771 | |
Sarvesh | 02d88ff | 2023-01-18 23:10:41 | [diff] [blame] | 10772 | if (!strcmp(kBluetoothUseFlossInternalName, entry.internal_name)) { |
Jesse Melhuish | 433dff2 | 2023-06-06 21:25:26 | [diff] [blame] | 10773 | // TODO(b/283331754): until Floss is able to properly support Braille |
| 10774 | // devices we will disable it. To ensure we haven't missed any A11Y related |
| 10775 | // issues (and because IsBrailleDisplayConnected isn't necessarily accurate |
| 10776 | // at this point) we disable if any have been enabled. |
| 10777 | if (ash::AccessibilityManager::Get()->IsLargeCursorEnabled() || |
| 10778 | ash::AccessibilityManager::Get()->IsLiveCaptionEnabled() || |
| 10779 | ash::AccessibilityManager::Get()->IsStickyKeysEnabled() || |
| 10780 | ash::AccessibilityManager::Get()->IsSpokenFeedbackEnabled() || |
| 10781 | ash::AccessibilityManager::Get()->IsHighContrastEnabled() || |
| 10782 | ash::AccessibilityManager::Get()->IsAutoclickEnabled() || |
| 10783 | ash::AccessibilityManager::Get()->IsVirtualKeyboardEnabled() || |
| 10784 | ash::AccessibilityManager::Get()->IsMonoAudioEnabled() || |
| 10785 | ash::AccessibilityManager::Get()->IsCaretHighlightEnabled() || |
| 10786 | ash::AccessibilityManager::Get()->IsCursorHighlightEnabled() || |
| 10787 | ash::AccessibilityManager::Get()->IsDictationEnabled() || |
| 10788 | ash::AccessibilityManager::Get()->IsFocusHighlightEnabled() || |
| 10789 | ash::AccessibilityManager::Get()->IsSelectToSpeakEnabled() || |
| 10790 | ash::AccessibilityManager::Get()->IsSwitchAccessEnabled() || |
| 10791 | ash::AccessibilityManager::Get()->IsBrailleDisplayConnected()) { |
| 10792 | return true; |
| 10793 | } |
| 10794 | |
| 10795 | // Disable and prevent users from enabling Floss on boards that were |
| 10796 | // explicitly built without it (b/228902194 for more info). |
Sarvesh | 02d88ff | 2023-01-18 23:10:41 | [diff] [blame] | 10797 | return base::FeatureList::GetInstance()->IsFeatureOverriddenFromCommandLine( |
Sarvesh | 7bc6faa | 2023-02-23 21:01:57 | [diff] [blame] | 10798 | floss::features::kFlossIsAvailable.name, |
Sarvesh | 02d88ff | 2023-01-18 23:10:41 | [diff] [blame] | 10799 | base::FeatureList::OVERRIDE_DISABLE_FEATURE); |
| 10800 | } |
Jason Thai | aa62a03 | 2023-04-05 21:07:42 | [diff] [blame] | 10801 | |
| 10802 | // Only show Time of Day wallpaper flag if channel is one of |
| 10803 | // Dev/Canary/Unknown. |
| 10804 | if (!strcmp(kTimeOfDayWallpaperInternalName, entry.internal_name)) { |
| 10805 | return (channel != version_info::Channel::DEV && |
| 10806 | channel != version_info::Channel::CANARY && |
| 10807 | channel != version_info::Channel::UNKNOWN); |
| 10808 | } |
| 10809 | |
| 10810 | // Only show Time of Day Screen Saver flag if channel is one of |
| 10811 | // Dev/Canary/Unknown. |
| 10812 | if (!strcmp(kTimeOfDayScreenSaverInternalName, entry.internal_name)) { |
| 10813 | return (channel != version_info::Channel::DEV && |
| 10814 | channel != version_info::Channel::CANARY && |
| 10815 | channel != version_info::Channel::UNKNOWN); |
| 10816 | } |
Yuta Hijikata | 235fc62b | 2020-12-08 03:48:32 | [diff] [blame] | 10817 | #endif // BUILDFLAG(IS_CHROMEOS_ASH) |
Ken Rockot | 74946c3 | 2017-04-25 22:04:59 | [diff] [blame] | 10818 | |
Benjamin Zielinski | 04f8c80 | 2023-04-13 23:26:55 | [diff] [blame] | 10819 | #if !BUILDFLAG(IS_ANDROID) |
| 10820 | // Only show the Access Code Cast Freeze UI flag if the Access Code Cast |
| 10821 | // policy is enabled. |
| 10822 | if (!strcmp("access-code-cast-freeze-ui", entry.internal_name)) { |
| 10823 | return !media_router::IsAccessCodeCastEnabled(); |
| 10824 | } |
| 10825 | #endif // !BUILDFALG(IS_ANDROID) |
| 10826 | |
Kai Ninomiya | 6a68f626 | 2020-04-13 20:57:36 | [diff] [blame] | 10827 | // enable-unsafe-webgpu is only available on Dev/Canary channels. |
| 10828 | if (!strcmp("enable-unsafe-webgpu", entry.internal_name) && |
| 10829 | channel != version_info::Channel::DEV && |
| 10830 | channel != version_info::Channel::CANARY && |
| 10831 | channel != version_info::Channel::UNKNOWN) { |
| 10832 | return true; |
| 10833 | } |
| 10834 | |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10835 | if (flags::IsFlagExpired(storage, entry.internal_name)) { |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 10836 | return true; |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10837 | } |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 10838 | |
[email protected] | 1227163 | 2013-11-26 03:06:39 | [diff] [blame] | 10839 | return false; |
| 10840 | } |
| 10841 | |
droger | 888be0b | 2015-10-01 14:28:52 | [diff] [blame] | 10842 | void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage, |
avi | 3ef9ec9e | 2014-12-22 22:50:17 | [diff] [blame] | 10843 | base::CommandLine* command_line, |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10844 | flags_ui::SentinelsMode sentinels) { |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10845 | if (command_line->HasSwitch(switches::kNoExperiments)) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10846 | return; |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10847 | } |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10848 | |
| 10849 | FlagsStateSingleton::GetFlagsState()->ConvertFlagsToSwitches( |
| 10850 | flags_storage, command_line, sentinels, switches::kEnableFeatures, |
| 10851 | switches::kDisableFeatures); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 10852 | } |
| 10853 | |
jkrcal | bf07337 | 2016-07-29 07:21:31 | [diff] [blame] | 10854 | std::vector<std::string> RegisterAllFeatureVariationParameters( |
jkrcal | d1d2008 | 2016-07-14 15:04:24 | [diff] [blame] | 10855 | flags_ui::FlagsStorage* flags_storage, |
| 10856 | base::FeatureList* feature_list) { |
jkrcal | bf07337 | 2016-07-29 07:21:31 | [diff] [blame] | 10857 | return FlagsStateSingleton::GetFlagsState() |
| 10858 | ->RegisterAllFeatureVariationParameters(flags_storage, feature_list); |
jkrcal | 1383d1d | 2016-06-17 12:40:56 | [diff] [blame] | 10859 | } |
| 10860 | |
asvitkine | 91931d5 | 2015-10-16 17:55:47 | [diff] [blame] | 10861 | void GetFlagFeatureEntries(flags_ui::FlagsStorage* flags_storage, |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10862 | flags_ui::FlagAccess access, |
Matt Menke | 4d77757 | 2022-06-15 15:55:50 | [diff] [blame] | 10863 | base::Value::List& supported_entries, |
| 10864 | base::Value::List& unsupported_entries) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10865 | FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries( |
| 10866 | flags_storage, access, supported_entries, unsupported_entries, |
Elaine Chien | c5a80ae | 2021-03-02 23:07:06 | [diff] [blame] | 10867 | base::BindRepeating(&ShouldSkipConditionalFeatureEntry, |
Elly Fong-Jones | f8a4aa4 | 2020-08-04 15:53:30 | [diff] [blame] | 10868 | // Unretained: this callback doesn't outlive this |
| 10869 | // stack frame. |
| 10870 | base::Unretained(flags_storage))); |
asvitkine | 91931d5 | 2015-10-16 17:55:47 | [diff] [blame] | 10871 | } |
| 10872 | |
Yann Dago | 7802871 | 2019-09-04 15:23:54 | [diff] [blame] | 10873 | void GetFlagFeatureEntriesForDeprecatedPage( |
| 10874 | flags_ui::FlagsStorage* flags_storage, |
| 10875 | flags_ui::FlagAccess access, |
Matt Menke | 4d77757 | 2022-06-15 15:55:50 | [diff] [blame] | 10876 | base::Value::List& supported_entries, |
| 10877 | base::Value::List& unsupported_entries) { |
Yann Dago | baa08aa | 2019-07-29 20:52:37 | [diff] [blame] | 10878 | FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries( |
| 10879 | flags_storage, access, supported_entries, unsupported_entries, |
Hiroki Nakagawa | 398466e | 2020-07-06 06:59:03 | [diff] [blame] | 10880 | base::BindRepeating(&ShouldSkipNonDeprecatedFeatureEntry)); |
Yann Dago | baa08aa | 2019-07-29 20:52:37 | [diff] [blame] | 10881 | } |
| 10882 | |
Elaine Chien | 29fce99 | 2020-12-01 17:44:34 | [diff] [blame] | 10883 | flags_ui::FlagsState* GetCurrentFlagsState() { |
| 10884 | return FlagsStateSingleton::GetFlagsState(); |
| 10885 | } |
| 10886 | |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 10887 | bool IsRestartNeededToCommitChanges() { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10888 | return FlagsStateSingleton::GetFlagsState()->IsRestartNeededToCommitChanges(); |
[email protected] | ad2a3ded | 2010-08-27 13:19:05 | [diff] [blame] | 10889 | } |
| 10890 | |
asvitkine | e9ed35e | 2015-10-14 22:33:59 | [diff] [blame] | 10891 | void SetFeatureEntryEnabled(flags_ui::FlagsStorage* flags_storage, |
asvitkine | 03007d0 | 2015-10-21 22:50:06 | [diff] [blame] | 10892 | const std::string& internal_name, |
| 10893 | bool enable) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10894 | FlagsStateSingleton::GetFlagsState()->SetFeatureEntryEnabled( |
| 10895 | flags_storage, internal_name, enable); |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10896 | } |
| 10897 | |
Mustafa Emre Acer | b3aa36a8 | 2018-05-22 21:44:05 | [diff] [blame] | 10898 | void SetOriginListFlag(const std::string& internal_name, |
| 10899 | const std::string& value, |
| 10900 | flags_ui::FlagsStorage* flags_storage) { |
| 10901 | FlagsStateSingleton::GetFlagsState()->SetOriginListFlag(internal_name, value, |
| 10902 | flags_storage); |
| 10903 | } |
| 10904 | |
Jeremy Roman | 863386d | 2017-10-31 19:25:38 | [diff] [blame] | 10905 | void RemoveFlagsSwitches(base::CommandLine::SwitchMap* switch_list) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10906 | FlagsStateSingleton::GetFlagsState()->RemoveFlagsSwitches(switch_list); |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10907 | } |
| 10908 | |
droger | 888be0b | 2015-10-01 14:28:52 | [diff] [blame] | 10909 | void ResetAllFlags(flags_ui::FlagsStorage* flags_storage) { |
sdefresne | 0e56634 | 2015-11-24 08:55:46 | [diff] [blame] | 10910 | FlagsStateSingleton::GetFlagsState()->ResetAllFlags(flags_storage); |
[email protected] | a314ee5a | 2010-10-26 21:23:28 | [diff] [blame] | 10911 | } |
| 10912 | |
Xiaohan Wang | 064b68cd | 2022-01-19 19:12:28 | [diff] [blame] | 10913 | #if BUILDFLAG(IS_CHROMEOS) |
Stefan Kuhne | 83523c2 | 2021-10-20 17:30:03 | [diff] [blame] | 10914 | void CrosUrlFlagsRedirect() { |
| 10915 | #if BUILDFLAG(IS_CHROMEOS_LACROS) |
| 10916 | lacros_url_handling::NavigateInAsh(GURL(chrome::kChromeUIFlagsURL)); |
| 10917 | #else |
| 10918 | // Note: This will only be called by the UI when Lacros is available. |
| 10919 | DCHECK(crosapi::BrowserManager::Get()); |
Roger Tinkoff | 13c3aba1 | 2022-06-01 18:38:51 | [diff] [blame] | 10920 | crosapi::BrowserManager::Get()->SwitchToTab( |
| 10921 | GURL(chrome::kChromeUIFlagsURL), |
| 10922 | /*path_behavior=*/NavigateParams::RESPECT); |
Stefan Kuhne | 83523c2 | 2021-10-20 17:30:03 | [diff] [blame] | 10923 | #endif |
| 10924 | } |
| 10925 | #endif |
| 10926 | |
Mattias Nissler | 380cf4f | 2021-03-22 15:50:46 | [diff] [blame] | 10927 | void RecordUMAStatistics(flags_ui::FlagsStorage* flags_storage, |
| 10928 | const std::string& histogram_name) { |
Alexei Svitkine | 103faf8 | 2018-11-14 16:43:15 | [diff] [blame] | 10929 | std::set<std::string> switches; |
| 10930 | std::set<std::string> features; |
Miriam Zimmerman | ef405f66e | 2022-06-03 17:22:16 | [diff] [blame] | 10931 | std::set<std::string> variation_ids; |
Alexei Svitkine | 103faf8 | 2018-11-14 16:43:15 | [diff] [blame] | 10932 | FlagsStateSingleton::GetFlagsState()->GetSwitchesAndFeaturesFromFlags( |
Miriam Zimmerman | ef405f66e | 2022-06-03 17:22:16 | [diff] [blame] | 10933 | flags_storage, &switches, &features, &variation_ids); |
| 10934 | // Don't report variation IDs since we don't have an UMA histogram for them. |
Mattias Nissler | 380cf4f | 2021-03-22 15:50:46 | [diff] [blame] | 10935 | flags_ui::ReportAboutFlagsHistogram(histogram_name, switches, features); |
[email protected] | 4b66a7d | 2014-08-15 17:13:31 | [diff] [blame] | 10936 | } |
| 10937 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10938 | namespace testing { |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 10939 | |
Elly Fong-Jones | abd2f801 | 2019-10-21 19:58:00 | [diff] [blame] | 10940 | std::vector<FeatureEntry>* GetEntriesForTesting() { |
| 10941 | static base::NoDestructor<std::vector<FeatureEntry>> entries; |
| 10942 | return entries.get(); |
| 10943 | } |
| 10944 | |
David Bienvenu | b8f6959 | 2021-02-26 14:56:37 | [diff] [blame] | 10945 | void SetFeatureEntries(const std::vector<FeatureEntry>& entries) { |
| 10946 | CHECK(GetEntriesForTesting()->empty()); // IN-TEST |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10947 | for (const auto& entry : entries) { |
David Bienvenu | b8f6959 | 2021-02-26 14:56:37 | [diff] [blame] | 10948 | GetEntriesForTesting()->push_back(entry); // IN-TEST |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10949 | } |
David Bienvenu | b8f6959 | 2021-02-26 14:56:37 | [diff] [blame] | 10950 | FlagsStateSingleton::GetInstance()->RebuildState( |
| 10951 | *GetEntriesForTesting()); // IN-TEST |
| 10952 | } |
| 10953 | |
| 10954 | ScopedFeatureEntries::ScopedFeatureEntries( |
| 10955 | const std::vector<flags_ui::FeatureEntry>& entries) { |
| 10956 | SetFeatureEntries(entries); |
| 10957 | } |
| 10958 | |
| 10959 | ScopedFeatureEntries::~ScopedFeatureEntries() { |
| 10960 | GetEntriesForTesting()->clear(); // IN-TEST |
| 10961 | // Restore the flag state to the production flags. |
David Bienvenu | 128c1b1c | 2021-05-07 18:06:47 | [diff] [blame] | 10962 | FlagsStateSingleton::GetInstance()->RestoreDefaultState(); |
David Bienvenu | b8f6959 | 2021-02-26 14:56:37 | [diff] [blame] | 10963 | } |
| 10964 | |
Elly Fong-Jones | 323ab109 | 2021-08-23 22:36:31 | [diff] [blame] | 10965 | base::span<const FeatureEntry> GetFeatureEntries() { |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10966 | if (!GetEntriesForTesting()->empty()) { |
Elly Fong-Jones | 323ab109 | 2021-08-23 22:36:31 | [diff] [blame] | 10967 | return base::span<FeatureEntry>(*GetEntriesForTesting()); |
Rouslan Solomakhin | 8c770f58 | 2023-01-03 22:23:51 | [diff] [blame] | 10968 | } |
Daniel Cheng | 7d9e3d5 | 2022-02-26 09:03:24 | [diff] [blame] | 10969 | return base::make_span(kFeatureEntries, std::size(kFeatureEntries)); |
[email protected] | 8a6ff28d | 2010-12-02 16:35:19 | [diff] [blame] | 10970 | } |
| 10971 | |
[email protected] | e2ddbc9 | 2010-10-15 20:02:07 | [diff] [blame] | 10972 | } // namespace testing |
| 10973 | |
[email protected] | 1a47d7e | 2010-10-15 00:37:24 | [diff] [blame] | 10974 | } // namespace about_flags |