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 --------------------------------------------------- |