OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMPOSITOR_FRAME_METADATA_H_ | 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "cc/cc_export.h" | 12 #include "cc/cc_export.h" |
13 #include "cc/input/selection.h" | 13 #include "cc/input/selection.h" |
14 #include "cc/output/begin_frame_args.h" | 14 #include "cc/output/begin_frame_args.h" |
15 #include "cc/surfaces/surface_id.h" | 15 #include "cc/surfaces/surface_id.h" |
16 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
17 #include "ui/events/latency_info.h" | |
18 #include "ui/gfx/geometry/size_f.h" | 17 #include "ui/gfx/geometry/size_f.h" |
19 #include "ui/gfx/geometry/vector2d_f.h" | 18 #include "ui/gfx/geometry/vector2d_f.h" |
20 #include "ui/gfx/selection_bound.h" | 19 #include "ui/gfx/selection_bound.h" |
| 20 #include "ui/latency/latency_info.h" |
21 | 21 |
22 namespace cc { | 22 namespace cc { |
23 | 23 |
24 class CC_EXPORT CompositorFrameMetadata { | 24 class CC_EXPORT CompositorFrameMetadata { |
25 public: | 25 public: |
26 CompositorFrameMetadata(); | 26 CompositorFrameMetadata(); |
27 CompositorFrameMetadata(CompositorFrameMetadata&& other); | 27 CompositorFrameMetadata(CompositorFrameMetadata&& other); |
28 ~CompositorFrameMetadata(); | 28 ~CompositorFrameMetadata(); |
29 | 29 |
30 CompositorFrameMetadata& operator=(CompositorFrameMetadata&& other); | 30 CompositorFrameMetadata& operator=(CompositorFrameMetadata&& other); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 BeginFrameAck begin_frame_ack; | 93 BeginFrameAck begin_frame_ack; |
94 | 94 |
95 private: | 95 private: |
96 CompositorFrameMetadata(const CompositorFrameMetadata& other); | 96 CompositorFrameMetadata(const CompositorFrameMetadata& other); |
97 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete; | 97 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace cc | 100 } // namespace cc |
101 | 101 |
102 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 102 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
OLD | NEW |