Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 65143ab514c386de3cc217c8f73cbd467dfab298..59050e2da81d2db799a38b49344164a881a5d635 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -7,6 +7,8 @@ |
#include <set> |
#include <string> |
+#include <utility> |
+#include <vector> |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
@@ -26,6 +28,7 @@ |
#include "cc/output/filter_operations.h" |
#include "cc/quads/shared_quad_state.h" |
#include "cc/resources/resource_provider.h" |
+#include "cc/trees/layer_tree_host_common.h" |
#include "skia/ext/refptr.h" |
#include "third_party/skia/include/core/SkColor.h" |
#include "third_party/skia/include/core/SkImageFilter.h" |
@@ -444,6 +447,13 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
return touch_event_handler_region_; |
} |
+ void SetSmoothnessTimingRequests(const SmoothnessTimingRequestsType& rects) { |
+ smoothness_timing_requests_ = rects; |
+ } |
+ const SmoothnessTimingRequestsType& smoothness_timing_requests() const { |
+ return smoothness_timing_requests_; |
+ } |
+ |
void SetDrawCheckerboardForMissingTiles(bool checkerboard) { |
draw_checkerboard_for_missing_tiles_ = checkerboard; |
} |
@@ -639,6 +649,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
bool is_container_for_fixed_position_layers_ : 1; |
Region non_fast_scrollable_region_; |
Region touch_event_handler_region_; |
+ SmoothnessTimingRequestsType smoothness_timing_requests_; |
SkColor background_color_; |
float opacity_; |