| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2009 Google Inc. All Rights Reserved. |
| 2 // Author: micapolos@google.com (Michal Pociecha-Los) |
| 3 // |
| 4 // Messages containing data about the annotations drawn on the screenshot of a |
| 5 // web page. |
| 6 |
| 7 syntax = "proto2"; |
| 8 |
| 9 package userfeedback; |
| 10 |
| 11 import "math.proto"; |
| 12 import "dom.proto"; |
| 13 |
| 14 // An annotation drawn by the user on the screenshot of a web page. |
| 15 message Annotation { |
| 16 // A rectangular area covered by this annotation on annotated image. |
| 17 // The (0, 0) coordinate is placed in the top-left corner of the image. |
| 18 // One unit corresponds to one pixel. |
| 19 required Rectangle rectangle = 1; |
| 20 |
| 21 // A snippet of text displayed inside annotated portion of a web page. |
| 22 optional string snippet = 2; |
| 23 |
| 24 // A path from root element of the document to the annotated element. |
| 25 optional HtmlPath annotatedElementPath = 3; |
| 26 }; |
| OLD | NEW |