// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;

import "vector2df.proto";

package cc.proto;

message ScrollUpdate {
  optional int32 layer_id = 1;
  optional Vector2dF scroll_delta = 2;
}

message ClientStateUpdate {
  repeated ScrollUpdate scroll_updates = 1;
  optional float page_scale_delta = 2;
}