diff options
author | Tim Kuehn <tkuehn@cmu.edu> | 2013-06-19 21:02:23 -0700 |
---|---|---|
committer | Tim Kuehn <tkuehn@cmu.edu> | 2013-06-19 21:31:12 -0700 |
commit | 2253365735fa93768d83f06b4a799b9f3d61f780 (patch) | |
tree | 984e2454f3bbedd6839abcb164a519cc5f307a96 /src/components/script/compositor_interface.rs | |
parent | 68aee00ec4702904ca6b4c7eba163148b4cccf45 (diff) | |
download | servo-2253365735fa93768d83f06b4a799b9f3d61f780.tar.gz servo-2253365735fa93768d83f06b4a799b9f3d61f780.zip |
libmsg crate for message interfaces to compositor and engine
Diffstat (limited to 'src/components/script/compositor_interface.rs')
-rw-r--r-- | src/components/script/compositor_interface.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/components/script/compositor_interface.rs b/src/components/script/compositor_interface.rs deleted file mode 100644 index b0041e49298..00000000000 --- a/src/components/script/compositor_interface.rs +++ /dev/null @@ -1,21 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -//! The high-level interface from script to compositor. Using this abstract interface helps reduce -/// coupling between these two components - -pub enum ReadyState { - /// Informs the compositor that a page is loading. Used for setting status - Loading, - /// Informs the compositor that a page is performing layout. Used for setting status - PerformingLayout, - /// Informs the compositor that a page is finished loading. Used for setting status - FinishedLoading, -} - -/// 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); -} |