| 
									
										
										
										
											2020-08-01 03:04:26 +01:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2021-04-28 22:46:44 +02:00
										 |  |  |  * Copyright (c) 2020, the SerenityOS developers. | 
					
						
							| 
									
										
										
										
											2020-08-01 03:04:26 +01:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2021-04-22 01:24:48 -07:00
										 |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							| 
									
										
										
										
											2020-08-01 03:04:26 +01:00
										 |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <LibWeb/HTML/HTMLElement.h>
 | 
					
						
							| 
									
										
										
										
											2022-06-27 19:48:54 +01:00
										 |  |  | #include <LibWeb/HTML/WindowEventHandlers.h>
 | 
					
						
							| 
									
										
										
										
											2020-08-01 03:04:26 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | namespace Web::HTML { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // NOTE: This element is marked as obsolete, but is still listed as required by the specification.
 | 
					
						
							| 
									
										
										
										
											2022-06-27 19:48:54 +01:00
										 |  |  | class HTMLFrameSetElement final | 
					
						
							|  |  |  |     : public HTMLElement | 
					
						
							|  |  |  |     , public WindowEventHandlers { | 
					
						
							| 
									
										
										
										
											2022-08-28 13:42:07 +02:00
										 |  |  |     WEB_PLATFORM_OBJECT(HTMLFrameSetElement, HTMLElement); | 
					
						
							| 
									
										
										
										
											2024-11-15 04:01:23 +13:00
										 |  |  |     GC_DECLARE_ALLOCATOR(HTMLFrameSetElement); | 
					
						
							| 
									
										
										
										
											2022-08-28 13:42:07 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-01 03:04:26 +01:00
										 |  |  | public: | 
					
						
							| 
									
										
										
										
											2022-08-28 13:42:07 +02:00
										 |  |  |     virtual ~HTMLFrameSetElement() override; | 
					
						
							| 
									
										
										
										
											2020-08-01 03:04:26 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-28 13:42:07 +02:00
										 |  |  | private: | 
					
						
							| 
									
										
										
										
											2022-02-18 21:00:52 +01:00
										 |  |  |     HTMLFrameSetElement(DOM::Document&, DOM::QualifiedName); | 
					
						
							| 
									
										
										
										
											2022-06-27 19:20:09 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-20 11:32:17 +01:00
										 |  |  |     virtual void adjust_computed_style(CSS::ComputedProperties&) override; | 
					
						
							| 
									
										
										
										
											2024-11-08 20:14:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-07 08:41:28 +02:00
										 |  |  |     virtual void initialize(JS::Realm&) override; | 
					
						
							| 
									
										
										
										
											2024-11-14 08:14:16 -05:00
										 |  |  |     virtual void attribute_changed(FlyString const& name, Optional<String> const& old_value, Optional<String> const& value, Optional<FlyString> const& namespace_) override; | 
					
						
							| 
									
										
										
										
											2022-06-27 19:48:54 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-27 19:20:09 +01:00
										 |  |  |     // ^HTML::GlobalEventHandlers
 | 
					
						
							| 
									
										
										
										
											2024-11-15 04:01:23 +13:00
										 |  |  |     virtual GC::Ptr<EventTarget> global_event_handlers_to_event_target(FlyString const& event_name) override; | 
					
						
							| 
									
										
										
										
											2022-06-27 19:48:54 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // ^HTML::WindowEventHandlers
 | 
					
						
							| 
									
										
										
										
											2024-11-15 04:01:23 +13:00
										 |  |  |     virtual GC::Ptr<EventTarget> window_event_handlers_to_event_target() override; | 
					
						
							| 
									
										
										
										
											2020-08-01 03:04:26 +01:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |