mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Rename RenderState -> PaintState
This commit is contained in:
parent
b5f73fb179
commit
806b6f09c9
8 changed files with 49 additions and 49 deletions
|
@ -12,7 +12,7 @@ use geom::size::TypedSize2D;
|
|||
use layers::geometry::DevicePixel;
|
||||
use layers::platform::surface::NativeGraphicsMetadata;
|
||||
use servo_msg::constellation_msg::{Key, KeyState, KeyModifiers};
|
||||
use servo_msg::compositor_msg::{ReadyState, RenderState};
|
||||
use servo_msg::compositor_msg::{ReadyState, PaintState};
|
||||
use servo_util::geometry::ScreenPx;
|
||||
use std::fmt::{FormatError, Formatter, Show};
|
||||
use std::rc::Rc;
|
||||
|
@ -90,8 +90,8 @@ pub trait WindowMethods {
|
|||
|
||||
/// Sets the ready state of the current page.
|
||||
fn set_ready_state(&self, ready_state: ReadyState);
|
||||
/// Sets the render state of the current page.
|
||||
fn set_render_state(&self, render_state: RenderState);
|
||||
/// Sets the paint state of the current page.
|
||||
fn set_render_state(&self, paint_state: PaintState);
|
||||
|
||||
/// Returns the hidpi factor of the monitor.
|
||||
fn hidpi_factor(&self) -> ScaleFactor<ScreenPx, DevicePixel, f32>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue