mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
27 lines
485 B
Objective-C
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
|