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

Unified Diff: public/web/WebFrame.h

Issue 219163005: Move dispatchUnloadEvent to WebFrame, part 1/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 9 months 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 | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 9155e084f11488892c0f9a3825a98c742684e1ed..60492365cf27940eb4168758830d1756b3d76e4a 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -247,6 +247,9 @@ public:
// handler suppressed unloading.
virtual bool dispatchBeforeUnloadEvent() = 0;
+ // Runs unload handlers for this frame.
+ virtual void dispatchUnloadEvent() = 0;
+
// Scripting ----------------------------------------------------------
« no previous file with comments | « Source/web/tests/WebViewTest.cpp ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698