Version: 51.0.2668.0 (Developer Build) (64-bit)
OS: Linux
Currently in child class of blink::WebPlugin or WebViewPlugin::Delegate, it is not possible to query its position in screen coordinates.
Currently in WebPluginContainer there are:
virtual WebPoint rootFrameToLocalPoint(const WebPoint&) = 0;
virtual WebPoint localToRootFramePoint(const WebPoint&) = 0;
I suggest to add:
virtual WebRect localToScreenRect(const WebRect&) = 0;
So that an plugin can call
rect_in_screen_coords = plugin()->container()->localToScreenRect(unobscured_rect)
when its WebViewPlugin::updateGeometry is called.
Comment 1 by j.iso...@samsung.com
, Mar 4 2016