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

Issue 2626133002: Candidate fix for PointerEvent-OOPIF combination not working. (Closed)

Created:
3 years, 11 months ago by wjmaclean
Modified:
3 years, 11 months ago
Reviewers:
bokan, dtapuska
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, tyoshino+watch_chromium.org, dtapuska+blinkwatch_chromium.org, jam, loading-reviews_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, Navid Zolghadr, blink-reviews, kinuko+watch, Nate Chapin, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Candidate fix for PointerEvent-OOPIF combination not working. Prior to enabling PointerEvents, OOPIFs with TouchEvent handlers worked. But with PointerEvents turned on, they fail. This happens because the InputRouterImpl sending the touch events to the OOPIF never gets notified of the current TouchAction, in turn because ChromeClientImpl sends the TouchAction notification via RenderView and not the RenderWidget serving the OOPIF. Prior to PointerEvents this was not an issue, as the touch events would continue to flow regardlesss. But with PointerEvents, touch events are blocked after a TouchScrollStart is issued. This CL plumbs a LocalFrame* parameter into ChromeClient::setTouchAction so the notification can be sent via the correct channel. BUG=680158 Review-Url: https://codereview.chromium.org/2626133002 Cr-Commit-Position: refs/heads/master@{#443302} Committed: https://chromium.googlesource.com/chromium/src/+/8c15a423974bf654c237bc27a2ac12cca22cccd2

Patch Set 1 #

Patch Set 2 : Fix existing tests. #

Patch Set 3 : Undo whitespace change to render_widget.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -22 lines) Patch
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 chunk +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 chunk +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/TouchActionTest.cpp View 1 6 chunks +16 lines, -14 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (14 generated)
wjmaclean
bokan@ - This changes the plumbing for calls to setTouchAction() so that touch events for ...
3 years, 11 months ago (2017-01-12 15:12:12 UTC) #11
dtapuska
On 2017/01/12 15:12:12, wjmaclean wrote: > bokan@ - This changes the plumbing for calls to ...
3 years, 11 months ago (2017-01-12 16:17:51 UTC) #12
bokan
Logic looks fine. Could we get a test for touch-action in an OOPIF? lgtm to ...
3 years, 11 months ago (2017-01-12 16:41:40 UTC) #13
wjmaclean
On 2017/01/12 16:41:40, bokan wrote: > Logic looks fine. Could we get a test for ...
3 years, 11 months ago (2017-01-12 16:45:14 UTC) #14
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/2626133002/40001
3 years, 11 months ago (2017-01-12 16:45:46 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 18:46:03 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8c15a423974bf654c237bc27a2ac...

Powered by Google App Engine
This is Rietveld 408576698