1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

Ladybird: Rename WebView to SimpleWebView

This will allow us to share code with LibWebView from SerenityOS.
(This would otherwise not work, since its "WebView" namespace collides
with our "WebView" class.)

Also, we should eventually move towards a more sophisticated
multi-process WebView like OOPWV.
This commit is contained in:
Andreas Kling 2022-09-25 12:02:05 +02:00 committed by Andrew Kaster
parent eecee7369f
commit 2a021084e5
12 changed files with 54 additions and 54 deletions

View file

@ -9,7 +9,7 @@
#include "ConsoleClient.h"
#include "ConsoleGlobalObject.h"
#include "WebView.h"
#include "SimpleWebView.h"
#include <LibJS/Interpreter.h>
#include <LibJS/MarkupGenerator.h>
#include <LibWeb/HTML/Scripting/ClassicScript.h>
@ -18,7 +18,7 @@
namespace Ladybird {
ConsoleClient::ConsoleClient(JS::Console& console, JS::Realm& realm, WebView& view)
ConsoleClient::ConsoleClient(JS::Console& console, JS::Realm& realm, SimpleWebView& view)
: JS::ConsoleClient(console)
, m_view(view)
, m_realm(realm)