mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
WebContent: Add IPC for setting 'device pixels per CSS pixel'
This commit is contained in:
parent
075b4ca4d0
commit
f3b6b50ee0
4 changed files with 9 additions and 3 deletions
|
@ -109,7 +109,6 @@ private:
|
|||
RefPtr<Gfx::PaletteImpl> m_palette_impl;
|
||||
Web::DevicePixelRect m_screen_rect;
|
||||
Web::DevicePixelSize m_content_size;
|
||||
// FIXME: Actually set this based on the device's pixel ratio.
|
||||
float m_device_pixels_per_css_pixel { 1.0f };
|
||||
bool m_should_show_line_box_borders { false };
|
||||
bool m_has_focus { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue