| Index: cc/trees/layer_tree_host_common.h
|
| diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
|
| index 0e139471739b57657baf2008aaa2914a225eeaeb..42458eebc0b55d4b066c22ef79d3c2fa50e17c56 100644
|
| --- a/cc/trees/layer_tree_host_common.h
|
| +++ b/cc/trees/layer_tree_host_common.h
|
| @@ -6,10 +6,12 @@
|
| #define CC_TREES_LAYER_TREE_HOST_COMMON_H_
|
|
|
| #include <limits>
|
| +#include <utility>
|
| #include <vector>
|
|
|
| #include "base/bind.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/time/time.h"
|
| #include "cc/base/cc_export.h"
|
| #include "cc/base/scoped_ptr_vector.h"
|
| #include "cc/layers/layer_lists.h"
|
| @@ -131,6 +133,13 @@ class CC_EXPORT LayerTreeHostCommon {
|
| int layer_id;
|
| gfx::Vector2d scroll_delta;
|
| };
|
| +
|
| + struct DrawTimingInfo {
|
| + DrawTimingInfo();
|
| + ~DrawTimingInfo();
|
| + int64_t rect_id;
|
| + std::vector<std::pair<int, base::TimeTicks> > timestamps;
|
| + };
|
| };
|
|
|
| struct CC_EXPORT ScrollAndScaleSet {
|
| @@ -141,6 +150,13 @@ struct CC_EXPORT ScrollAndScaleSet {
|
| float page_scale_delta;
|
| };
|
|
|
| +struct CC_EXPORT DrawTimingSet {
|
| + DrawTimingSet();
|
| + ~DrawTimingSet();
|
| +
|
| + std::vector<LayerTreeHostCommon::DrawTimingInfo> draws;
|
| +};
|
| +
|
| template <typename LayerType>
|
| bool LayerTreeHostCommon::RenderSurfaceContributesToTarget(
|
| LayerType* layer,
|
|
|