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

Issue 10868012: Browser Plugin: New Implementation (Browser Side) (Closed)

Created:
8 years, 4 months ago by lazyboy
Modified:
8 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, fsamuel
Base URL:
http://git.chromium.org/chromium/src.git@master-trial-obrowser
Visibility:
Public.

Description

This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.appspot.com/10560022, it seems I cannot upload patch to that issue (since I'm not owner), I'm creating a new one. Split Embedder and Guest 'roles' for browser plugin, web contents can now play any or both roles, main idea is to have more readable separation between the two. Also stop creating browser_plugin counterpart in browser/host for every web_contents, instead create them only when there's a browser_plugin element. BUG=141232 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157650 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157773 NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157808

Patch Set 1 #

Patch Set 2 : Fixed tests. Also fixed a case where UpdateRect was being sent from bp renderer before NavigateGues… #

Total comments: 36

Patch Set 3 : Address CL comments. #

Total comments: 5

Patch Set 4 : Address two nits from original CL's comments by creis #

Total comments: 4

Patch Set 5 : Rename class as we agreed upon, keep correct type of instances (guest/embedder, not helpers) inside… #

Total comments: 77

Patch Set 6 : Address CL comments. #

Total comments: 12

Patch Set 7 : Rewrite test to *not* use NOTIFICATION_* #

Total comments: 6

Patch Set 8 : Address nits (only). #

Patch Set 9 : Address 3 issues: Cleaning up embedder on RVH swap, empty src handling fix, subframe's guest cleanu… #

Total comments: 1

Patch Set 10 : Sync to ToTT #

Patch Set 11 : Fix incorrect sync+rebase. #

Total comments: 10

Patch Set 12 : Fix mac build + Address nits from awong@ #

Total comments: 91

Patch Set 13 : sync + Address Albert's comments. #

Total comments: 39

Patch Set 14 : 1. Address comment 2. Fix browsertest target 3. Ignore input evt when guest is dead. #

Total comments: 29

Patch Set 15 : Address Albert's comments. #

Patch Set 16 : Clean up BrowserPluginHostTest, remove unused var, use constants for str. #

Total comments: 67

Patch Set 17 : Address comments from Albert. #

Patch Set 18 : Sync + fix test target. #

Total comments: 2

Patch Set 19 : Rework tests to use timeouts instead of waiting indefinitely, not store any Guest* in embedder. #

Total comments: 8

Patch Set 20 : Merge Fady's patch for focus test + Address comments. #

Patch Set 21 : Remove WebContents::CreateGuest from content api to WebContentsImpl #

Patch Set 22 : Add RVH swap tests + @tott #

Patch Set 23 : integrate windows fix by Fady (original cl #10910228) #

Total comments: 42

Patch Set 24 : Fix windows bot test failures + WasResized test, both from fsamuel@ #

Patch Set 25 : Address nits. #

Total comments: 4

Patch Set 26 : Empty src fix + remove unnecessary clean up for guests + comment for allowing sync bphost messages … #

Total comments: 4

Patch Set 27 : *IGNORE_THIS_PATCH*: patch for checking trybot flakiness. #

Patch Set 28 : @tott + Address comments + fix win_rel trybot flakiness #

Total comments: 39

Patch Set 29 : Address John's comments, except timers in test, deferring to Albert. #

Patch Set 30 : Remove TestTimeoutTracker and wait indefinitely in tests instead, fix one include. #

Total comments: 4

Patch Set 31 : Address review comments. #

Patch Set 32 : @tott #

Total comments: 3

Patch Set 33 : Fix build breakage (const int vs const TimeDelta) + remove friend classes #

Patch Set 34 : Revert the friend class change patch for submitting. #

Patch Set 35 : Disable BrowserPluginHostTest.NavigateGuest on win, flaking. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2367 lines, -36 lines) Patch
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +5 lines, -3 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_embedder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 33 1 chunk +144 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_embedder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 33 1 chunk +231 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_embedder_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +72 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_embedder_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +151 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 33 1 chunk +174 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +280 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_guest_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +61 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_guest_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +62 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +490 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/browser_plugin_host_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +40 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/test_browser_plugin_embedder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +49 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/test_browser_plugin_embedder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +42 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/test_browser_plugin_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +90 lines, -0 lines 0 comments Download
A content/browser/browser_plugin/test_browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +171 lines, -0 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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +12 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +7 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 7 chunks +29 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 8 chunks +74 lines, -0 lines 0 comments Download
M content/common/browser_plugin_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +9 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +9 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +9 lines, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +55 lines, -14 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +12 lines, -8 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/renderer_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +2 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_embedder.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +18 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_embedder_crash.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +17 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_focus.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +21 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_focus_child.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +6 lines, -0 lines 0 comments Download
A content/test/data/browser_plugin_title_change.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 99 (0 generated)
lazyboy
Hey, Charlie: This is the updated browser side patch for browser plugin that Fady was ...
8 years, 4 months ago (2012-08-22 00:31:52 UTC) #1
rjkroege
Can you split this up? I mostly read for nits to save Charlie some trouble ...
8 years, 4 months ago (2012-08-22 21:57:38 UTC) #2
lazyboy
Charlie: Do you want me to split up the guest and embedder parts in to ...
8 years, 4 months ago (2012-08-23 00:45:22 UTC) #3
Charlie Reis
On 2012/08/23 00:45:22, lazyboy wrote: > Charlie: Do you want me to split up the ...
8 years, 4 months ago (2012-08-23 00:52:00 UTC) #4
lazyboy
Yes, you should be able to review it tomorrow morning. (Rob let us know if ...
8 years, 4 months ago (2012-08-23 01:41:51 UTC) #5
Charlie Reis
Sorry, I didn't have enough time to get to this in full today. I've started ...
8 years, 4 months ago (2012-08-24 00:28:32 UTC) #6
rjkroege
On 2012/08/24 00:28:32, creis wrote: > Sorry, I didn't have enough time to get to ...
8 years, 4 months ago (2012-08-24 15:17:02 UTC) #7
Charlie Reis
On 2012/08/24 15:17:02, rjkroege wrote: > On 2012/08/24 00:28:32, creis wrote: > > Sorry, I ...
8 years, 4 months ago (2012-08-24 17:22:00 UTC) #8
lazyboy
On 2012/08/24 17:22:00, creis wrote: > On 2012/08/24 15:17:02, rjkroege wrote: > > On 2012/08/24 ...
8 years, 4 months ago (2012-08-24 17:38:45 UTC) #9
Fady Samuel
On 2012/08/24 17:38:45, lazyboy wrote: > On 2012/08/24 17:22:00, creis wrote: > > On 2012/08/24 ...
8 years, 4 months ago (2012-08-24 17:43:58 UTC) #10
Charlie Reis
On 2012/08/24 17:43:58, Fady Samuel wrote: > On 2012/08/24 17:38:45, lazyboy wrote: > > On ...
8 years, 4 months ago (2012-08-24 18:59:24 UTC) #11
lazyboy
On 2012/08/24 18:59:24, creis wrote: > On 2012/08/24 17:43:58, Fady Samuel wrote: > > On ...
8 years, 4 months ago (2012-08-24 19:54:59 UTC) #12
Fady Samuel
On 2012/08/24 19:54:59, lazyboy wrote: > On 2012/08/24 18:59:24, creis wrote: > > On 2012/08/24 ...
8 years, 4 months ago (2012-08-24 20:27:44 UTC) #13
Charlie Reis
On 2012/08/24 20:27:44, Fady Samuel wrote: > On 2012/08/24 19:54:59, lazyboy wrote: > > Okay, ...
8 years, 4 months ago (2012-08-24 21:50:29 UTC) #14
lazyboy
On 2012/08/24 21:50:29, creis wrote: > On 2012/08/24 20:27:44, Fady Samuel wrote: > > On ...
8 years, 4 months ago (2012-08-25 01:32:18 UTC) #15
lazyboy
... forgot to publish these. http://chromiumcodereview.appspot.com/10868012/diff/14036/content/browser/browser_plugin/browser_plugin_host_browsertest.cc File content/browser/browser_plugin/browser_plugin_host_browsertest.cc (right): http://chromiumcodereview.appspot.com/10868012/diff/14036/content/browser/browser_plugin/browser_plugin_host_browsertest.cc#newcode71 content/browser/browser_plugin/browser_plugin_host_browsertest.cc:71: // This test loads ...
8 years, 4 months ago (2012-08-25 01:32:51 UTC) #16
Fady Samuel
http://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): http://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode30 content/browser/browser_plugin/browser_plugin_embedder.cc:30: new BrowserPluginEmbedderHelper(this, web_contents, render_view_host); The helpers are not being ...
8 years, 4 months ago (2012-08-25 05:28:32 UTC) #17
lazyboy
https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc#newcode39 content/browser/browser_plugin/browser_plugin_guest.cc:39: new BrowserPluginGuestHelper(this, render_view_host); On 2012/08/25 05:28:32, Fady Samuel wrote: ...
8 years, 4 months ago (2012-08-25 05:57:08 UTC) #18
Fady Samuel
On 2012/08/25 05:57:08, lazyboy wrote: > https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc > File content/browser/browser_plugin/browser_plugin_guest.cc (right): > > https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc#newcode39 > ...
8 years, 4 months ago (2012-08-25 08:39:39 UTC) #19
Fady Samuel
http://codereview.chromium.org/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_embedder_helper.cc File content/browser/browser_plugin/browser_plugin_embedder_helper.cc (right): http://codereview.chromium.org/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_embedder_helper.cc#newcode27 content/browser/browser_plugin/browser_plugin_embedder_helper.cc:27: WebContentsImpl* web_contents, It seems the only reason BrowserPluginEmbedderHelper needs ...
8 years, 3 months ago (2012-08-27 15:35:00 UTC) #20
lazyboy
https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc#newcode39 content/browser/browser_plugin/browser_plugin_guest.cc:39: new BrowserPluginGuestHelper(this, render_view_host); On 2012/08/25 05:57:09, lazyboy wrote: > ...
8 years, 3 months ago (2012-08-27 15:42:51 UTC) #21
Charlie Reis
On 2012/08/27 15:42:51, lazyboy wrote: > https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc > File content/browser/browser_plugin/browser_plugin_guest.cc (right): > > https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_guest.cc#newcode39 > ...
8 years, 3 months ago (2012-08-27 18:36:08 UTC) #22
Charlie Reis
Thanks, this is much easier to follow with the new names. Comments inline. https://chromiumcodereview.appspot.com/10868012/diff/3027/content/browser/browser_plugin/browser_plugin_embedder.cc File ...
8 years, 3 months ago (2012-08-27 20:23:59 UTC) #23
lazyboy
*I am still working on making unit tests work without NOTIFICATION_* (having linker errors on ...
8 years, 3 months ago (2012-08-28 19:07:14 UTC) #24
Charlie Reis
Ok. Answered a few questions and added a few nits, but mainly waiting on resolutions ...
8 years, 3 months ago (2012-08-29 00:11:04 UTC) #25
Fady Samuel
Hi Istiaque, I believe I've answered your questions. Please email me if you have any ...
8 years, 3 months ago (2012-08-29 08:16:20 UTC) #26
Fady Samuel
One small nit. BTW, very cool factory implementation! http://codereview.chromium.org/10868012/diff/18029/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): http://codereview.chromium.org/10868012/diff/18029/content/browser/web_contents/web_contents_impl.cc#newcode2205 content/browser/web_contents/web_contents_impl.cc:2205: content::BrowserPluginEmbedder::CreateInstance(this, ...
8 years, 3 months ago (2012-08-29 08:29:14 UTC) #27
Fady Samuel
Sorry, one more other nit, it looks like you're using more than one MessageLoopRunner. Is ...
8 years, 3 months ago (2012-08-29 08:53:07 UTC) #28
Charlie Reis
(I still have some unaddressed comments in patch set 6, too, which I'm guessing you ...
8 years, 3 months ago (2012-08-29 18:08:11 UTC) #29
lazyboy
1. So I tried deleting browser_plugin_embedder_ when we create a new RVH in WebContents so ...
8 years, 3 months ago (2012-08-29 21:24:44 UTC) #30
lazyboy
(missed one comment) http://chromiumcodereview.appspot.com/10868012/diff/17001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): http://chromiumcodereview.appspot.com/10868012/diff/17001/content/browser/web_contents/web_contents_impl.cc#newcode3195 content/browser/web_contents/web_contents_impl.cc:3195: content::BrowserPluginEmbedder* WebContentsImpl:: On 2012/08/29 00:11:04, creis ...
8 years, 3 months ago (2012-08-29 21:37:25 UTC) #31
Charlie Reis
Thanks. Things are looking better, and I'm happy with this landing once we've resolved the ...
8 years, 3 months ago (2012-08-30 01:01:51 UTC) #32
lazyboy
This should be good to be reviewed again. Albert can you take a look, thanks! ...
8 years, 3 months ago (2012-08-31 00:38:04 UTC) #33
awong
FYI, I'm actually on vacation today, and then monday is a US holiday so I ...
8 years, 3 months ago (2012-08-31 18:08:08 UTC) #34
lazyboy
Addressing nits... re: which thread this classes should be used on: If I understand your ...
8 years, 3 months ago (2012-08-31 18:49:18 UTC) #35
awong
I've made a pass through the code and I think I understand it well enough ...
8 years, 3 months ago (2012-09-06 00:23:27 UTC) #36
lazyboy
I've run cpplint.py on all the new files. Deferring to fsamuel@ for question/comment about RWHImpl::ResetFlags(). ...
8 years, 3 months ago (2012-09-06 04:33:53 UTC) #37
awong
I think I'm getting closer to feeling comfortable with this, but still need another pass ...
8 years, 3 months ago (2012-09-06 19:55:26 UTC) #38
Fady Samuel
http://codereview.chromium.org/10868012/diff/38062/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): http://codereview.chromium.org/10868012/diff/38062/content/browser/browser_plugin/browser_plugin_guest.cc#newcode90 content/browser/browser_plugin/browser_plugin_guest.cc:90: // factor. On 2012/09/06 19:55:26, awong wrote: > If ...
8 years, 3 months ago (2012-09-06 20:56:10 UTC) #39
Fady Samuel
http://codereview.chromium.org/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): http://codereview.chromium.org/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin.cc#newcode341 content/renderer/browser_plugin/browser_plugin.cc:341: // Don't send anything to embedder until an actual ...
8 years, 3 months ago (2012-09-06 21:08:15 UTC) #40
lazyboy
I've added class level documentations for BrowserPluginGuest and BrowserPluginEmbedder. I'm not sure if we need ...
8 years, 3 months ago (2012-09-07 19:32:20 UTC) #41
lazyboy
(publishing drafts) https://chromiumcodereview.appspot.com/10868012/diff/47001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/47001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode162 content/browser/browser_plugin/browser_plugin_embedder.cc:162: guest_web_contents_container_.begin(); On 2012/09/06 19:55:26, awong wrote: > ...
8 years, 3 months ago (2012-09-07 19:33:19 UTC) #42
Fady Samuel
https://chromiumcodereview.appspot.com/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin_browsertest.cc File content/renderer/browser_plugin/browser_plugin_browsertest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin_browsertest.cc#newcode73 content/renderer/browser_plugin/browser_plugin_browsertest.cc:73: TEST_F(BrowserPluginTest, InitialResize) { On 2012/09/07 19:33:19, lazyboy wrote: > ...
8 years, 3 months ago (2012-09-07 19:37:52 UTC) #43
awong
On 2012/09/07 19:37:52, Fady Samuel wrote: > https://chromiumcodereview.appspot.com/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin_browsertest.cc > File content/renderer/browser_plugin/browser_plugin_browsertest.cc (right): > > https://chromiumcodereview.appspot.com/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin_browsertest.cc#newcode73 ...
8 years, 3 months ago (2012-09-07 20:03:19 UTC) #44
Fady Samuel
> Yes, I think so. The invariant that you guys were stating previous was, if ...
8 years, 3 months ago (2012-09-07 20:10:34 UTC) #45
awong
On Fri, Sep 7, 2012 at 1:10 PM, <fsamuel@chromium.org> wrote: > > Yes, I think ...
8 years, 3 months ago (2012-09-07 20:13:30 UTC) #46
awong
Sending responses to question from last round of comments. Still doing final validation of the ...
8 years, 3 months ago (2012-09-07 20:51:03 UTC) #47
lazyboy
Pending from this round (if I haven't missed others): - Adding a test to check ...
8 years, 3 months ago (2012-09-08 02:12:21 UTC) #48
lazyboy
On 2012/09/07 19:37:52, Fady Samuel wrote: > https://chromiumcodereview.appspot.com/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin_browsertest.cc > File content/renderer/browser_plugin/browser_plugin_browsertest.cc (right): > > https://chromiumcodereview.appspot.com/10868012/diff/38062/content/renderer/browser_plugin/browser_plugin_browsertest.cc#newcode73 ...
8 years, 3 months ago (2012-09-08 02:15:13 UTC) #49
awong
I've done another round and added a number more comments. I think I understand the ...
8 years, 3 months ago (2012-09-09 18:08:09 UTC) #50
Fady Samuel
https://chromiumcodereview.appspot.com/10868012/diff/38062/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/38062/content/browser/browser_plugin/browser_plugin_guest.cc#newcode90 content/browser/browser_plugin/browser_plugin_guest.cc:90: // factor. On 2012/09/08 02:12:22, lazyboy wrote: > Fady ...
8 years, 3 months ago (2012-09-10 16:24:10 UTC) #51
lazyboy
re tests: Fady and I discussed about these tests (#1 is very compelling), I have ...
8 years, 3 months ago (2012-09-10 16:30:17 UTC) #52
lazyboy
https://chromiumcodereview.appspot.com/10868012/diff/41043/content/browser/browser_plugin/browser_plugin_embedder.h File content/browser/browser_plugin/browser_plugin_embedder.h (right): https://chromiumcodereview.appspot.com/10868012/diff/41043/content/browser/browser_plugin/browser_plugin_embedder.h#newcode51 content/browser/browser_plugin/browser_plugin_embedder.h:51: typedef std::map<WebContents*, int64> GuestWebContentsMap; On 2012/09/10 16:30:17, lazyboy wrote: ...
8 years, 3 months ago (2012-09-10 18:02:47 UTC) #53
awong
Looking pretty close now. Main 2 comments are about using pointers to WebContents instead of ...
8 years, 3 months ago (2012-09-10 19:21:03 UTC) #54
lazyboy
Main two concerns are addressed: a. removing indefinitely running tests while waiting + hanging 5s ...
8 years, 3 months ago (2012-09-10 23:40:56 UTC) #55
awong
LGTM w/ nits Ship it! Thanks for enduring through all the review comments and especially ...
8 years, 3 months ago (2012-09-10 23:57:31 UTC) #56
awong
Forgot to respond to comments. Responses inline. On Mon, Sep 10, 2012 at 4:40 PM, ...
8 years, 3 months ago (2012-09-11 00:10:13 UTC) #57
awong
On Mon, Sep 10, 2012 at 5:09 PM, Albert J. Wong (王重傑) <ajwong@chromium.org>wrote: > Forgot ...
8 years, 3 months ago (2012-09-11 00:13:43 UTC) #58
lazyboy
Thanks a lot for the review! Since Charlie is returning tomorrow, he probably can give ...
8 years, 3 months ago (2012-09-11 19:58:38 UTC) #59
jam
(Didn't review this, just looked at content/public) https://chromiumcodereview.appspot.com/10868012/diff/48015/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): https://chromiumcodereview.appspot.com/10868012/diff/48015/content/public/browser/web_contents.h#newcode81 content/public/browser/web_contents.h:81: CONTENT_EXPORT static ...
8 years, 3 months ago (2012-09-11 20:10:03 UTC) #60
lazyboy
https://chromiumcodereview.appspot.com/10868012/diff/48015/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): https://chromiumcodereview.appspot.com/10868012/diff/48015/content/public/browser/web_contents.h#newcode81 content/public/browser/web_contents.h:81: CONTENT_EXPORT static WebContents* CreateGuest( On 2012/09/11 20:10:03, John Abd-El-Malek ...
8 years, 3 months ago (2012-09-11 20:50:53 UTC) #61
lazyboy
Hey Charlie, I need content owner LG for the CL. Unreviewed changes after Albert's LG ...
8 years, 3 months ago (2012-09-12 18:58:13 UTC) #62
Charlie Reis
Glad to see you all made a lot of progress. A few nits, plus some ...
8 years, 3 months ago (2012-09-13 00:51:43 UTC) #63
Fady Samuel
http://codereview.chromium.org/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): http://codereview.chromium.org/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_guest.cc#newcode193 content/browser/browser_plugin/browser_plugin_guest.cc:193: // TODO(fsamuel): What do we need to do here? ...
8 years, 3 months ago (2012-09-13 14:17:18 UTC) #64
lazyboy
https://chromiumcodereview.appspot.com/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode54 content/browser/browser_plugin/browser_plugin_embedder.cc:54: // Destroy guests that are managed by the current ...
8 years, 3 months ago (2012-09-13 15:56:23 UTC) #65
jam
(saw the test cause of the cr-dev thread and noticed this) which part of the ...
8 years, 3 months ago (2012-09-13 16:07:56 UTC) #66
Fady Samuel
https://chromiumcodereview.appspot.com/10868012/diff/34062/content/browser/browser_plugin/browser_plugin_host_browsertest.cc File content/browser/browser_plugin/browser_plugin_host_browsertest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/34062/content/browser/browser_plugin/browser_plugin_host_browsertest.cc#newcode494 content/browser/browser_plugin/browser_plugin_host_browsertest.cc:494: embedder_web_contents->WasHidden(); I forgot to add an ASSERT_TRUE here.
8 years, 3 months ago (2012-09-13 16:35:26 UTC) #67
Fady Samuel
https://chromiumcodereview.appspot.com/10868012/diff/34062/content/browser/browser_plugin/browser_plugin_host_browsertest.cc File content/browser/browser_plugin/browser_plugin_host_browsertest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/34062/content/browser/browser_plugin/browser_plugin_host_browsertest.cc#newcode494 content/browser/browser_plugin/browser_plugin_host_browsertest.cc:494: embedder_web_contents->WasHidden(); On 2012/09/13 16:35:26, Fady Samuel wrote: > I ...
8 years, 3 months ago (2012-09-13 16:47:47 UTC) #68
Charlie Reis
http://codereview.chromium.org/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): http://codereview.chromium.org/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode223 content/browser/browser_plugin/browser_plugin_embedder.cc:223: // won't be cleaned up with the code below; ...
8 years, 3 months ago (2012-09-13 16:55:30 UTC) #69
Fady Samuel
http://codereview.chromium.org/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): http://codereview.chromium.org/10868012/diff/38076/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode223 content/browser/browser_plugin/browser_plugin_embedder.cc:223: // won't be cleaned up with the code below; ...
8 years, 3 months ago (2012-09-13 16:59:56 UTC) #70
lazyboy
Added the empty src handling. Removed cleaning up in embedder's DidCommitProvisionalLoad. Added comment for running ...
8 years, 3 months ago (2012-09-13 18:52:49 UTC) #71
Charlie Reis
LGTM, once you fix any remaining test flakiness (and address the comments below). Please wait ...
8 years, 3 months ago (2012-09-13 22:46:25 UTC) #72
lazyboy
I will be waiting for Darin's approval on the email thread before proceeding. Thanks for ...
8 years, 3 months ago (2012-09-14 19:17:29 UTC) #73
lazyboy
OK Darin said this should be good to land. I still need lgtm for one ...
8 years, 3 months ago (2012-09-15 01:31:23 UTC) #74
awong
John's out on vacation... On Fri, Sep 14, 2012 at 6:31 PM, <lazyboy@chromium.org> wrote: > ...
8 years, 3 months ago (2012-09-15 01:32:45 UTC) #75
jam
mostly nits, except for test_timeout_tracker.h which I think will cause a lot of pain (I'm ...
8 years, 3 months ago (2012-09-17 17:47:52 UTC) #76
jam
(btw I only looked for nits, Albert/Charlie did the real review so I leave it ...
8 years, 3 months ago (2012-09-17 17:48:19 UTC) #77
lazyboy
Albert: John is concerned that TestTimeoutTracker might cause (future) flakiness, can we revert this class ...
8 years, 3 months ago (2012-09-17 20:22:24 UTC) #78
awong
On Mon, Sep 17, 2012 at 1:22 PM, <lazyboy@chromium.org> wrote: > Albert: John is concerned ...
8 years, 3 months ago (2012-09-17 20:39:25 UTC) #79
jam
https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.cc#newcode11 content/browser/browser_plugin/browser_plugin_guest.cc:11: #include "content/browser/browser_plugin/browser_plugin_host_factory.h" On 2012/09/17 20:22:24, lazyboy wrote: > On ...
8 years, 3 months ago (2012-09-17 20:47:57 UTC) #80
lazyboy
Removed TestTimeoutTracker class, PTAL. https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.cc#newcode11 content/browser/browser_plugin/browser_plugin_guest.cc:11: #include "content/browser/browser_plugin/browser_plugin_host_factory.h" On 2012/09/17 20:47:57, ...
8 years, 3 months ago (2012-09-17 21:07:54 UTC) #81
jam
https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.h#newcode108 content/browser/browser_plugin/browser_plugin_guest.h:108: void set_embedder_render_process_host( On 2012/09/17 20:22:24, lazyboy wrote: > On ...
8 years, 3 months ago (2012-09-17 22:13:36 UTC) #82
lazyboy
https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.h#newcode108 content/browser/browser_plugin/browser_plugin_guest.h:108: void set_embedder_render_process_host( On 2012/09/17 22:13:36, John Abd-El-Malek wrote: > ...
8 years, 3 months ago (2012-09-17 22:37:48 UTC) #83
jam
lgtm https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://chromiumcodereview.appspot.com/10868012/diff/50042/content/browser/browser_plugin/browser_plugin_guest.h#newcode108 content/browser/browser_plugin/browser_plugin_guest.h:108: void set_embedder_render_process_host( On 2012/09/17 22:37:48, lazyboy wrote: > ...
8 years, 3 months ago (2012-09-17 23:08:55 UTC) #84
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/10868012/61001
8 years, 3 months ago (2012-09-18 19:13:23 UTC) #85
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/10868012/61001
8 years, 3 months ago (2012-09-19 20:40:00 UTC) #86
Charlie Reis
http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h File content/browser/browser_plugin/browser_plugin_embedder.h (right): http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h#newcode87 content/browser/browser_plugin/browser_plugin_embedder.h:87: friend class BrowserPluginEmbedderHelper; Oh, I missed this. We generally ...
8 years, 3 months ago (2012-09-19 21:51:02 UTC) #87
Fady Samuel
On 2012/09/19 21:51:02, creis wrote: > http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h > File content/browser/browser_plugin/browser_plugin_embedder.h (right): > > http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h#newcode87 > ...
8 years, 3 months ago (2012-09-19 21:53:52 UTC) #88
Charlie Reis
On 2012/09/19 21:53:52, Fady Samuel wrote: http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h#newcode87 > > content/browser/browser_plugin/browser_plugin_embedder.h:87: friend class > > BrowserPluginEmbedderHelper; ...
8 years, 3 months ago (2012-09-19 21:56:52 UTC) #89
lazyboy
http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h File content/browser/browser_plugin/browser_plugin_embedder.h (right): http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h#newcode87 content/browser/browser_plugin/browser_plugin_embedder.h:87: friend class BrowserPluginEmbedderHelper; On 2012/09/19 21:51:02, creis wrote: > ...
8 years, 3 months ago (2012-09-19 22:11:14 UTC) #90
Charlie Reis
On 2012/09/19 22:11:14, lazyboy wrote: > http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h > File content/browser/browser_plugin/browser_plugin_embedder.h (right): > > http://codereview.chromium.org/10868012/diff/61001/content/browser/browser_plugin/browser_plugin_embedder.h#newcode87 > ...
8 years, 3 months ago (2012-09-19 22:13:10 UTC) #91
commit-bot: I haz the power
Change committed as 157650
8 years, 3 months ago (2012-09-19 23:23:58 UTC) #92
lazyboy
Hey Charlie, the CL got reverted, I've fixed the issue (we used static initializer from ...
8 years, 3 months ago (2012-09-20 00:55:16 UTC) #93
lazyboy
Reverting the removal of friend class in this CL for submitting now, sending you the ...
8 years, 3 months ago (2012-09-20 13:38:45 UTC) #94
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/10868012/80001
8 years, 3 months ago (2012-09-20 13:39:38 UTC) #95
commit-bot: I haz the power
Change committed as 157773
8 years, 3 months ago (2012-09-20 15:35:14 UTC) #96
Nicolas Zea
disabled test LGTM
8 years, 3 months ago (2012-09-20 19:10:35 UTC) #97
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/10868012/79003
8 years, 3 months ago (2012-09-20 19:14:36 UTC) #98
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 19:17:44 UTC) #99
Change committed as 157808

Powered by Google App Engine
This is Rietveld 408576698