summaryrefslogtreecommitdiffstats
path: root/webkit/glue/chrome_client_impl.h
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-10 19:34:43 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-10 19:34:43 +0000
commit0578a5011ceff5a50c9e2905d48d5747cf72569b (patch)
tree383666ae6cf1e977c53ba85d81ac98095beb7e81 /webkit/glue/chrome_client_impl.h
parent297117029c8cd44b92d8529bc9b29eeb8e5fffb9 (diff)
downloadchromium_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/chrome_client_impl.h')
-rw-r--r--webkit/glue/chrome_client_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/chrome_client_impl.h b/webkit/glue/chrome_client_impl.h
index c8951ee..b985103 100644
--- a/webkit/glue/chrome_client_impl.h
+++ b/webkit/glue/chrome_client_impl.h
@@ -120,6 +120,9 @@ public:
void SetCursor(const WebCursor& cursor);
+ virtual void enableSuddenTermination();
+ virtual void disableSuddenTermination();
+
private:
WebViewImpl* webview_; // weak pointer
bool toolbars_visible_;