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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 1890493002: PlzNavigate: properly execute BeforeUnload on renderer initiated navigations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + fixed issue with layout test Created 4 years, 7 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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.h
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
index bda498f34ab304ca2a846c3126b15fa2a951bc25..30a9d374f9fa0c215bf37256735c9694b8431115 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
@@ -96,7 +96,6 @@ public:
WebView* view() const override;
WebDocument document() const override;
WebPerformance performance() const override;
- bool dispatchBeforeUnloadEvent() override;
void dispatchUnloadEvent() override;
void executeScript(const WebScriptSource&) override;
void executeScriptInIsolatedWorld(
@@ -207,6 +206,7 @@ public:
WebLocalFrame* traversePreviousLocal(bool wrap) const override;
WebLocalFrame* traverseNextLocal(bool wrap) const override;
void sendPings(const WebURL& destinationURL) override;
+ bool dispatchBeforeUnloadEvent(bool) override;
WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy) const override;
WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const override;
void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&,
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698