Add a new wheelEvent method to ScrollView. Platforms that wish
[WebKit-https.git] / WebCore / page / FrameView.cpp
index a6e5446d6343d54c89e151f8f03fb378d7e57949..1425a15d72e0d856e1e9edff9b5cc7e9d9b827b9 100644 (file)
@@ -1199,6 +1199,9 @@ void FrameView::handleWheelEvent(PlatformWheelEvent& e)
                     if (e.deltaY() && node->renderer()->scroll(e.deltaY() < 0 ? ScrollDown : ScrollUp, ScrollByWheel,
                                                                e.deltaY() < 0 ? -e.deltaY() : e.deltaY()))
                         e.accept();
+                        
+                    if (!e.isAccepted())
+                        wheelEvent(e);
                 }
             }
         }