summaryrefslogtreecommitdiffstats
path: root/chrome/browser/userfeedback/proto/annotations.proto
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-14 05:45:26 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-14 05:45:26 +0000
commit862066288bfa2871c36e3ab794fb7f6819a5cdfd (patch)
tree7edbca6eb7696507b772cf8c73ac7b549eec36d4 /chrome/browser/userfeedback/proto/annotations.proto
parent639e99c45b2e5b476c58847153133a91f2aec164 (diff)
downloadchromium_src-862066288bfa2871c36e3ab794fb7f6819a5cdfd.zip
chromium_src-862066288bfa2871c36e3ab794fb7f6819a5cdfd.tar.gz
chromium_src-862066288bfa2871c36e3ab794fb7f6819a5cdfd.tar.bz2
Commiting http://codereview.chromium.org/2017007/show on behalf of rkc@chromium.org.
This change hooks issue report dialog with Google Feedback backend for ChromeOS. The dialog is going to be used only for Chrome OS at the moment, the previous mechanism is kept intact for other operating systems. Image and System Info reporting is disabled at the moment; for image, we need feedback to get their changes in production, for reporting, the system scripts need to be added (basic Chrome and OS version info is being sent with the report) BUG=chromium-os:2761 TEST=none, work in progress TBR=zelidrag Review URL: http://codereview.chromium.org/2068004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/userfeedback/proto/annotations.proto')
-rw-r--r--chrome/browser/userfeedback/proto/annotations.proto26
1 files changed, 26 insertions, 0 deletions
diff --git a/chrome/browser/userfeedback/proto/annotations.proto b/chrome/browser/userfeedback/proto/annotations.proto
new file mode 100644
index 0000000..b99aa04
--- /dev/null
+++ b/chrome/browser/userfeedback/proto/annotations.proto
@@ -0,0 +1,26 @@
+// Copyright 2009 Google Inc. All Rights Reserved.
+// Author: micapolos@google.com (Michal Pociecha-Los)
+//
+// Messages containing data about the annotations drawn on the screenshot of a
+// web page.
+
+syntax = "proto2";
+
+package userfeedback;
+
+import "math.proto";
+import "dom.proto";
+
+// An annotation drawn by the user on the screenshot of a web page.
+message Annotation {
+ // A rectangular area covered by this annotation on annotated image.
+ // The (0, 0) coordinate is placed in the top-left corner of the image.
+ // One unit corresponds to one pixel.
+ required Rectangle rectangle = 1;
+
+ // A snippet of text displayed inside annotated portion of a web page.
+ optional string snippet = 2;
+
+ // A path from root element of the document to the annotated element.
+ optional HtmlPath annotatedElementPath = 3;
+};