Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: components/autofill/core/browser/autofill_field_trial_ios.h

Issue 1446473002: Enable compilation of //components/autofill on iOS with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@os_crypt
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_
6 #define COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace autofill { 10 namespace autofill {
11 11
12 // This class manages the iOS Autofill field trials. 12 // This class manages the iOS Autofill field trials.
13 class AutofillFieldTrialIOS { 13 class AutofillFieldTrialIOS {
14 public: 14 public:
15 // Returns whether the user is in a full-form Autofill field trial. Full-form 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 16 // Autofill fills all fields of the form at once, similar to the desktop and
17 // Clank Autofill implementations. Previous iOS implementation requires user 17 // Clank Autofill implementations. Previous iOS implementation requires user
18 // to select an Autofill value for each field individually, automatically 18 // to select an Autofill value for each field individually, automatically
19 // advancing focus to the next field after each selection. 19 // advancing focus to the next field after each selection.
20 static bool IsFullFormAutofillEnabled(); 20 static bool IsFullFormAutofillEnabled();
21 21
22 private: 22 private:
23 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillFieldTrialIOS); 23 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillFieldTrialIOS);
24 }; 24 };
25 25
26 } // namespace autofill 26 } // namespace autofill
27 27
28 #endif // COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ 28 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/autofill_field_trial_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698