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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceTiming.h

Issue 2039363003: FirstMeaningfulPaint UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 unsigned long long firstLayout() const; 85 unsigned long long firstLayout() const;
86 // The time the first paint operation was performed. 86 // The time the first paint operation was performed.
87 unsigned long long firstPaint() const; 87 unsigned long long firstPaint() const;
88 // The time the first paint operation for visible text was performed. 88 // The time the first paint operation for visible text was performed.
89 unsigned long long firstTextPaint() const; 89 unsigned long long firstTextPaint() const;
90 // The time the first paint operation for image was performed. 90 // The time the first paint operation for image was performed.
91 unsigned long long firstImagePaint() const; 91 unsigned long long firstImagePaint() const;
92 // The time of the first 'contentful' paint. A contentful paint is a paint 92 // The time of the first 'contentful' paint. A contentful paint is a paint
93 // that includes content of some kind (for example, text or image content). 93 // that includes content of some kind (for example, text or image content).
94 unsigned long long firstContentfulPaint() const; 94 unsigned long long firstContentfulPaint() const;
95 // The time of the first 'meaningful' paint, A meaningful paint is a paint
96 // where the page's primary content is visible.
97 unsigned long long firstMeaningfulPaint() const;
95 98
96 unsigned long long parseStart() const; 99 unsigned long long parseStart() const;
97 unsigned long long parseStop() const; 100 unsigned long long parseStop() const;
98 unsigned long long parseBlockedOnScriptLoadDuration() const; 101 unsigned long long parseBlockedOnScriptLoadDuration() const;
99 unsigned long long parseBlockedOnScriptLoadFromDocumentWriteDuration() const ; 102 unsigned long long parseBlockedOnScriptLoadFromDocumentWriteDuration() const ;
100 103
101 ScriptValue toJSONForBinding(ScriptState*) const; 104 ScriptValue toJSONForBinding(ScriptState*) const;
102 105
103 DECLARE_VIRTUAL_TRACE(); 106 DECLARE_VIRTUAL_TRACE();
104 107
105 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; 108 unsigned long long monotonicTimeToIntegerMilliseconds(double) const;
106 double integerMillisecondsToMonotonicTime(unsigned long long) const; 109 double integerMillisecondsToMonotonicTime(unsigned long long) const;
107 110
108 private: 111 private:
109 explicit PerformanceTiming(LocalFrame*); 112 explicit PerformanceTiming(LocalFrame*);
110 113
111 const DocumentTiming* documentTiming() const; 114 const DocumentTiming* documentTiming() const;
112 const DocumentParserTiming* documentParserTiming() const; 115 const DocumentParserTiming* documentParserTiming() const;
113 const PaintTiming* paintTiming() const; 116 const PaintTiming* paintTiming() const;
114 DocumentLoader* documentLoader() const; 117 DocumentLoader* documentLoader() const;
115 DocumentLoadTiming* documentLoadTiming() const; 118 DocumentLoadTiming* documentLoadTiming() const;
116 ResourceLoadTiming* resourceLoadTiming() const; 119 ResourceLoadTiming* resourceLoadTiming() const;
117 }; 120 };
118 121
119 } // namespace blink 122 } // namespace blink
120 123
121 #endif // PerformanceTiming_h 124 #endif // PerformanceTiming_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintTiming.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698