1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:37:44 +00:00

LibWebView+Ladybird: Move running JavaScript to ViewImplementation

This commit is contained in:
Linus Groh 2023-01-12 20:39:08 +00:00 committed by Andreas Kling
parent 55609f744d
commit 8c11a2c253
6 changed files with 7 additions and 14 deletions

View file

@ -446,11 +446,6 @@ void WebContentView::update_viewport_rect()
request_repaint();
}
void WebContentView::run_javascript(DeprecatedString const& js_source)
{
client().async_run_javascript(js_source);
}
void WebContentView::did_output_js_console_message(i32 message_index)
{
if (m_console_widget)

View file

@ -86,8 +86,6 @@ public:
virtual void focusOutEvent(QFocusEvent*) override;
virtual bool event(QEvent*) override;
void run_javascript(DeprecatedString const& js_source);
void did_output_js_console_message(i32 message_index);
void did_get_js_console_messages(i32 start_index, Vector<DeprecatedString> message_types, Vector<DeprecatedString> messages);