summaryrefslogtreecommitdiffstats
path: root/chrome/browser/feedback/proto/math.proto
blob: 6d8d5cbcd4febe191077e0c6eabc52c1375d3721 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Messages containing common math data structures.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;

package userfeedback;

// 2D Dimensions.
message Dimensions {
  required float width = 1;
  required float height = 2;
};

// Axis-aligned rectangle in 2D space.
message Rectangle {
  required float left = 1;
  required float top = 2;
  required float width = 3;
  required float height = 4;
};