diff options
author | Keith Yeung <kungfukeith11@gmail.com> | 2018-04-09 16:27:20 -0700 |
---|---|---|
committer | Keith Yeung <kungfukeith11@gmail.com> | 2018-04-30 15:43:39 -0700 |
commit | 4383b3053b40cebaaef8bfbfd32152a22c313bf1 (patch) | |
tree | d143675394dde971102f6dfc3b63e8e8209ba007 /components/script_traits/script_msg.rs | |
parent | 847115ba0441b1b1a6ad98562b010f7e33b7b14d (diff) | |
download | servo-4383b3053b40cebaaef8bfbfd32152a22c313bf1.tar.gz servo-4383b3053b40cebaaef8bfbfd32152a22c313bf1.zip |
Add a new RPC call for getting a child browsing context ID
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index efc368e0761..b3075c082bc 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -90,6 +90,8 @@ pub enum ScriptMsg { GetBrowsingContextId(PipelineId, IpcSender<Option<BrowsingContextId>>), /// Get the parent info for a given pipeline. GetParentInfo(PipelineId, IpcSender<Option<PipelineId>>), + /// Get the nth child browsing context ID for a given browsing context, sorted in tree order. + GetChildBrowsingContextId(BrowsingContextId, usize, IpcSender<Option<BrowsingContextId>>), /// <head> tag finished parsing HeadParsed, /// All pending loads are complete, and the `load` event for this pipeline |