Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2498)

Unified Diff: chrome/test/chromedriver/basic_types.cc

Issue 12764021: [chromedriver] Support clicking an element in sub frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/basic_types.h ('k') | chrome/test/chromedriver/commands_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/basic_types.cc
diff --git a/chrome/test/chromedriver/basic_types.cc b/chrome/test/chromedriver/basic_types.cc
index ef6b2f39a6a8972938560915057cc5bce3d43902..759eda3769a5b465731af7407492fc1e8de93935 100644
--- a/chrome/test/chromedriver/basic_types.cc
+++ b/chrome/test/chromedriver/basic_types.cc
@@ -10,7 +10,7 @@ WebPoint::WebPoint(int x, int y) : x(x), y(y) {}
WebPoint::~WebPoint() {}
-void WebPoint::offset(int x_, int y_) {
+void WebPoint::Offset(int x_, int y_) {
x += x_;
y += y_;
}
@@ -31,10 +31,10 @@ WebRect::WebRect(const WebPoint& origin, const WebSize& size)
WebRect::~WebRect() {}
-int WebRect::x() { return origin.x; }
+int WebRect::X() const { return origin.x; }
-int WebRect::y() { return origin.y; }
+int WebRect::Y() const { return origin.y; }
-int WebRect::width() { return size.width; }
+int WebRect::Width() const { return size.width; }
-int WebRect::height() { return size.height; }
+int WebRect::Height() const { return size.height; }
« no previous file with comments | « chrome/test/chromedriver/basic_types.h ('k') | chrome/test/chromedriver/commands_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698