Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Side by Side Diff: components/feedback/proto/annotations.proto

Issue 225183018: Move feedback files into src/components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 data about the annotations drawn on the screenshot of a 5 // Messages containing data about the annotations drawn on the screenshot of a
6 // web page. 6 // web page.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
11 11
12 package userfeedback; 12 package userfeedback;
13 13
14 import "math.proto"; 14 import "math.proto";
15 import "dom.proto"; 15 import "dom.proto";
16 16
17 // An annotation drawn by the user on the screenshot of a web page. 17 // An annotation drawn by the user on the screenshot of a web page.
18 message Annotation { 18 message Annotation {
19 // A rectangular area covered by this annotation on annotated image. 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. 20 // The (0, 0) coordinate is placed in the top-left corner of the image.
21 // One unit corresponds to one pixel. 21 // One unit corresponds to one pixel.
22 required Rectangle rectangle = 1; 22 required Rectangle rectangle = 1;
23 23
24 // A snippet of text displayed inside annotated portion of a web page. 24 // A snippet of text displayed inside annotated portion of a web page.
25 optional string snippet = 2; 25 optional string snippet = 2;
26 26
27 // A path from root element of the document to the annotated element. 27 // A path from root element of the document to the annotated element.
28 optional HtmlPath annotatedElementPath = 3; 28 optional HtmlPath annotatedElementPath = 3;
29 }; 29 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698