RenderFrame: flesh out Observer
Add four new events to RenderFrameObserver: DidCreateDataSource,
DidStartProvisionalLoad, DidFailProvisionalLoad, DidFinishLoad; add code to send
the former three as needed.
TEST=unit,trybot
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247717
On 2014/01/13 22:54:01, Elly Jones wrote: 1) why are there 3 reviewers? 2) in general ...
6 years, 11 months ago
(2014-01-13 22:56:15 UTC)
#3
On 2014/01/13 22:54:01, Elly Jones wrote:
1) why are there 3 reviewers?
2) in general for content API changes, we add methods as they are used and not
in-advance. that way we ensure that methods need only the parameters that are
required, and we don't add methods that may not be needed.
Elly Fong-Jones
On 2014/01/13 22:56:15, jam wrote: > On 2014/01/13 22:54:01, Elly Jones wrote: > > 1) ...
6 years, 11 months ago
(2014-01-14 14:44:44 UTC)
#4
On 2014/01/13 22:56:15, jam wrote:
> On 2014/01/13 22:54:01, Elly Jones wrote:
>
> 1) why are there 3 reviewers?
I added nasko because he suggested this change, then jochen as an owner, and
then when I realized he was already asleep I added you and forgot to remove him.
> 2) in general for content API changes, we add methods as they are used and not
> in-advance. that way we ensure that methods need only the parameters that are
> required, and we don't add methods that may not be needed.
Indeed. This change is meant to go with a companion CL (not up yet) that makes
NetErrorHelper a RenderFrameObserver rather than a RenderViewObserver. I can put
that CL up before asking for review here if you prefer.
Elly Fong-Jones
On 2014/01/14 14:44:44, Elly Jones wrote: > On 2014/01/13 22:56:15, jam wrote: > > On ...
6 years, 11 months ago
(2014-01-14 19:57:10 UTC)
#5
On 2014/01/14 14:44:44, Elly Jones wrote:
> On 2014/01/13 22:56:15, jam wrote:
> > On 2014/01/13 22:54:01, Elly Jones wrote:
> >
> > 1) why are there 3 reviewers?
>
> I added nasko because he suggested this change, then jochen as an owner, and
> then when I realized he was already asleep I added you and forgot to remove
him.
>
> > 2) in general for content API changes, we add methods as they are used and
not
> > in-advance. that way we ensure that methods need only the parameters that
are
> > required, and we don't add methods that may not be needed.
>
> Indeed. This change is meant to go with a companion CL (not up yet) that makes
> NetErrorHelper a RenderFrameObserver rather than a RenderViewObserver. I can
put
> that CL up before asking for review here if you prefer.
Companion CL: https://codereview.chromium.org/138583002/
Elly Fong-Jones
On 2014/01/14 19:57:10, Elly Jones wrote: > On 2014/01/14 14:44:44, Elly Jones wrote: > > ...
6 years, 11 months ago
(2014-01-15 16:19:19 UTC)
#6
On 2014/01/14 19:57:10, Elly Jones wrote:
> On 2014/01/14 14:44:44, Elly Jones wrote:
> > On 2014/01/13 22:56:15, jam wrote:
> > > On 2014/01/13 22:54:01, Elly Jones wrote:
> > >
> > > 1) why are there 3 reviewers?
> >
> > I added nasko because he suggested this change, then jochen as an owner, and
> > then when I realized he was already asleep I added you and forgot to remove
> him.
> >
> > > 2) in general for content API changes, we add methods as they are used and
> not
> > > in-advance. that way we ensure that methods need only the parameters that
> are
> > > required, and we don't add methods that may not be needed.
> >
> > Indeed. This change is meant to go with a companion CL (not up yet) that
makes
> > NetErrorHelper a RenderFrameObserver rather than a RenderViewObserver. I can
> put
> > that CL up before asking for review here if you prefer.
>
> Companion CL: https://codereview.chromium.org/138583002/
jam: does this CL look ok now?
Elly Fong-Jones
On 2014/01/15 16:19:19, Elly Jones wrote: > On 2014/01/14 19:57:10, Elly Jones wrote: > > ...
6 years, 11 months ago
(2014-01-16 16:13:41 UTC)
#7
On 2014/01/15 16:19:19, Elly Jones wrote:
> On 2014/01/14 19:57:10, Elly Jones wrote:
> > On 2014/01/14 14:44:44, Elly Jones wrote:
> > > On 2014/01/13 22:56:15, jam wrote:
> > > > On 2014/01/13 22:54:01, Elly Jones wrote:
> > > >
> > > > 1) why are there 3 reviewers?
> > >
> > > I added nasko because he suggested this change, then jochen as an owner,
and
> > > then when I realized he was already asleep I added you and forgot to
remove
> > him.
> > >
> > > > 2) in general for content API changes, we add methods as they are used
and
> > not
> > > > in-advance. that way we ensure that methods need only the parameters
that
> > are
> > > > required, and we don't add methods that may not be needed.
> > >
> > > Indeed. This change is meant to go with a companion CL (not up yet) that
> makes
> > > NetErrorHelper a RenderFrameObserver rather than a RenderViewObserver. I
can
> > put
> > > that CL up before asking for review here if you prefer.
> >
> > Companion CL: https://codereview.chromium.org/138583002/
>
> jam: does this CL look ok now?
ping?
jam
sorry I just saw this. for some reason your replies by email didn't show up ...
6 years, 11 months ago
(2014-01-16 16:18:28 UTC)
#8
sorry I just saw this. for some reason your replies by email didn't show up
on rietveld.
i'm not sure why there is a different companion cl. Can you combine them
into one cl? as i mentioned in the other one, that way when we add a new
method to RFObserver it's clear where it's used.
On Thu, Jan 16, 2014 at 8:13 AM, <ellyjones@chromium.org> wrote:
> On 2014/01/15 16:19:19, Elly Jones wrote:
>
>> On 2014/01/14 19:57:10, Elly Jones wrote:
>> > On 2014/01/14 14:44:44, Elly Jones wrote:
>> > > On 2014/01/13 22:56:15, jam wrote:
>> > > > On 2014/01/13 22:54:01, Elly Jones wrote:
>> > > >
>> > > > 1) why are there 3 reviewers?
>> > >
>> > > I added nasko because he suggested this change, then jochen as an
>> owner,
>>
> and
>
>> > > then when I realized he was already asleep I added you and forgot to
>>
> remove
>
>> > him.
>> > >
>> > > > 2) in general for content API changes, we add methods as they are
>> used
>>
> and
>
>> > not
>> > > > in-advance. that way we ensure that methods need only the parameters
>>
> that
>
>> > are
>> > > > required, and we don't add methods that may not be needed.
>> > >
>> > > Indeed. This change is meant to go with a companion CL (not up yet)
>> that
>> makes
>> > > NetErrorHelper a RenderFrameObserver rather than a
>> RenderViewObserver. I
>>
> can
>
>> > put
>> > > that CL up before asking for review here if you prefer.
>> >
>> > Companion CL: https://codereview.chromium.org/138583002/
>>
>
> jam: does this CL look ok now?
>>
>
> ping?
>
> https://codereview.chromium.org/137463002/
>
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.
Elly Fong-Jones
I have smashed this CL together with its companion CL. PTAL? On 2014/01/16 16:18:28, jam ...
6 years, 11 months ago
(2014-01-16 20:45:22 UTC)
#9
I have smashed this CL together with its companion CL. PTAL?
On 2014/01/16 16:18:28, jam wrote:
> sorry I just saw this. for some reason your replies by email didn't show up
> on rietveld.
>
> i'm not sure why there is a different companion cl. Can you combine them
> into one cl? as i mentioned in the other one, that way when we add a new
> method to RFObserver it's clear where it's used.
>
>
> On Thu, Jan 16, 2014 at 8:13 AM, <mailto:ellyjones@chromium.org> wrote:
>
> > On 2014/01/15 16:19:19, Elly Jones wrote:
> >
> >> On 2014/01/14 19:57:10, Elly Jones wrote:
> >> > On 2014/01/14 14:44:44, Elly Jones wrote:
> >> > > On 2014/01/13 22:56:15, jam wrote:
> >> > > > On 2014/01/13 22:54:01, Elly Jones wrote:
> >> > > >
> >> > > > 1) why are there 3 reviewers?
> >> > >
> >> > > I added nasko because he suggested this change, then jochen as an
> >> owner,
> >>
> > and
> >
> >> > > then when I realized he was already asleep I added you and forgot to
> >>
> > remove
> >
> >> > him.
> >> > >
> >> > > > 2) in general for content API changes, we add methods as they are
> >> used
> >>
> > and
> >
> >> > not
> >> > > > in-advance. that way we ensure that methods need only the parameters
> >>
> > that
> >
> >> > are
> >> > > > required, and we don't add methods that may not be needed.
> >> > >
> >> > > Indeed. This change is meant to go with a companion CL (not up yet)
> >> that
> >> makes
> >> > > NetErrorHelper a RenderFrameObserver rather than a
> >> RenderViewObserver. I
> >>
> > can
> >
> >> > put
> >> > > that CL up before asking for review here if you prefer.
> >> >
> >> > Companion CL: https://codereview.chromium.org/138583002/
> >>
> >
> > jam: does this CL look ok now?
> >>
> >
> > ping?
> >
> > https://codereview.chromium.org/137463002/
> >
>
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.
jam
can you also apply the comment from the other cl? thanks https://codereview.chromium.org/137463002/diff/190001/content/public/renderer/render_frame_observer.h File content/public/renderer/render_frame_observer.h (right): ...
6 years, 11 months ago
(2014-01-16 22:17:08 UTC)
#10
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=217710
6 years, 11 months ago
(2014-01-23 18:16:13 UTC)
#16
A round of comments. https://codereview.chromium.org/137463002/diff/780001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/137463002/diff/780001/chrome/renderer/chrome_content_renderer_client.cc#newcode380 chrome/renderer/chrome_content_renderer_client.cc:380: if (!render_frame->GetWebFrame()->parent()) { We just ...
6 years, 10 months ago
(2014-01-28 20:41:37 UTC)
#17
Issue 137463002: RenderFrame: flesh out Observer
(Closed)
Created 6 years, 11 months ago by Elly Fong-Jones
Modified 6 years, 10 months ago
Reviewers: nasko, jochen (gone - plz use gerrit), jam
Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Comments: 21