| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package blimp; | 9 import "vector2df.proto"; |
| 10 | 10 |
| 11 message TransferBlob { | 11 package cc.proto; |
| 12 optional string blob_id = 1; | 12 |
| 13 optional bytes payload = 2; | 13 message ScrollUpdate { |
| 14 optional int32 layer_id = 1; |
| 15 optional Vector2dF scroll_delta = 2; |
| 14 } | 16 } |
| 15 | 17 |
| 16 message BlobChannelMessage { | 18 message ClientStateUpdate { |
| 17 oneof type { | 19 repeated ScrollUpdate scroll_updates = 1; |
| 18 // Engine => Client types. | 20 optional float page_scale_delta = 2; |
| 19 TransferBlob transfer_blob = 1; | 21 } |
| 20 } | |
| 21 } | |
| OLD | NEW |