From 862066288bfa2871c36e3ab794fb7f6819a5cdfd Mon Sep 17 00:00:00 2001 From: "zelidrag@chromium.org" Date: Fri, 14 May 2010 05:45:26 +0000 Subject: 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 --- .../browser/userfeedback/proto/annotations.proto | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 chrome/browser/userfeedback/proto/annotations.proto (limited to 'chrome/browser/userfeedback/proto/annotations.proto') 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; +}; -- cgit v1.1