Implement a ProfilerActor struct.

This is sufficient to make the profiler tab show up in Firefox's devtools.
This commit is contained in:
Ms2ger 2015-08-13 15:36:13 +02:00
parent 9fda72d60f
commit c10bf0dcaa
3 changed files with 46 additions and 2 deletions

View file

@ -62,6 +62,7 @@ pub struct TabActorMsg {
consoleActor: String,
inspectorActor: String,
timelineActor: String,
profilerActor: String,
}
pub struct TabActor {
@ -71,6 +72,7 @@ pub struct TabActor {
pub console: String,
pub inspector: String,
pub timeline: String,
pub profiler: String,
}
impl Actor for TabActor {
@ -147,6 +149,7 @@ impl TabActor {
consoleActor: self.console.clone(),
inspectorActor: self.inspector.clone(),
timelineActor: self.timeline.clone(),
profilerActor: self.profiler.clone(),
}
}
}