summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
authorpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-08 02:13:09 +0000
committerpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-08 02:13:09 +0000
commitd893ab9643e5284db08087bc7514f59e37d6b319 (patch)
tree862077a3e8acbb010157f8c3bdd45e95d7e40ecb /chrome/renderer/render_view.h
parentbab654788c013d4cdf3900fc43927e159362b5ed (diff)
downloadchromium_src-d893ab9643e5284db08087bc7514f59e37d6b319.zip
chromium_src-d893ab9643e5284db08087bc7514f59e37d6b319.tar.gz
chromium_src-d893ab9643e5284db08087bc7514f59e37d6b319.tar.bz2
Entries in a form get recorded when the user submits the form. Database and pop-up menu talk to each other. Pop-up menu appears containing suggestions.
Review URL: http://codereview.chromium.org/9462 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5058 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 8484afd..936a1bf 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -249,6 +249,9 @@ class RenderView : public RenderWidget, public WebViewDelegate,
virtual void OnPasswordFormsSeen(WebView* webview,
const std::vector<PasswordForm>& forms);
+ virtual void OnAutofillFormSubmitted(WebView* webview,
+ const AutofillForm& form);
+
virtual void ReportFindInPageMatchCount(int count, int request_id,
bool final_update);
virtual void ReportFindInPageSelection(int request_id,
@@ -465,8 +468,8 @@ class RenderView : public RenderWidget, public WebViewDelegate,
void OnReceivedAutofillSuggestions(
int64 node_id,
int request_id,
- const std::vector<std::wstring> suggestions,
- int default_suggestion_index);
+ const std::vector<std::wstring>& suggestions,
+ int default_suggestions_index);
#ifdef CHROME_PERSONALIZATION
void OnPersonalizationEvent(std::string event_name, std::string event_args);