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

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

Issue 1314843009: Add DocumentTiming metrics for "time to first text paint" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Paint time metrics Created 5 years, 3 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 unsigned long long responseStart() const; 70 unsigned long long responseStart() const;
71 unsigned long long responseEnd() const; 71 unsigned long long responseEnd() const;
72 unsigned long long domLoading() const; 72 unsigned long long domLoading() const;
73 unsigned long long domInteractive() const; 73 unsigned long long domInteractive() const;
74 unsigned long long domContentLoadedEventStart() const; 74 unsigned long long domContentLoadedEventStart() const;
75 unsigned long long domContentLoadedEventEnd() const; 75 unsigned long long domContentLoadedEventEnd() const;
76 unsigned long long domComplete() const; 76 unsigned long long domComplete() const;
77 unsigned long long loadEventStart() const; 77 unsigned long long loadEventStart() const;
78 unsigned long long loadEventEnd() const; 78 unsigned long long loadEventEnd() const;
79 unsigned long long firstLayout() const; 79 unsigned long long firstLayout() const;
80 unsigned long long firstNonBlankText() const;
81 unsigned long long firstCustomFontText() const;
80 82
81 ScriptValue toJSONForBinding(ScriptState*) const; 83 ScriptValue toJSONForBinding(ScriptState*) const;
82 84
83 DECLARE_VIRTUAL_TRACE(); 85 DECLARE_VIRTUAL_TRACE();
84 86
85 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; 87 unsigned long long monotonicTimeToIntegerMilliseconds(double) const;
86 double integerMillisecondsToMonotonicTime(unsigned long long) const; 88 double integerMillisecondsToMonotonicTime(unsigned long long) const;
87 89
88 private: 90 private:
89 explicit PerformanceTiming(LocalFrame*); 91 explicit PerformanceTiming(LocalFrame*);
90 92
91 const DocumentTiming* documentTiming() const; 93 const DocumentTiming* documentTiming() const;
92 DocumentLoader* documentLoader() const; 94 DocumentLoader* documentLoader() const;
93 DocumentLoadTiming* documentLoadTiming() const; 95 DocumentLoadTiming* documentLoadTiming() const;
94 ResourceLoadTiming* resourceLoadTiming() const; 96 ResourceLoadTiming* resourceLoadTiming() const;
95 }; 97 };
96 98
97 } // namespace blink 99 } // namespace blink
98 100
99 #endif // PerformanceTiming_h 101 #endif // PerformanceTiming_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698