diff --git a/Demos/WebView/CMakeLists.txt b/Demos/WebView/CMakeLists.txt index cf139cff1a..51489682f3 100644 --- a/Demos/WebView/CMakeLists.txt +++ b/Demos/WebView/CMakeLists.txt @@ -1,13 +1,6 @@ set(SOURCES main.cpp - WebContentView.cpp - WebContentClient.cpp -) - -set(GENERATED_SOURCES - ../../Services/WebContent/WebContentClientEndpoint.h - ../../Services/WebContent/WebContentServerEndpoint.h ) serenity_bin(WebView) -target_link_libraries(WebView LibGUI) +target_link_libraries(WebView LibWeb LibGUI) diff --git a/Demos/WebView/main.cpp b/Demos/WebView/main.cpp index 4fe29c725f..d3c8d7e24a 100644 --- a/Demos/WebView/main.cpp +++ b/Demos/WebView/main.cpp @@ -24,13 +24,13 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "WebContentView.h" #include #include #include #include #include #include +#include int main(int argc, char** argv) { diff --git a/Libraries/LibWeb/CMakeLists.txt b/Libraries/LibWeb/CMakeLists.txt index 815119997d..30e79d5c3e 100644 --- a/Libraries/LibWeb/CMakeLists.txt +++ b/Libraries/LibWeb/CMakeLists.txt @@ -109,11 +109,15 @@ set(SOURCES CSS/PropertyID.h CSS/PropertyID.cpp CSS/DefaultStyleSheetSource.cpp + WebContentView.cpp + WebContentClient.cpp ) set(GENERATED_SOURCES ../../Services/ProtocolServer/ProtocolClientEndpoint.h ../../Services/ProtocolServer/ProtocolServerEndpoint.h + ../../Services/WebContent/WebContentClientEndpoint.h + ../../Services/WebContent/WebContentServerEndpoint.h ) set_property(GLOBAL PROPERTY wrapper_sources) diff --git a/Demos/WebView/WebContentClient.cpp b/Libraries/LibWeb/WebContentClient.cpp similarity index 100% rename from Demos/WebView/WebContentClient.cpp rename to Libraries/LibWeb/WebContentClient.cpp diff --git a/Demos/WebView/WebContentClient.h b/Libraries/LibWeb/WebContentClient.h similarity index 100% rename from Demos/WebView/WebContentClient.h rename to Libraries/LibWeb/WebContentClient.h diff --git a/Demos/WebView/WebContentView.cpp b/Libraries/LibWeb/WebContentView.cpp similarity index 100% rename from Demos/WebView/WebContentView.cpp rename to Libraries/LibWeb/WebContentView.cpp diff --git a/Demos/WebView/WebContentView.h b/Libraries/LibWeb/WebContentView.h similarity index 100% rename from Demos/WebView/WebContentView.h rename to Libraries/LibWeb/WebContentView.h