Index: webkit/glue/webframeloaderclient_impl.h |
=================================================================== |
--- webkit/glue/webframeloaderclient_impl.h (revision 4621) |
+++ webkit/glue/webframeloaderclient_impl.h (working copy) |
@@ -5,6 +5,8 @@ |
#ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
#define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ |
+#include <set> |
+ |
#include "base/compiler_specific.h" |
MSVC_PUSH_WARNING_LEVEL(0); |
@@ -18,6 +20,7 @@ |
namespace WebCore { |
class Frame; |
+class HTMLFormElement; |
class Widget; |
} |
@@ -209,6 +212,11 @@ |
// otherwise returns NavigationGestureUnknown. |
NavigationGesture NavigationGestureForLastLoad(); |
+ // Registers the text input fields in the passed form for autofill, with the |
+ // exclusion of any field whose name is contained in |excluded_fields|. |
+ void RegisterAutofillListeners(WebCore::HTMLFormElement* form, |
+ const std::set<std::wstring>& excluded_fields); |
+ |
// The WebFrame that owns this object and manages its lifetime. Therefore, |
// the web frame object is guaranteed to exist. |
WebFrameImpl* webframe_; |