j...@chromium.org
unread,Nov 9, 2012, 12:23:10 PM11/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mars...@chromium.org, cr...@chromium.org, da...@chromium.org, chromium...@chromium.org, joi+watc...@chromium.org, dari...@chromium.org
On 2012/11/09 08:00:54, darin wrote:
> On Thu, Nov 8, 2012 at 4:32 PM, <mailto:
j...@chromium.org> wrote:
> >
> >
https://codereview.chromium.**org/11293157/diff/8002/**
> >
content/public/renderer/**content_renderer_client.h<
https://codereview.chromium.org/11293157/diff/8002/content/public/renderer/content_renderer_client.h>
> > File content/public/renderer/**content_renderer_client.h (right):
> >
> >
https://codereview.chromium.**org/11293157/diff/8002/**
> >
content/public/renderer/**content_renderer_client.h#**newcode137<
https://codereview.chromium.org/11293157/diff/8002/content/public/renderer/content_renderer_client.h#newcode137>
> > content/public/renderer/**content_renderer_client.h:137: virtual bool
> > HandleNavigation(WebKit::**WebFrame* frame,
> > On 2012/11/09 00:30:24, darin wrote:
> >
> >> One question: How do Chromium developers know not to delete this
> >>
> > function? "It
> >
> >> looks like no one uses this."
> >>
> >
> > hmm, good question. how do you handle this for WebKit API? or is every
> > function on it solely for chromium?
> >
> The same issue applies. Just imagine someone doing a code search for a
> particular function. If you don't see a caller, wouldn't you be tempted
> to
> delete the code?
So to be clear: you don't have any WebKit API functions that aren't used by
chromium?
> Neither WebKit API nor Content API are intended as "stable" interfaces.
> They provide modularity for Chromium.
Sure, definitely not treating any of these APIs as stable. I'm sure
Marshall has
to do a bit of work every time he syncs.
> Maybe it is enough to just have a .cc file somewhere that enumerates CEF's
> dependencies? Hmm...
Another option can be to comment the function in the header (i.e. // Used
by
CEF)? That should give a clear hint to anyone who tries to remove it.
> -Darin
> >
> >
https://codereview.chromium.**org/11293157/%3Chttps://
codereview.chromium.org/11293157/>
> >
https://codereview.chromium.org/11293157/