| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index b205143f06b227cc36e8f1b23a648781bcea4630..2406bd2c44cadee2abf8df2407599bd647ad79cb 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <set>
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -18,6 +19,7 @@
|
| #include "cc/base/cc_export.h"
|
| #include "cc/base/region.h"
|
| #include "cc/base/scoped_ptr_vector.h"
|
| +#include "cc/debug/frame_timing_request.h"
|
| #include "cc/input/input_handler.h"
|
| #include "cc/input/scrollbar.h"
|
| #include "cc/layers/draw_properties.h"
|
| @@ -569,6 +571,12 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| void Set3dSortingContextId(int id);
|
| int sorting_context_id() { return sorting_context_id_; }
|
|
|
| + void SetFrameTimingRequests(
|
| + const std::vector<FrameTimingRequest>& frame_timing_requests);
|
| + const std::vector<FrameTimingRequest>& frame_timing_requests() const {
|
| + return frame_timing_requests_;
|
| + }
|
| +
|
| protected:
|
| LayerImpl(LayerTreeImpl* layer_impl, int id);
|
|
|
| @@ -724,6 +732,10 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
|
|
| scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_;
|
| scoped_ptr<RenderSurfaceImpl> render_surface_;
|
| +
|
| + std::vector<FrameTimingRequest> frame_timing_requests_;
|
| + bool frame_timing_requests_dirty_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(LayerImpl);
|
| };
|
|
|
|
|