Files
ladybird/UI/Gtk/Widgets/LadybirdWebView.h
Johan Dahlin 2573aff090 UI/Gtk: Add input events and WebContentView
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
2026-04-17 11:17:56 -04:00

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);