mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement a ProfilerActor struct.
This is sufficient to make the profiler tab show up in Firefox's devtools.
This commit is contained in:
parent
9fda72d60f
commit
c10bf0dcaa
3 changed files with 46 additions and 2 deletions
|
@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue