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

Unified Diff: public/web/WebFrameClient.h

Issue 23506013: Make the embedder responsible for creating the WebFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix style Created 7 years, 3 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 | « public/web/WebFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 5e21a0423a37b028824bc5d4a2efeed023590e3b..b4fd90d6ba62729e48cbf92fb40ba5d4bf326fcc 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -107,8 +107,8 @@ public:
virtual void didAccessInitialDocument(WebFrame*) { }
// A child frame was created in this frame. This is called when the frame
- // is created and initialized.
- virtual void didCreateFrame(WebFrame* parent, WebFrame* child) { }
+ // is created and initialized. Takes the name of the new frame.
+ virtual WebFrame* didCreateFrame(WebString) { return 0; }
darin (slow to review) 2013/09/05 06:07:53 note: it may seem as though blink / webkit coding
// This frame set its opener to null, disowning it.
// See http://html.spec.whatwg.org/#dom-opener.
« no previous file with comments | « public/web/WebFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698