equal
deleted
inserted
replaced
289 if (m_frame->isIframe()) { |
289 if (m_frame->isIframe()) { |
290 // iframe, support scrolling |
290 // iframe, support scrolling |
291 if (aPoint != m_contentPos) { |
291 if (aPoint != m_contentPos) { |
292 TPoint p(nearestPointInFrame(aPoint)); |
292 TPoint p(nearestPointInFrame(aPoint)); |
293 m_contentPos = p; |
293 m_contentPos = p; |
294 m_frame->notifyPluginsOfScrolling(); |
294 m_frame->notifyPluginsOfPositionChange(); |
295 m_topView->syncRepaint( TRect(0,0,KMaxTInt/2,KMaxTInt/2) ); |
295 m_topView->syncRepaint( TRect(0,0,KMaxTInt/2,KMaxTInt/2) ); |
296 } |
296 } |
297 } |
297 } |
298 else { |
298 else { |
299 if (aPoint.iX==0 && aPoint.iY==0) { |
299 if (aPoint.iX==0 && aPoint.iY==0) { |
324 |
324 |
325 m_topView->scrollBuffer(to, from, copyScroll); |
325 m_topView->scrollBuffer(to, from, copyScroll); |
326 m_contentPos = p; |
326 m_contentPos = p; |
327 |
327 |
328 |
328 |
329 m_frame->notifyPluginsOfScrolling(); |
329 m_frame->notifyPluginsOfPositionChange(); |
330 |
330 |
331 |
331 |
332 if( m_topView->pageScaler() && m_topView->pageScaler()->Visible()) |
332 if( m_topView->pageScaler() && m_topView->pageScaler()->Visible()) |
333 m_topView->pageScaler()->DocumentViewportMoved(); |
333 m_topView->pageScaler()->DocumentViewportMoved(); |
334 |
334 |