diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 18:33:11 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 18:33:11 +0000 |
commit | e0751dc32e9a2f42267df6583d6feea0815a9a1a (patch) | |
tree | 438c39a7f782c729b44b9b9cb538f802e270ce4d /webkit/tools/test_shell/event_sending_controller.h | |
parent | 27e64ed028a384c7c605dc3a68b1d4b87bf6a9a9 (diff) | |
download | chromium_src-e0751dc32e9a2f42267df6583d6feea0815a9a1a.zip chromium_src-e0751dc32e9a2f42267df6583d6feea0815a9a1a.tar.gz chromium_src-e0751dc32e9a2f42267df6583d6feea0815a9a1a.tar.bz2 |
Bulk fixes to get Mac Test Shell more compile-happy.
Review URL: http://codereview.chromium.org/1818
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/event_sending_controller.h')
-rw-r--r-- | webkit/tools/test_shell/event_sending_controller.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/event_sending_controller.h b/webkit/tools/test_shell/event_sending_controller.h index 4edb60e..d910bd7 100644 --- a/webkit/tools/test_shell/event_sending_controller.h +++ b/webkit/tools/test_shell/event_sending_controller.h @@ -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 @@ class EventSendingController : public CppBoundClass { // 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 @@ class EventSendingController : public CppBoundClass { static WebMouseEvent::Button pressed_button_; }; -#endif // WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H__ +#endif // WEBKIT_TOOLS_TEST_SHELL_EVENT_SENDING_CONTROLLER_H_ |