From 0578a5011ceff5a50c9e2905d48d5747cf72569b Mon Sep 17 00:00:00 2001 From: "erikkay@google.com" Date: Mon, 10 Nov 2008 19:34:43 +0000 Subject: Change old code from "unloadListnerChanged" model to new WebKit EnableSuddenTermination, unforking a bunch of code. BUG=http://crbug.com/4064 Review URL: http://codereview.chromium.org/9746 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5116 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webview_delegate.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'webkit/glue/webview_delegate.h') diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h index 1ce50c5..dd6ba52 100644 --- a/webkit/glue/webview_delegate.h +++ b/webkit/glue/webview_delegate.h @@ -454,8 +454,10 @@ class WebViewDelegate : virtual public WebWidgetDelegate { const AutofillForm& form) { } - // - virtual void OnUnloadListenerChanged(WebView* webview, WebFrame* webframe) { + virtual void EnableSuddenTermination() { + } + + virtual void DisableSuddenTermination() { } // Queries the browser for suggestions to be shown for the form text field -- cgit v1.1