Index: Tools/DumpRenderTree/chromium/EventSender.cpp |
=================================================================== |
--- Tools/DumpRenderTree/chromium/EventSender.cpp (revision 88116) |
+++ Tools/DumpRenderTree/chromium/EventSender.cpp (working copy) |
@@ -259,6 +259,7 @@ |
bindMethod("contextClick", &EventSender::contextClick); |
bindMethod("continuousMouseScrollBy", &EventSender::continuousMouseScrollBy); |
bindMethod("dispatchMessage", &EventSender::dispatchMessage); |
+ bindMethod("dumpFilenameBeingDragged", &EventSender::dumpFilenameBeingDragged); |
bindMethod("enableDOMUIEventLogging", &EventSender::enableDOMUIEventLogging); |
bindMethod("fireKeyboardEventsToElement", &EventSender::fireKeyboardEventsToElement); |
bindMethod("keyDown", &EventSender::keyDown); |
@@ -344,6 +345,11 @@ |
replaySavedEvents(); |
} |
+void EventSender::dumpFilenameBeingDragged(const CppArgumentList&, CppVariant*) |
+{ |
+ printf("Filename being dragged: %s\n", currentDragData.fileContentFilename().utf8().data()); |
+} |
+ |
WebMouseEvent::Button EventSender::getButtonTypeFromButtonNumber(int buttonCode) |
{ |
if (!buttonCode) |