mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
This changes removes animation tracking from the `WindowMethods` trait and moves it to `ServoDelegate` and `WebViewDelegate`. - Animation changes per-`WebView` are now triggered in the compositor only when the value is updated there, rather than right after ticking animations. - Both `WebView` and `Servo` now expose an `animation()` method, so tracking animation state actually becomes unecessary in many cases, such as that of desktop servoshell, which can just read the value when the event loop spins. Testing: No tests necessary as the API layer is still untested. Later, tests will be added for the `WebView` API and this can be tested then. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
examples | ||
build.rs | ||
Cargo.toml | ||
clipboard_delegate.rs | ||
lib.rs | ||
proxies.rs | ||
responders.rs | ||
servo_delegate.rs | ||
webview.rs | ||
webview_delegate.rs |