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

Side by Side Diff: chrome/browser/feedback/proto/annotations.proto

Issue 9006003: Refactor and fix feedback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra include. Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2009 Google Inc. All Rights Reserved. 1 // Copyright 2009 Google Inc. All Rights Reserved.
2 // Author: micapolos@google.com (Michal Pociecha-Los) 2 // Author: micapolos@google.com (Michal Pociecha-Los)
3 // 3 //
4 // Messages containing data about the annotations drawn on the screenshot of a 4 // Messages containing data about the annotations drawn on the screenshot of a
5 // web page. 5 // web page.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 package userfeedback; 11 package userfeedback;
xiyuan 2011/12/22 02:18:23 do we need to update the package name here as well
rkc 2011/12/22 22:41:46 This package name comes from the protobuf on the b
12 12
13 import "math.proto"; 13 import "math.proto";
14 import "dom.proto"; 14 import "dom.proto";
15 15
16 // An annotation drawn by the user on the screenshot of a web page. 16 // An annotation drawn by the user on the screenshot of a web page.
17 message Annotation { 17 message Annotation {
18 // A rectangular area covered by this annotation on annotated image. 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. 19 // The (0, 0) coordinate is placed in the top-left corner of the image.
20 // One unit corresponds to one pixel. 20 // One unit corresponds to one pixel.
21 required Rectangle rectangle = 1; 21 required Rectangle rectangle = 1;
22 22
23 // A snippet of text displayed inside annotated portion of a web page. 23 // A snippet of text displayed inside annotated portion of a web page.
24 optional string snippet = 2; 24 optional string snippet = 2;
25 25
26 // A path from root element of the document to the annotated element. 26 // A path from root element of the document to the annotated element.
27 optional HtmlPath annotatedElementPath = 3; 27 optional HtmlPath annotatedElementPath = 3;
28 }; 28 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698