summaryrefslogtreecommitdiffstats
path: root/chrome/browser/userfeedback/proto/math.proto
blob: 782c73f5f5a2fbbbb712f32946d8994d8b79ffa3 (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
// Copyright 2009 Google Inc. All Rights Reserved.
// Author: micapolos@google.com (Michal Pociecha-Los)
//
// 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;
};