A sequence number generated by a script thread for its pipelines. The
constellation attaches the target pipelineโs last seen FocusSequenceNumber
to every focus-related message it sends.
Request to present an IME to the user when an editable element is focused. If type is
InputMethodType::Text, then the text parameter specifies the pre-existing text content and
insertion_point the zero-based index into the string of the insertion point.
Information about a WebViewโs screen geometry and offset. This is used
for the Screen CSSOM APIs
and window.screenLeft / window.screenX / window.screenTop / window.screenY /
window.moveBy/ window.resizeBy / window.outerWidth / window.outerHeight /
window.screen.availHeight / window.screen.availWidth.
The address of a node. Layout sends these back. They must be validated via
from_untrusted_node_address before they can be used, because we do not trust layout.
A particular action associated with a ContextMenuItem. These actions are
context-sensitive, which means that some of them are available only for some
page elements.
Used to specify the kind of input method editor appropriate to edit a field.
This is a subset of htmlinputelement::InputType because some variants of InputType
donโt make sense in this context.
A point in a WebView, either expressed in device pixels or page pixels.
Page pixels are CSS pixels, which take into account device pixel scale,
page zoom, and pinch zoom.
A rectangle in a WebView, either expressed in device pixels or page pixels.
Page pixels are CSS pixels, which take into account device pixel scale,
page zoom, and pinch zoom.
A RefreshDriver is a trait that can be implemented by Servo embedders in
order to drive let Servo know when to start preparing the next frame. For example,
on systems that support Vsync notifications, an embedder may want to implement
this trait to drive Servo animations via those notifications.
The RenderingContext trait defines a set of methods for managing
an OpenGL or GLES rendering context.
Implementors of this trait are responsible for handling the creation,
management, and destruction of the rendering context and its associated
resources.