| 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 a3b261baa5887dccd2a58fe552816454eac4d9f5..a9b188b72849d713fa689bace3d92e47195a1529 100644
|
| --- a/cc/trees/layer_tree_host_common.h
|
| +++ b/cc/trees/layer_tree_host_common.h
|
| @@ -154,6 +154,21 @@ class CC_EXPORT LayerTreeHostCommon {
|
| };
|
| };
|
|
|
| +// A container for the state that was reported to the main thread during
|
| +// BeginMainFrame, but could not be applied/resolved on the main thread.
|
| +struct CC_EXPORT ReflectedMainFrameState {
|
| + struct ScrollUpdate {
|
| + int layer_id = Layer::LayerIdLabels::INVALID_ID;
|
| + gfx::Vector2dF scroll_delta;
|
| + };
|
| +
|
| + ReflectedMainFrameState();
|
| + ~ReflectedMainFrameState();
|
| +
|
| + std::vector<ScrollUpdate> scrolls;
|
| + float page_scale_delta;
|
| +};
|
| +
|
| struct CC_EXPORT ScrollAndScaleSet {
|
| ScrollAndScaleSet();
|
| ~ScrollAndScaleSet();
|
|
|