Index: webkit/port/page/chromium/DragControllerChromium.cpp |
=================================================================== |
--- webkit/port/page/chromium/DragControllerChromium.cpp (revision 0) |
+++ webkit/port/page/chromium/DragControllerChromium.cpp (working copy) |
@@ -27,10 +27,13 @@ |
#include "DragController.h" |
#include "DragData.h" |
-#include "windows.h" |
#include "SelectionController.h" |
#include <wtf/RefPtr.h> |
+#if PLATFORM(WIN) |
+#include <windows.h> |
+#endif |
+ |
namespace WebCore { |
const int DragController::LinkDragBorderInset = 2; |
@@ -51,7 +54,13 @@ |
} |
bool DragController::isCopyKeyDown() { |
+ // TODO(darin): This should not be OS specific. Delegate to the embedder |
+ // instead. |
+#if PLATFORM(WIN) |
return ::GetAsyncKeyState(VK_CONTROL); |
+#else |
+ return false; |
+#endif |
} |
const IntSize& DragController::maxDragImageSize() |
Property changes on: webkit\port\page\chromium\DragControllerChromium.cpp |
___________________________________________________________________ |
Added: svn:mergeinfo |
Merged /branches/chrome_webkit_merge_branch/webkit/port/page/DragControllerWin.cpp:r69-2775 |