mirror of
https://github.com/servo/servo.git
synced 2025-07-19 05:13:55 +01:00
Move common indexeddb methods out of dom implementations (#38101)
A lot of shared functions were scattered around the dom files; I moved them into `indexed_db.rs` for clarity. Fixes: Nothing to my knowledge, just a cleanup Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
e10466b4c4
commit
f70a4eb4ff
8 changed files with 314 additions and 299 deletions
|
@ -5,16 +5,16 @@
|
|||
use std::default::Default;
|
||||
use std::iter;
|
||||
|
||||
use webrender_api::units::DeviceIntRect;
|
||||
use ipc_channel::ipc;
|
||||
use dom_struct::dom_struct;
|
||||
use embedder_traits::{EmbedderMsg, FormControl as EmbedderFormControl};
|
||||
use embedder_traits::{SelectElementOption, SelectElementOptionOrOptgroup};
|
||||
use euclid::{Point2D, Rect, Size2D};
|
||||
use html5ever::{LocalName, Prefix, local_name};
|
||||
use ipc_channel::ipc;
|
||||
use js::rust::HandleObject;
|
||||
use style::attr::AttrValue;
|
||||
use stylo_dom::ElementState;
|
||||
use embedder_traits::{SelectElementOptionOrOptgroup, SelectElementOption};
|
||||
use euclid::{Size2D, Point2D, Rect};
|
||||
use embedder_traits::{FormControl as EmbedderFormControl, EmbedderMsg};
|
||||
use webrender_api::units::DeviceIntRect;
|
||||
|
||||
use crate::dom::bindings::refcounted::Trusted;
|
||||
use crate::dom::event::{EventBubbles, EventCancelable, EventComposed};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue