From c75c32cc9dff47b1230366e1044bdf6b5ba6495c Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 14 Jul 2014 12:51:02 +0200 Subject: Fix RenderWidgetHostViewQt::GetViewBounds GetViewBounds should return the bounds of the view, not the screen rect. The view bounds are for example used to calculate the screen position of accessible objects (which gets fixed with this patch). Change-Id: I5b342113af737847c1756a13183cd2b8b8db648a Reviewed-by: Andras Becsi Reviewed-by: Michael Bruning --- src/webengine/render_widget_host_view_qt_delegate_quickwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/webengine/render_widget_host_view_qt_delegate_quickwindow.h') diff --git a/src/webengine/render_widget_host_view_qt_delegate_quickwindow.h b/src/webengine/render_widget_host_view_qt_delegate_quickwindow.h index 667bb4b3a..53203bb47 100644 --- a/src/webengine/render_widget_host_view_qt_delegate_quickwindow.h +++ b/src/webengine/render_widget_host_view_qt_delegate_quickwindow.h @@ -58,6 +58,7 @@ public: virtual void initAsChild(WebContentsAdapterClient* container) Q_DECL_OVERRIDE; virtual void initAsPopup(const QRect&) Q_DECL_OVERRIDE; virtual QRectF screenRect() const Q_DECL_OVERRIDE; + virtual QRectF contentsRect() const Q_DECL_OVERRIDE; virtual void setKeyboardFocus() Q_DECL_OVERRIDE {} virtual bool hasKeyboardFocus() Q_DECL_OVERRIDE { return false; } virtual void show() Q_DECL_OVERRIDE; -- cgit v1.2.3