| Index: chrome/test/webdriver/webdriver_basic_types.h
|
| diff --git a/chrome/test/webdriver/webdriver_basic_types.h b/chrome/test/webdriver/webdriver_basic_types.h
|
| deleted file mode 100644
|
| index 6e9eb869dc32a5c3295ba1eca32c4d3eba0d3047..0000000000000000000000000000000000000000
|
| --- a/chrome/test/webdriver/webdriver_basic_types.h
|
| +++ /dev/null
|
| @@ -1,88 +0,0 @@
|
| -// Copyright (c) 2011 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.
|
| -
|
| -#ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_BASIC_TYPES_H_
|
| -#define CHROME_TEST_WEBDRIVER_WEBDRIVER_BASIC_TYPES_H_
|
| -
|
| -#include "chrome/test/automation/value_conversion_traits.h"
|
| -
|
| -namespace base {
|
| -class Value;
|
| -}
|
| -
|
| -namespace webdriver {
|
| -
|
| -class Point {
|
| - public:
|
| - Point();
|
| - Point(double x, double y);
|
| - ~Point();
|
| -
|
| - void Offset(double x, double y);
|
| -
|
| - double x() const;
|
| - double y() const;
|
| - int rounded_x() const;
|
| - int rounded_y() const;
|
| -
|
| - private:
|
| - double x_, y_;
|
| -};
|
| -
|
| -class Size {
|
| - public:
|
| - Size();
|
| - Size(double width, double height);
|
| - ~Size();
|
| -
|
| - double width() const;
|
| - double height() const;
|
| -
|
| - private:
|
| - double width_, height_;
|
| -};
|
| -
|
| -class Rect {
|
| - public:
|
| - Rect();
|
| - Rect(double x, double y, double width, double height);
|
| - Rect(const Point& origin, const Size& size);
|
| - ~Rect();
|
| -
|
| - const Point& origin() const;
|
| - const Size& size() const;
|
| - double x() const;
|
| - double y() const;
|
| - double width() const;
|
| - double height() const;
|
| -
|
| - private:
|
| - Point origin_;
|
| - Size size_;
|
| -};
|
| -
|
| -} // namespace webdriver
|
| -
|
| -template <>
|
| -struct ValueConversionTraits<webdriver::Point> {
|
| - static base::Value* CreateValueFrom(const webdriver::Point& t);
|
| - static bool SetFromValue(const base::Value* value, webdriver::Point* t);
|
| - static bool CanConvert(const base::Value* value);
|
| -};
|
| -
|
| -template <>
|
| -struct ValueConversionTraits<webdriver::Size> {
|
| - static base::Value* CreateValueFrom(const webdriver::Size& t);
|
| - static bool SetFromValue(const base::Value* value, webdriver::Size* t);
|
| - static bool CanConvert(const base::Value* value);
|
| -};
|
| -
|
| -template <>
|
| -struct ValueConversionTraits<webdriver::Rect> {
|
| - static base::Value* CreateValueFrom(const webdriver::Rect& t);
|
| - static bool SetFromValue(const base::Value* value, webdriver::Rect* t);
|
| - static bool CanConvert(const base::Value* value);
|
| -};
|
| -
|
| -#endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_BASIC_TYPES_H_
|
|
|