Implement a PerformanceActor.

This is necessary for the devtools "Start Recording Performance" button to
send a message.

(This message is not yet supported, so it leads to
'unexpected message type "startRecording" found for actor "performance4"'.)
This commit is contained in:
Ms2ger 2015-08-15 14:14:11 +02:00
parent 6a52ec9484
commit 238beec038
3 changed files with 83 additions and 2 deletions

View file

@ -63,6 +63,7 @@ pub struct TabActorMsg {
inspectorActor: String,
timelineActor: String,
profilerActor: String,
performanceActor: String,
}
pub struct TabActor {
@ -73,6 +74,7 @@ pub struct TabActor {
pub inspector: String,
pub timeline: String,
pub profiler: String,
pub performance: String,
}
impl Actor for TabActor {
@ -150,6 +152,7 @@ impl TabActor {
inspectorActor: self.inspector.clone(),
timelineActor: self.timeline.clone(),
profilerActor: self.profiler.clone(),
performanceActor: self.performance.clone(),
}
}
}