Andreas Kling
51146e3075
LibGUI: Make the Clipboard API deal in raw byte buffers a bit more
...
To open up for putting not just text/plain content on the clipboard,
let's make the GUI::Clipboard API a bit more raw-data-friendly. :^)
2020-09-05 16:16:01 +02:00
Andreas Kling
7eeecbc0f3
LibWeb: InProcessWebView::selected_text() should use the focused frame
2020-08-21 18:58:21 +02:00
Andreas Kling
684fa0f99b
LibWeb: Make selection state recomputation implicit
...
Add a LayoutDocument API for modifying the selection and make clients
call that so we can recompute selection states automatically.
2020-08-21 17:57:24 +02:00
Andreas Kling
d47f77169f
LibWeb: Remember the selection state of each LayoutNode
...
Instead of computing it on the fly while painting each layout node,
they now remember their selection state. This avoids a whole bunch
of tree traversal while painting with anything selected.
2020-08-21 17:57:24 +02:00
Andreas Kling
56c3748dcc
LibWeb: Rename PageView => InProcessWebView
2020-08-17 18:05:35 +02:00