| Index: chrome/test/webdriver/session.h
|
| diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h
|
| index 79b0b54ab9f2e7676dee7e47ccec608e2625843b..58994f8b44cda991cb99b7b6c3dd2cdcc36c119f 100644
|
| --- a/chrome/test/webdriver/session.h
|
| +++ b/chrome/test/webdriver/session.h
|
| @@ -87,7 +87,7 @@ class Session {
|
| ErrorCode SendKeys(const WebElementId& element, const string16& keys);
|
|
|
| // Clicks the mouse at the given location using the given button.
|
| - void MouseClick(const gfx::Point& click, automation::MouseButton button);
|
| + bool MouseClick(const gfx::Point& click, automation::MouseButton button);
|
| bool MouseMove(const gfx::Point& location);
|
| bool MouseDrag(const gfx::Point& start, const gfx::Point& end);
|
|
|
| @@ -170,6 +170,11 @@ class Session {
|
| int* border_left,
|
| int* border_top);
|
|
|
| + // Gets whether the element is currently displayed.
|
| + ErrorCode IsElementDisplayed(const FrameId& frame_id,
|
| + const WebElementId& element,
|
| + bool* is_visible);
|
| +
|
| // Waits for all tabs to stop loading. Returns true on success.
|
| bool WaitForAllTabsToStopLoading();
|
|
|
|
|