Rename glutin port to winit

This commit is contained in:
atouchet 2020-05-27 20:13:15 -07:00
parent 693ff29858
commit a33c75cbec
24 changed files with 12 additions and 13 deletions

View file

@ -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

View file

@ -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 {

View file

@ -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");