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

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

Issue 13264002: Requery the autofill server when forms and input fields are dynamically added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fun with merging Created 7 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/common/autofill_messages.h ('k') | components/autofill/renderer/autofill_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/common/forms_seen_state.h
diff --git a/components/autofill/common/forms_seen_state.h b/components/autofill/common/forms_seen_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..5f6f582f5d963091c724b0c1eaacbc408ffa0fb2
--- /dev/null
+++ b/components/autofill/common/forms_seen_state.h
@@ -0,0 +1,22 @@
+// 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,
+};
+
+} // namespace autofill
+
+#endif // COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_
« no previous file with comments | « components/autofill/common/autofill_messages.h ('k') | components/autofill/renderer/autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698