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

Unified Diff: public/web/WebFrame.h

Issue 334483002: Add Blink APIs for frame tree mirroring. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix some more crashes, etc. Created 6 years, 6 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
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index a05f137c92a21cd743c39debd98e4c93f8ef66a7..cf25a04cc2dc4605cd720cca2c1a804e0d694ef1 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -201,6 +201,9 @@ public:
// This is executed between layout tests runs
void clearOpener() { setOpener(0); }
+ // Called by the WebView to initialize the main frame for the page.
+ virtual void initializeAsMainFrame(WebView*) = 0;
abarth-chromium 2014/06/13 18:06:46 Why is this API public? If it's called by the Web
dcheng 2014/06/13 23:56:12 I'd like to avoid friending WebViewImpl if possibl
+
// Adds the given frame as a child of this frame.
virtual void appendChild(WebFrame*);

Powered by Google App Engine
This is Rietveld 408576698