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

Issue 1799253002: Stricter user gestures for touch - measure and warn (Closed)

Created:
4 years, 9 months ago by Rick Byers
Modified:
4 years, 8 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stricter user gestures for touch - measure and warn Add UserGestureIndicator infrastructure for being notified when the state of a UserGestureIndicator is used. Use this infrastructure to get an idea of the potential impact of the "stricter user gestures for touch" intervention, and warn developers about it. See https://docs.google.com/document/d/1oF1T3O7_E4t1PYHV6gyCwHxOi3ystm0eSL5xZu7nvOg/edit# BUG=582140 Committed: https://crrev.com/fb38d26a84cfab930dfb53a2f338534aa0ef3100 Cr-Commit-Position: refs/heads/master@{#385826}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Improve comment #

Patch Set 4 : Tweak names and comments #

Patch Set 5 : Merge with trunk #

Total comments: 6

Patch Set 6 : Tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -45 lines) Patch
M third_party/WebKit/Source/core/dom/Fullscreen.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 3 chunks +12 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormElement.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/forms/ColorInputType.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/forms/FileInputType.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 5 chunks +31 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/NavigationScheduler.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/UserGestureIndicator.h View 1 2 3 4 5 2 chunks +38 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/UserGestureIndicator.cpp View 1 2 3 4 4 chunks +23 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/UserGestureIndicatorTest.cpp View 1 2 3 4 7 chunks +84 lines, -10 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
jochen (gone - plz use gerrit)
generally looks good https://codereview.chromium.org/1799253002/diff/1/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp File third_party/WebKit/Source/web/WebUserGestureIndicator.cpp (right): https://codereview.chromium.org/1799253002/diff/1/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp#newcode40 third_party/WebKit/Source/web/WebUserGestureIndicator.cpp:40: return UserGestureIndicator::processingUserGestureUntracked(); ppapi calls this API ...
4 years, 9 months ago (2016-03-15 20:01:06 UTC) #2
Rick Byers
https://codereview.chromium.org/1799253002/diff/1/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp File third_party/WebKit/Source/web/WebUserGestureIndicator.cpp (right): https://codereview.chromium.org/1799253002/diff/1/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp#newcode40 third_party/WebKit/Source/web/WebUserGestureIndicator.cpp:40: return UserGestureIndicator::processingUserGestureUntracked(); On 2016/03/15 20:01:06, jochen wrote: > ppapi ...
4 years, 9 months ago (2016-03-16 18:24:44 UTC) #3
jochen (gone - plz use gerrit)
On 2016/03/16 at 18:24:44, rbyers wrote: > https://codereview.chromium.org/1799253002/diff/1/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp > File third_party/WebKit/Source/web/WebUserGestureIndicator.cpp (right): > > https://codereview.chromium.org/1799253002/diff/1/third_party/WebKit/Source/web/WebUserGestureIndicator.cpp#newcode40 ...
4 years, 9 months ago (2016-03-17 19:58:47 UTC) #4
Rick Byers
On 2016/03/17 19:58:47, jochen wrote: > On 2016/03/16 at 18:24:44, rbyers wrote: > > > ...
4 years, 8 months ago (2016-04-04 20:31:12 UTC) #7
dtapuska
lgtm % an additional comment for clarity. https://codereview.chromium.org/1799253002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/1799253002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode3848 third_party/WebKit/Source/core/input/EventHandler.cpp:3848: // This ...
4 years, 8 months ago (2016-04-06 16:26:57 UTC) #8
Rick Byers
On 2016/04/06 16:26:57, dtapuska wrote: > lgtm % an additional comment for clarity. > > ...
4 years, 8 months ago (2016-04-06 16:31:28 UTC) #9
Rick Byers
+rkaplow for metrics OWNERS
4 years, 8 months ago (2016-04-06 16:31:58 UTC) #10
rkaplow
lgtm histograms lgtm
4 years, 8 months ago (2016-04-06 19:53:58 UTC) #12
Rick Byers
On 2016/04/04 20:31:12, Rick Byers wrote: > On 2016/03/17 19:58:47, jochen wrote: > > On ...
4 years, 8 months ago (2016-04-07 01:40:47 UTC) #13
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/1799253002/diff/80001/third_party/WebKit/Source/platform/UserGestureIndicator.h File third_party/WebKit/Source/platform/UserGestureIndicator.h (right): https://codereview.chromium.org/1799253002/diff/80001/third_party/WebKit/Source/platform/UserGestureIndicator.h#newcode67 third_party/WebKit/Source/platform/UserGestureIndicator.h:67: UserGestureUtilizedCallback() { } we don't need a ctor ...
4 years, 8 months ago (2016-04-07 03:37:56 UTC) #14
Rick Byers
Thanks Jochen! https://codereview.chromium.org/1799253002/diff/80001/third_party/WebKit/Source/platform/UserGestureIndicator.h File third_party/WebKit/Source/platform/UserGestureIndicator.h (right): https://codereview.chromium.org/1799253002/diff/80001/third_party/WebKit/Source/platform/UserGestureIndicator.h#newcode67 third_party/WebKit/Source/platform/UserGestureIndicator.h:67: UserGestureUtilizedCallback() { } On 2016/04/07 03:37:56, jochen ...
4 years, 8 months ago (2016-04-07 17:51:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1799253002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1799253002/100001
4 years, 8 months ago (2016-04-07 17:52:11 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-07 19:08:38 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 19:15:02 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fb38d26a84cfab930dfb53a2f338534aa0ef3100
Cr-Commit-Position: refs/heads/master@{#385826}

Powered by Google App Engine
This is Rietveld 408576698