mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
script: Move gamepad DOM interfaces to script/dom/gamepad/
(#38900)
Moves interfaces defined by the gamepad spec to the `script/dom/gamepad/` module from `script/dom/`. Testing: Just a refactor shouldn't need any testing Fixes: N/A Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
21a7782206
commit
461ff26812
10 changed files with 26 additions and 18 deletions
|
@ -44,15 +44,15 @@ use crate::dom::bindings::root::MutNullableDom;
|
|||
use crate::dom::clipboardevent::ClipboardEventType;
|
||||
use crate::dom::document::{FireMouseEventType, FocusInitiator, TouchEventResult};
|
||||
use crate::dom::event::{EventBubbles, EventCancelable, EventDefault};
|
||||
use crate::dom::gamepad::contains_user_gesture;
|
||||
use crate::dom::gamepadevent::GamepadEventType;
|
||||
use crate::dom::gamepad::gamepad::{Gamepad, contains_user_gesture};
|
||||
use crate::dom::gamepad::gamepadevent::GamepadEventType;
|
||||
use crate::dom::inputevent::HitTestResult;
|
||||
use crate::dom::node::{self, Node, ShadowIncluding};
|
||||
use crate::dom::pointerevent::PointerId;
|
||||
use crate::dom::types::{
|
||||
ClipboardEvent, CompositionEvent, DataTransfer, Element, Event, EventTarget, Gamepad,
|
||||
GlobalScope, HTMLAnchorElement, KeyboardEvent, MouseEvent, PointerEvent, Touch, TouchEvent,
|
||||
TouchList, WheelEvent, Window,
|
||||
ClipboardEvent, CompositionEvent, DataTransfer, Element, Event, EventTarget, GlobalScope,
|
||||
HTMLAnchorElement, KeyboardEvent, MouseEvent, PointerEvent, Touch, TouchEvent, TouchList,
|
||||
WheelEvent, Window,
|
||||
};
|
||||
use crate::drag_data_store::{DragDataStore, Kind, Mode};
|
||||
use crate::realms::enter_realm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue