| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CC_OUTPUT_BEGIN_FRAME_ARGS_H_ | 5 #ifndef CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
| 6 #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_ | 6 #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "cc/base/cc_export.h" | 15 #include "cc/cc_export.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 namespace trace_event { | 18 namespace trace_event { |
| 19 class ConvertableToTraceFormat; | 19 class ConvertableToTraceFormat; |
| 20 class TracedValue; | 20 class TracedValue; |
| 21 } | 21 } |
| 22 } | 22 } |
| 23 | 23 |
| 24 /** | 24 /** |
| 25 * In debug builds we trace the creation origin of BeginFrameArgs objects. We | 25 * In debug builds we trace the creation origin of BeginFrameArgs objects. We |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 uint32_t remaining_frames; | 169 uint32_t remaining_frames; |
| 170 | 170 |
| 171 // |true| if the observer has produced damage (e.g. sent a CompositorFrame or | 171 // |true| if the observer has produced damage (e.g. sent a CompositorFrame or |
| 172 // damaged a surface) as part of responding to the BeginFrame. | 172 // damaged a surface) as part of responding to the BeginFrame. |
| 173 bool has_damage; | 173 bool has_damage; |
| 174 }; | 174 }; |
| 175 | 175 |
| 176 } // namespace cc | 176 } // namespace cc |
| 177 | 177 |
| 178 #endif // CC_OUTPUT_BEGIN_FRAME_ARGS_H_ | 178 #endif // CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
| OLD | NEW |