-
bweinstein@apple.com authored
Reviewed by Simon Fraser. Changed call of scrollbarUnderMouse to scrollbarUnderPoint to match new API. * Api/qwebpage.cpp: (QWebPage::swallowContextMenuEvent): 2009-06-26 Brian Weinstein <bweinstein@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=26695 Added hit testing on scrollbars, so if you start a gesture over a scrollbar, it isn't counted, and lets the user drag the scrollbar itself instead of a panning gesture. Also cleaned up code in gesture. * WebView.cpp: (WebView::gestureNotify): (WebView::gesture): 2009-06-26 Brian Weinstein <bweinstein@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=26695 Added the ability to do scrollbar hit testing in EventHandler, changed the signature of a PlatformWheelEvent constructor, and changed scrollbarUnderMouse to scrollbarUnderPoint, and updated all calls to that function. * page/EventHandler.cpp: (WebCore::EventHandler::hitTestResultAtPoint): (WebCore::EventHandler::handleMousePressEvent): (WebCore::EventHandler::handleMouseMoveEvent): * page/EventHandler.h: (WebCore::): * platform/PlatformWheelEvent.h: * platform/ScrollView.cpp: (WebCore::ScrollView::scrollbarUnderPoint): * platform/ScrollView.h: * platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupListBox::handleMouseDownEvent): (WebCore::PopupListBox::handleMouseMoveEvent): * platform/win/WheelEventWin.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c06336f8