mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 17:25:06 +00:00
LibWeb: Remove WidgetBox layout node
The approach of attaching sub-widgets to the web view widget was only ever going to work in single-process mode, and that's not what we're about anymore, so let's just get rid of WidgetBox so we don't have the dead-end architecture hanging over us. The next step here is to re-implement <input type=text> using LibWeb primitives.
This commit is contained in:
parent
1ad65b173b
commit
5e91e61900
10 changed files with 2 additions and 172 deletions
|
@ -401,7 +401,6 @@ void InProcessWebView::set_document(DOM::Document* document)
|
|||
void InProcessWebView::did_scroll()
|
||||
{
|
||||
page().main_frame().set_viewport_scroll_offset({ horizontal_scrollbar().value(), vertical_scrollbar().value() });
|
||||
page().main_frame().did_scroll({});
|
||||
}
|
||||
|
||||
void InProcessWebView::drop_event(GUI::DropEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue