| Index: content/public/renderer/render_view.h
|
| diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h
|
| index 1f0a2358e606ba01c81b3ebb29548c57ba47f523..81cb79cf0175b82d2e56450121486a677a0e1e4c 100644
|
| --- a/content/public/renderer/render_view.h
|
| +++ b/content/public/renderer/render_view.h
|
| @@ -24,6 +24,7 @@ class WebString;
|
| class WebURLRequest;
|
| class WebView;
|
| struct WebContextMenuData;
|
| +struct WebFloatRect;
|
| struct WebRect;
|
| }
|
|
|
| @@ -130,6 +131,12 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
|
| // use-zoom-for-dsf feature is eanbled, and Viewport coordinates
|
| // becomes DSF times larger than window coordinates.
|
| virtual void convertViewportToWindow(blink::WebRect* rect) = 0;
|
| + virtual void convertViewportToWindow(blink::WebFloatRect* rect) = 0;
|
| +
|
| + // Returns the bounding box for |element| in Window coordinates. This function
|
| + // will update the layout if required.
|
| + virtual void getElementBoundingBoxWindow(blink::WebElement* element,
|
| + blink::WebFloatRect* rect) = 0;
|
|
|
| protected:
|
| ~RenderView() override {}
|
|
|