mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:02:44 +00:00 
			
		
		
		
	 59cfc4a8db
			
		
	
	
		59cfc4a8db
		
	
	
	
	
		
			
			With the renaming of "Frame" to "BrowsingContext", this changes "FrameHostElement" to "BrowsingContextContainer" to further match the spec. https://html.spec.whatwg.org/#browsing-context-container
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			678 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			678 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibWeb/HTML/BrowsingContextContainer.h>
 | |
| 
 | |
| namespace Web::HTML {
 | |
| 
 | |
| class HTMLIFrameElement final : public BrowsingContextContainer {
 | |
| public:
 | |
|     using WrapperType = Bindings::HTMLIFrameElementWrapper;
 | |
| 
 | |
|     HTMLIFrameElement(DOM::Document&, QualifiedName);
 | |
|     virtual ~HTMLIFrameElement() override;
 | |
| 
 | |
|     virtual RefPtr<Layout::Node> create_layout_node() override;
 | |
| 
 | |
| private:
 | |
|     virtual void inserted() override;
 | |
|     virtual void parse_attribute(const FlyString& name, const String& value) override;
 | |
| 
 | |
|     void load_src(const String&);
 | |
| };
 | |
| 
 | |
| }
 |