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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp

Issue 2874133002: Removed WebFrameClient.cpp from Source/web (Closed)
Patch Set: Added TODO back Created 3 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/WebEmbeddedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
index ade183dac0105abf43aaf619cf00a7e005e56a66..45888812eb4fe699895a285620fa4894c11c380b 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -321,6 +321,13 @@ void WebEmbeddedWorkerImpl::LoadShadowPage() {
SubstituteData(buffer, "text/html", "UTF-8", KURL())));
}
+void WebEmbeddedWorkerImpl::FrameDetached(WebLocalFrame* frame,
+ DetachType type) {
+ DCHECK(type == DetachType::kRemove && frame->Parent());
+ DCHECK(frame->FrameWidget());
+ frame->Close();
+}
+
void WebEmbeddedWorkerImpl::DidFinishDocumentLoad() {
DCHECK(!main_script_loader_);
DCHECK(main_frame_);
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h ('k') | third_party/WebKit/Source/web/WebFrameClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698