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 | |
11 package userfeedback; | 9 package userfeedback; |
12 | 10 |
13 // 2D Dimensions. | 11 // 2D Dimensions. |
14 message Dimensions { | 12 message Dimensions { |
15 required float width = 1; | 13 required float width = 1; |
16 required float height = 2; | 14 required float height = 2; |
17 }; | 15 }; |
18 | 16 |
19 // Axis-aligned rectangle in 2D space. | 17 // Axis-aligned rectangle in 2D space. |
20 message Rectangle { | 18 message Rectangle { |
21 required float left = 1; | 19 required float left = 1; |
22 required float top = 2; | 20 required float top = 2; |
23 required float width = 3; | 21 required float width = 3; |
24 required float height = 4; | 22 required float height = 4; |
25 }; | 23 }; |
OLD | NEW |