mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
base: Finish rename of TopLevelBrowsingContextId
to WebViewId
(#35896)
The `WebViewId` name is a lot more descriptive these days to the casual reader, so I think we can go ahead and finish the rename. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
81fe4bbb1e
commit
2464d0937f
22 changed files with 416 additions and 570 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
use base::id::{BrowsingContextGroupId, BrowsingContextId, PipelineId, TopLevelBrowsingContextId};
|
||||
use base::id::{BrowsingContextGroupId, BrowsingContextId, PipelineId, WebViewId};
|
||||
use euclid::Size2D;
|
||||
use log::warn;
|
||||
use style_traits::CSSPixel;
|
||||
|
@ -48,7 +48,7 @@ pub struct BrowsingContext {
|
|||
pub id: BrowsingContextId,
|
||||
|
||||
/// The top-level browsing context ancestor
|
||||
pub top_level_id: TopLevelBrowsingContextId,
|
||||
pub top_level_id: WebViewId,
|
||||
|
||||
/// The size of the frame.
|
||||
pub size: Size2D<f32, CSSPixel>,
|
||||
|
@ -82,7 +82,7 @@ impl BrowsingContext {
|
|||
pub fn new(
|
||||
bc_group_id: BrowsingContextGroupId,
|
||||
id: BrowsingContextId,
|
||||
top_level_id: TopLevelBrowsingContextId,
|
||||
top_level_id: WebViewId,
|
||||
pipeline_id: PipelineId,
|
||||
parent_pipeline_id: Option<PipelineId>,
|
||||
size: Size2D<f32, CSSPixel>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue