Changeset 157163 in webkit
- Timestamp:
- Oct 9, 2013 6:07:37 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r157158 r157163 1 2013-10-09 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] mouse wheel events are not considered to be mouse events 4 https://bugs.webkit.org/show_bug.cgi?id=120648 5 6 Reviewed by Gustavo Noronha Silva. 7 8 Expose WheelEvent in the GObject DOM bindings API. 9 10 * bindings/gobject/GNUmakefile.am: Add new files to compilation. 11 * bindings/gobject/WebKitDOMPrivate.cpp: 12 (WebKit::wrap): Create a WebKitDOMWheelEvent when the given Event 13 is a WheelEvent. 14 1 15 2013-10-08 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 16 -
trunk/Source/WebCore/bindings/gobject/GNUmakefile.am
r155943 r157163 272 272 DerivedSources/webkitdom/WebKitDOMWebKitPointPrivate.h \ 273 273 DerivedSources/webkitdom/WebKitDOMWebKitNamedFlow.cpp \ 274 DerivedSources/webkitdom/WebKitDOMWheelEvent.cpp \ 275 DerivedSources/webkitdom/WebKitDOMWheelEventPrivate.h \ 274 276 DerivedSources/webkitdom/WebKitDOMXPathExpression.cpp \ 275 277 DerivedSources/webkitdom/WebKitDOMXPathExpressionPrivate.h \ … … 423 425 DerivedSources/webkitdom/WebKitDOMPerformanceNavigation.h \ 424 426 DerivedSources/webkitdom/WebKitDOMPerformanceTiming.h \ 427 DerivedSources/webkitdom/WebKitDOMWheelEvent.h \ 425 428 DerivedSources/webkitdom/webkitdom.h \ 426 429 DerivedSources/webkitdom/webkitdomdefines.h -
trunk/Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp
r153921 r157163 63 63 #include "WebKitDOMTextPrivate.h" 64 64 #include "WebKitDOMUIEventPrivate.h" 65 #include "WebKitDOMWheelEventPrivate.h" 65 66 66 67 namespace WebKit { … … 112 113 ASSERT(event); 113 114 114 if (event->isMouseEvent()) 115 return WEBKIT_DOM_EVENT(wrapMouseEvent(static_cast<MouseEvent*>(event))); 115 if (event->isUIEvent()) { 116 if (event->isMouseEvent()) 117 return WEBKIT_DOM_EVENT(wrapMouseEvent(static_cast<MouseEvent*>(event))); 116 118 117 if (event->isKeyboardEvent())118 return WEBKIT_DOM_EVENT(wrapKeyboardEvent(static_cast<KeyboardEvent*>(event)));119 if (event->isKeyboardEvent()) 120 return WEBKIT_DOM_EVENT(wrapKeyboardEvent(static_cast<KeyboardEvent*>(event))); 119 121 120 if (event->isUIEvent()) 122 if (event->eventInterface() == WheelEventInterfaceType) 123 return WEBKIT_DOM_EVENT(wrapWheelEvent(static_cast<WheelEvent*>(event))); 124 121 125 return WEBKIT_DOM_EVENT(wrapUIEvent(static_cast<UIEvent*>(event))); 126 } 122 127 123 128 return wrapEvent(event);
Note: See TracChangeset
for help on using the changeset viewer.