mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:52:43 +00:00 
			
		
		
		
	 4483204c9c
			
		
	
	
		4483204c9c
		
	
	
	
	
		
			
			This commit includes only fetching the DOM tree from the WebContent process and displaying it in an NSOutlineView. The displayed tree includes some basic styling (e.g. colors).
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			410 B
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			410 B
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #import <System/Cocoa.h>
 | |
| 
 | |
| @class LadybirdWebView;
 | |
| 
 | |
| @interface Tab : NSWindow
 | |
| 
 | |
| - (void)tabWillClose;
 | |
| 
 | |
| - (void)openConsole:(id)sender;
 | |
| - (void)onConsoleClosed;
 | |
| 
 | |
| - (void)openInspector:(id)sender;
 | |
| - (void)onInspectorClosed;
 | |
| 
 | |
| @property (nonatomic, strong) LadybirdWebView* web_view;
 | |
| 
 | |
| @end
 |