Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: cc/output/compositor_frame_metadata.h

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some more gyp issues Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/latency_info_swap_promise.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/base/cc_export.h" 12 #include "cc/base/cc_export.h"
13 #include "cc/output/viewport_selection_bound.h" 13 #include "cc/output/viewport_selection_bound.h"
14 #include "cc/surfaces/surface_id.h" 14 #include "cc/surfaces/surface_id.h"
15 #include "third_party/skia/include/core/SkColor.h" 15 #include "third_party/skia/include/core/SkColor.h"
16 #include "ui/events/latency_info.h"
17 #include "ui/gfx/geometry/size_f.h" 16 #include "ui/gfx/geometry/size_f.h"
18 #include "ui/gfx/geometry/vector2d_f.h" 17 #include "ui/gfx/geometry/vector2d_f.h"
18 #include "ui/latency_info/latency_info.h"
19 19
20 namespace cc { 20 namespace cc {
21 21
22 class CC_EXPORT CompositorFrameMetadata { 22 class CC_EXPORT CompositorFrameMetadata {
23 public: 23 public:
24 CompositorFrameMetadata(); 24 CompositorFrameMetadata();
25 CompositorFrameMetadata(const CompositorFrameMetadata& other); 25 CompositorFrameMetadata(const CompositorFrameMetadata& other);
26 ~CompositorFrameMetadata(); 26 ~CompositorFrameMetadata();
27 27
28 // The device scale factor used to generate this compositor frame. 28 // The device scale factor used to generate this compositor frame.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // namespace as the current Surface). 62 // namespace as the current Surface).
63 std::vector<uint32_t> satisfies_sequences; 63 std::vector<uint32_t> satisfies_sequences;
64 64
65 // This is the set of Surfaces that are referenced by this frame. 65 // This is the set of Surfaces that are referenced by this frame.
66 std::vector<SurfaceId> referenced_surfaces; 66 std::vector<SurfaceId> referenced_surfaces;
67 }; 67 };
68 68
69 } // namespace cc 69 } // namespace cc
70 70
71 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 71 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/output/latency_info_swap_promise.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698