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

Issue 2614913005: Add UseCounters for navigator.vibrate usage compared to site engagement. (Closed)

Created:
3 years, 11 months ago by dominickn
Modified:
3 years, 11 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, mlamouri+watch-blink_chromium.org, haraken, asvitkine+watch_chromium.org, mvanouwerkerk+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UseCounters for navigator.vibrate usage compared to site engagement. These UseCounters will allow an investigation into how often navigator.vibrate is called for sites with different engagement levels. BUG=655415 Review-Url: https://codereview.chromium.org/2614913005 Cr-Commit-Position: refs/heads/master@{#441865} Committed: https://chromium.googlesource.com/chromium/src/+/b4271bc30bd0c92be3fcf3c4cc92737edc55e7fb

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -1 line) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp View 1 2 chunks +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/VibrationController.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +6 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (15 generated)
dominickn
haraken: PTAL at WebKit/ isherman: PTAL at histograms.xml Thanks!
3 years, 11 months ago (2017-01-06 00:45:45 UTC) #5
haraken
LGTM https://codereview.chromium.org/2614913005/diff/1/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp File third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp (right): https://codereview.chromium.org/2614913005/diff/1/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp#newcode130 third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp:130: if (level == mojom::blink::EngagementLevel::NONE) Shall we use a ...
3 years, 11 months ago (2017-01-06 00:56:27 UTC) #6
dominickn
Thanks! I just realised haraken@ is a reviewer for UseCounter additions to histograms.xml, so -isherman ...
3 years, 11 months ago (2017-01-06 01:38:35 UTC) #9
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/2614913005/20001
3 years, 11 months ago (2017-01-06 03:39:14 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 03:44:12 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b4271bc30bd0c92be3fcf3c4cc92...

Powered by Google App Engine
This is Rietveld 408576698