mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:32:44 +00:00 
			
		
		
		
	 aa33a3381b
			
		
	
	
		aa33a3381b
		
	
	
	
	
		
			
			Adds step and document_state properties. Both will be required for further navigables spec implementation. Co-authored-by: Andreas Kling <kling@serenityos.org>
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			450 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			450 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include <LibWeb/HTML/BrowsingContext.h>
 | |
| #include <LibWeb/HTML/DocumentState.h>
 | |
| #include <LibWeb/HTML/SessionHistoryEntry.h>
 | |
| 
 | |
| namespace Web::HTML {
 | |
| 
 | |
| void SessionHistoryEntry::visit_edges(Cell::Visitor& visitor)
 | |
| {
 | |
|     Base::visit_edges(visitor);
 | |
|     visitor.visit(document_state);
 | |
|     visitor.visit(original_source_browsing_context);
 | |
| }
 | |
| 
 | |
| }
 |