mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Overhaul ComputedValues measurement, and add style structs measurement.
This commit is contained in:
parent
60c44b072c
commit
1a40101d2f
4 changed files with 77 additions and 44 deletions
|
@ -1915,11 +1915,26 @@ extern "C" {
|
|||
pub fn Servo_Element_ClearData(node: RawGeckoElementBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Element_SizeOfExcludingThis(arg1: MallocSizeOf,
|
||||
seen_ptrs: *mut SeenPtrs,
|
||||
node: RawGeckoElementBorrowed)
|
||||
pub fn Servo_Element_SizeOfExcludingThisAndCVs(malloc_size_of: MallocSizeOf,
|
||||
seen_ptrs: *mut SeenPtrs,
|
||||
node: RawGeckoElementBorrowed)
|
||||
-> usize;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Element_HasPrimaryComputedValues(element: RawGeckoElementBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Element_GetPrimaryComputedValues(element: RawGeckoElementBorrowed)
|
||||
-> ServoStyleContextStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Element_HasPseudoComputedValues(element: RawGeckoElementBorrowed, index: usize)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_Element_GetPseudoComputedValues(element: RawGeckoElementBorrowed, index: usize)
|
||||
-> ServoStyleContextStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSheet_FromUTF8Bytes(loader: *mut Loader,
|
||||
gecko_stylesheet:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue