Moved all the event handlers from QWebFrame into QWebPage.
[WebKit-https.git] / WebKit / qt / Api / qwebframe_p.h
index ab0a9c7..f4061f5 100644 (file)
@@ -76,6 +76,9 @@ public:
     WebCore::PlatformScrollbar *horizontalScrollBar() const;
     WebCore::PlatformScrollbar *verticalScrollBar() const;
 
+    inline QPoint pos() const
+    { return frameView->frameGeometry().topLeft(); }
+
     QWebFrame *q;
     WebCore::FrameLoaderClientQt *frameLoaderClient;
     WTF::RefPtr<WebCore::Frame> frame;