mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 19:37:35 +00:00
Userland: Use snake case names in .ipc files
This updates all .ipc files to have snake case names for IPC methods.
This commit is contained in:
parent
eb21aa65d1
commit
9e22e9ce88
36 changed files with 296 additions and 287 deletions
|
@ -213,7 +213,7 @@ void ClientConnection::get_source()
|
|||
}
|
||||
}
|
||||
|
||||
void ClientConnection::jsconsole_initialize()
|
||||
void ClientConnection::js_console_initialize()
|
||||
{
|
||||
if (auto* document = page().main_frame().document()) {
|
||||
auto interpreter = document->interpreter().make_weak_ptr();
|
||||
|
@ -226,7 +226,7 @@ void ClientConnection::jsconsole_initialize()
|
|||
}
|
||||
}
|
||||
|
||||
void ClientConnection::jsconsole_input(const String& js_source)
|
||||
void ClientConnection::js_console_input(const String& js_source)
|
||||
{
|
||||
if (m_console_client)
|
||||
m_console_client->handle_input(js_source);
|
||||
|
|
|
@ -48,8 +48,8 @@ private:
|
|||
virtual void remove_backing_store(i32) override;
|
||||
virtual void debug_request(String const&, String const&) override;
|
||||
virtual void get_source() override;
|
||||
virtual void jsconsole_initialize() override;
|
||||
virtual void jsconsole_input(String const&) override;
|
||||
virtual void js_console_initialize() override;
|
||||
virtual void js_console_input(String const&) override;
|
||||
|
||||
void flush_pending_paint_requests();
|
||||
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
endpoint WebContentClient
|
||||
{
|
||||
DidStartLoading(URL url) =|
|
||||
DidFinishLoading(URL url) =|
|
||||
DidPaint(Gfx::IntRect content_rect, i32 bitmap_id) =|
|
||||
DidInvalidateContentRect(Gfx::IntRect content_rect) =|
|
||||
DidChangeSelection() =|
|
||||
DidRequestCursorChange(i32 cursor_type) =|
|
||||
DidLayout(Gfx::IntSize content_size) =|
|
||||
DidChangeTitle(String title) =|
|
||||
DidRequestScroll(int wheel_delta) =|
|
||||
DidRequestScrollIntoView(Gfx::IntRect rect) =|
|
||||
DidEnterTooltipArea(Gfx::IntPoint content_position, String title) =|
|
||||
DidLeaveTooltipArea() =|
|
||||
DidHoverLink(URL url) =|
|
||||
DidUnhoverLink() =|
|
||||
DidClickLink(URL url, String target, unsigned modifiers) =|
|
||||
DidMiddleClickLink(URL url, String target, unsigned modifiers) =|
|
||||
DidRequestContextMenu(Gfx::IntPoint content_position) =|
|
||||
DidRequestLinkContextMenu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers) =|
|
||||
DidRequestImageContextMenu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers, Gfx::ShareableBitmap bitmap) =|
|
||||
DidRequestAlert(String message) => ()
|
||||
DidRequestConfirm(String message) => (bool result)
|
||||
DidRequestPrompt(String message, String default_) => (String response)
|
||||
DidGetSource(URL url, String source) =|
|
||||
DidJSConsoleOutput(String method, String line) =|
|
||||
DidChangeFavicon(Gfx::ShareableBitmap favicon) =|
|
||||
DidRequestCookie(URL url, u8 source) => (String cookie)
|
||||
DidSetCookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =|
|
||||
did_start_loading(URL url) =|
|
||||
did_finish_loading(URL url) =|
|
||||
did_paint(Gfx::IntRect content_rect, i32 bitmap_id) =|
|
||||
did_invalidate_content_rect(Gfx::IntRect content_rect) =|
|
||||
did_change_selection() =|
|
||||
did_request_cursor_change(i32 cursor_type) =|
|
||||
did_layout(Gfx::IntSize content_size) =|
|
||||
did_change_title(String title) =|
|
||||
did_request_scroll(int wheel_delta) =|
|
||||
did_request_scroll_into_view(Gfx::IntRect rect) =|
|
||||
did_enter_tooltip_area(Gfx::IntPoint content_position, String title) =|
|
||||
did_leave_tooltip_area() =|
|
||||
did_hover_link(URL url) =|
|
||||
did_unhover_link() =|
|
||||
did_click_link(URL url, String target, unsigned modifiers) =|
|
||||
did_middle_click_link(URL url, String target, unsigned modifiers) =|
|
||||
did_request_context_menu(Gfx::IntPoint content_position) =|
|
||||
did_request_link_context_menu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers) =|
|
||||
did_request_image_context_menu(Gfx::IntPoint content_position, URL url, String target, unsigned modifiers, Gfx::ShareableBitmap bitmap) =|
|
||||
did_request_alert(String message) => ()
|
||||
did_request_confirm(String message) => (bool result)
|
||||
did_request_prompt(String message, String default_) => (String response)
|
||||
did_get_source(URL url, String source) =|
|
||||
did_js_console_output(String method, String line) =|
|
||||
did_change_favicon(Gfx::ShareableBitmap favicon) =|
|
||||
did_request_cookie(URL url, u8 source) => (String cookie)
|
||||
did_set_cookie(URL url, Web::Cookie::ParsedCookie cookie, u8 source) =|
|
||||
}
|
||||
|
|
|
@ -51,12 +51,12 @@ void WebContentConsoleClient::handle_input(const String& js_source)
|
|||
|
||||
void WebContentConsoleClient::print_html(const String& line)
|
||||
{
|
||||
m_client.async_did_jsconsole_output("html", line);
|
||||
m_client.async_did_js_console_output("html", line);
|
||||
}
|
||||
|
||||
void WebContentConsoleClient::clear_output()
|
||||
{
|
||||
m_client.async_did_jsconsole_output("clear_output", {});
|
||||
m_client.async_did_js_console_output("clear_output", {});
|
||||
}
|
||||
|
||||
JS::Value WebContentConsoleClient::log()
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
endpoint WebContentServer
|
||||
{
|
||||
Greet() => ()
|
||||
greet() => ()
|
||||
|
||||
UpdateSystemTheme(Core::AnonymousBuffer theme_buffer) =|
|
||||
UpdateScreenRect(Gfx::IntRect rect) =|
|
||||
update_system_theme(Core::AnonymousBuffer theme_buffer) =|
|
||||
update_screen_rect(Gfx::IntRect rect) =|
|
||||
|
||||
LoadURL(URL url) =|
|
||||
LoadHTML(String html, URL url) =|
|
||||
load_url(URL url) =|
|
||||
load_html(String html, URL url) =|
|
||||
|
||||
AddBackingStore(i32 backing_store_id, Gfx::ShareableBitmap bitmap) =|
|
||||
RemoveBackingStore(i32 backing_store_id) =|
|
||||
add_backing_store(i32 backing_store_id, Gfx::ShareableBitmap bitmap) =|
|
||||
remove_backing_store(i32 backing_store_id) =|
|
||||
|
||||
Paint(Gfx::IntRect content_rect, i32 backing_store_id) =|
|
||||
SetViewportRect(Gfx::IntRect rect) =|
|
||||
paint(Gfx::IntRect content_rect, i32 backing_store_id) =|
|
||||
set_viewport_rect(Gfx::IntRect rect) =|
|
||||
|
||||
MouseDown(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
MouseMove(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
MouseUp(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
MouseWheel(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers, i32 wheel_delta) =|
|
||||
mouse_down(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
mouse_move(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
mouse_up(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers) =|
|
||||
mouse_wheel(Gfx::IntPoint position, unsigned button, unsigned buttons, unsigned modifiers, i32 wheel_delta) =|
|
||||
|
||||
KeyDown(i32 key, unsigned modifiers, u32 code_point) =|
|
||||
key_down(i32 key, unsigned modifiers, u32 code_point) =|
|
||||
|
||||
DebugRequest(String request, String argument) =|
|
||||
GetSource() =|
|
||||
JSConsoleInitialize() =|
|
||||
JSConsoleInput(String js_source) =|
|
||||
debug_request(String request, String argument) =|
|
||||
get_source() =|
|
||||
js_console_initialize() =|
|
||||
js_console_input(String js_source) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue