Index: public/web/WebFrame.h |
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h |
index 211def68aed06bc968232765d3d6b6d4962f7ed1..891328fa563bc14f1dd7c4d4549f407999d26d32 100644 |
--- a/public/web/WebFrame.h |
+++ b/public/web/WebFrame.h |
@@ -59,6 +59,7 @@ class WebDataSource; |
class WebDocument; |
class WebElement; |
class WebFormElement; |
+class WebFrameClient; |
class WebHistoryItem; |
class WebInputElement; |
class WebPerformance; |
@@ -92,6 +93,13 @@ public: |
}; |
typedef unsigned RenderAsTextControls; |
+ // Creates a WebView that is NOT yet initialized. You will need to |
+ // call initializeFrame to finish the initialization. It is valid |
+ // to pass null client pointers. |
+ // |
+ // TODO(ajwong): Check comment about initialization. |
+ WEBKIT_EXPORT static WebFrame* create(WebFrameClient*); |
+ |
// Returns the number of live WebFrame objects, used for leak checking. |
WEBKIT_EXPORT static int instanceCount(); |