mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:57:47 +00:00
LibWebView+Ladybird: Move get source request to ViewImplementation
This commit is contained in:
parent
5d9f4b2ffc
commit
f313708237
6 changed files with 6 additions and 13 deletions
|
@ -565,11 +565,6 @@ void OutOfProcessWebView::debug_request(DeprecatedString const& request, Depreca
|
|||
client().async_debug_request(request, argument);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::get_source()
|
||||
{
|
||||
client().async_get_source();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::inspect_dom_tree()
|
||||
{
|
||||
client().async_inspect_dom_tree();
|
||||
|
|
|
@ -40,7 +40,6 @@ public:
|
|||
void load_empty_document();
|
||||
|
||||
void debug_request(DeprecatedString const& request, DeprecatedString const& argument = {});
|
||||
void get_source();
|
||||
|
||||
void inspect_dom_tree();
|
||||
struct DOMNodeProperties {
|
||||
|
|
|
@ -42,4 +42,9 @@ void ViewImplementation::reset_zoom()
|
|||
update_zoom();
|
||||
}
|
||||
|
||||
void ViewImplementation::get_source()
|
||||
{
|
||||
client().async_get_source();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ public:
|
|||
void zoom_in();
|
||||
void zoom_out();
|
||||
void reset_zoom();
|
||||
void get_source();
|
||||
|
||||
virtual void notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize content_size) = 0;
|
||||
virtual void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue