Changeset 92684 in webkit
- Timestamp:
- Aug 9, 2011 7:28:38 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r92680 r92684 1 2011-08-09 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 3 [Qt] Redirect didFindZoomableArea thru to the view 4 https://bugs.webkit.org/show_bug.cgi?id=65913 5 6 Reviewed by Andreas Kling. 7 8 * UIProcess/API/qt/qdesktopwebview.cpp: 9 (QDesktopWebViewPrivate::didFindZoomableArea): 10 * UIProcess/API/qt/qdesktopwebview_p.h: 11 * UIProcess/qt/QtWebPageProxy.cpp: 12 (QtWebPageProxy::didFindZoomableArea): 13 * UIProcess/qt/QtWebPageProxy.h: 14 * UIProcess/qt/TouchViewInterface.cpp: 15 (WebKit::TouchViewInterface::didFindZoomableArea): 16 * UIProcess/qt/TouchViewInterface.h: 17 * UIProcess/qt/ViewInterface.h: 18 * UIProcess/qt/qdesktopwebpageproxy.cpp: 19 (QDesktopWebPageProxy::timerEvent): 20 * UIProcess/qt/qdesktopwebpageproxy.h: 21 * UIProcess/qt/qtouchwebpageproxy.cpp: 22 (QTouchWebPageProxy::setContentsScale): 23 * UIProcess/qt/qtouchwebpageproxy.h: 24 1 25 2011-08-09 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 26 -
trunk/Source/WebKit2/UIProcess/API/qt/qdesktopwebview.cpp
r92373 r92684 90 90 } 91 91 92 void QDesktopWebViewPrivate::didFindZoomableArea(const QPoint&, const QRect&) 93 { 94 // This feature is only used by QTouchWebView. 95 } 96 92 97 void QDesktopWebViewPrivate::didChangeUrl(const QUrl& url) 93 98 { -
trunk/Source/WebKit2/UIProcess/API/qt/qdesktopwebview_p.h
r92373 r92684 53 53 54 54 virtual void startDrag(Qt::DropActions supportedDropActions, const QImage& dragImage, QMimeData*, QPoint* clientPosition, QPoint* globalPosition, Qt::DropAction* dropAction); 55 virtual void didFindZoomableArea(const QPoint&, const QRect&); 55 56 56 57 virtual void didChangeUrl(const QUrl&); -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.cpp
r91985 r92684 401 401 } 402 402 403 void QtWebPageProxy::didFindZoomableArea(const IntPoint& target, const IntRect& area) 404 { 405 m_viewInterface->didFindZoomableArea(QPoint(target), QRect(area)); 406 } 407 403 408 void QtWebPageProxy::didChangeUrl(const QUrl& url) 404 409 { -
trunk/Source/WebKit2/UIProcess/qt/QtWebPageProxy.h
r91985 r92684 128 128 virtual float userSpaceScaleFactor() const { return 1; } 129 129 130 virtual void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&); 131 130 132 void didChangeUrl(const QUrl&); 131 133 void didChangeTitle(const QString&); -
trunk/Source/WebKit2/UIProcess/qt/TouchViewInterface.cpp
r92376 r92684 92 92 } 93 93 94 void TouchViewInterface::didFindZoomableArea(const QPoint&, const QRect&) 95 { 96 } 97 94 98 SGAgent* TouchViewInterface::sceneGraphAgent() const 95 99 { -
trunk/Source/WebKit2/UIProcess/qt/TouchViewInterface.h
r92376 r92684 60 60 61 61 virtual void startDrag(Qt::DropActions supportedDropActions, const QImage& dragImage, QMimeData* data, QPoint* clientPosition, QPoint* globalPosition, Qt::DropAction* dropAction); 62 virtual void didFindZoomableArea(const QPoint&, const QRect&); 62 63 63 64 virtual void didChangeUrl(const QUrl&); -
trunk/Source/WebKit2/UIProcess/qt/ViewInterface.h
r91863 r92684 54 54 55 55 virtual void startDrag(Qt::DropActions supportedDropActions, const QImage& dragImage, QMimeData* data, QPoint* clientPosition, QPoint* globalPosition, Qt::DropAction* dropAction) = 0; 56 virtual void didFindZoomableArea(const QPoint&, const QRect&) = 0; 56 57 57 58 virtual void didChangeUrl(const QUrl&) = 0; -
trunk/Source/WebKit2/UIProcess/qt/qdesktopwebpageproxy.cpp
r92680 r92684 226 226 QObject::timerEvent(ev); 227 227 } 228 229 void QDesktopWebPageProxy::didFindZoomableArea(const IntPoint&, const IntRect&)230 {231 // This feature is only used by QTouchWebView.232 } -
trunk/Source/WebKit2/UIProcess/qt/qdesktopwebpageproxy.h
r92680 r92684 47 47 virtual void doneWithTouchEvent(const NativeWebTouchEvent&, bool wasEventHandled); 48 48 #endif 49 virtual void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&);50 49 51 50 virtual void timerEvent(QTimerEvent*); -
trunk/Source/WebKit2/UIProcess/qt/qtouchwebpageproxy.cpp
r92680 r92684 121 121 drawingArea()->setContentsScale(scale); 122 122 } 123 124 void QTouchWebPageProxy::didFindZoomableArea(const IntPoint& target, const IntRect& area)125 {126 emit zoomableAreaFound(QRect(area));127 } -
trunk/Source/WebKit2/UIProcess/qt/qtouchwebpageproxy.h
r92680 r92684 55 55 virtual void doneWithTouchEvent(const NativeWebTouchEvent&, bool wasEventHandled); 56 56 #endif 57 virtual void didFindZoomableArea(const WebCore::IntPoint&, const WebCore::IntRect&);58 57 59 58 TouchViewInterface* touchViewInterface() const { return static_cast<TouchViewInterface*>(m_viewInterface); }
Note: See TracChangeset
for help on using the changeset viewer.