mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Barebones media UI
This commit is contained in:
parent
4f6b86f9f5
commit
1c02fc94a8
11 changed files with 177 additions and 25 deletions
|
@ -29,6 +29,7 @@ fn filename(file: Resource) -> &'static str {
|
|||
Resource::PresentationalHintsCSS => "presentational-hints.css",
|
||||
Resource::QuirksModeCSS => "quirks-mode.css",
|
||||
Resource::RippyPNG => "rippy.png",
|
||||
Resource::MediaControls => "media_controls.js",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -702,6 +702,9 @@ impl ResourceReaderMethods for ResourceReaderInstance {
|
|||
Resource::BluetoothBlocklist => {
|
||||
&include_bytes!("../../../../resources/gatt_blocklist.txt")[..]
|
||||
},
|
||||
Resource::MediaControls => {
|
||||
&include_bytes!("../../../../resources/media_controls.js")[..]
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue