| OLD | NEW |
| 1 // Copyright 2009 Google Inc. All Rights Reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Author: micapolos@google.com (Michal Pociecha-Los) | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // | 3 // found in the LICENSE file. |
| 4 |
| 4 // Messages containing common math data structures. | 5 // Messages containing common math data structures. |
| 5 | 6 |
| 6 syntax = "proto2"; | 7 syntax = "proto2"; |
| 7 | 8 |
| 8 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
| 9 | 10 |
| 10 package userfeedback; | 11 package userfeedback; |
| 11 | 12 |
| 12 // 2D Dimensions. | 13 // 2D Dimensions. |
| 13 message Dimensions { | 14 message Dimensions { |
| 14 required float width = 1; | 15 required float width = 1; |
| 15 required float height = 2; | 16 required float height = 2; |
| 16 }; | 17 }; |
| 17 | 18 |
| 18 // Axis-aligned rectangle in 2D space. | 19 // Axis-aligned rectangle in 2D space. |
| 19 message Rectangle { | 20 message Rectangle { |
| 20 required float left = 1; | 21 required float left = 1; |
| 21 required float top = 2; | 22 required float top = 2; |
| 22 required float width = 3; | 23 required float width = 3; |
| 23 required float height = 4; | 24 required float height = 4; |
| 24 }; | 25 }; |
| OLD | NEW |