mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
LibWeb: Rename PageView => InProcessWebView
This commit is contained in:
parent
ba856c7ebe
commit
56c3748dcc
31 changed files with 88 additions and 88 deletions
|
@ -32,7 +32,7 @@
|
|||
#include <LibGUI/Menu.h>
|
||||
#include <LibGUI/MenuBar.h>
|
||||
#include <LibGUI/Window.h>
|
||||
#include <LibWeb/PageView.h>
|
||||
#include <LibWeb/InProcessWebView.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
@ -55,7 +55,7 @@ int main(int argc, char** argv)
|
|||
auto html = f->read_all();
|
||||
|
||||
auto window = GUI::Window::construct();
|
||||
auto& widget = window->set_main_widget<Web::PageView>();
|
||||
auto& widget = window->set_main_widget<Web::InProcessWebView>();
|
||||
widget.load_html(html, URL());
|
||||
if (!widget.document()->title().is_null())
|
||||
window->set_title(String::format("%s - HTML", widget.document()->title().characters()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue