diff options
Diffstat (limited to 'chrome/test/automation/window_proxy.h')
-rw-r--r-- | chrome/test/automation/window_proxy.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/automation/window_proxy.h b/chrome/test/automation/window_proxy.h index 8bade17..2935480 100644 --- a/chrome/test/automation/window_proxy.h +++ b/chrome/test/automation/window_proxy.h @@ -13,6 +13,7 @@ #include <string> +#include "base/string16.h" #include "base/thread.h" #include "chrome/test/automation/automation_handle_tracker.h" @@ -50,6 +51,9 @@ class WindowProxy : public AutomationResourceProxy { bool SimulateOSClick(const POINT& click, int flags); #endif // defined(OS_WIN) + // Get the title of the top level window. + bool GetWindowTitle(string16* text); + // Simulates a key press at the OS level. |key| is the key pressed and // |flags| specifies which modifiers keys are also pressed (as defined in // chrome/views/event.h). Note that this actually sends the event to the |