OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 5 #ifndef IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 6 #define IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 // This file can be empty. Its purpose is to contain the relatively short lived | 10 // This file can be empty. Its purpose is to contain the relatively short lived |
(...skipping 13 matching lines...) Expand all Loading... |
24 // Whether password generation is enabled. | 24 // Whether password generation is enabled. |
25 bool IsPasswordGenerationEnabled(); | 25 bool IsPasswordGenerationEnabled(); |
26 | 26 |
27 // Whether password generation fields are determined using local heuristics | 27 // Whether password generation fields are determined using local heuristics |
28 // only. | 28 // only. |
29 bool UseOnlyLocalHeuristicsForPasswordGeneration(); | 29 bool UseOnlyLocalHeuristicsForPasswordGeneration(); |
30 | 30 |
31 // Whether the Tab Switcher is enabled for iPad or not. | 31 // Whether the Tab Switcher is enabled for iPad or not. |
32 bool IsTabSwitcherEnabled(); | 32 bool IsTabSwitcherEnabled(); |
33 | 33 |
34 // Whether the reading list is enabled. | |
35 bool IsReadingListEnabled(); | |
36 | |
37 // Whether the All Bookmarks view is visible in bookmarks. | 34 // Whether the All Bookmarks view is visible in bookmarks. |
38 bool IsAllBookmarksEnabled(); | 35 bool IsAllBookmarksEnabled(); |
39 | 36 |
40 // Whether the Physical Web feature is enabled. | 37 // Whether the Physical Web feature is enabled. |
41 bool IsPhysicalWebEnabled(); | 38 bool IsPhysicalWebEnabled(); |
42 | 39 |
43 // Whether the QR Code Reader is enabled. | 40 // Whether the QR Code Reader is enabled. |
44 bool IsQRCodeReaderEnabled(); | 41 bool IsQRCodeReaderEnabled(); |
45 | 42 |
46 // Whether the Clear Browsing Data counters and time selection UI is enabled. | 43 // Whether the Clear Browsing Data counters and time selection UI is enabled. |
47 bool IsNewClearBrowsingDataUIEnabled(); | 44 bool IsNewClearBrowsingDataUIEnabled(); |
48 | 45 |
49 // Whether the Payment Request API is enabled or not. | 46 // Whether the Payment Request API is enabled or not. |
50 bool IsPaymentRequestEnabled(); | 47 bool IsPaymentRequestEnabled(); |
51 | 48 |
52 // Whether launching actions from Spotlight is enabled. | 49 // Whether launching actions from Spotlight is enabled. |
53 bool IsSpotlightActionsEnabled(); | 50 bool IsSpotlightActionsEnabled(); |
54 | 51 |
55 // Whether the iOS MDM integration is enabled. | 52 // Whether the iOS MDM integration is enabled. |
56 bool IsMDMIntegrationEnabled(); | 53 bool IsMDMIntegrationEnabled(); |
57 | 54 |
58 // Whether the back-forward navigation uses pending index. | 55 // Whether the back-forward navigation uses pending index. |
59 bool IsPendingIndexNavigationEnabled(); | 56 bool IsPendingIndexNavigationEnabled(); |
60 | 57 |
61 } // namespace experimental_flags | 58 } // namespace experimental_flags |
62 | 59 |
63 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 60 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
OLD | NEW |