ladybird/UI/AppKit/Interface/Tab.h
2024-11-10 12:50:45 +01:00

27 lines
485 B
Objective-C

/*
* Copyright (c) 2023-2024, Tim Flynn <trflynn89@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
#import <Cocoa/Cocoa.h>
#import <Interface/LadybirdWebViewWindow.h>
@class LadybirdWebView;
@interface Tab : LadybirdWebViewWindow
- (instancetype)init;
- (instancetype)initAsChild:(Tab*)parent
pageIndex:(u64)page_index;
- (void)tabWillClose;
- (void)openInspector:(id)sender;
- (void)onInspectorClosed;
@end