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

Issue 1729373003: Implement touch events for site-isolation. (Closed)

Created:
4 years, 10 months ago by wjmaclean
Modified:
4 years, 9 months ago
Reviewers:
kenrb, nasko, piman
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, mlamouri+watch-blink_chromium.org, shuchen+watch_chromium.org, nasko+codewatch_chromium.org, jam, dcheng, nona+watch_chromium.org, darin-cc_chromium.org, blink-reviews, James Su, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement touch events for site-isolation. This CL implements the necessary machinery to plumb touch events into oopif frames, including oopif-based WebView (BrowserTag). BUG=581892 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/fab616ad24c87bcd843a77dcbdf7fb299c635cf2 Cr-Commit-Position: refs/heads/master@{#378781}

Patch Set 1 #

Patch Set 2 : Restrict test to Aura for now. #

Patch Set 3 : Add missing test file. #

Patch Set 4 : Add non-NaN force to touch event. #

Total comments: 14

Patch Set 5 : Fix non-Aura compile. #

Patch Set 6 : Address comments. #

Total comments: 4

Patch Set 7 : Rebase to r378158. #

Patch Set 8 : Address comments. #

Total comments: 10

Patch Set 9 : Address comments. #

Patch Set 10 : Add RenderWidgetHostViewMac::ProcessTouchEvent(). #

Patch Set 11 : Fix compile guard for test. #

Patch Set 12 : Try different synchronization for hit-testing in test. #

Patch Set 13 : Use positioned iframe in test to simplify event targeting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -37 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -2 lines 0 comments Download
M content/browser/frame_host/cross_process_frame_connector.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/frame_host/cross_process_frame_connector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +18 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +34 lines, -6 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -20 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 1 2 3 4 5 6 3 chunks +29 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +54 lines, -0 lines 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 1 chunk +4 lines, -0 lines 0 comments Download
A content/test/data/page_with_touch_handler.html View 1 2 1 chunk +40 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 87 (43 generated)
wjmaclean
kenrb@ - would you like to take a first look at this?
4 years, 10 months ago (2016-02-24 18:11:02 UTC) #5
wjmaclean
On 2016/02/24 18:11:02, wjmaclean wrote: > kenrb@ - would you like to take a first ...
4 years, 10 months ago (2016-02-24 18:14:18 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/1
4 years, 10 months ago (2016-02-24 18:17:55 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/40001
4 years, 10 months ago (2016-02-24 20:21:58 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/120775)
4 years, 10 months ago (2016-02-24 21:02:26 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/60001
4 years, 10 months ago (2016-02-24 22:32:42 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/26681) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years, 10 months ago (2016-02-24 22:43:55 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/80001
4 years, 10 months ago (2016-02-24 23:33:09 UTC) #17
kenrb
Thanks James. Just a couple of thoughts on this. https://codereview.chromium.org/1729373003/diff/60001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/1729373003/diff/60001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode794 content/browser/browser_plugin/browser_plugin_guest.cc:794: ...
4 years, 10 months ago (2016-02-25 00:58:04 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/179109)
4 years, 10 months ago (2016-02-25 01:17:43 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/1729373003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/100001
4 years, 10 months ago (2016-02-25 12:22:52 UTC) #22
wjmaclean
kenrb@ - ptal? If it looks ok, could you add appropriate reviewers from content/ ? ...
4 years, 10 months ago (2016-02-25 12:23:02 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-25 13:43:52 UTC) #25
kenrb
This looks okay to me. piman: Are you able to review this for James?
4 years, 10 months ago (2016-02-25 15:39:52 UTC) #27
piman
https://codereview.chromium.org/1729373003/diff/100001/content/browser/frame_host/render_widget_host_view_child_frame.cc File content/browser/frame_host/render_widget_host_view_child_frame.cc (right): https://codereview.chromium.org/1729373003/diff/100001/content/browser/frame_host/render_widget_host_view_child_frame.cc#newcode46 content/browser/frame_host/render_widget_host_view_child_frame.cc:46: RegisterSurfaceNamespaceId(); Where is the corresponding UnregisteSurfaceNamespaceId()? This passes |this| ...
4 years, 10 months ago (2016-02-25 21:27:22 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/140001
4 years, 9 months ago (2016-02-28 19:44:26 UTC) #30
wjmaclean
Comments addressed, ptal? (Do we need a new reviewer as piman@ is away?) https://codereview.chromium.org/1729373003/diff/100001/content/browser/frame_host/render_widget_host_view_child_frame.cc File ...
4 years, 9 months ago (2016-02-28 19:45:03 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-02-28 21:44:48 UTC) #33
nasko
Looks good and I'm happy to rubberstamp if kenrb@ is happy with the CL. Some ...
4 years, 9 months ago (2016-02-29 22:10:26 UTC) #35
wjmaclean
On 2016/02/29 22:10:26, nasko wrote: > Looks good and I'm happy to rubberstamp if kenrb@ ...
4 years, 9 months ago (2016-02-29 23:20:59 UTC) #36
wjmaclean
Nits addressed. https://codereview.chromium.org/1729373003/diff/140001/content/browser/frame_host/cross_process_frame_connector.cc File content/browser/frame_host/cross_process_frame_connector.cc (right): https://codereview.chromium.org/1729373003/diff/140001/content/browser/frame_host/cross_process_frame_connector.cc#newcode155 content/browser/frame_host/cross_process_frame_connector.cc:155: if (auto main_view = GetRootRenderWidgetHostView()) On 2016/02/29 ...
4 years, 9 months ago (2016-02-29 23:33:56 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/160001
4 years, 9 months ago (2016-02-29 23:35:14 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/138120) ios_rel_device_ninja on ...
4 years, 9 months ago (2016-02-29 23:38:29 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/180001
4 years, 9 months ago (2016-02-29 23:39:49 UTC) #43
nasko
LGTM, assuming kenrb@ also stamps an LGTM. I know he said it looks fine, but ...
4 years, 9 months ago (2016-03-01 00:28:34 UTC) #44
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-01 02:04:31 UTC) #46
wjmaclean
kenrb@ - If you get a moment, could you take another look?
4 years, 9 months ago (2016-03-01 13:41:50 UTC) #47
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/200001
4 years, 9 months ago (2016-03-01 15:12:34 UTC) #49
kenrb
lgtm
4 years, 9 months ago (2016-03-01 15:54:24 UTC) #50
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-01 16:38:32 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/200001
4 years, 9 months ago (2016-03-01 16:41:59 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/220001
4 years, 9 months ago (2016-03-01 16:51:17 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/132991)
4 years, 9 months ago (2016-03-01 17:17:40 UTC) #62
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/240001
4 years, 9 months ago (2016-03-01 18:01:15 UTC) #64
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/123678)
4 years, 9 months ago (2016-03-01 18:37:15 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/240001
4 years, 9 months ago (2016-03-01 21:26:58 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/123857)
4 years, 9 months ago (2016-03-01 21:58:58 UTC) #71
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/260001
4 years, 9 months ago (2016-03-02 01:07:15 UTC) #73
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/124049)
4 years, 9 months ago (2016-03-02 01:42:43 UTC) #75
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/280001
4 years, 9 months ago (2016-03-02 15:50:51 UTC) #77
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/176699)
4 years, 9 months ago (2016-03-02 17:29:29 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729373003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729373003/280001
4 years, 9 months ago (2016-03-02 17:45:41 UTC) #83
commit-bot: I haz the power
Committed patchset #13 (id:280001)
4 years, 9 months ago (2016-03-02 18:41:04 UTC) #85
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 18:42:53 UTC) #87
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/fab616ad24c87bcd843a77dcbdf7fb299c635cf2
Cr-Commit-Position: refs/heads/master@{#378781}

Powered by Google App Engine
This is Rietveld 408576698