blob: 6d8d9bd2fa100b70d312a18997e3b2b9c1f62635 [file] [log] [blame]
Justin Cohen2d81c582018-01-22 14:46:441// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "ios/chrome/browser/ui/ui_feature_flags.h"
6
Roberto Mourab87b9722020-06-17 17:12:097const base::Feature kExpandedTabStrip{"ExpandedTabStrip",
8 base::FEATURE_DISABLED_BY_DEFAULT};
9
edchinb3e75352019-03-29 11:14:1910// TODO(crbug.com/945811): Using |-drawViewHierarchyInRect:afterScreenUpdates:|
11// has adverse flickering when taking a snapshot of the NTP while in the app
12// switcher.
edchin5ae0b4c2019-01-06 06:52:2813const base::Feature kSnapshotDrawView{"SnapshotDrawView",
edchinb3e75352019-03-29 11:14:1914 base::FEATURE_DISABLED_BY_DEFAULT};
Robbie Gibson80d732e2019-01-10 10:42:4915
Gauthier Ambard5f610862019-01-17 11:43:5516const base::Feature kSettingsRefresh{"SettingsRefresh",
17 base::FEATURE_DISABLED_BY_DEFAULT};
Yi Su8b1172042019-03-19 10:16:5618
Justin Cohenc57413a2019-09-30 19:42:2919const base::Feature kEmbedderBlockRestoreUrl{"EmbedderBlockRestoreUrl",
Justin Cohen25253e8d2019-12-17 16:49:5920 base::FEATURE_DISABLED_BY_DEFAULT};
David Jeana9bf62b2019-10-04 11:53:3621
David Jeanfaeae6f92020-06-05 08:51:5222const base::Feature kDisableProgressBarAnimation{
23 "DisableProgressBarAnimation", base::FEATURE_DISABLED_BY_DEFAULT};
Rohit Raoe7b489312019-11-12 12:28:5524
25const base::Feature kVoiceOverUnstackedTabstrip{
Rohit Rao7e836812019-11-26 16:09:5826 "VoiceOverUnstackedTabstrip", base::FEATURE_ENABLED_BY_DEFAULT};
Rohit Raoe7b489312019-11-12 12:28:5527
28const base::Feature kForceUnstackedTabstrip{"ForceUnstackedTabstrip",
29 base::FEATURE_DISABLED_BY_DEFAULT};
Gauthier Ambarde813c07f2020-01-09 10:18:4930
Rohit Raof94bd872020-01-22 15:53:5331const base::Feature kTestFeature{"TestFeature",
Stepan Khapugin3f2a66df2020-01-21 21:44:0232 base::FEATURE_DISABLED_BY_DEFAULT};
Rohit Raof94bd872020-01-22 15:53:5333
Javier Ernesto Flores Robles157b0f42020-03-13 15:07:5234const base::Feature kFirstResponderSendAction{
35 "FirstResponderSendAction", base::FEATURE_DISABLED_BY_DEFAULT};
Nohemi Fernandez41e256e2020-03-25 11:52:1136
Sebastien Lalancette414fc1ce2020-06-11 14:43:0637const base::Feature kEnableNativeContextMenus{
38 "EnableNativeContextMenus", base::FEATURE_DISABLED_BY_DEFAULT};
39
Éric Noyau41b90108f2020-04-22 21:37:5540#if defined(__IPHONE_13_4)
41const base::Feature kPointerSupport{"PointerSupport",
42 base::FEATURE_ENABLED_BY_DEFAULT};
43#endif // defined(__IPHONE_13_4)
Nohemi Fernandez94021472020-05-05 08:33:5844
45const base::Feature kEnableMyGoogle{"EnableMyGoogle",
Nohemi Fernandez5d7983b82020-06-29 10:04:1346 base::FEATURE_ENABLED_BY_DEFAULT};
Tina Wang52aea19d2020-05-15 16:47:3347
48const base::Feature kEnableIOSManagedSettingsUI{
Sébastien Séguin-Gagnon58198d732020-06-29 16:05:4749 "EnableIOSManagedSettingsUI", base::FEATURE_ENABLED_BY_DEFAULT};
Sean Harrison0ada3b082020-05-18 19:07:5150
51const base::Feature kSafetyCheckIOS{"SafetyCheckIOS",
52 base::FEATURE_DISABLED_BY_DEFAULT};
Maxime Charland425d9b42020-06-01 19:47:2153
54const base::Feature kIllustratedEmptyStates{"IllustratedEmptyStates",
55 base::FEATURE_DISABLED_BY_DEFAULT};
Tommy Martino6b4eb7e2020-06-25 18:25:4156
57const base::Feature kSharedHighlightingIOS{"SharedHighlightingIOS",
58 base::FEATURE_DISABLED_BY_DEFAULT};
Julian Mentasti-Meza4c0a4162020-07-20 18:51:4159
60const base::Feature kEnableFullPageScreenshot{
61 "EnableFullPageScreenshot", base::FEATURE_DISABLED_BY_DEFAULT};
Javier Ernesto Flores Robles4c9b6b652020-08-05 10:35:3062
63const base::Feature kEnableAutofillPasswordReauthIOS{
64 "EnableAutofillPasswordReauthIOS", base::FEATURE_DISABLED_BY_DEFAULT};
Chris Lu34503302020-09-11 22:08:0765
66const base::Feature kDefaultBrowserFullscreenPromo{
67 "DefaultBrowserFullscreenPromo", base::FEATURE_DISABLED_BY_DEFAULT};
Gauthier Ambarda1d88a02020-09-14 11:46:3768
69const base::Feature kDefaultBrowserSettings{"DefaultBrowserSettings",
70 base::FEATURE_ENABLED_BY_DEFAULT};
Nazerke3e993f72020-09-21 13:00:0671
72// TODO(crbug.com/1128242): Remove this flag after the refactoring work is
73// finished.
74const base::Feature kModernTabStrip{"ModernTabStrip",
75 base::FEATURE_DISABLED_BY_DEFAULT};