OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 import "point.proto"; | |
8 import "size.proto"; | |
9 | |
10 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
11 | 8 |
12 package cc.proto; | 9 package cc.proto; |
13 | 10 |
14 message Rect { | 11 // The message declared in this file corresponds to the class declared in |
15 optional cc.proto.Point origin = 1; | 12 // cc/animation/element_id.h |
16 optional cc.proto.Size size = 2; | 13 |
| 14 // NEXT ID: 3 |
| 15 message ElementId { |
| 16 required int64 primary_id = 1; |
| 17 required int64 secondary_id = 2; |
17 } | 18 } |
OLD | NEW |