mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 09:15:07 +00:00
LibWeb: Rename WebContentView => OutOfProcessWebView
This commit is contained in:
parent
56c3748dcc
commit
b6e18133ae
10 changed files with 46 additions and 46 deletions
|
@ -30,7 +30,7 @@
|
|||
#include <LibGUI/StatusBar.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibWeb/WebContentView.h>
|
||||
#include <LibWeb/OutOfProcessWebView.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ int main(int argc, char** argv)
|
|||
auto& main_widget = window->set_main_widget<GUI::Widget>();
|
||||
main_widget.set_fill_with_background_color(true);
|
||||
main_widget.set_layout<GUI::VerticalBoxLayout>();
|
||||
auto& view = main_widget.add<WebContentView>();
|
||||
auto& view = main_widget.add<OutOfProcessWebView>();
|
||||
auto& statusbar = main_widget.add<GUI::StatusBar>();
|
||||
window->set_title("WebView");
|
||||
window->resize(640, 480);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue