mirror of
https://github.com/servo/servo.git
synced 2025-10-08 20:49:24 +01:00
Split Page code out of script_task.rs #2530
This commit is contained in:
parent
4c5437c58b
commit
94ec3cde8a
8 changed files with 455 additions and 418 deletions
|
@ -4339,7 +4339,7 @@ class CGBindingRoot(CGThing):
|
|||
'dom::bindings::proxyhandler::{FillPropertyDescriptor, GetExpandoObject}',
|
||||
'dom::bindings::proxyhandler::{getPropertyDescriptor}',
|
||||
'dom::bindings::str::ByteString',
|
||||
'script_task::JSPageInfo',
|
||||
'page::JSPageInfo',
|
||||
'libc',
|
||||
'servo_util::str::DOMString',
|
||||
'std::mem',
|
||||
|
@ -5214,7 +5214,7 @@ class GlobalGenRoots():
|
|||
'dom::bindings::codegen',
|
||||
'dom::bindings::js::{JS, JSRef}',
|
||||
'dom::window::Window',
|
||||
'script_task::JSPageInfo',
|
||||
'page::JSPageInfo',
|
||||
])
|
||||
|
||||
@staticmethod
|
||||
|
|
|
@ -14,7 +14,7 @@ use dom::htmlelement::HTMLElement;
|
|||
use dom::node::{Node, ElementNodeTypeId, window_from_node};
|
||||
use dom::virtualmethods::VirtualMethods;
|
||||
use dom::window::Window;
|
||||
use script_task::IterablePage;
|
||||
use page::IterablePage;
|
||||
use servo_msg::constellation_msg::{PipelineId, SubpageId};
|
||||
use servo_msg::constellation_msg::{IFrameSandboxed, IFrameUnsandboxed};
|
||||
use servo_msg::constellation_msg::{ConstellationChan, LoadIframeUrlMsg};
|
||||
|
|
|
@ -8,7 +8,7 @@ use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
|
|||
use dom::window::Window;
|
||||
use servo_util::str::DOMString;
|
||||
|
||||
use script_task::{Page};
|
||||
use page::Page;
|
||||
use std::rc::Rc;
|
||||
|
||||
use serialize::{Encoder, Encodable};
|
||||
|
|
|
@ -17,7 +17,8 @@ use dom::navigator::Navigator;
|
|||
use dom::performance::Performance;
|
||||
|
||||
use layout_interface::{ReflowForDisplay, DocumentDamageLevel};
|
||||
use script_task::{ExitWindowMsg, FireTimerMsg, Page, ScriptChan, TriggerLoadMsg, TriggerFragmentMsg};
|
||||
use page::Page;
|
||||
use script_task::{ExitWindowMsg, FireTimerMsg, ScriptChan, TriggerLoadMsg, TriggerFragmentMsg};
|
||||
use servo_msg::compositor_msg::ScriptListener;
|
||||
use servo_net::image_cache_task::ImageCacheTask;
|
||||
use servo_util::str::DOMString;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue