mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Move Pipeline::{parent_info,visible,is_private} to BrowsingContext
This commit is contained in:
parent
2351872354
commit
b051df76ef
4 changed files with 454 additions and 326 deletions
|
@ -2,6 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use browsingcontext::NewBrowsingContextInfo;
|
||||
use msg::constellation_msg::{BrowsingContextId, HistoryStateId, PipelineId, TopLevelBrowsingContextId};
|
||||
use script_traits::LoadData;
|
||||
use servo_url::ServoUrl;
|
||||
|
@ -113,6 +114,10 @@ pub struct SessionHistoryChange {
|
|||
|
||||
/// The old pipeline that the new pipeline should replace.
|
||||
pub replace: Option<NeedsToReload>,
|
||||
|
||||
/// Holds data for not-yet constructed browsing contexts that are not
|
||||
/// easily available when they need to be constructed.
|
||||
pub new_browsing_context_info: Option<NewBrowsingContextInfo>,
|
||||
}
|
||||
|
||||
/// Represents a pipeline or discarded pipeline in a history entry.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue