From 0ebf38756f3a68b30fe0d8e9336dbfafda52b5d5 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Fri, 7 Nov 2008 21:35:03 +0000 Subject: Landing this again as I cannot reproduce the perf regression locally. Will investigate on the bot. TBR=nsylvain Review URL: http://codereview.chromium.org/9700 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5018 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webframeloaderclient_impl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'webkit/glue/webframeloaderclient_impl.h') diff --git a/webkit/glue/webframeloaderclient_impl.h b/webkit/glue/webframeloaderclient_impl.h index 20b12ee..6010ba8 100644 --- a/webkit/glue/webframeloaderclient_impl.h +++ b/webkit/glue/webframeloaderclient_impl.h @@ -5,6 +5,8 @@ #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ +#include + #include "base/compiler_specific.h" MSVC_PUSH_WARNING_LEVEL(0); @@ -18,6 +20,7 @@ MSVC_POP_WARNING(); namespace WebCore { class Frame; +class HTMLFormElement; class Widget; } @@ -209,6 +212,11 @@ class WebFrameLoaderClient : public WebCore::FrameLoaderClient { // 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& excluded_fields); + // The WebFrame that owns this object and manages its lifetime. Therefore, // the web frame object is guaranteed to exist. WebFrameImpl* webframe_; -- cgit v1.1