OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DEBUG_FRAME_TIMING_REQUEST_H_ | 5 #ifndef CC_DEBUG_FRAME_TIMING_REQUEST_H_ |
6 #define CC_DEBUG_FRAME_TIMING_REQUEST_H_ | 6 #define CC_DEBUG_FRAME_TIMING_REQUEST_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
9 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
10 | 12 |
11 namespace cc { | 13 namespace cc { |
12 | 14 |
13 // This class represents a request to record frame timing information about the | 15 // This class represents a request to record frame timing information about the |
14 // given rect (in layer space) and an associated request id. When this request | 16 // given rect (in layer space) and an associated request id. When this request |
15 // is propagated to the active LayerImpl, it will cause events to be saved in | 17 // is propagated to the active LayerImpl, it will cause events to be saved in |
16 // FrameTimingTracker, which in turn can be consumed by the requester. | 18 // FrameTimingTracker, which in turn can be consumed by the requester. |
17 class CC_EXPORT FrameTimingRequest { | 19 class CC_EXPORT FrameTimingRequest { |
(...skipping 12 matching lines...) Expand all Loading... |
30 } | 32 } |
31 | 33 |
32 private: | 34 private: |
33 int64_t id_; | 35 int64_t id_; |
34 gfx::Rect rect_; | 36 gfx::Rect rect_; |
35 }; | 37 }; |
36 | 38 |
37 } // namespace cc | 39 } // namespace cc |
38 | 40 |
39 #endif // CC_DEBUG_FRAME_TIMING_REQUEST_H_ | 41 #endif // CC_DEBUG_FRAME_TIMING_REQUEST_H_ |
OLD | NEW |