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

Issue 10378089: Browser Plugin: Removed BrowserPluginWebContentsObserver (to be replaced by rewritten BrowserPlugi… (Closed)

Created:
8 years, 7 months ago by Fady Samuel
Modified:
8 years, 7 months ago
Reviewers:
Charlie Reis, brettw, jam, jschuh
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Browser Plugin: Removed BrowserPluginWebContentsObserver (to be replaced by rewritten BrowserPluginHost in subsequent patch). Plumbed embedder_process_id and embedder_routing_id. BUG=127987 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137319

Patch Set 1 #

Patch Set 2 : Default to 0 Ids in IntersitialPageImpl #

Total comments: 20

Patch Set 3 : Updated #

Patch Set 4 : Fixed CreateRenderView calls in WebContentsImpl #

Patch Set 5 : Fixed call to CreateRenderView in WebContentsImpl #

Patch Set 6 : Updated #

Total comments: 1

Patch Set 7 : No need for embedder_routing_id #

Patch Set 8 : Updated according to jam@ #

Patch Set 9 : Updated according to jam@ #

Total comments: 4

Patch Set 10 : Updated #

Patch Set 11 : Fixed another broken test #

Patch Set 12 : One more time... #

Patch Set 13 : Yet another unit test fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -363 lines) Patch
M chrome/browser/visitedlink/visitedlink_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
D content/browser/browser_plugin/browser_plugin_web_contents_observer.h View 1 chunk +0 lines, -94 lines 0 comments Download
D content/browser/browser_plugin/browser_plugin_web_contents_observer.cc View 1 chunk +0 lines, -228 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -3 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/interstitial_page_impl.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/web_contents/test_web_contents.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -8 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -6 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_renderer_host.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 38 (0 generated)
Fady Samuel
Hi Charlie, This is the beginning of the plumbing for cross-process navigation support in the ...
8 years, 7 months ago (2012-05-10 15:23:22 UTC) #1
Charlie Reis
Sorry for the delay. Mostly looks good, but see the question about exposing the pending ...
8 years, 7 months ago (2012-05-11 17:41:03 UTC) #2
Fady Samuel
http://codereview.chromium.org/10378089/diff/2001/content/browser/renderer_host/render_view_host_impl.h File content/browser/renderer_host/render_view_host_impl.h (right): http://codereview.chromium.org/10378089/diff/2001/content/browser/renderer_host/render_view_host_impl.h#newcode239 content/browser/renderer_host/render_view_host_impl.h:239: // RenderView is told to start issuing page IDs ...
8 years, 7 months ago (2012-05-11 22:03:34 UTC) #3
jam
http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h#newcode102 content/public/browser/web_contents.h:102: virtual RenderProcessHost* GetPendingRenderProcessHost() const = 0; 1) only stuff ...
8 years, 7 months ago (2012-05-11 22:06:41 UTC) #4
Fady Samuel
http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h#newcode102 content/public/browser/web_contents.h:102: virtual RenderProcessHost* GetPendingRenderProcessHost() const = 0; On 2012/05/11 22:06:43, ...
8 years, 7 months ago (2012-05-11 22:08:01 UTC) #5
Charlie Reis
Thanks. One question below, and don't forget the bug number on the CL. Apart from ...
8 years, 7 months ago (2012-05-11 22:16:47 UTC) #6
Fady Samuel
On 2012/05/11 22:16:47, creis wrote: > Thanks. One question below, and don't forget the bug ...
8 years, 7 months ago (2012-05-14 02:05:20 UTC) #7
jam
http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h#newcode102 content/public/browser/web_contents.h:102: virtual RenderProcessHost* GetPendingRenderProcessHost() const = 0; On 2012/05/11 22:08:01, ...
8 years, 7 months ago (2012-05-14 04:48:15 UTC) #8
jam
http://codereview.chromium.org/10378089/diff/13001/content/common/view_messages.h File content/common/view_messages.h (right): http://codereview.chromium.org/10378089/diff/13001/content/common/view_messages.h#newcode656 content/common/view_messages.h:656: IPC_STRUCT_MEMBER(int32, embedder_process_id) we have avoided making renderers aware of ...
8 years, 7 months ago (2012-05-14 04:49:21 UTC) #9
Fady Samuel
On 2012/05/14 04:49:21, John Abd-El-Malek wrote: > http://codereview.chromium.org/10378089/diff/13001/content/common/view_messages.h > File content/common/view_messages.h (right): > > http://codereview.chromium.org/10378089/diff/13001/content/common/view_messages.h#newcode656 ...
8 years, 7 months ago (2012-05-14 11:33:19 UTC) #10
Fady Samuel
On 2012/05/14 04:48:15, John Abd-El-Malek wrote: > http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h > File content/public/browser/web_contents.h (right): > > http://codereview.chromium.org/10378089/diff/2001/content/public/browser/web_contents.h#newcode102 ...
8 years, 7 months ago (2012-05-14 11:38:35 UTC) #11
Fady Samuel
Removed need for embedder_routing_id. Currently the only need for the embedder_process_id is to be able ...
8 years, 7 months ago (2012-05-14 14:44:09 UTC) #12
Fady Samuel
Removed need for embedder_routing_id. Currently the only need for the embedder_process_id is to be able ...
8 years, 7 months ago (2012-05-14 14:44:10 UTC) #13
jam
On 2012/05/14 11:33:19, Fady Samuel wrote: > On 2012/05/14 04:49:21, John Abd-El-Malek wrote: > > ...
8 years, 7 months ago (2012-05-14 15:30:06 UTC) #14
jam
On 2012/05/14 11:38:35, Fady Samuel wrote: > On 2012/05/14 04:48:15, John Abd-El-Malek wrote: > > ...
8 years, 7 months ago (2012-05-14 15:33:49 UTC) #15
Fady Samuel
Hi John, I've addressed your comment by removing GetPendingRenderViewHost(). I will do the rest of ...
8 years, 7 months ago (2012-05-14 23:02:08 UTC) #16
jam
lgtm but wait for Justin's lgtm too as well. Justin: see the comment http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc File ...
8 years, 7 months ago (2012-05-15 00:05:06 UTC) #17
jschuh
http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc#newcode260 content/browser/renderer_host/render_view_host_impl.cc:260: StringPrintf("%d.r%d", GetProcess()->GetID(), embedder_process_id); On 2012/05/15 00:05:06, John Abd-El-Malek wrote: ...
8 years, 7 months ago (2012-05-15 00:43:35 UTC) #18
Fady Samuel
http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc#newcode260 content/browser/renderer_host/render_view_host_impl.cc:260: StringPrintf("%d.r%d", GetProcess()->GetID(), embedder_process_id); On 2012/05/15 00:43:35, Justin Schuh wrote: ...
8 years, 7 months ago (2012-05-15 02:09:13 UTC) #19
jschuh
http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc#newcode260 content/browser/renderer_host/render_view_host_impl.cc:260: StringPrintf("%d.r%d", GetProcess()->GetID(), embedder_process_id); On 2012/05/15 02:09:15, Fady Samuel wrote: ...
8 years, 7 months ago (2012-05-15 15:49:43 UTC) #20
Fady Samuel
On 2012/05/15 15:49:43, Justin Schuh wrote: > http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc > File content/browser/renderer_host/render_view_host_impl.cc (right): > > http://codereview.chromium.org/10378089/diff/16011/content/browser/renderer_host/render_view_host_impl.cc#newcode260 ...
8 years, 7 months ago (2012-05-15 16:05:02 UTC) #21
jschuh
On 2012/05/15 16:05:02, Fady Samuel wrote: > On 2012/05/15 15:49:43, Justin Schuh wrote: > > ...
8 years, 7 months ago (2012-05-15 16:11:03 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/10378089/16011
8 years, 7 months ago (2012-05-15 16:12:39 UTC) #23
commit-bot: I haz the power
Try job failure for 10378089-16011 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 7 months ago (2012-05-15 16:29:49 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/10378089/17001
8 years, 7 months ago (2012-05-15 19:05:11 UTC) #25
commit-bot: I haz the power
Try job failure for 10378089-17001 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-15 19:29:59 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/10378089/1019
8 years, 7 months ago (2012-05-15 20:27:51 UTC) #27
commit-bot: I haz the power
Try job failure for 10378089-1019 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 7 months ago (2012-05-15 20:52:00 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/10378089/4044
8 years, 7 months ago (2012-05-15 21:28:46 UTC) #29
commit-bot: I haz the power
Try job failure for 10378089-4044 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-15 21:59:42 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/10378089/4044
8 years, 7 months ago (2012-05-15 22:26:43 UTC) #31
commit-bot: I haz the power
Try job failure for 10378089-4044 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-15 22:51:20 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/10378089/4048
8 years, 7 months ago (2012-05-15 22:51:31 UTC) #33
commit-bot: I haz the power
Presubmit check for 10378089-4048 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-15 22:51:42 UTC) #34
Fady Samuel
+brettw for OWNER of chrome/browser/visitedlink
8 years, 7 months ago (2012-05-15 22:54:53 UTC) #35
brettw
lgtm
8 years, 7 months ago (2012-05-15 22:55:39 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/10378089/4048
8 years, 7 months ago (2012-05-15 22:56:20 UTC) #37
commit-bot: I haz the power
8 years, 7 months ago (2012-05-16 00:36:52 UTC) #38
Change committed as 137319

Powered by Google App Engine
This is Rietveld 408576698