Retrieve some basic layout properties for nodes to make the box model somewhat useful.

This commit is contained in:
Josh Matthews 2014-09-04 16:21:50 -04:00
parent fa57fe890b
commit fae7ce3c1d
7 changed files with 101 additions and 31 deletions

View file

@ -70,6 +70,7 @@ pub enum DevtoolScriptControlMsg {
GetRootNode(PipelineId, Sender<NodeInfo>),
GetDocumentElement(PipelineId, Sender<NodeInfo>),
GetChildren(PipelineId, String, Sender<Vec<NodeInfo>>),
GetLayout(PipelineId, String, Sender<(f32, f32)>),
}
/// Messages to instruct devtools server to update its state relating to a particular