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

Unified Diff: public/web/WebFrame.h

Issue 643333002: Prepare for remote->local frame swap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/WebRemoteFrameImpl.cpp ('k') | public/web/WebLocalFrame.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 0250a19423b095f1649b85f50ec182784bb24d27..6ecff547db162b7d6ae3ff57677c5d161e2c6e6d 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -667,6 +667,12 @@ protected:
WebFrame();
virtual ~WebFrame();
+ // Sets the parent WITHOUT fulling adding it to the frame tree.
+ // Used to lie to a local frame that is replacing a remote frame,
+ // so it can properly start a navigation but wait to swap until
+ // commit-time.
+ void setParent(WebFrame*);
+
private:
friend class OpenedFrameTracker;
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698