mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibWeb: Move text selection serialization from PageView to Frame
This logic doesn't depend on anything at the widget layer, so it can move down to the frame layer.
This commit is contained in:
parent
90efba95c1
commit
1c7faa8965
3 changed files with 54 additions and 42 deletions
|
@ -91,6 +91,8 @@ public:
|
|||
|
||||
bool cursor_blink_state() const { return m_cursor_blink_state; }
|
||||
|
||||
String selected_text() const;
|
||||
|
||||
private:
|
||||
explicit Frame(DOM::Element& host_element, Frame& main_frame);
|
||||
explicit Frame(Page&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue