mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
added pipelines to all task sources
changed task sources to accept pipeline ids
This commit is contained in:
parent
2ffbe53989
commit
52b63def44
20 changed files with 194 additions and 230 deletions
|
@ -233,7 +233,7 @@ pub enum DocumentActivity {
|
|||
|
||||
/// Type of recorded progressive web metric
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Serialize)]
|
||||
pub enum PWMType {
|
||||
pub enum ProgressiveWebMetricType {
|
||||
/// Time to first Paint
|
||||
FirstPaint,
|
||||
/// Time to first contentful paint
|
||||
|
@ -324,9 +324,7 @@ pub enum ConstellationControlMsg {
|
|||
/// Notifies the script thread of WebVR events.
|
||||
WebVREvents(PipelineId, Vec<WebVREvent>),
|
||||
/// Notifies the script thread about a new recorded paint metric.
|
||||
PaintMetric(PipelineId, PWMType, f64),
|
||||
/// Notifies the script thread of interactive time
|
||||
InteractiveMetric(PipelineId, f64),
|
||||
PaintMetric(PipelineId, ProgressiveWebMetricType, f64),
|
||||
}
|
||||
|
||||
impl fmt::Debug for ConstellationControlMsg {
|
||||
|
@ -361,7 +359,6 @@ impl fmt::Debug for ConstellationControlMsg {
|
|||
Reload(..) => "Reload",
|
||||
WebVREvents(..) => "WebVREvents",
|
||||
PaintMetric(..) => "PaintMetric",
|
||||
InteractiveMetric(..) => "InteractiveMetric"
|
||||
};
|
||||
write!(formatter, "ConstellationMsg::{}", variant)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue