diff options
author | bors-servo <release+servo@mozilla.com> | 2013-06-17 13:21:34 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-06-17 13:21:34 -0700 |
commit | d61c4553409089ff51788e485bf426278fc3a30e (patch) | |
tree | 3d040da92e94ac90afaa2eaaeee493c6ce16d3bb /src/components/script/compositor_interface.rs | |
parent | 93eea6b2e87adedf833790d045bf69417ca9b7e3 (diff) | |
parent | 577a410f806d991f48c9f350a060aa1aca72eab8 (diff) | |
download | servo-d61c4553409089ff51788e485bf426278fc3a30e.tar.gz servo-d61c4553409089ff51788e485bf426278fc3a30e.zip |
auto merge of #517 : tkuehn/servo/master, r=metajack
communicate via layout
refactor channel wrappers from *Task --> *Chan
Diffstat (limited to 'src/components/script/compositor_interface.rs')
-rw-r--r-- | src/components/script/compositor_interface.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/script/compositor_interface.rs b/src/components/script/compositor_interface.rs index 8e48e9f1492..b0041e49298 100644 --- a/src/components/script/compositor_interface.rs +++ b/src/components/script/compositor_interface.rs @@ -14,6 +14,8 @@ pub enum ReadyState { FinishedLoading, } -pub trait CompositorInterface : Clone { +/// The interface used by the script task to tell the compositor to update its ready state, +/// which is used in displaying the appropriate message in the window's title. +pub trait ScriptListener : Clone { fn set_ready_state(&self, ReadyState); } |