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

Issue 2217773004: Added navigator.pointerEnabled behind a flag for experiment. (Closed)

Created:
4 years, 4 months ago by mustaq
Modified:
4 years, 4 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added navigator.pointerEnabled behind a flag for experiment. Added navigator.pointerEnabled returning undefined behind the PointerEvent flag. Also added a counter for its usage. This is a temporary change to collect usage data of (non-standard) navigator.pointerEnabled. Edge still supports the API (desktop only), and some Pointer Event sites rely on it. BUG=631897 TBR=isherman@chromium.org Committed: https://crrev.com/b226b2fff6a3aeeca697ba93d23e579ff873043a Cr-Commit-Position: refs/heads/master@{#413751}

Patch Set 1 #

Patch Set 2 : Added a TODO. #

Patch Set 3 : Rebased. #

Patch Set 4 : Rebased #

Patch Set 5 : Rebased, removed custom binding, fixed a test. #

Total comments: 2

Patch Set 6 : Used default counter name. #

Patch Set 7 : Brought back returning undefined, rebased. #

Patch Set 8 : |false| again. #

Total comments: 1

Patch Set 9 : Added a warning. #

Patch Set 10 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/NavigatorEvents.h View 1 2 3 4 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/NavigatorEvents.cpp View 1 2 3 4 7 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/NavigatorEvents.idl View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 60 (23 generated)
mustaq
ptal
4 years, 4 months ago (2016-08-05 14:32:08 UTC) #2
mustaq
dpranke@chromium.org: Please review changes in Source/{core/bindings}
4 years, 4 months ago (2016-08-05 14:44:05 UTC) #4
Dirk Pranke
On 2016/08/05 14:44:05, mustaq wrote: > mailto:dpranke@chromium.org: Please review changes in Source/{core/bindings} I wouldn't be ...
4 years, 4 months ago (2016-08-08 20:39:06 UTC) #5
haraken
Do you need the custom bindings? Alternately, can you add an empty implementation to NavigatorEvents.cpp?
4 years, 4 months ago (2016-08-08 23:58:50 UTC) #6
mustaq
On 2016/08/08 23:58:50, haraken wrote: > Do you need the custom bindings? Alternately, can you ...
4 years, 4 months ago (2016-08-09 14:11:31 UTC) #7
mustaq
On 2016/08/09 14:11:31, mustaq wrote: > On 2016/08/08 23:58:50, haraken wrote: > > Do you ...
4 years, 4 months ago (2016-08-10 16:00:41 UTC) #14
haraken
On 2016/08/10 16:00:41, mustaq wrote: > On 2016/08/09 14:11:31, mustaq wrote: > > On 2016/08/08 ...
4 years, 4 months ago (2016-08-11 02:02:45 UTC) #17
mustaq
On 2016/08/11 02:02:45, haraken wrote: > On 2016/08/10 16:00:41, mustaq wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-11 15:27:39 UTC) #18
haraken
On 2016/08/11 15:27:39, mustaq wrote: > On 2016/08/11 02:02:45, haraken wrote: > > On 2016/08/10 ...
4 years, 4 months ago (2016-08-11 15:38:42 UTC) #19
mustaq
On 2016/08/11 15:38:42, haraken wrote: > On 2016/08/11 15:27:39, mustaq wrote: > > On 2016/08/11 ...
4 years, 4 months ago (2016-08-11 15:54:04 UTC) #22
dtapuska
On 2016/08/11 15:54:04, mustaq wrote: > On 2016/08/11 15:38:42, haraken wrote: > > On 2016/08/11 ...
4 years, 4 months ago (2016-08-11 18:45:43 UTC) #23
mustaq
ptal, switched to returning |false|.
4 years, 4 months ago (2016-08-11 19:07:01 UTC) #25
foolip
Not sure about this, there's a good chance you'll see high usage simply by scripts ...
4 years, 4 months ago (2016-08-11 21:14:32 UTC) #26
dtapuska
On 2016/08/11 21:14:32, foolip wrote: > Not sure about this, there's a good chance you'll ...
4 years, 4 months ago (2016-08-11 22:44:18 UTC) #27
Yuki
On 2016/08/11 22:44:18, dtapuska wrote: > I thought there was a way to hide it ...
4 years, 4 months ago (2016-08-12 06:57:42 UTC) #28
foolip
On 2016/08/12 06:57:42, Yuki wrote: > On 2016/08/11 22:44:18, dtapuska wrote: > > I thought ...
4 years, 4 months ago (2016-08-12 11:12:04 UTC) #29
mustaq
On 2016/08/12 11:12:04, foolip wrote: > On 2016/08/12 06:57:42, Yuki wrote: > > On 2016/08/11 ...
4 years, 4 months ago (2016-08-12 15:09:40 UTC) #30
mustaq
ptal. The attribute is now not visible through for...in loops. https://codereview.chromium.org/2217773004/diff/80001/third_party/WebKit/Source/core/events/NavigatorEvents.idl File third_party/WebKit/Source/core/events/NavigatorEvents.idl (right): https://codereview.chromium.org/2217773004/diff/80001/third_party/WebKit/Source/core/events/NavigatorEvents.idl#newcode39 ...
4 years, 4 months ago (2016-08-12 17:28:48 UTC) #31
Yuki
LGTM on my side.
4 years, 4 months ago (2016-08-15 03:02:27 UTC) #33
haraken
In terms of bindings implementation, looks good. However, I'm not sure if this is an ...
4 years, 4 months ago (2016-08-15 04:34:40 UTC) #34
foolip
On 2016/08/12 15:09:40, mustaq wrote: > On 2016/08/12 11:12:04, foolip wrote: > > On 2016/08/12 ...
4 years, 4 months ago (2016-08-15 14:49:31 UTC) #35
dtapuska
On 2016/08/15 14:49:31, foolip wrote: > On 2016/08/12 15:09:40, mustaq wrote: > > On 2016/08/12 ...
4 years, 4 months ago (2016-08-15 14:54:01 UTC) #36
mustaq
On 2016/08/15 14:54:01, dtapuska wrote: > On 2016/08/15 14:49:31, foolip wrote: > > On 2016/08/12 ...
4 years, 4 months ago (2016-08-15 17:11:13 UTC) #37
Rick Byers
On 2016/08/15 17:11:13, mustaq wrote: > On 2016/08/15 14:54:01, dtapuska wrote: > > On 2016/08/15 ...
4 years, 4 months ago (2016-08-22 13:53:06 UTC) #38
Rick Byers
On 2016/08/22 13:53:06, Rick Byers wrote: > On 2016/08/15 17:11:13, mustaq wrote: > > On ...
4 years, 4 months ago (2016-08-22 13:54:01 UTC) #39
mustaq
On 2016/08/22 13:54:01, Rick Byers wrote: > On 2016/08/22 13:53:06, Rick Byers wrote: > > ...
4 years, 4 months ago (2016-08-22 17:00:34 UTC) #41
Rick Byers
On 2016/08/22 17:00:34, mustaq wrote: > On 2016/08/22 13:54:01, Rick Byers wrote: > > On ...
4 years, 4 months ago (2016-08-22 17:44:32 UTC) #42
mustaq
On 2016/08/22 17:44:32, Rick Byers wrote: > On 2016/08/22 17:00:34, mustaq wrote: > > On ...
4 years, 4 months ago (2016-08-22 17:58:12 UTC) #43
Rick Byers
LGTM with nit - 'false' with a warning seems like a great pragmatic tradeoff to ...
4 years, 4 months ago (2016-08-22 18:25:52 UTC) #44
mustaq
On 2016/08/22 18:25:52, Rick Byers wrote: > LGTM with nit - 'false' with a warning ...
4 years, 4 months ago (2016-08-22 19:12:37 UTC) #46
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/2217773004/160001
4 years, 4 months ago (2016-08-22 19:13:40 UTC) #49
Rick Byers
Still LGTM, thanks!
4 years, 4 months ago (2016-08-22 19:59:58 UTC) #50
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/frame/UseCounter.h: While running git apply --index -3 -p1; error: patch ...
4 years, 4 months ago (2016-08-22 22:48:10 UTC) #52
haraken
LGTM
4 years, 4 months ago (2016-08-22 23:38:45 UTC) #53
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/2217773004/180001
4 years, 4 months ago (2016-08-23 14:24:29 UTC) #56
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 4 months ago (2016-08-23 16:11:26 UTC) #58
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 16:13:42 UTC) #60
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/b226b2fff6a3aeeca697ba93d23e579ff873043a
Cr-Commit-Position: refs/heads/master@{#413751}

Powered by Google App Engine
This is Rietveld 408576698