RESOLVED FIXED 104404
Allow embedder to observe changes to frame names
https://bugs.webkit.org/show_bug.cgi?id=104404
Summary Allow embedder to observe changes to frame names
Fady Samuel
Reported 2012-12-07 14:44:13 PST
[NOT FOR REVIEW] Allow embedder to observe changes to frame names
Attachments
Patch (6.72 KB, patch)
2012-12-07 14:44 PST, Fady Samuel
no flags
Patch (4.94 KB, patch)
2012-12-11 18:59 PST, Fady Samuel
no flags
Fady Samuel
Comment 1 2012-12-07 14:44:35 PST
WebKit Review Bot
Comment 2 2012-12-07 14:47:15 PST
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Alexey Proskuryakov
Comment 3 2012-12-07 16:07:45 PST
Could you please elaborate on what a NOT FOR REVIEW bug with a patch marked for review means? I don't understand how it's helpful to have "NOT FOR REVIEW" in bug title in any circumstances, but having a patch for review makes it even stranger.
James Robinson
Comment 4 2012-12-07 16:43:01 PST
@Fady - if you're using "webkit-patch upload" use the "--no-review" flag to upload
Fady Samuel
Comment 5 2012-12-10 06:31:51 PST
(In reply to comment #4) > @Fady - if you're using "webkit-patch upload" use the "--no-review" flag to upload Yup, I remembered that after I posted the patch :-) Sorry for the confusion. Thanks. This change is still in discussion. If we decide this is useful, I request a review. Thanks.
Fady Samuel
Comment 6 2012-12-10 18:13:06 PST
(In reply to comment #5) > (In reply to comment #4) > > @Fady - if you're using "webkit-patch upload" use the "--no-review" flag to upload > > Yup, I remembered that after I posted the patch :-) Sorry for the confusion. Thanks. This change is still in discussion. If we decide this is useful, I request a review. Thanks. I'd like to go ahead and get a review for this, please.
Darin Fisher (:fishd, Google)
Comment 7 2012-12-11 16:49:37 PST
Comment on attachment 178283 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=178283&action=review > Source/WebCore/page/ChromeClient.h:148 > + virtual void frameNameChanged(Frame*, const String&) { } this feels like something that should be plumbed through the FrameLoaderClient > Source/WebKit/chromium/public/WebViewClient.h:165 > + virtual void frameNameChanged(WebFrame*, const WebString&) { } nit: we usually go with a format more like didChangeFoo or willChangeFoo. it seems like the consistent approach would be didChangeFrameName, but how about putting this on WebFrameClient instead? Then, it can just be didChangeName as a WebFrame already has a name attribute.
Fady Samuel
Comment 8 2012-12-11 18:59:10 PST
Fady Samuel
Comment 9 2012-12-11 19:00:58 PST
Comment on attachment 178283 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=178283&action=review >> Source/WebCore/page/ChromeClient.h:148 >> + virtual void frameNameChanged(Frame*, const String&) { } > > this feels like something that should be plumbed through the FrameLoaderClient Done. >> Source/WebKit/chromium/public/WebViewClient.h:165 >> + virtual void frameNameChanged(WebFrame*, const WebString&) { } > > nit: we usually go with a format more like didChangeFoo or willChangeFoo. > it seems like the consistent approach would be didChangeFrameName, but how > about putting this on WebFrameClient instead? Then, it can just be didChangeName > as a WebFrame already has a name attribute. Done.
WebKit Review Bot
Comment 10 2012-12-14 14:56:30 PST
Comment on attachment 178945 [details] Patch Clearing flags on attachment: 178945 Committed r137776: <http://trac.webkit.org/changeset/137776>
WebKit Review Bot
Comment 11 2012-12-14 14:56:34 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.