mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Remove WebVR
This commit is contained in:
parent
d8781c1054
commit
c611e46381
74 changed files with 97 additions and 3178 deletions
|
@ -21,11 +21,9 @@ use std::rc::Rc;
|
|||
use std::time::Duration;
|
||||
use style_traits::DevicePixel;
|
||||
|
||||
use rust_webvr::VRServiceManager;
|
||||
use webrender_api::units::DevicePoint;
|
||||
use webrender_api::units::{DeviceIntPoint, DeviceIntRect, DeviceIntSize};
|
||||
use webrender_api::ScrollLocation;
|
||||
use webvr_traits::WebVRMainThreadHeartbeat;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum MouseWindowEvent {
|
||||
|
@ -176,13 +174,6 @@ pub trait WindowMethods {
|
|||
pub trait EmbedderMethods {
|
||||
/// Returns a thread-safe object to wake up the window's event loop.
|
||||
fn create_event_loop_waker(&mut self) -> Box<dyn EventLoopWaker>;
|
||||
/// Register services with a VRServiceManager.
|
||||
fn register_vr_services(
|
||||
&mut self,
|
||||
_: &mut VRServiceManager,
|
||||
_: &mut Vec<Box<dyn WebVRMainThreadHeartbeat>>,
|
||||
) {
|
||||
}
|
||||
|
||||
/// Register services with a WebXR Registry.
|
||||
fn register_webxr(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue