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 7syntax = "proto2"; 8 9option optimize_for = LITE_RUNTIME; 10 11package userfeedback; 12 13import "math.proto"; 14import "dom.proto"; 15 16// An annotation drawn by the user on the screenshot of a web page. 17message Annotation { 18 // A rectangular area covered by this annotation on annotated image. 19 // The (0, 0) coordinate is placed in the top-left corner of the image. 20 // One unit corresponds to one pixel. 21 required Rectangle rectangle = 1; 22 23 // A snippet of text displayed inside annotated portion of a web page. 24 optional string snippet = 2; 25 26 // A path from root element of the document to the annotated element. 27 optional HtmlPath annotatedElementPath = 3; 28}; 29