diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2015-04-07 15:43:41 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-04-20 07:52:22 +1000 |
commit | 18d465bcd273f4629998b62ba37937878211e81a (patch) | |
tree | 7804aa20327e8da0e0394c94a70ab8f6a934e4ae /components/script_traits/lib.rs | |
parent | f164cc253eb876d82ab7c52268751db250ef8f8f (diff) | |
download | servo-18d465bcd273f4629998b62ba37937878211e81a.tar.gz servo-18d465bcd273f4629998b62ba37937878211e81a.zip |
Support focus management and keyboard events for iframes.
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 57ceb73f2b3..a21a6ae3d1f 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -74,6 +74,8 @@ pub enum ConstellationControlMsg { MozBrowserEventMsg(PipelineId, SubpageId, MozBrowserEvent), /// Updates the current subpage id of a given iframe UpdateSubpageId(PipelineId, SubpageId, SubpageId), + /// Set an iframe to be focused. Used when an element in an iframe gains focus. + FocusIFrameMsg(PipelineId, SubpageId), } /// The mouse button involved in the event. |