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

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

Issue 1511583002: Client Side Speed Index Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // The time the first document layout is performed. 83 // The time the first document layout is performed.
84 unsigned long long firstLayout() const; 84 unsigned long long firstLayout() const;
85 // The time the first paint operation was performed. 85 // The time the first paint operation was performed.
86 unsigned long long firstPaint() const; 86 unsigned long long firstPaint() const;
87 // The time the first paint operation for visible text was performed. 87 // The time the first paint operation for visible text was performed.
88 unsigned long long firstTextPaint() const; 88 unsigned long long firstTextPaint() const;
89 // The time the first paint operation for image was performed. 89 // The time the first paint operation for image was performed.
90 unsigned long long firstImagePaint() const; 90 unsigned long long firstImagePaint() const;
91 91
92 double speedIndex() const;
93
92 ScriptValue toJSONForBinding(ScriptState*) const; 94 ScriptValue toJSONForBinding(ScriptState*) const;
93 95
94 DECLARE_VIRTUAL_TRACE(); 96 DECLARE_VIRTUAL_TRACE();
95 97
96 unsigned long long monotonicTimeToIntegerMilliseconds(double) const; 98 unsigned long long monotonicTimeToIntegerMilliseconds(double) const;
97 double integerMillisecondsToMonotonicTime(unsigned long long) const; 99 double integerMillisecondsToMonotonicTime(unsigned long long) const;
98 100
99 private: 101 private:
100 explicit PerformanceTiming(LocalFrame*); 102 explicit PerformanceTiming(LocalFrame*);
101 103
102 const DocumentTiming* documentTiming() const; 104 const DocumentTiming* documentTiming() const;
103 const PaintTiming* paintTiming() const; 105 const PaintTiming* paintTiming() const;
104 DocumentLoader* documentLoader() const; 106 DocumentLoader* documentLoader() const;
105 DocumentLoadTiming* documentLoadTiming() const; 107 DocumentLoadTiming* documentLoadTiming() const;
106 ResourceLoadTiming* resourceLoadTiming() const; 108 ResourceLoadTiming* resourceLoadTiming() const;
107 }; 109 };
108 110
109 } // namespace blink 111 } // namespace blink
110 112
111 #endif // PerformanceTiming_h 113 #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