| Index: chrome/test/webdriver/commands/webelement_commands.cc
|
| diff --git a/chrome/test/webdriver/commands/webelement_commands.cc b/chrome/test/webdriver/commands/webelement_commands.cc
|
| index 561bd5303764624a9103eca125c58416985e9a32..1d97850f29bfcd9d85435b7b24dd3cc2b5519715 100644
|
| --- a/chrome/test/webdriver/commands/webelement_commands.cc
|
| +++ b/chrome/test/webdriver/commands/webelement_commands.cc
|
| @@ -13,10 +13,9 @@
|
| #include "base/values.h"
|
| #include "chrome/test/webdriver/commands/response.h"
|
| #include "chrome/test/webdriver/session.h"
|
| +#include "chrome/test/webdriver/webdriver_basic_types.h"
|
| #include "chrome/test/webdriver/webdriver_error.h"
|
| #include "third_party/webdriver/atoms.h"
|
| -#include "ui/gfx/point.h"
|
| -#include "ui/gfx/size.h"
|
|
|
| namespace webdriver {
|
|
|
| @@ -280,7 +279,7 @@ bool ElementLocationInViewCommand::DoesGet() {
|
| }
|
|
|
| void ElementLocationInViewCommand::ExecuteGet(Response* const response) {
|
| - gfx::Point location;
|
| + Point location;
|
| Error* error = session_->GetElementLocationInView(element, &location);
|
| if (error) {
|
| response->SetError(error);
|
| @@ -372,7 +371,7 @@ bool ElementSizeCommand::DoesGet() {
|
| }
|
|
|
| void ElementSizeCommand::ExecuteGet(Response* const response) {
|
| - gfx::Size size;
|
| + Size size;
|
| Error* error = session_->GetElementSize(
|
| session_->current_target(), element, &size);
|
| if (error) {
|
| @@ -570,7 +569,7 @@ Error* ElementValueCommand::DragAndDropFilePaths() const {
|
| paths.push_back(path);
|
| }
|
|
|
| - gfx::Point location;
|
| + Point location;
|
| error = session_->GetClickableLocation(element, &location);
|
| if (error) {
|
| return error;
|
|
|