diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/page/wx/EventHandlerWx.cpp | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/page/wx/EventHandlerWx.cpp')
-rw-r--r-- | WebCore/page/wx/EventHandlerWx.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/WebCore/page/wx/EventHandlerWx.cpp b/WebCore/page/wx/EventHandlerWx.cpp index 6670c18..ce4473f 100644 --- a/WebCore/page/wx/EventHandlerWx.cpp +++ b/WebCore/page/wx/EventHandlerWx.cpp @@ -24,20 +24,25 @@ */ #include "config.h" +#include "EventHandler.h" #include "ClipboardWx.h" -#include "EventHandler.h" #include "FocusController.h" #include "Frame.h" #include "FrameView.h" #include "KeyboardEvent.h" #include "MouseEventWithHitTestResults.h" #include "Page.h" -#include "PlatformScrollBar.h" +#include "PlatformKeyboardEvent.h" #include "RenderWidget.h" +#include "Scrollbar.h" namespace WebCore { +unsigned EventHandler::s_accessKeyModifiers = PlatformKeyboardEvent::AltKey; + +const double EventHandler::TextDragDelay = 0.0; + bool EventHandler::passMousePressEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return passSubframeEventToSubframe(mev, subframe); @@ -53,11 +58,6 @@ bool EventHandler::passMouseReleaseEventToSubframe(MouseEventWithHitTestResults& return passSubframeEventToSubframe(mev, subframe); } -bool EventHandler::passMousePressEventToScrollbar(MouseEventWithHitTestResults& mouseEvent, PlatformScrollbar* scrollbar) -{ - return passMouseDownEventToWidget(scrollbar); -} - bool EventHandler::passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults& event) { // Figure out which view to send the event to. @@ -86,9 +86,9 @@ bool EventHandler::eventActivatedView(const PlatformMouseEvent&) const return false; } -Clipboard* EventHandler::createDraggingClipboard() const +PassRefPtr<Clipboard> EventHandler::createDraggingClipboard() const { - return new ClipboardWx(ClipboardWritable, true); + return ClipboardWx::create(ClipboardWritable, true); } } |