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

Issue 2770923002: Prevent browser-side hit testing when page popup is selected (Closed)

Created:
3 years, 9 months ago by kenrb
Modified:
3 years, 9 months ago
Reviewers:
alexmos
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nasko+codewatch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, James Su, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent browser-side hit testing when page popup is selected When any form of cross-process frames are enabled, the browser process locks mouse input to a RenderWidgetHostView while a mouse button is being held down. This also applies to page popups, which causes a problem on Linux when a user drag-selects a drop-down menu from a <select> element, because the popup does not receive any input until the button is released. This changelist exempts popup RenderWidgetHostViewAuras from browser- side hit testing, ignoring mouse capture. BUG=703191 Review-Url: https://codereview.chromium.org/2770923002 Cr-Commit-Position: refs/heads/master@{#459476} Committed: https://chromium.googlesource.com/chromium/src/+/11f213aad14e128ee471fe900a10a05936384f41

Patch Set 1 #

Patch Set 2 : Changed the test #

Total comments: 6

Patch Set 3 : Added a comment #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -0 lines) Patch
M content/browser/renderer_host/render_widget_host_delegate.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_event_handler.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 3 chunks +47 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
kenrb
alexmos: PTAL?
3 years, 9 months ago (2017-03-23 16:46:20 UTC) #10
alexmos
Thanks for fixing this! LGTM with a test suggestion. https://codereview.chromium.org/2770923002/diff/20001/content/browser/renderer_host/render_widget_host_delegate.h File content/browser/renderer_host/render_widget_host_delegate.h (right): https://codereview.chromium.org/2770923002/diff/20001/content/browser/renderer_host/render_widget_host_delegate.h#newcode225 content/browser/renderer_host/render_widget_host_delegate.h:225: ...
3 years, 9 months ago (2017-03-23 22:25:19 UTC) #11
kenrb
Thanks for the review. https://codereview.chromium.org/2770923002/diff/20001/content/browser/renderer_host/render_widget_host_delegate.h File content/browser/renderer_host/render_widget_host_delegate.h (right): https://codereview.chromium.org/2770923002/diff/20001/content/browser/renderer_host/render_widget_host_delegate.h#newcode225 content/browser/renderer_host/render_widget_host_delegate.h:225: virtual bool IsWidgetForMainFrame(RenderWidgetHostImpl*); On 2017/03/23 ...
3 years, 9 months ago (2017-03-24 14:18:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2770923002/40001
3 years, 9 months ago (2017-03-24 14:19:31 UTC) #16
commit-bot: I haz the power
Failed to apply patch for content/browser/web_contents/web_contents_impl.h: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-24 15:51:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2770923002/60001
3 years, 9 months ago (2017-03-24 18:04:42 UTC) #25
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 18:13:38 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/11f213aad14e128ee471fe900a10...

Powered by Google App Engine
This is Rietveld 408576698