| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 // Whether reader mode is enabled. | 85 // Whether reader mode is enabled. |
| 86 bool IsReaderModeEnabled(); | 86 bool IsReaderModeEnabled(); |
| 87 | 87 |
| 88 // Whether the reading list is enabled. | 88 // Whether the reading list is enabled. |
| 89 bool IsReadingListEnabled(); | 89 bool IsReadingListEnabled(); |
| 90 | 90 |
| 91 // Whether the Sign In Flow via SFSafariViewController is enabled. | 91 // Whether the Sign In Flow via SFSafariViewController is enabled. |
| 92 bool IsSafariVCSignInEnabled(); | 92 bool IsSafariVCSignInEnabled(); |
| 93 | 93 |
| 94 // Whether launching actions from Spotlight is enabled. | |
| 95 bool IsSpotlightActionsEnabled(); | |
| 96 | |
| 97 // Whether startup crash is enabled. | 94 // Whether startup crash is enabled. |
| 98 bool IsStartupCrashEnabled(); | 95 bool IsStartupCrashEnabled(); |
| 99 | 96 |
| 100 // Whether or not the tab strip scrolls new tabs to be visible. | 97 // Whether or not the tab strip scrolls new tabs to be visible. |
| 101 bool IsTabStripAutoScrollNewTabsEnabled(); | 98 bool IsTabStripAutoScrollNewTabsEnabled(); |
| 102 | 99 |
| 103 // Whether viewing and copying passwords is enabled. | 100 // Whether viewing and copying passwords is enabled. |
| 104 bool IsViewCopyPasswordsEnabled(); | 101 bool IsViewCopyPasswordsEnabled(); |
| 105 | 102 |
| 106 // Whether password generation fields are determined using local heuristics | 103 // Whether password generation fields are determined using local heuristics |
| 107 // only. | 104 // only. |
| 108 bool UseOnlyLocalHeuristicsForPasswordGeneration(); | 105 bool UseOnlyLocalHeuristicsForPasswordGeneration(); |
| 109 | 106 |
| 110 // Whether the Suggestions UI is enabled. | 107 // Whether the Suggestions UI is enabled. |
| 111 bool IsSuggestionsUIEnabled(); | 108 bool IsSuggestionsUIEnabled(); |
| 112 | 109 |
| 113 } // namespace experimental_flags | 110 } // namespace experimental_flags |
| 114 | 111 |
| 115 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 112 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
| OLD | NEW |