Index: chrome/test/chromedriver/element_util.h |
diff --git a/chrome/test/chromedriver/element_util.h b/chrome/test/chromedriver/element_util.h |
index 142fd646c7801a11b24b556ee5d0c3436fcf54ab..a1a0813846d3966ea1d2889ee89e484c3140122a 100644 |
--- a/chrome/test/chromedriver/element_util.h |
+++ b/chrome/test/chromedriver/element_util.h |
@@ -127,6 +127,11 @@ Status ToggleOptionElement( |
WebView* web_view, |
const std::string& element_id); |
+// |offset| is an optional offset from the top-left of the first ClientRect |
+// that is returned by the element's getClientRects() function. |
+// If |offset| is null, the |location| returned will be the center of the |
+// ClientRect. If it is non-null, |location| will be offset by the specified |
+// value. |
Status ScrollElementIntoView( |
Session* session, |
WebView* web_view, |