| 
									
										
										
										
											2021-07-02 21:40:44 -07:00
										 |  |  | #include <AK/URL.h> | 
					
						
							|  |  |  | #include <LibCore/AnonymousBuffer.h> | 
					
						
							|  |  |  | #include <LibGfx/ShareableBitmap.h> | 
					
						
							| 
									
										
										
										
											2022-11-11 09:23:24 -05:00
										 |  |  | #include <LibWeb/Cookie/Cookie.h> | 
					
						
							| 
									
										
										
										
											2022-04-30 11:21:21 +02:00
										 |  |  | #include <LibWeb/Cookie/ParsedCookie.h> | 
					
						
							| 
									
										
										
										
											2023-03-20 18:39:20 -04:00
										 |  |  | #include <LibWeb/HTML/ActivateTab.h> | 
					
						
							| 
									
										
										
										
											2021-07-02 21:40:44 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-25 13:19:53 +02:00
										 |  |  | endpoint WebContentClient | 
					
						
							| 
									
										
										
										
											2020-06-17 17:31:42 +02:00
										 |  |  | { | 
					
						
							| 
									
										
										
										
											2022-11-10 00:29:35 +01:00
										 |  |  |     did_start_loading(URL url, bool is_redirect) =| | 
					
						
							| 
									
										
										
										
											2021-05-03 15:52:56 +02:00
										 |  |  |     did_finish_loading(URL url) =| | 
					
						
							| 
									
										
										
										
											2022-11-11 13:33:11 -05:00
										 |  |  |     did_request_navigate_back() =| | 
					
						
							|  |  |  |     did_request_navigate_forward() =| | 
					
						
							|  |  |  |     did_request_refresh() =| | 
					
						
							| 
									
										
										
										
											2021-05-03 15:52:56 +02:00
										 |  |  |     did_paint(Gfx::IntRect content_rect, i32 bitmap_id) =| | 
					
						
							|  |  |  |     did_invalidate_content_rect(Gfx::IntRect content_rect) =| | 
					
						
							|  |  |  |     did_change_selection() =| | 
					
						
							|  |  |  |     did_request_cursor_change(i32 cursor_type) =| | 
					
						
							|  |  |  |     did_layout(Gfx::IntSize content_size) =| | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_change_title(DeprecatedString title) =| | 
					
						
							| 
									
										
										
										
											2021-09-08 11:22:44 +01:00
										 |  |  |     did_request_scroll(i32 x_delta, i32 y_delta) =| | 
					
						
							| 
									
										
										
										
											2021-09-08 11:44:36 +01:00
										 |  |  |     did_request_scroll_to(Gfx::IntPoint scroll_position) =| | 
					
						
							| 
									
										
										
										
											2021-05-03 15:52:56 +02:00
										 |  |  |     did_request_scroll_into_view(Gfx::IntRect rect) =| | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_enter_tooltip_area(Gfx::IntPoint content_position, DeprecatedString title) =| | 
					
						
							| 
									
										
										
										
											2021-05-03 15:52:56 +02:00
										 |  |  |     did_leave_tooltip_area() =| | 
					
						
							|  |  |  |     did_hover_link(URL url) =| | 
					
						
							|  |  |  |     did_unhover_link() =| | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_click_link(URL url, DeprecatedString target, unsigned modifiers) =| | 
					
						
							|  |  |  |     did_middle_click_link(URL url, DeprecatedString target, unsigned modifiers) =| | 
					
						
							| 
									
										
										
										
											2021-05-03 15:52:56 +02:00
										 |  |  |     did_request_context_menu(Gfx::IntPoint content_position) =| | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_request_link_context_menu(Gfx::IntPoint content_position, URL url, DeprecatedString target, unsigned modifiers) =| | 
					
						
							|  |  |  |     did_request_image_context_menu(Gfx::IntPoint content_position, URL url, DeprecatedString target, unsigned modifiers, Gfx::ShareableBitmap bitmap) =| | 
					
						
							| 
									
										
										
										
											2023-03-13 17:30:51 -04:00
										 |  |  |     did_request_alert(String message) =| | 
					
						
							|  |  |  |     did_request_confirm(String message) =| | 
					
						
							|  |  |  |     did_request_prompt(String message, String default_) =| | 
					
						
							|  |  |  |     did_request_set_prompt_text(String message) =| | 
					
						
							| 
									
										
										
										
											2022-11-16 06:58:14 -05:00
										 |  |  |     did_request_accept_dialog() =| | 
					
						
							|  |  |  |     did_request_dismiss_dialog() =| | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_get_source(URL url, DeprecatedString source) =| | 
					
						
							|  |  |  |     did_get_dom_tree(DeprecatedString dom_tree) =| | 
					
						
							| 
									
										
										
										
											2022-12-18 22:49:09 +00:00
										 |  |  |     did_get_dom_node_properties(i32 node_id, DeprecatedString computed_style, DeprecatedString resolved_style, DeprecatedString custom_properties, DeprecatedString node_box_sizing_json) =| | 
					
						
							| 
									
										
										
										
											2022-12-07 19:30:37 -06:00
										 |  |  |     did_get_accessibility_tree(DeprecatedString accessibility_tree) =| | 
					
						
							| 
									
										
										
										
											2021-05-03 15:52:56 +02:00
										 |  |  |     did_change_favicon(Gfx::ShareableBitmap favicon) =| | 
					
						
							| 
									
										
										
										
											2022-11-11 09:23:24 -05:00
										 |  |  |     did_request_all_cookies(URL url) => (Vector<Web::Cookie::Cookie> cookies) | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_request_named_cookie(URL url, DeprecatedString name) => (Optional<Web::Cookie::Cookie> cookie) | 
					
						
							|  |  |  |     did_request_cookie(URL url, u8 source) => (DeprecatedString cookie) | 
					
						
							| 
									
										
										
										
											2021-05-03 15:52:56 +02:00
										 |  |  |     did_set_cookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =| | 
					
						
							| 
									
										
										
										
											2022-11-28 11:24:04 -05:00
										 |  |  |     did_update_cookie(Web::Cookie::Cookie cookie) =| | 
					
						
							| 
									
										
										
										
											2022-02-20 17:03:39 -05:00
										 |  |  |     did_update_resource_count(i32 count_waiting) =| | 
					
						
							| 
									
										
										
										
											2023-03-20 18:39:20 -04:00
										 |  |  |     did_request_new_tab(Web::HTML::ActivateTab activate_tab) => (String handle) | 
					
						
							| 
									
										
										
										
											2023-03-07 06:10:26 +03:00
										 |  |  |     did_close_browsing_context() =| | 
					
						
							| 
									
										
										
										
											2022-11-09 09:51:39 -05:00
										 |  |  |     did_request_restore_window() =| | 
					
						
							|  |  |  |     did_request_reposition_window(Gfx::IntPoint position) => (Gfx::IntPoint window_position) | 
					
						
							|  |  |  |     did_request_resize_window(Gfx::IntSize size) => (Gfx::IntSize window_size) | 
					
						
							| 
									
										
										
										
											2022-11-09 10:04:09 -05:00
										 |  |  |     did_request_maximize_window() => (Gfx::IntRect window_rect) | 
					
						
							|  |  |  |     did_request_minimize_window() => (Gfx::IntRect window_rect) | 
					
						
							| 
									
										
										
										
											2022-11-09 19:09:17 +01:00
										 |  |  |     did_request_fullscreen_window() => (Gfx::IntRect window_rect) | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_request_file(DeprecatedString path, i32 request_id) =| | 
					
						
							| 
									
										
										
										
											2022-11-21 16:07:47 +00:00
										 |  |  |     did_finish_handling_input_event(bool event_was_accepted) =| | 
					
						
							| 
									
										
										
										
											2021-09-04 11:14:25 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     did_output_js_console_message(i32 message_index) =| | 
					
						
							| 
									
										
										
										
											2022-12-04 18:02:33 +00:00
										 |  |  |     did_get_js_console_messages(i32 start_index, Vector<DeprecatedString> message_types, Vector<DeprecatedString> messages) =| | 
					
						
							| 
									
										
										
										
											2021-09-04 11:14:25 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-17 17:31:42 +02:00
										 |  |  | } |