Chromium Code Reviews| Index: content/public/renderer/render_view.h |
| diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h |
| index dcf1de48b91b86ddc650004fce17e9a0ef71e1e6..acaf3e8dbf0ee28b1954fd9be370ff534ccf62c4 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 WebRect; |
| } |
| namespace gfx { |
| @@ -123,6 +124,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender { |
| bool animate) = 0; |
| #endif |
| + // Converts the |rect| from viewport coordinates to window coordinates. |
|
bokan
2015/12/03 20:49:20
Could you add a bit of description here (or elsewh
oshima
2015/12/03 21:58:17
I updated here for now, but I think we should upda
|
| + virtual void convertViewportToWindow(blink::WebRect* rect) = 0; |
| + |
| protected: |
| ~RenderView() override {} |