summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.h
diff options
context:
space:
mode:
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);
};