mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use new stylo crate renames (#35898)
Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
parent
e4757534fe
commit
f527217bdc
105 changed files with 178 additions and 179 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use dom_struct::dom_struct;
|
||||
use js::rust::HandleObject;
|
||||
use servo_atoms::Atom;
|
||||
use stylo_atoms::Atom;
|
||||
|
||||
use crate::dom::bindings::codegen::Bindings::EventBinding::Event_Binding::EventMethods;
|
||||
use crate::dom::bindings::codegen::Bindings::XRInputSourceEventBinding::{
|
||||
|
|
|
@ -6,7 +6,7 @@ use dom_struct::dom_struct;
|
|||
use js::jsapi::Heap;
|
||||
use js::jsval::JSVal;
|
||||
use js::rust::{HandleObject, MutableHandleValue};
|
||||
use servo_atoms::Atom;
|
||||
use stylo_atoms::Atom;
|
||||
|
||||
use crate::dom::bindings::codegen::Bindings::EventBinding::Event_Binding::EventMethods;
|
||||
use crate::dom::bindings::codegen::Bindings::XRInputSourcesChangeEventBinding::{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
use dom_struct::dom_struct;
|
||||
use js::rust::HandleObject;
|
||||
use servo_atoms::Atom;
|
||||
use stylo_atoms::Atom;
|
||||
|
||||
use crate::dom::bindings::codegen::Bindings::EventBinding::Event_Binding::EventMethods;
|
||||
use crate::dom::bindings::codegen::Bindings::XRLayerEventBinding::{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
use dom_struct::dom_struct;
|
||||
use js::rust::HandleObject;
|
||||
use servo_atoms::Atom;
|
||||
use stylo_atoms::Atom;
|
||||
|
||||
use crate::dom::bindings::codegen::Bindings::EventBinding::Event_Binding::EventMethods;
|
||||
use crate::dom::bindings::codegen::Bindings::XRReferenceSpaceEventBinding::{
|
||||
|
|
|
@ -17,7 +17,7 @@ use js::jsapi::JSObject;
|
|||
use js::rust::MutableHandleValue;
|
||||
use js::typedarray::Float32Array;
|
||||
use profile_traits::ipc;
|
||||
use servo_atoms::Atom;
|
||||
use stylo_atoms::Atom;
|
||||
use webxr_api::{
|
||||
self, util, ApiSpace, ContextId as WebXRContextId, Display, EntityTypes, EnvironmentBlendMode,
|
||||
Event as XREvent, Frame, FrameUpdateEvent, HitTestId, HitTestSource, InputFrame, InputId, Ray,
|
||||
|
@ -294,7 +294,7 @@ impl XRSession {
|
|||
event.upcast::<Event>().fire(self.upcast(), can_gc);
|
||||
},
|
||||
XREvent::Select(input, kind, ty, frame) => {
|
||||
use servo_atoms::Atom;
|
||||
use stylo_atoms::Atom;
|
||||
const START_ATOMS: [Atom; 2] = [atom!("selectstart"), atom!("squeezestart")];
|
||||
const EVENT_ATOMS: [Atom; 2] = [atom!("select"), atom!("squeeze")];
|
||||
const END_ATOMS: [Atom; 2] = [atom!("selectend"), atom!("squeezeend")];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
use dom_struct::dom_struct;
|
||||
use js::rust::HandleObject;
|
||||
use servo_atoms::Atom;
|
||||
use stylo_atoms::Atom;
|
||||
|
||||
use crate::dom::bindings::codegen::Bindings::EventBinding::Event_Binding::EventMethods;
|
||||
use crate::dom::bindings::codegen::Bindings::XRSessionEventBinding::{self, XRSessionEventMethods};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue