layout: Expand animation test mode to support not force-ticking layout.

This commit is contained in:
Emilio Cobos Álvarez 2016-08-05 14:38:33 -07:00
parent 805988e839
commit 0e3d4ab407
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 16 additions and 12 deletions

View file

@ -42,8 +42,9 @@ pub enum Msg {
/// Updates layout's timer for animation testing from script.
///
/// The inner field is the number of *milliseconds* to advance.
AdvanceClockMs(i32),
/// The inner field is the number of *milliseconds* to advance, and the bool
/// field is whether animations should be force-ticked.
AdvanceClockMs(i32, bool),
/// Requests that the layout thread reflow with a newly-loaded Web font.
ReflowWithNewlyLoadedWebFont,