| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index 61ef3f8c3ac701b0b89f87fc74886a2189665774..890ab2802b4fae250ce17e6d7486acfaa866d605 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #include <set>
|
| #include <string>
|
| +#include <utility>
|
| +#include <vector>
|
|
|
| #include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
| @@ -24,6 +26,7 @@
|
| #include "cc/layers/paint_properties.h"
|
| #include "cc/layers/render_surface.h"
|
| #include "cc/output/filter_operations.h"
|
| +#include "cc/trees/layer_tree_host_impl.h"
|
| #include "skia/ext/refptr.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| #include "third_party/skia/include/core/SkImageFilter.h"
|
| @@ -297,6 +300,11 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| return touch_event_handler_region_;
|
| }
|
|
|
| + void SetSmoothnessTimingRequests(const SmoothnessTimingRequestsType& rects);
|
| + const SmoothnessTimingRequestsType& smoothness_timing_requests() const {
|
| + return smoothness_timing_requests_;
|
| + }
|
| +
|
| void set_did_scroll_callback(const base::Closure& callback) {
|
| did_scroll_callback_ = callback;
|
| }
|
| @@ -610,6 +618,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| bool transform_is_invertible_ : 1;
|
| Region non_fast_scrollable_region_;
|
| Region touch_event_handler_region_;
|
| + SmoothnessTimingRequestsType smoothness_timing_requests_;
|
| gfx::PointF position_;
|
| SkColor background_color_;
|
| float opacity_;
|
|
|