1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Messages containing data about the annotations drawn on the screenshot of a
10 option optimize_for = LITE_RUNTIME;
17 // An annotation drawn by the user on the screenshot of a web page.
19 // A rectangular area covered by this annotation on annotated image.
20 // The (0, 0) coordinate is placed in the top-left corner of the image.
21 // One unit corresponds to one pixel.
22 required Rectangle rectangle = 1;
24 // A snippet of text displayed inside annotated portion of a web page.
25 optional string snippet = 2;
27 // A path from root element of the document to the annotated element.
28 optional HtmlPath annotatedElementPath = 3;