Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/PaintTiming.h |
| diff --git a/third_party/WebKit/Source/core/paint/PaintTiming.h b/third_party/WebKit/Source/core/paint/PaintTiming.h |
| index a9105d58ed9f5b87bb012b428be2086c9f5cbd23..23efa95f5e3bede8eb3034fe921e0125194b5bf8 100644 |
| --- a/third_party/WebKit/Source/core/paint/PaintTiming.h |
| +++ b/third_party/WebKit/Source/core/paint/PaintTiming.h |
| @@ -50,7 +50,7 @@ class CORE_EXPORT PaintTiming final |
| void MarkFirstImagePaint(); |
| void SetFirstMeaningfulPaintCandidate(double timestamp); |
| - void SetFirstMeaningfulPaint(double stamp); |
| + void SetFirstMeaningfulPaint(double stamp, bool was_after_user_input); |
|
kinuko
2017/06/14 07:58:41
nit: can we use enum over bool? (Maybe define it
Kunihiko Sakamoto
2017/06/15 03:53:57
Done.
|
| void NotifyPaint(bool is_first_paint, bool text_painted, bool image_painted); |
| // The getters below return monotonically-increasing seconds, or zero if the |
| @@ -110,6 +110,7 @@ class CORE_EXPORT PaintTiming final |
| void SetFirstContentfulPaint(double stamp); |
| void RegisterNotifySwapTime(PaintEvent); |
| + void ReportUserInputHistogram(bool had_input); |
| double first_paint_ = 0.0; |
| double first_paint_swap_ = 0.0; |