mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
LibWeb: Refactor int types in WebContentServer to DevicePixels
This commit is contained in:
parent
8730e56f62
commit
c069ab1ca0
18 changed files with 169 additions and 69 deletions
|
@ -17,7 +17,7 @@ endpoint WebContentServer
|
|||
|
||||
update_system_theme(Core::AnonymousBuffer theme_buffer) =|
|
||||
update_system_fonts(DeprecatedString default_font_query, DeprecatedString fixed_width_font_query, DeprecatedString window_title_font_query) =|
|
||||
update_screen_rects(Vector<Gfx::IntRect> rects, u32 main_screen_index) =|
|
||||
update_screen_rects(Vector<Web::DevicePixelRect> rects, u32 main_screen_index) =|
|
||||
|
||||
load_url(URL url) =|
|
||||
load_html(DeprecatedString html) =|
|
||||
|
@ -25,8 +25,8 @@ endpoint WebContentServer
|
|||
add_backing_store(i32 backing_store_id, Gfx::ShareableBitmap bitmap) =|
|
||||
remove_backing_store(i32 backing_store_id) =|
|
||||
|
||||
paint(Gfx::IntRect content_rect, i32 backing_store_id) =|
|
||||
set_viewport_rect(Gfx::IntRect rect) =|
|
||||
paint(Web::DevicePixelRect content_rect, i32 backing_store_id) =|
|
||||
set_viewport_rect(Web::DevicePixelRect rect) =|
|
||||
|
||||
mouse_down(Gfx::IntPoint position, Gfx::IntPoint screen_position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
mouse_move(Gfx::IntPoint position, Gfx::IntPoint screen_position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
|
@ -79,8 +79,8 @@ endpoint WebContentServer
|
|||
set_is_scripting_enabled(bool is_scripting_enabled) =|
|
||||
set_device_pixels_per_css_pixel(float device_pixels_per_css_pixel) =|
|
||||
|
||||
set_window_position(Gfx::IntPoint position) =|
|
||||
set_window_size(Gfx::IntSize size) =|
|
||||
set_window_position(Web::DevicePixelPoint position) =|
|
||||
set_window_size(Web::DevicePixelSize size) =|
|
||||
|
||||
get_local_storage_entries() => (OrderedHashMap<String,String> entries)
|
||||
get_session_storage_entries() => (OrderedHashMap<String,String> entries)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue