| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 unsigned long long responseStart() const; | 72 unsigned long long responseStart() const; |
| 73 unsigned long long responseEnd() const; | 73 unsigned long long responseEnd() const; |
| 74 unsigned long long domLoading() const; | 74 unsigned long long domLoading() const; |
| 75 unsigned long long domInteractive() const; | 75 unsigned long long domInteractive() const; |
| 76 unsigned long long domContentLoadedEventStart() const; | 76 unsigned long long domContentLoadedEventStart() const; |
| 77 unsigned long long domContentLoadedEventEnd() const; | 77 unsigned long long domContentLoadedEventEnd() const; |
| 78 unsigned long long domComplete() const; | 78 unsigned long long domComplete() const; |
| 79 unsigned long long loadEventStart() const; | 79 unsigned long long loadEventStart() const; |
| 80 unsigned long long loadEventEnd() const; | 80 unsigned long long loadEventEnd() const; |
| 81 | 81 |
| 82 // TODO(ksakamoto): This is a Navigation Timing Level 2's attribute and not |
| 83 // exposed to JS currently. https://crbug.com/504237 |
| 84 unsigned long long workerStart() const; |
| 85 |
| 82 // The below are non-spec timings, for Page Load UMA metrics. | 86 // The below are non-spec timings, for Page Load UMA metrics. |
| 83 | 87 |
| 84 // The time the first document layout is performed. | 88 // The time the first document layout is performed. |
| 85 unsigned long long firstLayout() const; | 89 unsigned long long firstLayout() const; |
| 86 // The time the first paint operation was performed. | 90 // The time the first paint operation was performed. |
| 87 unsigned long long firstPaint() const; | 91 unsigned long long firstPaint() const; |
| 88 // The time the first paint operation for visible text was performed. | 92 // The time the first paint operation for visible text was performed. |
| 89 unsigned long long firstTextPaint() const; | 93 unsigned long long firstTextPaint() const; |
| 90 // The time the first paint operation for image was performed. | 94 // The time the first paint operation for image was performed. |
| 91 unsigned long long firstImagePaint() const; | 95 unsigned long long firstImagePaint() const; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 112 const DocumentParserTiming* documentParserTiming() const; | 116 const DocumentParserTiming* documentParserTiming() const; |
| 113 const PaintTiming* paintTiming() const; | 117 const PaintTiming* paintTiming() const; |
| 114 DocumentLoader* documentLoader() const; | 118 DocumentLoader* documentLoader() const; |
| 115 DocumentLoadTiming* documentLoadTiming() const; | 119 DocumentLoadTiming* documentLoadTiming() const; |
| 116 ResourceLoadTiming* resourceLoadTiming() const; | 120 ResourceLoadTiming* resourceLoadTiming() const; |
| 117 }; | 121 }; |
| 118 | 122 |
| 119 } // namespace blink | 123 } // namespace blink |
| 120 | 124 |
| 121 #endif // PerformanceTiming_h | 125 #endif // PerformanceTiming_h |
| OLD | NEW |