From e87756663c751faea164d8deddbfccbfbbb1cfca Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Thu, 6 Nov 2008 20:09:34 +0000 Subject: Reverting the autofill popu CL as it creates perf regression. TBR=nsylvain Review URL: http://codereview.chromium.org/9460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4908 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_view.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'chrome/renderer/render_view.h') diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index 8484afd..eee08e1 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -127,9 +127,6 @@ class RenderView : public RenderWidget, public WebViewDelegate, virtual bool RunBeforeUnloadConfirm(WebView* webview, const std::wstring& message); virtual void OnUnloadListenerChanged(WebView* webview, WebFrame* webframe); - virtual void QueryFormFieldAutofill(const std::wstring& field_name, - const std::wstring& text, - int64 node_id); virtual void UpdateTargetURL(WebView* webview, const GURL& url); virtual void RunFileChooser(const std::wstring& default_filename, @@ -200,8 +197,7 @@ class RenderView : public RenderWidget, public WebViewDelegate, bool is_redirect); virtual WebView* CreateWebView(WebView* webview, bool user_gesture); - virtual WebWidget* CreatePopupWidget(WebView* webview, - bool focus_on_show); + virtual WebWidget* CreatePopupWidget(WebView* webview); virtual WebPluginDelegate* CreatePluginDelegate( WebView* webview, const GURL& url, @@ -461,13 +457,6 @@ class RenderView : public RenderWidget, public WebViewDelegate, // Notification about ui theme changes. void OnThemeChanged(); - // Notification that we have received autofill suggestion. - void OnReceivedAutofillSuggestions( - int64 node_id, - int request_id, - const std::vector suggestions, - int default_suggestion_index); - #ifdef CHROME_PERSONALIZATION void OnPersonalizationEvent(std::string event_name, std::string event_args); #endif @@ -684,10 +673,6 @@ class RenderView : public RenderWidget, public WebViewDelegate, // Set if we are waiting for an ack for ViewHostMsg_CreateWindow bool waiting_for_create_window_ack_; - // The id of the last request sent for form field autofill. Used to ignore - // out of date responses. - int form_field_autofill_request_id_; - // A cached WebHistoryItem used for back/forward navigations initiated by // WebCore (via the window.history.go API). We only have one such navigation // pending at a time. -- cgit v1.1