| Index: chrome/test/chromedriver/basic_types.h
|
| diff --git a/chrome/test/chromedriver/basic_types.h b/chrome/test/chromedriver/basic_types.h
|
| index 8a623c481d3b944f3001b1a620defe9712170ee0..ac052868cc1c897aac4965cd35c12da47c3861d1 100644
|
| --- a/chrome/test/chromedriver/basic_types.h
|
| +++ b/chrome/test/chromedriver/basic_types.h
|
| @@ -5,12 +5,14 @@
|
| #ifndef CHROME_TEST_CHROMEDRIVER_BASIC_TYPES_H_
|
| #define CHROME_TEST_CHROMEDRIVER_BASIC_TYPES_H_
|
|
|
| +#include <string>
|
| +
|
| struct WebPoint {
|
| WebPoint();
|
| WebPoint(int x, int y);
|
| ~WebPoint();
|
|
|
| - void offset(int x_, int y_);
|
| + void Offset(int x_, int y_);
|
|
|
| int x;
|
| int y;
|
| @@ -31,13 +33,27 @@ struct WebRect {
|
| WebRect(const WebPoint& origin, const WebSize& size);
|
| ~WebRect();
|
|
|
| - int x();
|
| - int y();
|
| - int width();
|
| - int height();
|
| + int width() const;
|
| + int height() const;
|
|
|
| WebPoint origin;
|
| WebSize size;
|
| };
|
|
|
| +struct Frame {
|
| + Frame();
|
| + Frame(const std::string& id,
|
| + const std::string& parent_id,
|
| + const std::string& name,
|
| + int index);
|
| +
|
| + bool IsSubFrame() const;
|
| + bool HasName() const;
|
| +
|
| + std::string id;
|
| + std::string parent_id;
|
| + std::string name;
|
| + int index;
|
| +};
|
| +
|
| #endif // CHROME_TEST_CHROMEDRIVER_BASIC_TYPES_H_
|
|
|