OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ | |
6 #define COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 namespace autofill { | |
11 | |
12 // This class manages the iOS Autofill field trials. | |
13 class AutofillFieldTrialIOS { | |
14 public: | |
15 // Returns whether the user is in a full-form Autofill field trial. Full-form | |
16 // Autofill fills all fields of the form at once, similar to the desktop and | |
17 // Clank Autofill implementations. Previous iOS implementation requires user | |
18 // to select an Autofill value for each field individually, automatically | |
19 // advancing focus to the next field after each selection. | |
20 static bool IsFullFormAutofillEnabled(); | |
21 | |
22 private: | |
23 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillFieldTrialIOS); | |
24 }; | |
25 | |
26 } // namespace autofill | |
27 | |
28 #endif // COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ | |
OLD | NEW |