Changeset 90739 in webkit
- Timestamp:
- Jul 11, 2011 6:25:24 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r90705 r90739 1 2011-07-11 Andreas Kling <kling@webkit.org> 2 3 [Qt][WK2] Move zoomable-area-for-point functionality to QTouchWebPageProxy 4 https://bugs.webkit.org/show_bug.cgi?id=64273 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 * UIProcess/qt/QtWebPageProxy.cpp: 9 * UIProcess/qt/QtWebPageProxy.h: 10 * UIProcess/qt/qdesktopwebpageproxy.cpp: 11 (QDesktopWebPageProxy::didFindZoomableArea): 12 * UIProcess/qt/qdesktopwebpageproxy.h: 13 * UIProcess/qt/qtouchwebpageproxy.cpp: 14 (QTouchWebPageProxy::findZoomableAreaForPoint): 15 (QTouchWebPageProxy::didFindZoomableArea): 16 * UIProcess/qt/qtouchwebpageproxy.h: 17 1 18 2011-07-10 Anders Carlsson <andersca@apple.com> 2 19 -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.cpp
r90694 r90739 746 746 } 747 747 748 void QtWebPageProxy::findZoomableAreaForPoint(const QPoint& point)749 {750 m_webPageProxy->findZoomableAreaForPoint(point);751 }752 753 void QtWebPageProxy::didFindZoomableArea(const IntRect& area)754 {755 emit zoomableAreaFound(QRect(area));756 }757 758 748 void QtWebPageProxy::startDrag(const WebCore::DragData& dragData, PassRefPtr<ShareableBitmap> dragImage) 759 749 { -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.h
r90694 r90739 109 109 virtual void didRelaunchProcess(); 110 110 virtual void didChangeContentsSize(const WebCore::IntSize&); 111 virtual void didFindZoomableArea(const WebCore::IntRect&); 111 112 112 virtual void startDrag(const WebCore::DragData&, PassRefPtr<ShareableBitmap> dragImage); 113 113 virtual WebCore::IntRect viewportVisibleRect() const; … … 189 189 QWKHistory* history() const; 190 190 191 void findZoomableAreaForPoint(const QPoint&);192 193 191 void setPageIsVisible(bool); 194 192 -
trunk/Source/WebKit2/UIProcess/qt/qdesktopwebpageproxy.cpp
r90550 r90739 226 226 QObject::timerEvent(ev); 227 227 } 228 229 void QDesktopWebPageProxy::didFindZoomableArea(const IntRect&) 230 { 231 // This feature is only used by QTouchWebView. 232 } -
trunk/Source/WebKit2/UIProcess/qt/qdesktopwebpageproxy.h
r90550 r90739 47 47 virtual void doneWithTouchEvent(const NativeWebTouchEvent&, bool wasEventHandled); 48 48 #endif 49 virtual void didFindZoomableArea(const WebCore::IntRect&); 49 50 50 51 virtual void timerEvent(QTimerEvent*); -
trunk/Source/WebKit2/UIProcess/qt/qtouchwebpageproxy.cpp
r90694 r90739 97 97 #endif 98 98 } 99 100 void QTouchWebPageProxy::findZoomableAreaForPoint(const QPoint& point) 101 { 102 m_webPageProxy->findZoomableAreaForPoint(point); 103 } 104 105 void QTouchWebPageProxy::didFindZoomableArea(const IntRect& area) 106 { 107 emit zoomableAreaFound(QRect(area)); 108 } -
trunk/Source/WebKit2/UIProcess/qt/qtouchwebpageproxy.h
r90694 r90739 40 40 41 41 void setResizesToContentsUsingLayoutSize(const QSize& targetLayoutSize); 42 void findZoomableAreaForPoint(const QPoint&); 42 43 43 44 protected: … … 51 52 virtual void doneWithTouchEvent(const NativeWebTouchEvent&, bool wasEventHandled); 52 53 #endif 54 virtual void didFindZoomableArea(const WebCore::IntRect&); 53 55 54 56 TouchViewInterface* touchViewInterface() const { return static_cast<TouchViewInterface*>(m_viewInterface); }
Note: See TracChangeset
for help on using the changeset viewer.