mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
doc: Add doc for compositor/webview/embedder related to window/rect/inner_size/rendering_context (#38110)
Add docs before actually fixing #38089, #38090, #37978, #38093. Testing: Just adding docs. --------- Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
parent
345733a5c5
commit
fe2c13c777
6 changed files with 10 additions and 5 deletions
|
@ -76,6 +76,7 @@ pub(crate) struct WebViewRenderer {
|
|||
pub webview: Box<dyn WebViewTrait>,
|
||||
/// The root [`PipelineId`] of the currently displayed page in this WebView.
|
||||
pub root_pipeline_id: Option<PipelineId>,
|
||||
/// The rectangle of the [`WebView`] in device pixels, which is the viewport.
|
||||
pub rect: DeviceRect,
|
||||
/// Tracks details about each active pipeline that the compositor knows about.
|
||||
pub pipelines: HashMap<PipelineId, PipelineDetails>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue