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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp

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, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "web/WebRemoteFrameImpl.h" 5 #include "web/WebRemoteFrameImpl.h"
6 6
7 #include "core/dom/RemoteSecurityContext.h" 7 #include "core/dom/RemoteSecurityContext.h"
8 #include "core/dom/SecurityContext.h" 8 #include "core/dom/SecurityContext.h"
9 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
10 #include "core/frame/Settings.h" 10 #include "core/frame/Settings.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // code tries to access the document of a remote frame at the moment. 173 // code tries to access the document of a remote frame at the moment.
174 return WebDocument(); 174 return WebDocument();
175 } 175 }
176 176
177 WebPerformance WebRemoteFrameImpl::performance() const 177 WebPerformance WebRemoteFrameImpl::performance() const
178 { 178 {
179 NOTREACHED(); 179 NOTREACHED();
180 return WebPerformance(); 180 return WebPerformance();
181 } 181 }
182 182
183 bool WebRemoteFrameImpl::dispatchBeforeUnloadEvent()
184 {
185 NOTREACHED();
186 return false;
187 }
188
189 void WebRemoteFrameImpl::dispatchUnloadEvent() 183 void WebRemoteFrameImpl::dispatchUnloadEvent()
190 { 184 {
191 NOTREACHED(); 185 NOTREACHED();
192 } 186 }
193 187
194 void WebRemoteFrameImpl::executeScript(const WebScriptSource&) 188 void WebRemoteFrameImpl::executeScript(const WebScriptSource&)
195 { 189 {
196 NOTREACHED(); 190 NOTREACHED();
197 } 191 }
198 192
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 702
709 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, WebRemoteFrameCli ent* client) 703 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, WebRemoteFrameCli ent* client)
710 : WebRemoteFrame(scope) 704 : WebRemoteFrame(scope)
711 , m_frameClient(RemoteFrameClientImpl::create(this)) 705 , m_frameClient(RemoteFrameClientImpl::create(this))
712 , m_client(client) 706 , m_client(client)
713 , m_selfKeepAlive(this) 707 , m_selfKeepAlive(this)
714 { 708 {
715 } 709 }
716 710
717 } // namespace blink 711 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.h ('k') | third_party/WebKit/public/web/WebFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698