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

Issue 2509103002: Enable browser process hit testing on Android (Closed)

Created:
4 years, 1 month ago by kenrb
Modified:
3 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, shuchen+watch_chromium.org, site-isolation-reviews_chromium.org, James Su, yusukes+watch_chromium.org, oshima
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable browser process hit testing on Android Enable RenderWidgetHostViewAndroid to route mouse/touch events directly to out-of-process iframe renderers, instead of sending them to the top-level renderer and relying on renderer-to-renderer forwarding. This patch also enables the relevant tests on Android. BUG=491334 Review-Url: https://codereview.chromium.org/2509103002 Cr-Commit-Position: refs/heads/master@{#455559} Committed: https://chromium.googlesource.com/chromium/src/+/2b5d08b7569cbefecc4bb0eba8f0da15b282672d

Patch Set 1 #

Patch Set 2 : Test PS just to run try bots #

Patch Set 3 : Test rework #

Patch Set 4 : Rebase #

Patch Set 5 : Cleanup #

Total comments: 24

Patch Set 6 : Review comments addressed #

Patch Set 7 : Rebased #

Patch Set 8 : Added missing check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -118 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 2 chunks +22 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 9 chunks +164 lines, -9 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 23 chunks +148 lines, -108 lines 0 comments Download
M ui/android/delegated_frame_host_android.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ui/android/delegated_frame_host_android.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (48 generated)
kenrb
PTAL? - alexmos@ for content/* - tedchoc@ for ui/android/*
3 years, 9 months ago (2017-03-01 16:38:07 UTC) #27
Ted C
+aelias for the content android code since it deals with input ui/android - lgtm
3 years, 9 months ago (2017-03-02 05:14:30 UTC) #29
aelias_OOO_until_Jul13
https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode823 content/browser/renderer_host/render_widget_host_view_android.cc:823: // |point| from DIPs to pixels before hittesting. Input ...
3 years, 9 months ago (2017-03-03 03:27:37 UTC) #30
kenrb
https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode823 content/browser/renderer_host/render_widget_host_view_android.cc:823: // |point| from DIPs to pixels before hittesting. On ...
3 years, 9 months ago (2017-03-03 18:38:44 UTC) #31
aelias_OOO_until_Jul13
OK, lgtm. I guess this cruft will naturally get cleared out when all platforms move ...
3 years, 9 months ago (2017-03-03 22:33:09 UTC) #32
alexmos
Sorry for the delay! This looks good, and I'm glad we're enabling all those tests ...
3 years, 9 months ago (2017-03-06 07:22:04 UTC) #33
kenrb
https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode469 content/browser/renderer_host/render_widget_host_view_android.cc:469: SiteIsolationPolicy::AreCrossProcessFramesPossible()) { On 2017/03/06 07:22:03, alexmos (OOO on 3-7) ...
3 years, 9 months ago (2017-03-07 19:20:20 UTC) #39
alexmos
Thanks, LGTM with one remaining comment below. https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode842 content/browser/renderer_host/render_widget_host_view_android.cc:842: return GetFrameSinkId(); ...
3 years, 9 months ago (2017-03-08 19:50:04 UTC) #47
kenrb
Thanks for reviewing. https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2509103002/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode901 content/browser/renderer_host/render_widget_host_view_android.cc:901: gfx::Point* transformed_point) { On 2017/03/08 19:50:03, ...
3 years, 9 months ago (2017-03-08 21:15:29 UTC) #50
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/2509103002/140001
3 years, 9 months ago (2017-03-08 22:16:26 UTC) #55
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/2b5d08b7569cbefecc4bb0eba8f0da15b282672d
3 years, 9 months ago (2017-03-08 22:33:43 UTC) #58
jbudorick
3 years, 9 months ago (2017-03-10 01:24:32 UTC) #60
Message was sent while issue was closed.
Some of these appear to be broken on the 64-bit debug bot:
https://build.chromium.org/p/chromium.android/builders/Marshmallow%2064%20bit...

Powered by Google App Engine
This is Rietveld 408576698