Andreas Kling
c7133bf081
LibWeb: Register the InProcessWebView widget
2020-09-14 16:16:36 +02:00
Andreas Kling
d9e39cb82d
LibWeb: Support window.alert() in multi-process context
...
Alerts are now delegated to the embedding GUI process.
2020-09-12 14:49:29 +02:00
Andreas Kling
5872cb398c
LibWeb: Use widget override cursors
2020-09-11 14:28:05 +02:00
Andreas Kling
b4f307f982
LibGUI+WindowServer: Rename window "override cursor" to just "cursor"
...
Let's just say each window has a cursor, there's not really overriding
going on.
2020-09-11 14:26:37 +02:00
Andreas Kling
0f9be82826
LibGfx: Move StandardCursor enum to LibGfx
...
This enum existed both in LibGUI and WindowServer which was silly and
error-prone.
2020-09-10 19:25:13 +02:00
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