Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CC_DEBUG_FRAME_TIMING_REQUEST_H_ | |
| 6 #define CC_DEBUG_FRAME_TIMING_REQUEST_H_ | |
| 7 | |
| 8 #include "ui/gfx/geometry/rect.h" | |
| 9 | |
| 10 namespace cc { | |
| 11 | |
| 12 class FrameTimingRequest { | |
|
danakj
2015/01/23 19:15:37
can you add a class level comment saying what this
vmpstr
2015/01/23 19:35:27
Done.
| |
| 13 public: | |
| 14 FrameTimingRequest(); | |
| 15 FrameTimingRequest(int64_t request_id, const gfx::Rect& rect); | |
| 16 | |
| 17 int64_t id() const { return id_; } | |
| 18 const gfx::Rect& rect() const { return rect_; } | |
| 19 | |
| 20 private: | |
| 21 int64_t id_; | |
| 22 gfx::Rect rect_; | |
| 23 }; | |
| 24 | |
| 25 } // namespace cc | |
| 26 | |
| 27 #endif // CC_DEBUG_FRAME_TIMING_REQUEST_H_ | |
| OLD | NEW |