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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js

Issue 2612363003: DevTools: Show FMP markers on timeline experiment (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
index 74fbe009aca354268a04cb7b6c9940fcccfa24c6..cd3b8d8d71cb8b3aacd5c5c6e543bda5f8dc7dfd 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
@@ -108,6 +108,7 @@ TimelineModel.TimelineModel = class {
switch (event.name) {
case recordTypes.TimeStamp:
case recordTypes.MarkFirstPaint:
+ case recordTypes.FMPCandidate:
return true;
case recordTypes.MarkDOMContent:
case recordTypes.MarkLoad:
@@ -1197,6 +1198,7 @@ TimelineModel.TimelineModel.RecordType = {
MarkLoad: 'MarkLoad',
MarkDOMContent: 'MarkDOMContent',
MarkFirstPaint: 'MarkFirstPaint',
+ FMPCandidate: 'firstMeaningfulPaintCandidate',
pfeldman 2017/01/06 00:05:59 firstMeaningfulPaint also exists. And we can displ
alph 2017/01/06 01:56:48 Done.
TimeStamp: 'TimeStamp',
ConsoleTime: 'ConsoleTime',

Powered by Google App Engine
This is Rietveld 408576698