diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 16:46:25 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-09 16:46:25 +0000 |
commit | 3941c026ba6576a4e21c93f3f08b917505c369a1 (patch) | |
tree | 2dbaad011bd9b20eadfbc25477c20a51a7f60a6e /chrome/test/automation/tab_proxy.h | |
parent | f61b898ba829ce8b1393f5a518a0f28eaafa1408 (diff) | |
download | chromium_src-3941c026ba6576a4e21c93f3f08b917505c369a1.zip chromium_src-3941c026ba6576a4e21c93f3f08b917505c369a1.tar.gz chromium_src-3941c026ba6576a4e21c93f3f08b917505c369a1.tar.bz2 |
Adding support for tab notifications and initializing the focus of an automated tab.
Review URL: http://codereview.chromium.org/20125
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/tab_proxy.h')
-rw-r--r-- | chrome/test/automation/tab_proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h index 932f5c7..f9a8339 100644 --- a/chrome/test/automation/tab_proxy.h +++ b/chrome/test/automation/tab_proxy.h @@ -219,6 +219,9 @@ class TabProxy : public AutomationResourceProxy { // to handle the keys bool ProcessUnhandledAccelerator(const MSG& msg); + // Ask the tab to set focus to either the first or last element on the page. + bool SetInitialFocus(bool reverse); + // Waits for the tab to finish being restored. Returns true on success. // timeout_ms gives the max amount of time to wait for restore to complete. bool WaitForTabToBeRestored(uint32 timeout_ms); |