mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #6010 - brson:next, r=pcwalton
Just cleanup. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6010) <!-- Reviewable:end -->
This commit is contained in:
commit
ca9c703bf5
11 changed files with 41 additions and 198 deletions
|
@ -2,6 +2,13 @@
|
|||
* 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/. */
|
||||
|
||||
//! The `Constellation`, Servo's Grand Central Station
|
||||
//!
|
||||
//! The primary duty of a `Constellation` is to mediate between the
|
||||
//! graphics compositor and the many `Pipeline`s in the browser's
|
||||
//! navigation context, each `Pipeline` encompassing a `ScriptTask`,
|
||||
//! `LayoutTask`, and `PaintTask`.
|
||||
|
||||
use pipeline::{Pipeline, CompositionPipeline};
|
||||
|
||||
use compositor_task::CompositorProxy;
|
||||
|
@ -44,6 +51,11 @@ use clipboard::ClipboardContext;
|
|||
use webdriver_traits::WebDriverScriptCommand;
|
||||
|
||||
/// Maintains the pipelines and navigation context and grants permission to composite.
|
||||
///
|
||||
/// It is parameterized over a `LayoutTaskFactory` and a
|
||||
/// `ScriptTaskFactory` (which in practice are implemented by
|
||||
/// `LayoutTask` in the `layout` crate, and `ScriptTask` in
|
||||
/// the `script` crate).
|
||||
pub struct Constellation<LTF, STF> {
|
||||
/// A channel through which messages can be sent to this object.
|
||||
pub chan: ConstellationChan,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue