mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Rename glutin port to winit
This commit is contained in:
parent
693ff29858
commit
a33c75cbec
24 changed files with 12 additions and 13 deletions
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// This is a copy of the resource loader from the glutin port
|
||||
// This is a copy of the resource loader from the winit port
|
||||
// TODO: move this to somewhere where it can be shared.
|
||||
// https://github.com/servo/servo/issues/24853
|
||||
|
||||
|
|
|
@ -513,7 +513,7 @@ where
|
|||
},
|
||||
EmbedderMsg::MediaSessionEvent(_) => {
|
||||
debug!("MediaSessionEvent received");
|
||||
// TODO(ferjm): MediaSession support for Glutin based browsers.
|
||||
// TODO(ferjm): MediaSession support for winit based browsers.
|
||||
},
|
||||
EmbedderMsg::OnDevtoolsStarted(port) => {
|
||||
match port {
|
|
@ -8,12 +8,11 @@
|
|||
//! the compositor's `WindowMethods` to create a working web browser.
|
||||
//!
|
||||
//! This browser's implementation of `WindowMethods` is built on top
|
||||
//! of [glutin], the cross-platform OpenGL utility and windowing
|
||||
//! library.
|
||||
//! of [winit], the cross-platform windowing library.
|
||||
//!
|
||||
//! For the engine itself look next door in `components/servo/lib.rs`.
|
||||
//!
|
||||
//! [glutin]: https://github.com/tomaka/glutin
|
||||
//! [winit]: https://github.com/rust-windowing/winit
|
||||
|
||||
#[cfg(not(target_os = "android"))]
|
||||
include!("main2.rs");
|
Loading…
Add table
Add a link
Reference in a new issue