summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.h
diff options
context:
space:
mode:
authorjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 23:28:47 +0000
committerjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 23:28:47 +0000
commit4ae627586ecb6184c3b766fd5128709442b17360 (patch)
tree44726dd64ec639e8545b189c52f9bb6de1ecb818 /chrome/test/automation/browser_proxy.h
parent41c2cd46aecd34eb258ed92b242ee86c333f06a8 (diff)
downloadchromium_src-4ae627586ecb6184c3b766fd5128709442b17360.zip
chromium_src-4ae627586ecb6184c3b766fd5128709442b17360.tar.gz
chromium_src-4ae627586ecb6184c3b766fd5128709442b17360.tar.bz2
Another attempt at this CL.
I had to revert because it was somehow causing regressions on the page cycler and start-up tests. (I suspect because I did add an IPC message not at the end of the message list) TBR=beng git-svn-id: svn://svn.chromium.org/chrome/trunk/src@351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/browser_proxy.h')
-rw-r--r--chrome/test/automation/browser_proxy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/test/automation/browser_proxy.h b/chrome/test/automation/browser_proxy.h
index 469b377..17d7385 100644
--- a/chrome/test/automation/browser_proxy.h
+++ b/chrome/test/automation/browser_proxy.h
@@ -157,6 +157,11 @@ class BrowserProxy : public AutomationResourceProxy {
// reference build.
bool GetHWND(HWND* handle) const;
+ // Run the specified command in the browser (see browser_commands.cc for the
+ // list of supported commands). Returns true if the command was successfully
+ // executed, false otherwise.
+ bool RunCommand(int browser_command) const;
+
private:
DISALLOW_EVIL_CONSTRUCTORS(BrowserProxy);
};