| 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 Physical Web feature is enabled. | 79 // Whether the Physical Web feature is enabled. |
| 80 bool IsPhysicalWebEnabled(); | 80 bool IsPhysicalWebEnabled(); |
| 81 | 81 |
| 82 // Whether reader mode is enabled. | 82 // Whether reader mode is enabled. |
| 83 bool IsReaderModeEnabled(); | 83 bool IsReaderModeEnabled(); |
| 84 | 84 |
| 85 // Whether the reading list is enabled. | |
| 86 bool IsReadingListEnabled(); | |
| 87 | |
| 88 // Whether the Sign In Flow via SFSafariViewController is enabled. | 85 // Whether the Sign In Flow via SFSafariViewController is enabled. |
| 89 bool IsSafariVCSignInEnabled(); | 86 bool IsSafariVCSignInEnabled(); |
| 90 | 87 |
| 91 // Whether startup crash is enabled. | 88 // Whether startup crash is enabled. |
| 92 bool IsStartupCrashEnabled(); | 89 bool IsStartupCrashEnabled(); |
| 93 | 90 |
| 94 // Whether or not the tab strip scrolls new tabs to be visible. | 91 // Whether or not the tab strip scrolls new tabs to be visible. |
| 95 bool IsTabStripAutoScrollNewTabsEnabled(); | 92 bool IsTabStripAutoScrollNewTabsEnabled(); |
| 96 | 93 |
| 97 // Whether viewing and copying passwords is enabled. | 94 // Whether viewing and copying passwords is enabled. |
| 98 bool IsViewCopyPasswordsEnabled(); | 95 bool IsViewCopyPasswordsEnabled(); |
| 99 | 96 |
| 100 // Whether password generation fields are determined using local heuristics | 97 // Whether password generation fields are determined using local heuristics |
| 101 // only. | 98 // only. |
| 102 bool UseOnlyLocalHeuristicsForPasswordGeneration(); | 99 bool UseOnlyLocalHeuristicsForPasswordGeneration(); |
| 103 | 100 |
| 104 // Whether the Suggestions UI is enabled. | 101 // Whether the Suggestions UI is enabled. |
| 105 bool IsSuggestionsUIEnabled(); | 102 bool IsSuggestionsUIEnabled(); |
| 106 | 103 |
| 107 } // namespace experimental_flags | 104 } // namespace experimental_flags |
| 108 | 105 |
| 109 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 106 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
| OLD | NEW |