mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
Userland: Update IPC calls to use proxies
This updates all existing code to use the auto-generated client methods instead of post_message/send_sync.
This commit is contained in:
parent
78803ce384
commit
5bb79ea0a7
Notes:
sideshowbarker
2024-07-18 18:44:29 +09:00
Author: https://github.com/gunnarbeutner
Commit: 5bb79ea0a7
63 changed files with 303 additions and 316 deletions
|
@ -51,12 +51,12 @@ void WebContentConsoleClient::handle_input(const String& js_source)
|
|||
|
||||
void WebContentConsoleClient::print_html(const String& line)
|
||||
{
|
||||
m_client.post_message(Messages::WebContentClient::DidJSConsoleOutput("html", line));
|
||||
m_client.async_did_jsconsole_output("html", line);
|
||||
}
|
||||
|
||||
void WebContentConsoleClient::clear_output()
|
||||
{
|
||||
m_client.post_message(Messages::WebContentClient::DidJSConsoleOutput("clear_output", {}));
|
||||
m_client.async_did_jsconsole_output("clear_output", {});
|
||||
}
|
||||
|
||||
JS::Value WebContentConsoleClient::log()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue