OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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_COMMON_FORMS_SEEN_PARAM_H_ | |
6 #define COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_ | |
7 | |
8 namespace autofill { | |
9 | |
10 // Params to be sent with a FormsSeen message to AutofillManager. | |
Ilya Sherman
2013/04/06 00:29:39
nit: "Params" -> "Param", though I would actually
Dane Wallinga
2013/04/10 00:19:13
Done.
Dane Wallinga
2013/04/10 00:19:13
Done.
| |
11 // Specifies the nature of the forms triggering the call. | |
12 enum FormsSeenParam { | |
Ilya Sherman
2013/04/06 00:29:39
nit: Perhaps "FormsSeenStatus"?
Dane Wallinga
2013/04/08 22:55:50
Doesn't feel right. AutofillManager needs to know
Ilya Sherman
2013/04/09 02:17:46
It's not the status of the forms; it's the status
Dane Wallinga
2013/04/10 00:19:13
Done.
| |
13 // Forms present on page load with no additional unsent forms. | |
14 NO_SPECIAL_FORMS_SEEN = 0, | |
15 // If this an Autocheckout page, there are more that should be checked. | |
16 PARTIAL_FORMS_SEEN = 1, | |
17 // Forms were added dynamically post-page load. | |
18 DYNAMIC_FORMS_SEEN = 2, | |
19 // PARTIAL_FORMS_SEEN + DYNAMIC_FORMS_SEEN | |
20 PARTIAL_AND_DYNAMIC_FORMS_SEEN = 3, | |
21 }; | |
22 | |
23 } // namespace autofill | |
24 | |
25 #endif // COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_ | |
OLD | NEW |