pub trait WebViewTrait {
// Required methods
fn id(&self) -> WebViewId;
fn screen_geometry(&self) -> Option<ScreenGeometry>;
fn set_animating(&self, new_value: bool);
}
Expand description
A trait that exposes the embedding layer’s WebView
to the Servo renderer.
This is to prevent a dependency cycle between the renderer and the embedding
layer.