Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index b24af8068d4a2fcc803ffae5d7c3c4e7a3fd3fe7..ae7c11c56ad5ef7b2d6b0008f44d0e34efe2166b 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -110,7 +110,11 @@ public: |
virtual void didAccessInitialDocument(WebFrame*) { } |
// A child frame was created in this frame. This is called when the frame |
- // is created and initialized. |
+ // is created and initialized. Takes the name of the new frame, the parent |
+ // frame and returns a new WebFrame. The WebFrame is considered in-use |
+ // until frameDetached() is called on it. |
+ virtual WebFrame* createChildFrame(WebFrame* parent, const WebString& frameName) { return 0; } |
+ // FIXME: Remove when all embedders use createChildFrame(). |
virtual void didCreateFrame(WebFrame* parent, WebFrame* child) { } |
// This frame set its opener to null, disowning it. |