diff options
Diffstat (limited to 'chrome/browser/automation/ui_controls.h')
-rw-r--r-- | chrome/browser/automation/ui_controls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/automation/ui_controls.h b/chrome/browser/automation/ui_controls.h index 5f3d9e3..113e012 100644 --- a/chrome/browser/automation/ui_controls.h +++ b/chrome/browser/automation/ui_controls.h @@ -16,9 +16,11 @@ #include "base/gfx/native_widget_types.h" #include "base/gfx/point.h" +#if defined(TOOLKIT_VIEWS) namespace views { class View; } +#endif class Task; @@ -73,7 +75,7 @@ bool SendMouseClick(MouseButton type); // A combination of SendMouseMove to the middle of the view followed by // SendMouseEvents. void MoveMouseToCenterAndPress( -#if defined(OS_WIN) +#if defined(TOOLKIT_VIEWS) views::View* view, #elif defined(OS_LINUX) GtkWidget* widget, |