| Index: chrome/test/base/ui_test_utils.h
|
| diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h
|
| index 6ec213e0db55eac67c69a51352302f20e9785863..f3dc897a0b30371d52744976af0694e72fd271c0 100644
|
| --- a/chrome/test/base/ui_test_utils.h
|
| +++ b/chrome/test/base/ui_test_utils.h
|
| @@ -221,6 +221,10 @@ int FindInPage(TabContents* tab,
|
| // no InfoBar open when the test starts may need to use this.
|
| void CloseAllInfoBars(TabContents* tab);
|
|
|
| +// Simulates clicking at the given point on the given tab asynchronously. Unlike
|
| +// ClickOnView, this works even if the browser isn't in the foreground.
|
| +void SimulateMouseClick(content::WebContents* tab, const gfx::Point& point);
|
| +
|
| // Simulates clicking at the center of the given tab asynchronously. Unlike
|
| // ClickOnView, this works even if the browser isn't in the foreground.
|
| void SimulateMouseClick(content::WebContents* tab);
|
|
|