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

Issue 2028953002: Deprecate NavigationToFirstContentfulPaint.UserGesture reload variant (Closed)

Created:
4 years, 6 months ago by Takashi Toyoshima
Modified:
4 years, 5 months ago
CC:
chromium-reviews, 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

Deprecate NavigationToFirstContentfulPaint.UserGesture reload variant I expected user_gesture flag is true when users interact with pull-to-refresh actions or reload button in the navigation UI. But it's always false on mobiles and desktop. On the other hand, I confirmed that ui::PageTransitionCoreType could not be ui::PAGE_TRANSITION_RELOAD if the reload is initiated by JavaScript or <meta http-equiv="refresh">. This means NavigationToFirstContentfulPaint already filters out all cases we concern. So, let me deprecate .UserGesture variant. BUG=607063

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -11 lines) Patch
M chrome/browser/page_load_metrics/observers/reload_page_load_metrics_observer.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/page_load_metrics/observers/reload_page_load_metrics_observer.cc View 2 chunks +1 line, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2028953002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2028953002/1
4 years, 6 months ago (2016-06-01 06:55:56 UTC) #4
Takashi Toyoshima
PTAL
4 years, 6 months ago (2016-06-01 07:17:50 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 08:17:43 UTC) #7
Ilya Sherman
lgtm
4 years, 6 months ago (2016-06-01 17:56:18 UTC) #8
Charlie Harrison
Can you update the description with more context? What exactly is wrong with the user ...
4 years, 6 months ago (2016-06-02 13:19:00 UTC) #9
Bryan McQuade
On 2016/06/02 at 13:19:00, csharrison wrote: > Can you update the description with more context? ...
4 years, 6 months ago (2016-06-02 18:43:20 UTC) #10
Takashi Toyoshima
csharrison: I updated the CL description to explain more clearly. How about this? Bryan: I ...
4 years, 6 months ago (2016-06-07 10:22:45 UTC) #12
Takashi Toyoshima
4 years, 6 months ago (2016-06-09 05:47:04 UTC) #13
It seems csharrison is planning to set the gesture flag for loading triggered
through navigation UIs.
So, now I feel this is worth monitoring for a while so that we can confirm there
are no other unexpected auto reload cases that makes difference between
NavigationToFirstContentfulPaint and
NavigationToFirstContentfulPaint.UserGesture.

What do you think? If you agreed, I'll just close this CL.

Powered by Google App Engine
This is Rietveld 408576698