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

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

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update LayoutTests for new properties Created 5 years, 7 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
« no previous file with comments | « Source/web/tests/data/frame_timing_inner.html ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 | « Source/web/tests/data/frame_timing_inner.html ('k') | public/platform/WebLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698