aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/compositor_thread.rs
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2018-02-22 10:22:53 +0100
committerPaul Rouget <me@paulrouget.com>2018-03-22 08:07:32 +0100
commit1cdba8843d7bc10834d2ce1b2904eedd99e7ac00 (patch)
tree59102cc49d486dea784a9ffb6cdb5d5bff78ba69 /components/compositing/compositor_thread.rs
parent34c2150e4f1a2a0ca2569bddc824653309b63c90 (diff)
downloadservo-1cdba8843d7bc10834d2ce1b2904eedd99e7ac00.tar.gz
servo-1cdba8843d7bc10834d2ce1b2904eedd99e7ac00.zip
split window code and browser code in two different files
Diffstat (limited to 'components/compositing/compositor_thread.rs')
-rw-r--r--components/compositing/compositor_thread.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/compositing/compositor_thread.rs b/components/compositing/compositor_thread.rs
index a8d37e6459c..3f43c2ba2bb 100644
--- a/components/compositing/compositor_thread.rs
+++ b/components/compositing/compositor_thread.rs
@@ -141,6 +141,8 @@ pub enum EmbedderMsg {
LoadComplete(TopLevelBrowsingContextId),
/// A pipeline panicked. First string is the reason, second one is the backtrace.
Panic(TopLevelBrowsingContextId, String, Option<String>),
+ /// Servo has shut down
+ Shutdown,
}
/// Messages from the painting thread and the constellation thread to the compositor thread.
@@ -239,6 +241,7 @@ impl Debug for EmbedderMsg {
EmbedderMsg::LoadStart(..) => write!(f, "LoadStart"),
EmbedderMsg::LoadComplete(..) => write!(f, "LoadComplete"),
EmbedderMsg::Panic(..) => write!(f, "Panic"),
+ EmbedderMsg::Shutdown => write!(f, "Shutdown"),
}
}
}