mirror of
https://github.com/RGBCube/serenity
synced 2025-07-14 12:47:36 +00:00

This adds an alternative Ladybird chrome for macOS using the AppKit framework. Just about everything needed for normal web browsing has been implemented. This includes: * Tabbed, scrollable navigation * History navigation (back, forward, reload) * Keyboard / mouse events * Favicons * Context menus * Cookies * Dialogs (alert, confirm, prompt) * WebDriver support This does not include debugging tools like the JavaScript console and inspector, nor theme support. The Qt chrome is still used by default. To use the AppKit chrome, set the ENABLE_QT CMake option to OFF.
21 lines
339 B
Objective-C
21 lines
339 B
Objective-C
/*
|
|
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/StringView.h>
|
|
#include <AK/URL.h>
|
|
|
|
#import <System/Cocoa.h>
|
|
|
|
namespace Ladybird {
|
|
|
|
URL sanitize_url(NSString*);
|
|
URL sanitize_url(StringView);
|
|
|
|
URL rebase_url_on_serenity_resource_root(StringView);
|
|
|
|
}
|