mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
ports/cef: Implement accelerated compositing for the CEF port.
This commit is contained in:
@@ -19,7 +19,7 @@ pub enum PaintState {
|
||||
PaintingPaintState,
|
||||
}
|
||||
|
||||
#[deriving(Eq, Ord, PartialEq, PartialOrd, Clone)]
|
||||
#[deriving(Eq, Ord, PartialEq, PartialOrd, Clone, Show)]
|
||||
pub enum ReadyState {
|
||||
/// Informs the compositor that nothing has been done yet. Used for setting status
|
||||
Blank,
|
||||
@@ -111,6 +111,8 @@ pub trait ScriptListener {
|
||||
pipeline_id: PipelineId,
|
||||
layer_id: LayerId,
|
||||
point: Point2D<f32>);
|
||||
/// Informs the compositor that the title of the page with the given pipeline ID has changed.
|
||||
fn set_title(&mut self, pipeline_id: PipelineId, new_title: Option<String>);
|
||||
fn close(&mut self);
|
||||
fn dup(&mut self) -> Box<ScriptListener+'static>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user