Index: webkit/tools/test_shell/event_sending_controller.h |
=================================================================== |
--- webkit/tools/test_shell/event_sending_controller.h (revision 1852) |
+++ webkit/tools/test_shell/event_sending_controller.h (working copy) |
@@ -13,15 +13,18 @@ |
WebKit/WebKitTools/DumpRenderTree/EventSendingController.m |
*/ |
-#ifndef WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H__ |
-#define WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H__ |
+#ifndef WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_ |
+#define WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_ |
+#include "build/build_config.h" |
#include "base/gfx/point.h" |
#include "webkit/glue/cpp_bound_class.h" |
#include "webkit/glue/webinputevent.h" |
+#if defined(OS_WIN) |
struct IDataObject; |
struct IDropSource; |
+#endif |
class TestShell; |
class WebView; |
@@ -34,8 +37,10 @@ |
// Resets some static variable state. |
void Reset(); |
+#if defined(OS_WIN) |
// Simulate Windows' drag&drop system call. |
static void DoDragDrop(IDataObject* drag_data); |
+#endif |
// JS callback methods. |
void mouseDown(const CppArgumentList& args, CppVariant* result); |
@@ -84,5 +89,5 @@ |
static WebMouseEvent::Button pressed_button_; |
}; |
-#endif // WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H__ |
+#endif // WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_ |