| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_ | 5 #ifndef CONTENT_COMMON_BUFFER_PRESENTED_PARAMS_MAC_H_ |
| 6 #define CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_ | 6 #define CONTENT_COMMON_BUFFER_PRESENTED_PARAMS_MAC_H_ |
| 7 | 7 |
| 8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 struct BufferPresentedParams { | 12 struct BufferPresentedParams { |
| 13 BufferPresentedParams(); | 13 BufferPresentedParams(); |
| 14 ~BufferPresentedParams(); | 14 ~BufferPresentedParams(); |
| 15 | 15 |
| 16 int32_t surface_id; | 16 int32_t surface_id; |
| 17 base::TimeTicks vsync_timebase; | 17 base::TimeTicks vsync_timebase; |
| 18 base::TimeDelta vsync_interval; | 18 base::TimeDelta vsync_interval; |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace content | 21 } // namespace content |
| 22 | 22 |
| 23 #endif // CONTENT_COMMON_GPU_BUFFER_PRESENTED_PARAMS_MAC_H_ | 23 #endif // CONTENT_COMMON_BUFFER_PRESENTED_PARAMS_MAC_H_ |
| OLD | NEW |