summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_impl.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-18 23:24:14 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-18 23:24:14 +0000
commitdb8635032b1f83436a072be14e425076a7bd8164 (patch)
tree8af2963301fafd66e4bfb7ff0a9f77ed0ad526d1 /webkit/glue/webview_impl.h
parent217eae872ac412240854936ee20878636d555c53 (diff)
downloadchromium_src-db8635032b1f83436a072be14e425076a7bd8164.zip
chromium_src-db8635032b1f83436a072be14e425076a7bd8164.tar.gz
chromium_src-db8635032b1f83436a072be14e425076a7bd8164.tar.bz2
We now show the form autofill when the user does any of these on a focused empty text-field:
- presses the up/down arrow key - left-clicks it The other browsers have that feature. BUG=5130 TEST=See bug. Review URL: http://codereview.chromium.org/14852 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_impl.h')
-rw-r--r--webkit/glue/webview_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/webview_impl.h b/webkit/glue/webview_impl.h
index 5c0a554..1f03477 100644
--- a/webkit/glue/webview_impl.h
+++ b/webkit/glue/webview_impl.h
@@ -255,6 +255,9 @@ class WebViewImpl : public WebView {
// This is invoked after the download is completed (or fails).
void DeleteImageResourceFetcher(ImageResourceFetcher* fetcher);
+ // Returns the currently focused Node or NULL if no node has focus.
+ WebCore::Node* GetFocusedNode();
+
// ImageResourceFetchers schedule via DownloadImage.
std::set<ImageResourceFetcher*> image_fetchers_;