Chromium Code Reviews| Index: cc/debug/frame_timing_request.h |
| diff --git a/cc/debug/frame_timing_request.h b/cc/debug/frame_timing_request.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..08ee596afb80e9920bed7dd647e7c29ab2c3a426 |
| --- /dev/null |
| +++ b/cc/debug/frame_timing_request.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_DEBUG_FRAME_TIMING_REQUEST_H_ |
| +#define CC_DEBUG_FRAME_TIMING_REQUEST_H_ |
| + |
| +#include "ui/gfx/geometry/rect.h" |
| + |
| +namespace cc { |
| + |
| +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.
|
| + public: |
| + FrameTimingRequest(); |
| + FrameTimingRequest(int64_t request_id, const gfx::Rect& rect); |
| + |
| + int64_t id() const { return id_; } |
| + const gfx::Rect& rect() const { return rect_; } |
| + |
| + private: |
| + int64_t id_; |
| + gfx::Rect rect_; |
| +}; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_DEBUG_FRAME_TIMING_REQUEST_H_ |