equal
deleted
inserted
replaced
64 #include "CSSStyleSelector.h" |
64 #include "CSSStyleSelector.h" |
65 #include "CSSValueKeywords.h" |
65 #include "CSSValueKeywords.h" |
66 #include "Settings.h" |
66 #include "Settings.h" |
67 #include "WebGestureInterface.h" |
67 #include "WebGestureInterface.h" |
68 #include "WebPagePinchZoomHandler.h" |
68 #include "WebPagePinchZoomHandler.h" |
|
69 #include "WebScrollingDeceleratorGH.h" |
69 |
70 |
70 #include "WebKitLogger.h" |
71 #include "WebKitLogger.h" |
71 using namespace WebCore; |
72 using namespace WebCore; |
72 using namespace EventNames; |
73 using namespace EventNames; |
73 |
74 |
348 // Handle FormFill popup |
349 // Handle FormFill popup |
349 if (m_webview->formFillPopup() && m_webview->formFillPopup()->IsVisible()) { |
350 if (m_webview->formFillPopup() && m_webview->formFillPopup()->IsVisible()) { |
350 m_webview->formFillPopup()->HandlePointerEventL(aPointerEvent); |
351 m_webview->formFillPopup()->HandlePointerEventL(aPointerEvent); |
351 return; |
352 return; |
352 } |
353 } |
353 |
354 |
|
355 //if scrolling is going on, it need to be stopped immediately when user touches down |
|
356 if (aPointerEvent.iType == TPointerEvent::EButton1Down && m_webview->viewIsScrolling()) { |
|
357 WebScrollingDeceleratorGH* scrollDecelGH = m_webview->pageScrollHandler()->ScrollingDeceleratorGH(); |
|
358 if(scrollDecelGH) { |
|
359 scrollDecelGH->cancelDecel(); |
|
360 } |
|
361 } |
|
362 |
354 #ifdef BRDO_USE_GESTURE_HELPER |
363 #ifdef BRDO_USE_GESTURE_HELPER |
355 m_gestureInterface->HandlePointerEventL(aPointerEvent); |
364 m_gestureInterface->HandlePointerEventL(aPointerEvent); |
356 #endif |
365 #endif |
357 } |
366 } |
358 |
367 |