OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Messages containing common math data structures. | 5 // Messages containing common math data structures. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; |
| 10 |
9 package userfeedback; | 11 package userfeedback; |
10 | 12 |
11 // 2D Dimensions. | 13 // 2D Dimensions. |
12 message Dimensions { | 14 message Dimensions { |
13 required float width = 1; | 15 required float width = 1; |
14 required float height = 2; | 16 required float height = 2; |
15 }; | 17 }; |
16 | 18 |
17 // Axis-aligned rectangle in 2D space. | 19 // Axis-aligned rectangle in 2D space. |
18 message Rectangle { | 20 message Rectangle { |
19 required float left = 1; | 21 required float left = 1; |
20 required float top = 2; | 22 required float top = 2; |
21 required float width = 3; | 23 required float width = 3; |
22 required float height = 4; | 24 required float height = 4; |
23 }; | 25 }; |
OLD | NEW |