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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // Whether the Payment Request API is enabled or not. | 76 // Whether the Payment Request API is enabled or not. |
77 bool IsPaymentRequestEnabled(); | 77 bool IsPaymentRequestEnabled(); |
78 | 78 |
79 // Whether the back-forward navigation uses pending index. | 79 // Whether the back-forward navigation uses pending index. |
80 bool IsPendingIndexNavigationEnabled(); | 80 bool IsPendingIndexNavigationEnabled(); |
81 | 81 |
82 // Whether the Physical Web feature is enabled. | 82 // Whether the Physical Web feature is enabled. |
83 bool IsPhysicalWebEnabled(); | 83 bool IsPhysicalWebEnabled(); |
84 | 84 |
85 // Whether the QR Code Reader is enabled. | |
86 bool IsQRCodeReaderEnabled(); | |
87 | |
88 // Whether reader mode is enabled. | 85 // Whether reader mode is enabled. |
89 bool IsReaderModeEnabled(); | 86 bool IsReaderModeEnabled(); |
90 | 87 |
91 // Whether the reading list is enabled. | 88 // Whether the reading list is enabled. |
92 bool IsReadingListEnabled(); | 89 bool IsReadingListEnabled(); |
93 | 90 |
94 // Whether the Sign In Flow via SFSafariViewController is enabled. | 91 // Whether the Sign In Flow via SFSafariViewController is enabled. |
95 bool IsSafariVCSignInEnabled(); | 92 bool IsSafariVCSignInEnabled(); |
96 | 93 |
97 // Whether launching actions from Spotlight is enabled. | 94 // Whether launching actions from Spotlight is enabled. |
(...skipping 14 matching lines...) Expand all Loading... |
112 // Whether password generation fields are determined using local heuristics | 109 // Whether password generation fields are determined using local heuristics |
113 // only. | 110 // only. |
114 bool UseOnlyLocalHeuristicsForPasswordGeneration(); | 111 bool UseOnlyLocalHeuristicsForPasswordGeneration(); |
115 | 112 |
116 // Whether the Suggestions UI is enabled. | 113 // Whether the Suggestions UI is enabled. |
117 bool IsSuggestionsUIEnabled(); | 114 bool IsSuggestionsUIEnabled(); |
118 | 115 |
119 } // namespace experimental_flags | 116 } // namespace experimental_flags |
120 | 117 |
121 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 118 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
OLD | NEW |