mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update webrender
This commit is contained in:
parent
482923cec2
commit
5413328be2
20 changed files with 138 additions and 122 deletions
|
@ -17,7 +17,7 @@ use profile_traits::time;
|
|||
use script_traits::{AnimationState, ConstellationMsg, EventResult};
|
||||
use std::fmt::{Debug, Error, Formatter};
|
||||
use style_traits::viewport::ViewportConstraints;
|
||||
use webrender_api::{self, DeviceIntPoint, DeviceUintSize};
|
||||
use webrender_api::{self, DeviceIntPoint, DeviceIntSize};
|
||||
|
||||
/// Sends messages to the compositor.
|
||||
pub struct CompositorProxy {
|
||||
|
@ -106,11 +106,11 @@ pub enum Msg {
|
|||
LoadComplete(TopLevelBrowsingContextId),
|
||||
|
||||
/// Get Window Informations size and position.
|
||||
GetClientWindow(IpcSender<(DeviceUintSize, DeviceIntPoint)>),
|
||||
GetClientWindow(IpcSender<(DeviceIntSize, DeviceIntPoint)>),
|
||||
/// Get screen size.
|
||||
GetScreenSize(IpcSender<DeviceUintSize>),
|
||||
GetScreenSize(IpcSender<DeviceIntSize>),
|
||||
/// Get screen available size.
|
||||
GetScreenAvailSize(IpcSender<DeviceUintSize>),
|
||||
GetScreenAvailSize(IpcSender<DeviceIntSize>),
|
||||
}
|
||||
|
||||
impl Debug for Msg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue