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

Unified Diff: chrome/test/chromedriver/element_util.h

Issue 12764021: [chromedriver] Support clicking an element in sub frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/test/chromedriver/element_util.h
diff --git a/chrome/test/chromedriver/element_util.h b/chrome/test/chromedriver/element_util.h
index f75aec59f59b0784f5da38b5e4950c588bed0cb0..6fa6ef44765104a11e036333a84f7ab1d9cf57e5 100644
--- a/chrome/test/chromedriver/element_util.h
+++ b/chrome/test/chromedriver/element_util.h
@@ -47,14 +47,11 @@ Status IsElementAttributeEqualToIgnoreCase(
const std::string& attribute_value,
bool* is_equal);
-// |is_clickable| could be null.
-// If not null, it's set to indicate whether center of the element is clickable.
Status GetElementClickableLocation(
Session* session,
WebView* web_view,
const std::string& element_id,
- WebPoint* location,
- bool* is_clickable);
+ WebPoint* location);
Status GetElementRegion(
Session* session,
@@ -74,13 +71,6 @@ Status GetElementSize(
const std::string& element_id,
WebSize* size);
-Status IsElementClickable(
- Session* session,
- WebView* web_view,
- const std::string& element_id,
- WebPoint* location,
- bool* is_clickable);
-
Status IsElementDisplayed(
Session* session,
WebView* web_view,
@@ -129,6 +119,7 @@ Status ScrollElementRegionIntoView(
const std::string& element_id,
const WebRect& region,
bool center,
+ bool verify_clickable,
WebPoint* location);
#endif // CHROME_TEST_CHROMEDRIVER_ELEMENT_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698