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. |
| 11 // Specifies the nature of the forms triggering the call. |
| 12 enum FormsSeenParam { |
| 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 |