diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-07-31 03:45:38 -0700 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-08-01 08:10:16 +0200 |
commit | 217179a39f01cf50c525e4519e421f1fb3f0966c (patch) | |
tree | 9b865871e6a8cba608d965ccbc8a4bb57a6bfc1b | |
parent | b0fbea848b86a1aa888ccbcceebf4f800a2397f6 (diff) | |
download | serenity-217179a39f01cf50c525e4519e421f1fb3f0966c.zip |
LibWeb: Remove unused header includes
26 files changed, 0 insertions, 31 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/HTMLCollectionWrapperCustom.cpp b/Userland/Libraries/LibWeb/Bindings/HTMLCollectionWrapperCustom.cpp index 5c51e06203..1d4f92551f 100644 --- a/Userland/Libraries/LibWeb/Bindings/HTMLCollectionWrapperCustom.cpp +++ b/Userland/Libraries/LibWeb/Bindings/HTMLCollectionWrapperCustom.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/ScopeGuard.h> #include <LibWeb/Bindings/HTMLCollectionWrapper.h> #include <LibWeb/Bindings/NodeWrapper.h> #include <LibWeb/Bindings/NodeWrapperFactory.h> diff --git a/Userland/Libraries/LibWeb/CSS/Length.cpp b/Userland/Libraries/LibWeb/CSS/Length.cpp index 2b2c91d6d7..c1f18cd97d 100644 --- a/Userland/Libraries/LibWeb/CSS/Length.cpp +++ b/Userland/Libraries/LibWeb/CSS/Length.cpp @@ -6,7 +6,6 @@ */ #include <AK/NonnullOwnPtr.h> -#include <AK/NonnullOwnPtrVector.h> #include <AK/Variant.h> #include <LibWeb/CSS/Length.h> #include <LibWeb/DOM/Document.h> diff --git a/Userland/Libraries/LibWeb/CSS/Selector.cpp b/Userland/Libraries/LibWeb/CSS/Selector.cpp index 1eb9ae4c69..af669b44b0 100644 --- a/Userland/Libraries/LibWeb/CSS/Selector.cpp +++ b/Userland/Libraries/LibWeb/CSS/Selector.cpp @@ -6,7 +6,6 @@ #include "Selector.h" #include <AK/StringUtils.h> -#include <LibWeb/CSS/Selector.h> #include <ctype.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp index 84ea18d5d7..8be326dd77 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp @@ -9,7 +9,6 @@ #include <LibGfx/FontDatabase.h> #include <LibWeb/CSS/StyleProperties.h> #include <LibWeb/FontCache.h> -#include <ctype.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_cpp.cpp b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_cpp.cpp index 8ea1ff3f3d..ae65e8bea6 100644 --- a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_cpp.cpp +++ b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_cpp.cpp @@ -10,7 +10,6 @@ #include <AK/StringBuilder.h> #include <LibCore/File.h> #include <ctype.h> -#include <stdio.h> static String title_casify(const String& dashy_name) { diff --git a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_h.cpp b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_h.cpp index e154ca45a4..aa54e166fd 100644 --- a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_h.cpp +++ b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_PropertyID_h.cpp @@ -10,7 +10,6 @@ #include <AK/StringBuilder.h> #include <LibCore/File.h> #include <ctype.h> -#include <stdio.h> static String title_casify(const String& dashy_name) { diff --git a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_cpp.cpp b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_cpp.cpp index fbfe0b6c6c..15c81224df 100644 --- a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_cpp.cpp +++ b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_cpp.cpp @@ -10,7 +10,6 @@ #include <AK/StringBuilder.h> #include <LibCore/File.h> #include <ctype.h> -#include <stdio.h> static String title_casify(const String& dashy_name) { diff --git a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_h.cpp b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_h.cpp index 8c11b37055..3c2488728e 100644 --- a/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_h.cpp +++ b/Userland/Libraries/LibWeb/CodeGenerators/Generate_CSS_ValueID_h.cpp @@ -10,7 +10,6 @@ #include <AK/StringBuilder.h> #include <LibCore/File.h> #include <ctype.h> -#include <stdio.h> static String title_casify(const String& dashy_name) { diff --git a/Userland/Libraries/LibWeb/DOM/Element.cpp b/Userland/Libraries/LibWeb/DOM/Element.cpp index bc0506088d..a71d30bdb6 100644 --- a/Userland/Libraries/LibWeb/DOM/Element.cpp +++ b/Userland/Libraries/LibWeb/DOM/Element.cpp @@ -9,7 +9,6 @@ #include <LibWeb/CSS/Parser/DeprecatedCSSParser.h> #include <LibWeb/CSS/PropertyID.h> #include <LibWeb/CSS/StyleInvalidator.h> -#include <LibWeb/CSS/StyleResolver.h> #include <LibWeb/DOM/DOMException.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Element.h> diff --git a/Userland/Libraries/LibWeb/DOM/Event.cpp b/Userland/Libraries/LibWeb/DOM/Event.cpp index 73d0aaa305..c1704ec0b9 100644 --- a/Userland/Libraries/LibWeb/DOM/Event.cpp +++ b/Userland/Libraries/LibWeb/DOM/Event.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/Assertions.h> #include <AK/TypeCasts.h> #include <LibWeb/DOM/Event.h> #include <LibWeb/DOM/Node.h> diff --git a/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp index 826fbcf17e..53d02fe344 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLBlinkElement.cpp @@ -5,10 +5,8 @@ */ #include <LibCore/Timer.h> -#include <LibWeb/CSS/StyleProperties.h> #include <LibWeb/CSS/StyleValue.h> #include <LibWeb/HTML/HTMLBlinkElement.h> -#include <LibWeb/Layout/Node.h> namespace Web::HTML { diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp index 480f90f3a0..1ed1d8131c 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibGfx/FontDatabase.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Event.h> #include <LibWeb/DOM/ShadowRoot.h> diff --git a/Userland/Libraries/LibWeb/InProcessWebView.cpp b/Userland/Libraries/LibWeb/InProcessWebView.cpp index 6fb5317280..e2539d5f22 100644 --- a/Userland/Libraries/LibWeb/InProcessWebView.cpp +++ b/Userland/Libraries/LibWeb/InProcessWebView.cpp @@ -5,10 +5,8 @@ */ #include <AK/URL.h> -#include <LibCore/File.h> #include <LibCore/MimeData.h> #include <LibGUI/Application.h> -#include <LibGUI/Clipboard.h> #include <LibGUI/InputBox.h> #include <LibGUI/MessageBox.h> #include <LibGUI/Painter.h> @@ -19,7 +17,6 @@ #include <LibWeb/HTML/Parser/HTMLDocumentParser.h> #include <LibWeb/InProcessWebView.h> #include <LibWeb/Layout/InitialContainingBlockBox.h> -#include <LibWeb/Layout/Node.h> #include <LibWeb/Layout/TextNode.h> #include <LibWeb/Loader/ResourceLoader.h> #include <LibWeb/Page/BrowsingContext.h> diff --git a/Userland/Libraries/LibWeb/Layout/BlockBox.cpp b/Userland/Libraries/LibWeb/Layout/BlockBox.cpp index 5867331aaa..d295428615 100644 --- a/Userland/Libraries/LibWeb/Layout/BlockBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/BlockBox.cpp @@ -5,7 +5,6 @@ */ #include <LibGfx/Painter.h> -#include <LibWeb/CSS/StyleResolver.h> #include <LibWeb/Dump.h> #include <LibWeb/Layout/BlockBox.h> #include <LibWeb/Layout/InitialContainingBlockBox.h> diff --git a/Userland/Libraries/LibWeb/Layout/Box.cpp b/Userland/Libraries/LibWeb/Layout/Box.cpp index 1c3cf9365e..da4aa9e0f9 100644 --- a/Userland/Libraries/LibWeb/Layout/Box.cpp +++ b/Userland/Libraries/LibWeb/Layout/Box.cpp @@ -6,7 +6,6 @@ #include <LibGfx/DisjointRectSet.h> #include <LibGfx/Filters/FastBoxBlurFilter.h> -#include <LibGfx/Filters/SpatialGaussianBlurFilter.h> #include <LibGfx/Painter.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/HTML/HTMLBodyElement.h> diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp index b6069936ae..9807beb548 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.cpp +++ b/Userland/Libraries/LibWeb/Layout/Node.cpp @@ -16,7 +16,6 @@ #include <LibWeb/Layout/Node.h> #include <LibWeb/Layout/TextNode.h> #include <LibWeb/Page/BrowsingContext.h> -#include <typeinfo> namespace Web::Layout { diff --git a/Userland/Libraries/LibWeb/Layout/TextNode.cpp b/Userland/Libraries/LibWeb/Layout/TextNode.cpp index 6b5e0bbdb4..48aaaa767c 100644 --- a/Userland/Libraries/LibWeb/Layout/TextNode.cpp +++ b/Userland/Libraries/LibWeb/Layout/TextNode.cpp @@ -5,7 +5,6 @@ */ #include <AK/CharacterTypes.h> -#include <AK/ScopeGuard.h> #include <AK/StringBuilder.h> #include <LibGfx/Painter.h> #include <LibWeb/DOM/Document.h> diff --git a/Userland/Libraries/LibWeb/LayoutTreeModel.cpp b/Userland/Libraries/LibWeb/LayoutTreeModel.cpp index 85dc029617..164b6a0b43 100644 --- a/Userland/Libraries/LibWeb/LayoutTreeModel.cpp +++ b/Userland/Libraries/LibWeb/LayoutTreeModel.cpp @@ -8,7 +8,6 @@ #include <AK/StringBuilder.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Element.h> -#include <LibWeb/DOM/Text.h> #include <LibWeb/Layout/InitialContainingBlockBox.h> #include <LibWeb/Layout/TextNode.h> #include <ctype.h> diff --git a/Userland/Libraries/LibWeb/Loader/CSSLoader.cpp b/Userland/Libraries/LibWeb/Loader/CSSLoader.cpp index bfb9597e32..0ebbda6825 100644 --- a/Userland/Libraries/LibWeb/Loader/CSSLoader.cpp +++ b/Userland/Libraries/LibWeb/Loader/CSSLoader.cpp @@ -6,9 +6,7 @@ #include <AK/Debug.h> #include <AK/URL.h> -#include <LibWeb/CSS/CSSImportRule.h> #include <LibWeb/CSS/Parser/DeprecatedCSSParser.h> -#include <LibWeb/CSS/StyleSheet.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Element.h> #include <LibWeb/Loader/CSSLoader.h> diff --git a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp index 2a65d0f463..eedb7e99c7 100644 --- a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp +++ b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp @@ -17,7 +17,6 @@ #include <LibWeb/HTML/Parser/HTMLDocumentParser.h> #include <LibWeb/Loader/FrameLoader.h> #include <LibWeb/Loader/ResourceLoader.h> -#include <LibWeb/Namespace.h> #include <LibWeb/Page/BrowsingContext.h> #include <LibWeb/Page/Page.h> diff --git a/Userland/Libraries/LibWeb/Loader/ImageResource.cpp b/Userland/Libraries/LibWeb/Loader/ImageResource.cpp index 508bd62ba6..39f2ee5995 100644 --- a/Userland/Libraries/LibWeb/Loader/ImageResource.cpp +++ b/Userland/Libraries/LibWeb/Loader/ImageResource.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/Function.h> #include <LibGfx/Bitmap.h> #include <LibImageDecoderClient/Client.h> #include <LibWeb/Loader/ImageResource.h> diff --git a/Userland/Libraries/LibWeb/Painting/StackingContext.cpp b/Userland/Libraries/LibWeb/Painting/StackingContext.cpp index 3db4556ac8..2559d40d32 100644 --- a/Userland/Libraries/LibWeb/Painting/StackingContext.cpp +++ b/Userland/Libraries/LibWeb/Painting/StackingContext.cpp @@ -7,7 +7,6 @@ #include <AK/QuickSort.h> #include <AK/StringBuilder.h> #include <LibGfx/Painter.h> -#include <LibWeb/DOM/Node.h> #include <LibWeb/Layout/Box.h> #include <LibWeb/Layout/InitialContainingBlockBox.h> #include <LibWeb/Painting/StackingContext.h> diff --git a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp index effcf8edcb..011102400e 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGSVGElement.cpp @@ -9,9 +9,7 @@ #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Event.h> #include <LibWeb/Layout/SVGSVGBox.h> -#include <LibWeb/SVG/SVGPathElement.h> #include <LibWeb/SVG/SVGSVGElement.h> -#include <ctype.h> namespace Web::SVG { diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceConstructor.cpp b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceConstructor.cpp index 8b2e990e68..94953c0342 100644 --- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceConstructor.cpp +++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceConstructor.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibJS/Heap/Heap.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibWeb/Bindings/WindowObject.h> #include <LibWeb/WebAssembly/WebAssemblyInstanceConstructor.h> diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.cpp b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.cpp index 111993a5de..338dbcc959 100644 --- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.cpp +++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyMemoryConstructor.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibJS/Heap/Heap.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibWeb/Bindings/WindowObject.h> #include <LibWeb/WebAssembly/WebAssemblyMemoryConstructor.h> diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyModuleConstructor.cpp b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyModuleConstructor.cpp index b998fce270..ba1ac2ee17 100644 --- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyModuleConstructor.cpp +++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyModuleConstructor.cpp @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <LibJS/Heap/Heap.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/TypedArray.h> #include <LibWeb/Bindings/WindowObject.h> |