mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:42:44 +00:00 
			
		
		
		
	LibWeb: Add PageView::load_html() for loading HTML directly
When you're using Web::PageView as a GUI widget, you'll often just have a chunk of HTML you want to show. So let's have an API for that.
This commit is contained in:
		
							parent
							
								
									59537cf257
								
							
						
					
					
						commit
						6e27efe6c6
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		|  | @ -44,6 +44,7 @@ public: | |||
|     // FIXME: Remove this once the new parser is ready.
 | ||||
|     void set_use_old_parser(bool use_old_parser); | ||||
| 
 | ||||
|     void load_html(const StringView&, const URL&); | ||||
|     void load_empty_document(); | ||||
| 
 | ||||
|     Document* document(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling