diff options
author | Paul Rouget <me@paulrouget.com> | 2018-02-22 10:22:53 +0100 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2018-03-22 08:07:32 +0100 |
commit | 1cdba8843d7bc10834d2ce1b2904eedd99e7ac00 (patch) | |
tree | 59102cc49d486dea784a9ffb6cdb5d5bff78ba69 /components/compositing/compositor_thread.rs | |
parent | 34c2150e4f1a2a0ca2569bddc824653309b63c90 (diff) | |
download | servo-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.rs | 3 |
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"), } } } |