diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-10 19:34:43 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-10 19:34:43 +0000 |
commit | 0578a5011ceff5a50c9e2905d48d5747cf72569b (patch) | |
tree | 383666ae6cf1e977c53ba85d81ac98095beb7e81 /webkit/glue/webview_delegate.h | |
parent | 297117029c8cd44b92d8529bc9b29eeb8e5fffb9 (diff) | |
download | chromium_src-0578a5011ceff5a50c9e2905d48d5747cf72569b.zip chromium_src-0578a5011ceff5a50c9e2905d48d5747cf72569b.tar.gz chromium_src-0578a5011ceff5a50c9e2905d48d5747cf72569b.tar.bz2 |
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
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r-- | webkit/glue/webview_delegate.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |