mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 00:37:35 +00:00
LibWeb+WebContent: Remove old console-logging IPC calls
This patch removes the following WebContent IPC calls, which are no longer used: - `Server::js_console_initialize()` - `Client::did_js_console_output()`
This commit is contained in:
parent
95aa6562db
commit
e255b5dd31
9 changed files with 0 additions and 36 deletions
|
@ -347,12 +347,6 @@ void OutOfProcessWebView::notify_server_did_get_dom_node_properties(i32 node_id,
|
|||
on_get_dom_node_properties(node_id, specified_style, computed_style);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_js_console_output(const String& method, const String& line)
|
||||
{
|
||||
if (on_js_console_output)
|
||||
on_js_console_output(method, line);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_output_js_console_message(i32 message_index)
|
||||
{
|
||||
if (on_js_console_new_message)
|
||||
|
@ -441,11 +435,6 @@ i32 OutOfProcessWebView::get_hovered_node_id()
|
|||
return client().get_hovered_node_id();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::js_console_initialize()
|
||||
{
|
||||
client().async_js_console_initialize();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::js_console_input(const String& js_source)
|
||||
{
|
||||
client().async_js_console_input(js_source);
|
||||
|
|
|
@ -41,7 +41,6 @@ public:
|
|||
void clear_inspected_dom_node();
|
||||
i32 get_hovered_node_id();
|
||||
|
||||
void js_console_initialize();
|
||||
void js_console_input(const String& js_source);
|
||||
void js_console_request_messages(i32 start_index);
|
||||
|
||||
|
@ -75,7 +74,6 @@ public:
|
|||
void notify_server_did_get_source(const URL& url, const String& source);
|
||||
void notify_server_did_get_dom_tree(const String& dom_tree);
|
||||
void notify_server_did_get_dom_node_properties(i32 node_id, String const& specified_style, String const& computed_style);
|
||||
void notify_server_did_js_console_output(const String& method, const String& line);
|
||||
void notify_server_did_output_js_console_message(i32 message_index);
|
||||
void notify_server_did_get_js_console_messages(i32 start_index, Vector<String> const& message_types, Vector<String> const& messages);
|
||||
void notify_server_did_change_favicon(const Gfx::Bitmap& favicon);
|
||||
|
|
|
@ -146,11 +146,6 @@ void WebContentClient::did_get_dom_node_properties(i32 node_id, String const& sp
|
|||
m_view.notify_server_did_get_dom_node_properties(node_id, specified_style, computed_style);
|
||||
}
|
||||
|
||||
void WebContentClient::did_js_console_output(String const& method, String const& line)
|
||||
{
|
||||
m_view.notify_server_did_js_console_output(method, line);
|
||||
}
|
||||
|
||||
void WebContentClient::did_output_js_console_message(i32 message_index)
|
||||
{
|
||||
m_view.notify_server_did_output_js_console_message(message_index);
|
||||
|
|
|
@ -51,7 +51,6 @@ private:
|
|||
virtual void did_get_source(URL const&, String const&) override;
|
||||
virtual void did_get_dom_tree(String const&) override;
|
||||
virtual void did_get_dom_node_properties(i32 node_id, String const& specified_style, String const& computed_style) override;
|
||||
virtual void did_js_console_output(String const&, String const&) override;
|
||||
virtual void did_output_js_console_message(i32 message_index) override;
|
||||
virtual void did_get_js_console_messages(i32 start_index, Vector<String> const& message_types, Vector<String> const& messages) override;
|
||||
virtual void did_change_favicon(Gfx::ShareableBitmap const&) override;
|
||||
|
|
|
@ -29,7 +29,6 @@ public:
|
|||
Function<void(const URL&, const String&)> on_get_source;
|
||||
Function<void(const String&)> on_get_dom_tree;
|
||||
Function<void(i32 node_id, String const& specified_style, String const& computed_style)> on_get_dom_node_properties;
|
||||
Function<void(const String& method, const String& line)> on_js_console_output;
|
||||
Function<void(i32 message_id)> on_js_console_new_message;
|
||||
Function<void(i32 start_index, Vector<String> const& message_types, Vector<String> const& messages)> on_get_js_console_messages;
|
||||
Function<String(const URL& url, Cookie::Source source)> on_get_cookie;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue