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

Issue 137463002: RenderFrame: flesh out Observer (Closed)

Created:
6 years, 11 months ago by Elly Fong-Jones
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : move didFinishLoad #

Total comments: 1

Patch Set 3 : Rebase #

Patch Set 4 : datasource -> data_source #

Patch Set 5 : Smash changesets together #

Total comments: 3

Patch Set 6 : Remove obsolete WebFrame parameter #

Total comments: 3

Patch Set 7 : Fix nits #

Patch Set 8 : Fix clang build #

Patch Set 9 : Add more observed events #

Patch Set 10 : Rebase #

Patch Set 11 : Bridge OnStop #

Total comments: 14

Patch Set 12 : More fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -30 lines) Patch
M chrome/browser/net/net_error_tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/alternate_error_tab_observer.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +14 lines, -3 lines 0 comments Download
M chrome/renderer/net/net_error_helper.h View 1 2 3 4 5 9 10 2 chunks +9 lines, -10 lines 0 comments Download
M chrome/renderer/net/net_error_helper.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +20 lines, -14 lines 0 comments Download
M content/public/renderer/render_frame_observer.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +13 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Elly Fong-Jones
6 years, 11 months ago (2014-01-13 22:54:01 UTC) #1
nasko
LGTM with a nit. https://codereview.chromium.org/137463002/diff/20001/content/public/renderer/render_frame_observer.h File content/public/renderer/render_frame_observer.h (right): https://codereview.chromium.org/137463002/diff/20001/content/public/renderer/render_frame_observer.h#newcode47 content/public/renderer/render_frame_observer.h:47: blink::WebDataSource* datasource) { } nit: ...
6 years, 11 months ago (2014-01-13 22:55:32 UTC) #2
jam
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
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
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
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
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
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
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
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
Elly Fong-Jones
On 2014/01/16 22:17:08, jam wrote: > can you also apply the comment from the other ...
6 years, 11 months ago (2014-01-21 20:23:11 UTC) #11
jam
thanks, lgtm with comments https://codereview.chromium.org/137463002/diff/250001/chrome/renderer/net/net_error_helper.cc File chrome/renderer/net/net_error_helper.cc (right): https://codereview.chromium.org/137463002/diff/250001/chrome/renderer/net/net_error_helper.cc#newcode143 chrome/renderer/net/net_error_helper.cc:143: frame->loadHTMLString(html, GURL(kUnreachableWebDataURL), failed_url, true); this ...
6 years, 11 months ago (2014-01-22 03:15:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ellyjones@chromium.org/137463002/380001
6 years, 11 months ago (2014-01-22 23:44:17 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/renderer/content_settings_observer.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-22 23:44:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ellyjones@chromium.org/137463002/500001
6 years, 11 months ago (2014-01-23 16:15:40 UTC) #15
commit-bot: I haz the power
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
nasko
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
Elly Fong-Jones
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()) { On 2014/01/28 20:41:39, nasko wrote: > ...
6 years, 10 months ago (2014-01-28 21:34:19 UTC) #18
nasko
LGTM on change to OnStop.
6 years, 10 months ago (2014-01-28 21:34:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ellyjones@chromium.org/137463002/800001
6 years, 10 months ago (2014-01-28 22:18:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ellyjones@chromium.org/137463002/800001
6 years, 10 months ago (2014-01-29 16:17:01 UTC) #22
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 17:45:08 UTC) #23
Message was sent while issue was closed.
Change committed as 247717

Powered by Google App Engine
This is Rietveld 408576698