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

Unified Diff: components/autofill/core/common/forms_seen_state.h

Issue 265203002: Revert of [Autofill] Enable Autofill for dynamically created forms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill/core/common/form_data.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/forms_seen_state.h
diff --git a/components/autofill/core/common/forms_seen_state.h b/components/autofill/core/common/forms_seen_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..da417f96b54d3180e2b3b77168e98c454f911cc1
--- /dev/null
+++ b/components/autofill/core/common/forms_seen_state.h
@@ -0,0 +1,24 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_
+#define COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_
+
+namespace autofill {
+
+// Specifies the nature of the forms triggering the call.
+enum FormsSeenState {
+ // Forms present on page load with no additional unsent forms.
+ NO_SPECIAL_FORMS_SEEN = 0,
+ // If this an Autocheckout page, there are more that should be checked.
+ PARTIAL_FORMS_SEEN = 1,
+ // Forms were added dynamically post-page load.
+ DYNAMIC_FORMS_SEEN = 2,
+ // Number of states.
+ FORMS_SEEN_STATE_NUM_STATES = 3,
+};
+
+} // namespace autofill
+
+#endif // COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_
« no previous file with comments | « components/autofill/core/common/form_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698