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

Side by Side Diff: third_party/WebKit/public/platform/WebFrameTimingEvent.h

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebFrameTimingEvent_h
6 #define WebFrameTimingEvent_h
7
8 namespace blink {
9
10 // A struct to pass PerformanceRenderEvent or PerformanceCompositeEvent info
11 // to Blink.
12 struct WebFrameTimingEvent {
13 WebFrameTimingEvent(unsigned sourceFrame, double startTime, double finishTim e)
14 : sourceFrame(sourceFrame)
15 , startTime(startTime)
16 , finishTime(finishTime)
17 {
18 }
19
20 WebFrameTimingEvent(unsigned sourceFrame, double startTime)
21 : sourceFrame(sourceFrame)
22 , startTime(startTime)
23 {
24 }
25
26 WebFrameTimingEvent() { }
27
28 WebFrameTimingEvent& operator=(const WebFrameTimingEvent& rhs)
29 {
30 sourceFrame = rhs.sourceFrame;
31 startTime = rhs.startTime;
32 finishTime = rhs.finishTime;
33 return *this;
34 }
35 unsigned sourceFrame;
36 double startTime;
37 double finishTime;
38 };
39
40 } // namespace blink
41
42 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698