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

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.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
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.h ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
index b6358692fa2b5d1f3b5337391baf1b337f8ae388..59de3ad48c6a2ee263a0c8fa7d9ebe39fab2c9c9 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -173,6 +173,13 @@ void WebSharedWorkerImpl::LoadShadowPage() {
SubstituteData(buffer, "text/html", "UTF-8", KURL())));
}
+void WebSharedWorkerImpl::FrameDetached(WebLocalFrame* frame, DetachType type) {
+ DCHECK(type == DetachType::kRemove && frame->Parent());
+ DCHECK(frame->FrameWidget());
+
+ frame->Close();
+}
+
void WebSharedWorkerImpl::DidFinishDocumentLoad() {
DCHECK(IsMainThread());
DCHECK(!loading_document_);
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.h ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698