Index: chrome/browser/automation/ui_controls.h |
=================================================================== |
--- chrome/browser/automation/ui_controls.h (revision 24301) |
+++ chrome/browser/automation/ui_controls.h (working copy) |
@@ -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 @@ |
// 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, |