mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Add the web content rendering surface and input handling: - Events: GDK keyboard, mouse, and scroll event translation to Web::KeyEvent/MouseEvent - WebContentView: ViewImplementation backed by GdkMemoryTextureBuilder with incremental update hints, enqueue_native_event helpers for mouse/key events - LadybirdWebView: Custom GtkWidget with focus, key, click, motion, and scroll controllers - Builder.h: Typed GtkBuilder object lookup helper
23 lines
468 B
C++
23 lines
468 B
C++
/*
|
|
* Copyright (c) 2026, Johan Dahlin <jdahlin@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
namespace Ladybird {
|
|
|
|
class WebContentView;
|
|
|
|
}
|
|
|
|
struct LadybirdWebView;
|
|
|
|
GType ladybird_web_view_get_type(void);
|
|
LadybirdWebView* ladybird_web_view_new(void);
|
|
Ladybird::WebContentView* ladybird_web_view_get_impl(LadybirdWebView* self);
|
|
void ladybird_web_view_set_impl(LadybirdWebView* self, Ladybird::WebContentView* impl);
|