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