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

Issue 1958903005: Fix positioning of Browser Plugins (Closed)

Created:
4 years, 7 months ago by Stephen Chennney
Modified:
4 years, 7 months ago
Reviewers:
Fady Samuel, lazyboy
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix positioning of widgets The BrowserPlugin updateGeometry code was only sending a UpdateGeometry message to its host if the rect was the _same_ as the previous rect. This required two calls to the method in order to get the message sent, and no doubt resulted in the message being sent every time the geometry was the same and never when it was different. R=fsamuel@chromium.org, lazyboy@chromium.org BUG=555201, 596494 Committed: https://crrev.com/b999309cd9ace1b703df73ed50d1c0d9efde90fa Cr-Commit-Position: refs/heads/master@{#394808}

Patch Set 1 #

Patch Set 2 : Fix underlying cause #

Patch Set 3 : Fix positioning problem and update test #

Total comments: 4

Patch Set 4 : Update less #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 45 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958903005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958903005/1
4 years, 7 months ago (2016-05-09 15:29:07 UTC) #2
Stephen Chennney
This fixes the reported issue. I'm looking into why this fixes the problem, as it's ...
4 years, 7 months ago (2016-05-09 15:29:16 UTC) #3
chrishtr
Have you been able to trace back into the extensions code which makes the widget? ...
4 years, 7 months ago (2016-05-09 16:30:03 UTC) #4
chrishtr
Also: does this result in more geometry code running when loading the blogspot example in ...
4 years, 7 months ago (2016-05-09 16:30:43 UTC) #5
Stephen Chennney
On 2016/05/09 16:30:43, chrishtr wrote: > Also: does this result in more geometry code running ...
4 years, 7 months ago (2016-05-09 16:34:35 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/224266)
4 years, 7 months ago (2016-05-09 16:59:21 UTC) #8
Stephen Chennney
On 2016/05/09 16:30:03, chrishtr wrote: > Have you been able to trace back into the ...
4 years, 7 months ago (2016-05-09 18:34:16 UTC) #9
Stephen Chennney
On 2016/05/09 18:34:16, Stephen Chennney wrote: > On 2016/05/09 16:30:03, chrishtr wrote: > > Have ...
4 years, 7 months ago (2016-05-09 20:10:58 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958903005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958903005/20001
4 years, 7 months ago (2016-05-09 20:56:57 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/224532)
4 years, 7 months ago (2016-05-09 21:51:28 UTC) #14
chrishtr
On 2016/05/09 at 20:10:58, schenney wrote: > On 2016/05/09 18:34:16, Stephen Chennney wrote: > > ...
4 years, 7 months ago (2016-05-09 22:21:47 UTC) #15
Stephen Chennney
On 2016/05/09 22:21:47, chrishtr wrote: > On 2016/05/09 at 20:10:58, schenney wrote: > > On ...
4 years, 7 months ago (2016-05-09 23:36:58 UTC) #16
Stephen Chennney
On 2016/05/09 23:36:58, Stephen Chennney wrote: > On 2016/05/09 22:21:47, chrishtr wrote: > > On ...
4 years, 7 months ago (2016-05-10 13:26:42 UTC) #17
Stephen Chennney
On 2016/05/10 13:26:42, Stephen Chennney wrote: > On 2016/05/09 23:36:58, Stephen Chennney wrote: > > ...
4 years, 7 months ago (2016-05-10 15:01:58 UTC) #18
chrishtr
You'll need someone else to review this version of the CL.
4 years, 7 months ago (2016-05-10 17:59:42 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958903005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958903005/60001
4 years, 7 months ago (2016-05-10 18:34:38 UTC) #23
Stephen Chennney
Not my usual area of the code, but a perf improvement in Blink revealed this ...
4 years, 7 months ago (2016-05-10 18:40:23 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-10 20:02:04 UTC) #28
Stephen Chennney
Ran the flaky linux test 50 times locally with no failure, so any flakiness would ...
4 years, 7 months ago (2016-05-10 20:32:09 UTC) #29
lazyboy
Thanks, one comment/question. https://codereview.chromium.org/1958903005/diff/60001/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc File chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc (right): https://codereview.chromium.org/1958903005/diff/60001/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc#newcode395 chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc:395: // div.style.paddingTop = 60px + (input ...
4 years, 7 months ago (2016-05-10 20:51:59 UTC) #30
Stephen Chennney
On 2016/05/10 20:51:59, lazyboy wrote: > Thanks, one comment/question. > > https://codereview.chromium.org/1958903005/diff/60001/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc > File chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc ...
4 years, 7 months ago (2016-05-19 14:41:25 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958903005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958903005/80001
4 years, 7 months ago (2016-05-19 14:41:59 UTC) #33
lazyboy
lgtm
4 years, 7 months ago (2016-05-19 16:03:23 UTC) #34
Stephen Chennney
On 2016/05/19 16:03:23, lazyboy wrote: > lgtm Thanks. I still need to look into that ...
4 years, 7 months ago (2016-05-19 16:07:13 UTC) #35
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/216566)
4 years, 7 months ago (2016-05-19 16:44:08 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958903005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958903005/80001
4 years, 7 months ago (2016-05-19 16:51:14 UTC) #39
lazyboy
On 2016/05/19 16:07:13, Stephen Chennney wrote: > On 2016/05/19 16:03:23, lazyboy wrote: > > lgtm ...
4 years, 7 months ago (2016-05-19 17:30:52 UTC) #40
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 7 months ago (2016-05-19 17:42:58 UTC) #42
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/b999309cd9ace1b703df73ed50d1c0d9efde90fa Cr-Commit-Position: refs/heads/master@{#394808}
4 years, 7 months ago (2016-05-19 17:44:38 UTC) #44
Stephen Chennney
4 years, 7 months ago (2016-05-19 17:45:28 UTC) #45
Message was sent while issue was closed.
On 2016/05/19 17:30:52, lazyboy wrote:
> On 2016/05/19 16:07:13, Stephen Chennney wrote:
> > On 2016/05/19 16:03:23, lazyboy wrote:
> > > lgtm
> > 
> > Thanks. I still need to look into that Win test failure.
> 
> It seems that
> WebViewContextMenuInteractiveTest.ContextMenuParamsAfterCSSTransforms became
> quite flaky :(
> there were two failures in linux_chromium_rel_ng, it passed on third try:
>
https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium...

Locally it's not flaky. There's clearly some race condition here, but I don't
understand things well enough to explain it definitively. I'll try and repro on
Windows, but that won't go fast given I haven't touched Windows for months.

Powered by Google App Engine
This is Rietveld 408576698