| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebBeginFrameArgs_h | 5 #ifndef SKY_ENGINE_PUBLIC_WEB_WEBBEGINFRAMEARGS_H_ |
| 6 #define WebBeginFrameArgs_h | 6 #define SKY_ENGINE_PUBLIC_WEB_WEBBEGINFRAMEARGS_H_ |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 struct WebBeginFrameArgs { | 10 struct WebBeginFrameArgs { |
| 11 WebBeginFrameArgs(double lastFrameTimeMonotonic, double deadline, double int
erval) | 11 WebBeginFrameArgs(double lastFrameTimeMonotonic, double deadline, double int
erval) |
| 12 : lastFrameTimeMonotonic(lastFrameTimeMonotonic) | 12 : lastFrameTimeMonotonic(lastFrameTimeMonotonic) |
| 13 , deadline(deadline) | 13 , deadline(deadline) |
| 14 , interval(interval) | 14 , interval(interval) |
| 15 { } | 15 { } |
| 16 | 16 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 // Time in CLOCK_MONOTONIC by which the renderer should finish producing the
current frame. 0 means a deadline wasn't set. | 33 // Time in CLOCK_MONOTONIC by which the renderer should finish producing the
current frame. 0 means a deadline wasn't set. |
| 34 double deadline; | 34 double deadline; |
| 35 | 35 |
| 36 // Expected delta between two successive frame times. 0 if a regular interva
l isn't available. | 36 // Expected delta between two successive frame times. 0 if a regular interva
l isn't available. |
| 37 double interval; | 37 double interval; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace blink | 40 } // namespace blink |
| 41 | 41 |
| 42 #endif | 42 #endif // SKY_ENGINE_PUBLIC_WEB_WEBBEGINFRAMEARGS_H_ |
| OLD | NEW |