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

Unified Diff: public/web/WebRemoteFrameClient.h

Issue 593893002: Expose Frame::detach() to the Blink API layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 3 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 | « public/web/WebFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebRemoteFrameClient.h
diff --git a/public/web/WebRemoteFrameClient.h b/public/web/WebRemoteFrameClient.h
index 06ef91fc9f7dbf98bf00774aa407e825ff83208f..c74be26e57ee5e6cf12d66bfa17aedd80b3c5f41 100644
--- a/public/web/WebRemoteFrameClient.h
+++ b/public/web/WebRemoteFrameClient.h
@@ -14,6 +14,10 @@ class WebRemoteFrame;
class WebRemoteFrameClient {
public:
+ // Notify the embedder that it should remove this frame from the frame tree
+ // and release any resources associated with it.
+ virtual void frameDetached() { }
+
// Notifies the embedder that a postMessage was issued to a remote frame.
virtual void postMessageEvent(
WebLocalFrame* sourceFrame,
« no previous file with comments | « public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698