OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 WebBeginFrameArgs_h |
| 6 #define WebBeginFrameArgs_h |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 struct WebBeginFrameArgs { |
| 11 WebBeginFrameArgs(double lastFrameTimeMonotonic) |
| 12 : lastFrameTimeMonotonic(lastFrameTimeMonotonic) |
| 13 { } |
| 14 |
| 15 // FIXME: Upgrade the time in CLOCK_MONOTONIC values to use a TimeTick like |
| 16 // class rather than a bare double. |
| 17 |
| 18 // FIXME: Extend this class to include the fields from Chrome |
| 19 // BeginFrameArgs structure. |
| 20 |
| 21 // Time in CLOCK_MONOTONIC that is the most recent vsync time. |
| 22 double lastFrameTimeMonotonic; |
| 23 }; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif |
OLD | NEW |