mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:58:14 +00:00
LibWebView: Move OutOfProcessWebView to a new LibWebView library
Also moves WebContentClient and the references to the generated IPC descriptions, since they are all components of OutOfProcessWebView. This patch has no functional changes.
This commit is contained in:
parent
31c0022429
commit
dcbbbf5b4a
41 changed files with 97 additions and 73 deletions
|
@ -16,4 +16,4 @@ set(SOURCES
|
|||
)
|
||||
|
||||
serenity_app(Mail ICON app-mail)
|
||||
target_link_libraries(Mail LibConfig LibCore LibDesktop LibGfx LibGUI LibIMAP LibWeb LibMain)
|
||||
target_link_libraries(Mail LibConfig LibCore LibDesktop LibGfx LibGUI LibIMAP LibWebView LibWeb LibMain)
|
||||
|
|
|
@ -28,7 +28,7 @@ MailWidget::MailWidget()
|
|||
|
||||
m_mailbox_list = *find_descendant_of_type_named<GUI::TreeView>("mailbox_list");
|
||||
m_individual_mailbox_view = *find_descendant_of_type_named<GUI::TableView>("individual_mailbox_view");
|
||||
m_web_view = *find_descendant_of_type_named<Web::OutOfProcessWebView>("web_view");
|
||||
m_web_view = *find_descendant_of_type_named<WebView::OutOfProcessWebView>("web_view");
|
||||
m_statusbar = *find_descendant_of_type_named<GUI::Statusbar>("statusbar");
|
||||
|
||||
m_mailbox_list->on_selection_change = [this] {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <LibGUI/Widget.h>
|
||||
#include <LibGfx/ShareableBitmap.h>
|
||||
#include <LibIMAP/Client.h>
|
||||
#include <LibWeb/OutOfProcessWebView.h>
|
||||
#include <LibWebView/OutOfProcessWebView.h>
|
||||
|
||||
class MailWidget final : public GUI::Widget {
|
||||
C_OBJECT(MailWidget)
|
||||
|
@ -43,7 +43,7 @@ private:
|
|||
|
||||
RefPtr<GUI::TreeView> m_mailbox_list;
|
||||
RefPtr<GUI::TableView> m_individual_mailbox_view;
|
||||
RefPtr<Web::OutOfProcessWebView> m_web_view;
|
||||
RefPtr<WebView::OutOfProcessWebView> m_web_view;
|
||||
RefPtr<GUI::Statusbar> m_statusbar;
|
||||
|
||||
RefPtr<GUI::Menu> m_link_context_menu;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
name: "individual_mailbox_view"
|
||||
}
|
||||
|
||||
@Web::OutOfProcessWebView {
|
||||
@WebView::OutOfProcessWebView {
|
||||
name: "web_view"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue