diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 03:53:39 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 03:53:39 +0000 |
commit | acca2a1fc734142de039f65405ef259737d7a8fc (patch) | |
tree | 6275718b90618e1445cb824e615aeca7c21e6956 /webkit/api/public/WebView.h | |
parent | 923bd8b63206d79cdfb0e5eba5b49e5a6f7eee7d (diff) | |
download | chromium_src-acca2a1fc734142de039f65405ef259737d7a8fc.zip chromium_src-acca2a1fc734142de039f65405ef259737d7a8fc.tar.gz chromium_src-acca2a1fc734142de039f65405ef259737d7a8fc.tar.bz2 |
Move autofill related WebView{Delegate} methods into the WebKit API.
This CL also changes a bunch of autofill related wstring values to string16.
R=jcampan
BUG=24595
TEST=none
Review URL: http://codereview.chromium.org/279001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/public/WebView.h')
-rw-r--r-- | webkit/api/public/WebView.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/webkit/api/public/WebView.h b/webkit/api/public/WebView.h index e7994a2..a886424 100644 --- a/webkit/api/public/WebView.h +++ b/webkit/api/public/WebView.h @@ -39,11 +39,13 @@ namespace WebKit { class WebDragData; class WebFrame; class WebFrameClient; + class WebNode; class WebSettings; class WebString; class WebViewClient; struct WebMediaPlayerAction; struct WebPoint; + template <typename T> class WebVector; class WebView : public WebWidget { public: @@ -207,6 +209,19 @@ namespace WebKit { // Returns the accessibility object for this view. virtual WebAccessibilityObject accessibilityObject() = 0; + + // Autofill ------------------------------------------------------------ + + // Notifies the WebView that autofill suggestions are available for a node. + virtual void applyAutofillSuggestions( + const WebNode&, + const WebVector<WebString>& suggestions, + int defaultSuggestionIndex) = 0; + + // Hides the autofill popup if any are showing. + virtual void hideAutofillPopup() = 0; + + // FIXME what about: // GetDelegate // AutofillSuggestionsForNode |