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

Issue 1498923004: Don't reset touch-action zoom state at scrollers (Closed)

Created:
5 years ago by Rick Byers
Modified:
5 years ago
Reviewers:
dtapuska
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-api_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't reset touch-action zoom state at scrollers This ensures that when a page disables double-tap zoom (eg. via touch-action: manipulation) and hence the click delay, it stays disabled even when tapping inside a scroller or iframe. See https://github.com/w3c/pointerevents/issues/19 for details. Also removes 'toCoreFrame' declaration which has no implementation anywhere. I needed this from my test but discovered the common pattern was to just invoke the toImplBase method directly. BUG=529295 Committed: https://crrev.com/41596bf935a7e28617a668f90f53590e357bc50a Cr-Commit-Position: refs/heads/master@{#363310}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -29 lines) Patch
M third_party/WebKit/Source/core/input/TouchActionUtil.cpp View 3 chunks +27 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/tests/TouchActionTest.cpp View 9 chunks +43 lines, -16 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/touch-action-iframe.html View 1 chunk +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/data/touch-action-overflow.html View 1 chunk +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/data/touch-action-tests.css View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 1 chunk +0 lines, -4 lines 2 comments Download

Messages

Total messages: 13 (6 generated)
Rick Byers
Dave, PTAL
5 years ago (2015-12-04 15:18:18 UTC) #3
dtapuska
https://codereview.chromium.org/1498923004/diff/1/third_party/WebKit/public/web/WebFrame.h File third_party/WebKit/public/web/WebFrame.h (left): https://codereview.chromium.org/1498923004/diff/1/third_party/WebKit/public/web/WebFrame.h#oldcode748 third_party/WebKit/public/web/WebFrame.h:748: Frame* toCoreFrame(const WebFrame*); Its not clear to me why ...
5 years ago (2015-12-04 16:08:06 UTC) #4
Rick Byers
https://codereview.chromium.org/1498923004/diff/1/third_party/WebKit/public/web/WebFrame.h File third_party/WebKit/public/web/WebFrame.h (left): https://codereview.chromium.org/1498923004/diff/1/third_party/WebKit/public/web/WebFrame.h#oldcode748 third_party/WebKit/public/web/WebFrame.h:748: Frame* toCoreFrame(const WebFrame*); On 2015/12/04 16:08:05, dtapuska wrote: > ...
5 years ago (2015-12-04 16:28:11 UTC) #6
dtapuska
On 2015/12/04 16:28:11, Rick Byers wrote: > https://codereview.chromium.org/1498923004/diff/1/third_party/WebKit/public/web/WebFrame.h > File third_party/WebKit/public/web/WebFrame.h (left): > > https://codereview.chromium.org/1498923004/diff/1/third_party/WebKit/public/web/WebFrame.h#oldcode748 ...
5 years ago (2015-12-04 16:36:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498923004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498923004/1
5 years ago (2015-12-04 22:09:42 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-04 22:39:26 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-04 23:07:46 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/41596bf935a7e28617a668f90f53590e357bc50a
Cr-Commit-Position: refs/heads/master@{#363310}

Powered by Google App Engine
This is Rietveld 408576698