Componentize AccountReconcilor.
[chromium-blink-merge.git] / chrome / test / chromedriver / basic_types.h
blob20b8730d7788221e7a87e1d792d8fd8862a81b20
1 // Copyright (c) 2013 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.
5 #ifndef CHROME_TEST_CHROMEDRIVER_BASIC_TYPES_H_
6 #define CHROME_TEST_CHROMEDRIVER_BASIC_TYPES_H_
8 struct WebPoint {
9 WebPoint();
10 WebPoint(int x, int y);
11 ~WebPoint();
13 void Offset(int x_, int y_);
15 int x;
16 int y;
19 struct WebSize {
20 WebSize();
21 WebSize(int width, int height);
22 ~WebSize();
24 int width;
25 int height;
28 struct WebRect {
29 WebRect();
30 WebRect(int x, int y, int width, int height);
31 WebRect(const WebPoint& origin, const WebSize& size);
32 ~WebRect();
34 int X() const;
35 int Y() const;
36 int Width() const;
37 int Height() const;
39 WebPoint origin;
40 WebSize size;
43 #endif // CHROME_TEST_CHROMEDRIVER_BASIC_TYPES_H_