Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: webkit/glue/chrome_client_impl.cc

Issue 9746: Change old code from "unloadListnerChanged" model to new WebKit EnableSuddenT... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/webframe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/chrome_client_impl.cc
===================================================================
--- webkit/glue/chrome_client_impl.cc (revision 5111)
+++ webkit/glue/chrome_client_impl.cc (working copy)
@@ -468,3 +468,15 @@
if (d)
d->SetCursor(webview_, cursor);
}
+
+void ChromeClientImpl::enableSuddenTermination() {
+ WebViewDelegate* d = webview_->delegate();
+ if (d)
+ d->EnableSuddenTermination();
+}
+
+void ChromeClientImpl::disableSuddenTermination() {
+ WebViewDelegate* d = webview_->delegate();
+ if (d)
+ d->DisableSuddenTermination();
+}
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/webframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698