mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
move FocusType enum to the script crate
This commit moves the FocusType enum to the script crate and replaces all usages with the new `usage`. Fixes #8840
This commit is contained in:
parent
7d9a6a8397
commit
bcc53edda4
4 changed files with 11 additions and 12 deletions
|
@ -213,13 +213,6 @@ bitflags! {
|
|||
}
|
||||
}
|
||||
|
||||
/// Specifies the type of focus event that is sent to a pipeline
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
pub enum FocusType {
|
||||
Element, // The first focus message - focus the element itself
|
||||
Parent, // Focusing a parent element (an iframe)
|
||||
}
|
||||
|
||||
/// Specifies the information required to load a URL in an iframe.
|
||||
#[derive(Deserialize, Serialize)]
|
||||
pub struct IframeLoadInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue