OLD | NEW |
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 95 // The time of the first 'meaningful' paint, A meaningful paint is a paint |
96 // where the page's primary content is visible. | 96 // where the page's primary content is visible. |
97 unsigned long long firstMeaningfulPaint() const; | 97 unsigned long long firstMeaningfulPaint() const; |
98 | 98 |
99 unsigned long long parseStart() const; | 99 unsigned long long parseStart() const; |
100 unsigned long long parseStop() const; | 100 unsigned long long parseStop() const; |
101 unsigned long long parseBlockedOnScriptLoadDuration() const; | 101 unsigned long long parseBlockedOnScriptLoadDuration() const; |
102 unsigned long long parseBlockedOnScriptLoadFromDocumentWriteDuration() const
; | 102 unsigned long long parseBlockedOnScriptLoadFromDocumentWriteDuration() const
; |
| 103 unsigned long long parseBlockedOnScriptExecutionDuration() const; |
| 104 unsigned long long parseBlockedOnScriptExecutionFromDocumentWriteDuration()
const; |
103 | 105 |
104 ScriptValue toJSONForBinding(ScriptState*) const; | 106 ScriptValue toJSONForBinding(ScriptState*) const; |
105 | 107 |
106 DECLARE_VIRTUAL_TRACE(); | 108 DECLARE_VIRTUAL_TRACE(); |
107 | 109 |
108 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; | 110 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; |
109 double integerMillisecondsToMonotonicTime(unsigned long long) const; | 111 double integerMillisecondsToMonotonicTime(unsigned long long) const; |
110 | 112 |
111 private: | 113 private: |
112 explicit PerformanceTiming(LocalFrame*); | 114 explicit PerformanceTiming(LocalFrame*); |
113 | 115 |
114 const DocumentTiming* documentTiming() const; | 116 const DocumentTiming* documentTiming() const; |
115 const DocumentParserTiming* documentParserTiming() const; | 117 const DocumentParserTiming* documentParserTiming() const; |
116 const PaintTiming* paintTiming() const; | 118 const PaintTiming* paintTiming() const; |
117 DocumentLoader* documentLoader() const; | 119 DocumentLoader* documentLoader() const; |
118 DocumentLoadTiming* documentLoadTiming() const; | 120 DocumentLoadTiming* documentLoadTiming() const; |
119 ResourceLoadTiming* resourceLoadTiming() const; | 121 ResourceLoadTiming* resourceLoadTiming() const; |
120 }; | 122 }; |
121 | 123 |
122 } // namespace blink | 124 } // namespace blink |
123 | 125 |
124 #endif // PerformanceTiming_h | 126 #endif // PerformanceTiming_h |
OLD | NEW |