| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| 11 #include "cc/output/viewport_selection_bound.h" | 11 #include "cc/output/viewport_selection_bound.h" |
| 12 #include "ui/events/latency_info.h" | 12 #include "ui/events/latency_info.h" |
| 13 #include "ui/gfx/size_f.h" | 13 #include "ui/gfx/geometry/size_f.h" |
| 14 #include "ui/gfx/vector2d_f.h" | 14 #include "ui/gfx/geometry/vector2d_f.h" |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 | 17 |
| 18 class CC_EXPORT CompositorFrameMetadata { | 18 class CC_EXPORT CompositorFrameMetadata { |
| 19 public: | 19 public: |
| 20 CompositorFrameMetadata(); | 20 CompositorFrameMetadata(); |
| 21 ~CompositorFrameMetadata(); | 21 ~CompositorFrameMetadata(); |
| 22 | 22 |
| 23 // The device scale factor used to generate this compositor frame. | 23 // The device scale factor used to generate this compositor frame. |
| 24 float device_scale_factor; | 24 float device_scale_factor; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 45 // selection is empty or otherwise unused, the bound types will indicate such. | 45 // selection is empty or otherwise unused, the bound types will indicate such. |
| 46 ViewportSelectionBound selection_start; | 46 ViewportSelectionBound selection_start; |
| 47 ViewportSelectionBound selection_end; | 47 ViewportSelectionBound selection_end; |
| 48 | 48 |
| 49 std::vector<ui::LatencyInfo> latency_info; | 49 std::vector<ui::LatencyInfo> latency_info; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace cc | 52 } // namespace cc |
| 53 | 53 |
| 54 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ | 54 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ |
| OLD | NEW |