Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index d8d94066207f125798398a30754cc574b75d11f5..c3fd9508534d388b3c7b6a38b1c47c9a32bee8bf 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -344,6 +344,9 @@ public: |
// The 'load' event was dispatched. |
virtual void didHandleOnloadEvents(WebLocalFrame*) { } |
+ // The 'beforeunload' event was dispatched, a dialog probably was shown, and the navigation is not aborted. |
+ virtual void didHandleOnBeforeUnloadEvent(bool eventListenerCalled) { } |
+ |
// The frame's document or one of its subresources failed to load. The |
// WebHistoryCommitType is the commit type that would have been used had the |
// load succeeded. |