Justin Cohen | 2d81c58 | 2018-01-22 14:46:44 | [diff] [blame] | 1 | // 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 | |
Justin Cohen | cd633af | 2019-01-29 20:19:00 | [diff] [blame] | 7 | const base::Feature kBrowserContainerKeepsContentView{ |
Justin Cohen | 00909fd3 | 2019-03-27 13:05:51 | [diff] [blame] | 8 | "BrowserContainerKeepsContentView", base::FEATURE_DISABLED_BY_DEFAULT}; |
Justin Cohen | cd633af | 2019-01-29 20:19:00 | [diff] [blame] | 9 | |
edchin | b3e7535 | 2019-03-29 11:14:19 | [diff] [blame] | 10 | // TODO(crbug.com/945811): Using |-drawViewHierarchyInRect:afterScreenUpdates:| |
| 11 | // has adverse flickering when taking a snapshot of the NTP while in the app |
| 12 | // switcher. |
edchin | 5ae0b4c | 2019-01-06 06:52:28 | [diff] [blame] | 13 | const base::Feature kSnapshotDrawView{"SnapshotDrawView", |
edchin | b3e7535 | 2019-03-29 11:14:19 | [diff] [blame] | 14 | base::FEATURE_DISABLED_BY_DEFAULT}; |
Robbie Gibson | 80d732e | 2019-01-10 10:42:49 | [diff] [blame] | 15 | |
Gauthier Ambard | 5f61086 | 2019-01-17 11:43:55 | [diff] [blame] | 16 | const base::Feature kSettingsRefresh{"SettingsRefresh", |
| 17 | base::FEATURE_DISABLED_BY_DEFAULT}; |
Yi Su | 8b117204 | 2019-03-19 10:16:56 | [diff] [blame] | 18 | |
Stepan Khapugin | 13b7427a | 2019-04-02 13:17:54 | [diff] [blame] | 19 | const base::Feature kNewOmniboxPopupLayout{"NewOmniboxPopupLayout", |
Stepan Khapugin | ba53a43 | 2019-12-11 20:09:20 | [diff] [blame] | 20 | base::FEATURE_ENABLED_BY_DEFAULT}; |
Nazerke | 4179c0e | 2019-04-11 15:43:34 | [diff] [blame] | 21 | |
| 22 | const base::Feature kOmniboxUseDefaultSearchEngineFavicon{ |
Stepan Khapugin | ba53a43 | 2019-12-11 20:09:20 | [diff] [blame] | 23 | "OmniboxUseDefaultSearchEngineFavicon", base::FEATURE_ENABLED_BY_DEFAULT}; |
Moe Ahmadi | eb43874 | 2019-05-08 20:17:56 | [diff] [blame] | 24 | |
Justin Cohen | c57413a | 2019-09-30 19:42:29 | [diff] [blame] | 25 | const base::Feature kEmbedderBlockRestoreUrl{"EmbedderBlockRestoreUrl", |
Justin Cohen | 25253e8d | 2019-12-17 16:49:59 | [diff] [blame] | 26 | base::FEATURE_DISABLED_BY_DEFAULT}; |
David Jean | a9bf62b | 2019-10-04 11:53:36 | [diff] [blame] | 27 | |
| 28 | const base::Feature kDisableAnimationOnLowBattery{ |
| 29 | "DisableAnimationOnLowBattery", base::FEATURE_DISABLED_BY_DEFAULT}; |
Rohit Rao | e7b48931 | 2019-11-12 12:28:55 | [diff] [blame] | 30 | |
| 31 | const base::Feature kVoiceOverUnstackedTabstrip{ |
Rohit Rao | 7e83681 | 2019-11-26 16:09:58 | [diff] [blame] | 32 | "VoiceOverUnstackedTabstrip", base::FEATURE_ENABLED_BY_DEFAULT}; |
Rohit Rao | e7b48931 | 2019-11-12 12:28:55 | [diff] [blame] | 33 | |
| 34 | const base::Feature kForceUnstackedTabstrip{"ForceUnstackedTabstrip", |
| 35 | base::FEATURE_DISABLED_BY_DEFAULT}; |
Gauthier Ambard | e813c07f | 2020-01-09 10:18:49 | [diff] [blame^] | 36 | |
| 37 | const base::Feature kContainedBVC{"ContainedBVC", |
| 38 | base::FEATURE_DISABLED_BY_DEFAULT}; |