1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00

LibWeb: Move WebContentView from Demos/WebView into LibWeb

This commit is contained in:
Andreas Kling 2020-07-06 20:36:34 +02:00
parent 32243e1df2
commit 7a7e39c7af
7 changed files with 6 additions and 9 deletions

View file

@ -1,13 +1,6 @@
set(SOURCES set(SOURCES
main.cpp main.cpp
WebContentView.cpp
WebContentClient.cpp
)
set(GENERATED_SOURCES
../../Services/WebContent/WebContentClientEndpoint.h
../../Services/WebContent/WebContentServerEndpoint.h
) )
serenity_bin(WebView) serenity_bin(WebView)
target_link_libraries(WebView LibGUI) target_link_libraries(WebView LibWeb LibGUI)

View file

@ -24,13 +24,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "WebContentView.h"
#include <AK/URL.h> #include <AK/URL.h>
#include <LibGUI/Application.h> #include <LibGUI/Application.h>
#include <LibGUI/BoxLayout.h> #include <LibGUI/BoxLayout.h>
#include <LibGUI/StatusBar.h> #include <LibGUI/StatusBar.h>
#include <LibGUI/Widget.h> #include <LibGUI/Widget.h>
#include <LibGUI/Window.h> #include <LibGUI/Window.h>
#include <LibWeb/WebContentView.h>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View file

@ -109,11 +109,15 @@ set(SOURCES
CSS/PropertyID.h CSS/PropertyID.h
CSS/PropertyID.cpp CSS/PropertyID.cpp
CSS/DefaultStyleSheetSource.cpp CSS/DefaultStyleSheetSource.cpp
WebContentView.cpp
WebContentClient.cpp
) )
set(GENERATED_SOURCES set(GENERATED_SOURCES
../../Services/ProtocolServer/ProtocolClientEndpoint.h ../../Services/ProtocolServer/ProtocolClientEndpoint.h
../../Services/ProtocolServer/ProtocolServerEndpoint.h ../../Services/ProtocolServer/ProtocolServerEndpoint.h
../../Services/WebContent/WebContentClientEndpoint.h
../../Services/WebContent/WebContentServerEndpoint.h
) )
set_property(GLOBAL PROPERTY wrapper_sources) set_property(GLOBAL PROPERTY wrapper_sources)