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

Issue 2783233004: Refine tap disambiguation UMA to track same-node/different-node. (Closed)

Created:
3 years, 8 months ago by aelias_OOO_until_Jul13
Modified:
3 years, 8 months ago
CC:
agrieve+watch_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, kinuko+watch, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nona+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refine tap disambiguation UMA to track same-node/different-node. The Android tap disambiguation feature makes users retap on a zoomed screenshot when the user tapped on tiny close-together links. This feature is currently being considered for removal. If the user's tap would've been anyway, in the first place, accurately resolved to the node they ultimately selected after disambiguation, then the popup UI achieved nothing and we should consider this a failure case. Notes: - Because this must be measured in the renderer and the synthetic taps sent before had nothing to identify them as relating to disambiguation, I introduced a new ViewMsg_ResolveTapDisambiguation. I think this is anyway a better architecture -- this is a highly unusual scenario not much resembling an ordinary touch gesture, and risks interacting weirdly with ordinary event routing. - Although handling this in WebViewImpl is broken with OOPIF, this feature is already broken with OOPIF. That's one of the reasons it's considered for removal. - I'm using hit node top-left offset relative the document as an identifier the DOM node itself. This seems less sketchy than persisting a pointer, and it's good enough for this use case because the page is generally static during a tap disambiguation (if it self-scrolls, for instance, the popup will be dismissed with category OTHER). BUG=705117 Review-Url: https://codereview.chromium.org/2783233004 Cr-Commit-Position: refs/heads/master@{#461290} Committed: https://chromium.googlesource.com/chromium/src/+/1b55156e5277d39580f4063af924ec7347375ebc

Patch Set 1 #

Total comments: 2

Patch Set 2 : Deprecate existing field #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -72 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 chunk +8 lines, -10 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 2 chunks +13 lines, -26 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 1 chunk +10 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 2 chunks +6 lines, -20 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java View 1 4 chunks +9 lines, -13 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 chunks +59 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 22 (13 generated)
aelias_OOO_until_Jul13
PTAL, boliu@ for content/browser/android/ isherman@ for tools/metrics/histograms/
3 years, 8 months ago (2017-03-31 02:08:17 UTC) #4
aelias_OOO_until_Jul13
Also tsepez@ for view_messages.h
3 years, 8 months ago (2017-03-31 02:09:04 UTC) #6
Tom Sepez
messages LGTM
3 years, 8 months ago (2017-03-31 16:04:05 UTC) #9
Ilya Sherman
https://codereview.chromium.org/2783233004/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2783233004/diff/1/tools/metrics/histograms/histograms.xml#newcode112672 tools/metrics/histograms/histograms.xml:112672: + <int value="3" label="Tapped Inside, Same Node as Without ...
3 years, 8 months ago (2017-03-31 17:09:06 UTC) #10
boliu
content/browser lgtm
3 years, 8 months ago (2017-03-31 17:36:40 UTC) #11
aelias_OOO_until_Jul13
https://codereview.chromium.org/2783233004/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2783233004/diff/1/tools/metrics/histograms/histograms.xml#newcode112672 tools/metrics/histograms/histograms.xml:112672: + <int value="3" label="Tapped Inside, Same Node as Without ...
3 years, 8 months ago (2017-03-31 21:21:57 UTC) #13
Ilya Sherman
Metrics LGTM, thanks.
3 years, 8 months ago (2017-03-31 21:37:13 UTC) #15
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/2783233004/20001
3 years, 8 months ago (2017-03-31 21:44:17 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-01 00:47:26 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1b55156e5277d39580f4063af924...

Powered by Google App Engine
This is Rietveld 408576698