WebContentClient.ipc 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #include <AK/URL.h>
  2. #include <LibCore/AnonymousBuffer.h>
  3. #include <LibGfx/ShareableBitmap.h>
  4. #include <LibWeb/Cookie/ParsedCookie.h>
  5. // FIXME: This isn't used here, but the generated IPC fails to compile without this include.
  6. #include <LibWeb/WebDriver/Response.h>
  7. endpoint WebContentClient
  8. {
  9. did_start_loading(URL url) =|
  10. did_finish_loading(URL url) =|
  11. did_paint(Gfx::IntRect content_rect, i32 bitmap_id) =|
  12. did_invalidate_content_rect(Gfx::IntRect content_rect) =|
  13. did_change_selection() =|
  14. did_request_cursor_change(i32 cursor_type) =|
  15. did_layout(Gfx::IntSize content_size) =|
  16. did_change_title(String title) =|
  17. did_request_scroll(i32 x_delta, i32 y_delta) =|
  18. did_request_scroll_to(Gfx::IntPoint scroll_position) =|
  19. did_request_scroll_into_view(Gfx::IntRect rect) =|
  20. did_enter_tooltip_area(Gfx::IntPoint content_position, String title) =|
  21. did_leave_tooltip_area() =|
  22. did_hover_link(URL url) =|
  23. did_unhover_link() =|
  24. did_click_link(URL url, String target, unsigned modifiers) =|
  25. did_middle_click_link(URL url, String target, unsigned modifiers) =|
  26. did_request_context_menu(Gfx::IntPoint content_position) =|
  27. did_request_link_context_menu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers) =|
  28. did_request_image_context_menu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers, Gfx::ShareableBitmap bitmap) =|
  29. did_request_alert(String message) => ()
  30. did_request_confirm(String message) => (bool result)
  31. did_request_prompt(String message, String default_) => (String response)
  32. did_get_source(URL url, String source) =|
  33. did_get_dom_tree(String dom_tree) =|
  34. did_get_dom_node_properties(i32 node_id, String specified_style, String computed_style, String custom_properties, String node_box_sizing_json) =|
  35. did_change_favicon(Gfx::ShareableBitmap favicon) =|
  36. did_request_cookie(URL url, u8 source) => (String cookie)
  37. did_set_cookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =|
  38. did_update_resource_count(i32 count_waiting) =|
  39. did_request_restore_window() =|
  40. did_request_reposition_window(Gfx::IntPoint position) => (Gfx::IntPoint window_position)
  41. did_request_resize_window(Gfx::IntSize size) => (Gfx::IntSize window_size)
  42. did_request_file(String path, i32 request_id) =|
  43. did_output_js_console_message(i32 message_index) =|
  44. did_get_js_console_messages(i32 start_index, Vector<String> message_types, Vector<String> messages) =|
  45. }