| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 // Whether launching actions from Spotlight is enabled. | 100 // Whether launching actions from Spotlight is enabled. |
| 101 bool IsSpotlightActionsEnabled(); | 101 bool IsSpotlightActionsEnabled(); |
| 102 | 102 |
| 103 // Whether startup crash is enabled. | 103 // Whether startup crash is enabled. |
| 104 bool IsStartupCrashEnabled(); | 104 bool IsStartupCrashEnabled(); |
| 105 | 105 |
| 106 // Whether or not the tab strip scrolls new tabs to be visible. | 106 // Whether or not the tab strip scrolls new tabs to be visible. |
| 107 bool IsTabStripAutoScrollNewTabsEnabled(); | 107 bool IsTabStripAutoScrollNewTabsEnabled(); |
| 108 | 108 |
| 109 // Whether the Tab Switcher is enabled for iPad or not. | |
| 110 bool IsTabSwitcherEnabled(); | |
| 111 | |
| 112 // Whether viewing and copying passwords is enabled. | 109 // Whether viewing and copying passwords is enabled. |
| 113 bool IsViewCopyPasswordsEnabled(); | 110 bool IsViewCopyPasswordsEnabled(); |
| 114 | 111 |
| 115 // Whether password generation fields are determined using local heuristics | 112 // Whether password generation fields are determined using local heuristics |
| 116 // only. | 113 // only. |
| 117 bool UseOnlyLocalHeuristicsForPasswordGeneration(); | 114 bool UseOnlyLocalHeuristicsForPasswordGeneration(); |
| 118 | 115 |
| 119 // Whether the Suggestions UI is enabled. | 116 // Whether the Suggestions UI is enabled. |
| 120 bool IsSuggestionsUIEnabled(); | 117 bool IsSuggestionsUIEnabled(); |
| 121 | 118 |
| 122 } // namespace experimental_flags | 119 } // namespace experimental_flags |
| 123 | 120 |
| 124 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ | 121 #endif // IOS_CHROME_BROWSER_EXPERIMENTAL_FLAGS_H_ |
| OLD | NEW |