| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_RENDERER_FORM_AUTOFILL_UTIL_H_ |
| 6 #define CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ | 6 #define COMPONENTS_AUTOFILL_RENDERER_FORM_AUTOFILL_UTIL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 | 11 |
| 12 struct FormData; | 12 struct FormData; |
| 13 struct FormFieldData; | 13 struct FormFieldData; |
| 14 | 14 |
| 15 namespace WebKit { | 15 namespace WebKit { |
| 16 class WebDocument; | 16 class WebDocument; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // autofilled state of |node| to |was_autofilled|. Returns false if the form is | 129 // autofilled state of |node| to |was_autofilled|. Returns false if the form is |
| 130 // not found. | 130 // not found. |
| 131 bool ClearPreviewedFormWithElement(const WebKit::WebInputElement& element, | 131 bool ClearPreviewedFormWithElement(const WebKit::WebInputElement& element, |
| 132 bool was_autofilled); | 132 bool was_autofilled); |
| 133 | 133 |
| 134 // Returns true if |form| has any auto-filled fields. | 134 // Returns true if |form| has any auto-filled fields. |
| 135 bool FormWithElementIsAutofilled(const WebKit::WebInputElement& element); | 135 bool FormWithElementIsAutofilled(const WebKit::WebInputElement& element); |
| 136 | 136 |
| 137 } // namespace autofill | 137 } // namespace autofill |
| 138 | 138 |
| 139 #endif // CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ | 139 #endif // COMPONENTS_AUTOFILL_RENDERER_FORM_AUTOFILL_UTIL_H_ |
| OLD | NEW |