diff options
Diffstat (limited to 'chrome/test/automation/window_proxy.h')
-rw-r--r-- | chrome/test/automation/window_proxy.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/test/automation/window_proxy.h b/chrome/test/automation/window_proxy.h index efbe1ca..0133ff7 100644 --- a/chrome/test/automation/window_proxy.h +++ b/chrome/test/automation/window_proxy.h @@ -21,6 +21,7 @@ class BrowserProxy; class WindowProxy; namespace gfx { + class Point; class Rect; } @@ -41,14 +42,14 @@ class WindowProxy : public AutomationResourceProxy { // Gets the outermost HWND that corresponds to the given window. // Returns true if the call was successful. bool GetHWND(HWND* handle) const; +#endif // defined(OS_WIN) // Simulates a click at the OS level. |click| is in the window's coordinates // and |flags| specifies which buttons are pressed (as defined in // chrome/views/event.h). Note that this is equivalent to the user moving // the mouse and pressing the button. So if there is a window on top of this // window, the top window is clicked. - bool SimulateOSClick(const POINT& click, int flags); -#endif // defined(OS_WIN) + bool SimulateOSClick(const gfx::Point& click, int flags); // Get the title of the top level window. bool GetWindowTitle(string16* text); |