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

Unified Diff: public/web/WebFrame.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 | « Source/web/WebFrame.cpp ('k') | public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 5026eae2bdf298cc67b53264fbb3608ba63d617c..284ab212355d42e91a6f771b74000ce195bc849c 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -118,9 +118,14 @@ public:
BLINK_EXPORT bool swap(WebFrame*);
- // This method closes and deletes the WebFrame.
+ // This method closes and deletes the WebFrame. This is typically called by
+ // the embedder in response to a frame detached callback to the WebFrame
+ // client.
virtual void close() = 0;
+ // Called by the embedder when it needs to detach the subtree rooted at this
+ // frame.
+ void detach();
// Basic properties ---------------------------------------------------
« no previous file with comments | « Source/web/WebFrame.cpp ('k') | public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698