Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / feedback / proto / math.proto
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Messages containing common math data structures.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package userfeedback;
12
13 // 2D Dimensions.
14 message Dimensions {
15   required float width = 1;
16   required float height = 2;
17 };
18
19 // Axis-aligned rectangle in 2D space.
20 message Rectangle {
21   required float left = 1;
22   required float top = 2;
23   required float width = 3;
24   required float height = 4;
25 };