mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-27 11:24:16 +00:00
25 lines
498 B
C
25 lines
498 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <Interface/Menu.h>
|
||
|
|
#include <LibWebView/Menu.h>
|
||
|
|
|
||
|
|
#import <Cocoa/Cocoa.h>
|
||
|
|
|
||
|
|
@class LadybirdWebView;
|
||
|
|
|
||
|
|
namespace Ladybird {
|
||
|
|
|
||
|
|
NSMenu* create_application_menu(WebView::Menu&);
|
||
|
|
NSMenu* create_context_menu(LadybirdWebView*, WebView::Menu&);
|
||
|
|
|
||
|
|
NSMenuItem* create_application_menu_item(WebView::Action&);
|
||
|
|
NSButton* create_application_button(WebView::Action&, NSImageName);
|
||
|
|
|
||
|
|
}
|