summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-10-15 07:06:30 -0400
committerLinus Groh <mail@linusgroh.de>2021-10-17 13:51:10 +0100
commit8d27292fac28af04587be5e5330db525ef89816b (patch)
treec1da3a7b177d319c8a0199852b474f54cd691cc4
parent638f39fbc116a550303d1758e82ca047fbc12941 (diff)
downloadserenity-8d27292fac28af04587be5e5330db525ef89816b.zip
LibWeb: Alphabetize LibWeb's forward and JS wrapper declarations
-rw-r--r--Userland/Libraries/LibWeb/CMakeLists.txt8
-rw-r--r--Userland/Libraries/LibWeb/Forward.h97
2 files changed, 52 insertions, 53 deletions
diff --git a/Userland/Libraries/LibWeb/CMakeLists.txt b/Userland/Libraries/LibWeb/CMakeLists.txt
index d3188546b6..2f407f7703 100644
--- a/Userland/Libraries/LibWeb/CMakeLists.txt
+++ b/Userland/Libraries/LibWeb/CMakeLists.txt
@@ -380,11 +380,11 @@ libweb_js_wrapper(DOM/Element)
libweb_js_wrapper(DOM/Event)
libweb_js_wrapper(DOM/EventTarget)
libweb_js_wrapper(DOM/HTMLCollection)
-libweb_js_wrapper(DOM/ProcessingInstruction)
-libweb_js_wrapper(DOM/ShadowRoot)
libweb_js_wrapper(DOM/Node)
libweb_js_wrapper(DOM/NodeList)
+libweb_js_wrapper(DOM/ProcessingInstruction)
libweb_js_wrapper(DOM/Range)
+libweb_js_wrapper(DOM/ShadowRoot)
libweb_js_wrapper(DOM/Text)
libweb_js_wrapper(Geometry/DOMRect)
libweb_js_wrapper(Geometry/DOMRectReadOnly)
@@ -486,11 +486,11 @@ libweb_js_wrapper(Selection/Selection)
libweb_js_wrapper(UIEvents/KeyboardEvent)
libweb_js_wrapper(UIEvents/MouseEvent)
libweb_js_wrapper(UIEvents/UIEvent)
+libweb_js_wrapper(URL/URL)
+libweb_js_wrapper(URL/URLSearchParams ITERABLE)
libweb_js_wrapper(XHR/ProgressEvent)
libweb_js_wrapper(XHR/XMLHttpRequest)
libweb_js_wrapper(XHR/XMLHttpRequestEventTarget)
-libweb_js_wrapper(URL/URL)
-libweb_js_wrapper(URL/URLSearchParams ITERABLE)
add_custom_command(
OUTPUT CSS/PropertyID.h
diff --git a/Userland/Libraries/LibWeb/Forward.h b/Userland/Libraries/LibWeb/Forward.h
index 39764e2dad..ab862c7c11 100644
--- a/Userland/Libraries/LibWeb/Forward.h
+++ b/Userland/Libraries/LibWeb/Forward.h
@@ -18,7 +18,14 @@ class Crypto;
}
namespace Web::CSS {
+class BackgroundRepeatStyleValue;
+class BackgroundStyleValue;
+class BorderRadiusStyleValue;
+class BorderStyleValue;
+class BoxShadowStyleValue;
+class CalculatedStyleValue;
class CalculatedStyleValue;
+class ColorStyleValue;
class CSSImportRule;
class CSSMediaRule;
class CSSRule;
@@ -27,30 +34,9 @@ class CSSStyleDeclaration;
class CSSStyleRule;
class CSSStyleSheet;
class CSSSupportsRule;
+class CustomStyleValue;
class Display;
class ElementInlineCSSStyleDeclaration;
-class Length;
-class MediaList;
-class MediaQuery;
-class MediaQueryList;
-class MediaQueryListEvent;
-class PropertyOwningCSSStyleDeclaration;
-class Screen;
-class Selector;
-class StyleProperties;
-class StyleComputer;
-class StyleSheet;
-class Supports;
-
-class StyleValue;
-class BackgroundRepeatStyleValue;
-class BackgroundStyleValue;
-class BorderRadiusStyleValue;
-class BorderStyleValue;
-class BoxShadowStyleValue;
-class CalculatedStyleValue;
-class ColorStyleValue;
-class CustomStyleValue;
class FlexFlowStyleValue;
class FlexStyleValue;
class FontStyleValue;
@@ -58,15 +44,28 @@ class IdentifierStyleValue;
class ImageStyleValue;
class InheritStyleValue;
class InitialStyleValue;
+class Length;
class LengthStyleValue;
class ListStyleStyleValue;
+class MediaList;
+class MediaQuery;
+class MediaQueryList;
+class MediaQueryListEvent;
class NumericStyleValue;
class OverflowStyleValue;
+class PropertyOwningCSSStyleDeclaration;
+class Screen;
+class Selector;
class StringStyleValue;
+class StyleComputer;
+class StyleProperties;
+class StyleSheet;
+class StyleValue;
+class StyleValueList;
+class Supports;
class TextDecorationStyleValue;
class TransformationStyleValue;
class UnsetStyleValue;
-class StyleValueList;
}
namespace Web::DOM {
@@ -93,12 +92,12 @@ class NodeList;
class ParentNode;
class Position;
class ProcessingInstruction;
+class Range;
class ShadowRoot;
class StaticNodeList;
class Text;
class Timer;
class Window;
-class Range;
enum class QuirksMode;
template<typename ValueType>
@@ -133,7 +132,6 @@ class HTMLDialogElement;
class HTMLDirectoryElement;
class HTMLDivElement;
class HTMLDListElement;
-class HTMLParser;
class HTMLElement;
class HTMLEmbedElement;
class HTMLFieldSetElement;
@@ -166,6 +164,7 @@ class HTMLOptionElement;
class HTMLOutputElement;
class HTMLParagraphElement;
class HTMLParamElement;
+class HTMLParser;
class HTMLPictureElement;
class HTMLPreElement;
class HTMLProgressElement;
@@ -255,9 +254,9 @@ class TextNode;
}
namespace Web {
-class EventHandler;
-class EditEventHandler;
class BrowsingContext;
+class EditEventHandler;
+class EventHandler;
class FrameLoader;
class InProcessWebView;
class LoadRequest;
@@ -291,16 +290,16 @@ class URLSearchParamsIterator;
namespace Web::Bindings {
class AbortControllerWrapper;
class AbortSignalWrapper;
+class CanvasRenderingContext2DWrapper;
+class CharacterDataWrapper;
+class CloseEventWrapper;
+class CommentWrapper;
class CryptoWrapper;
class CSSRuleListWrapper;
class CSSRuleWrapper;
class CSSStyleDeclarationWrapper;
class CSSStyleRuleWrapper;
class CSSStyleSheetWrapper;
-class CanvasRenderingContext2DWrapper;
-class CharacterDataWrapper;
-class CloseEventWrapper;
-class CommentWrapper;
class CustomEventWrapper;
class DocumentFragmentWrapper;
class DocumentTypeWrapper;
@@ -308,8 +307,8 @@ class DocumentWrapper;
class DOMExceptionWrapper;
class DOMImplementationWrapper;
class DOMParserWrapper;
-class DOMRectWrapper;
class DOMRectReadOnlyWrapper;
+class DOMRectWrapper;
class DOMStringMapWrapper;
class ElementWrapper;
class EventListenerWrapper;
@@ -339,9 +338,9 @@ class HTMLFontElementWrapper;
class HTMLFormElementWrapper;
class HTMLFrameElementWrapper;
class HTMLFrameSetElementWrapper;
-class HTMLHRElementWrapper;
class HTMLHeadElementWrapper;
class HTMLHeadingElementWrapper;
+class HTMLHRElementWrapper;
class HTMLHtmlElementWrapper;
class HTMLIFrameElementWrapper;
class HTMLImageElementWrapper;
@@ -393,8 +392,8 @@ class ImageDataWrapper;
class IntersectionObserverWrapper;
class KeyboardEventWrapper;
class LocationObject;
-class MediaQueryListWrapper;
class MediaQueryListEventWrapper;
+class MediaQueryListWrapper;
class MessageChannelWrapper;
class MessageEventWrapper;
class MessagePortWrapper;
@@ -407,37 +406,37 @@ class PerformanceWrapper;
class ProcessingInstructionWrapper;
class ProgressEventWrapper;
class PromiseRejectionEventWrapper;
+class RangeConstructor;
+class RangePrototype;
+class RangeWrapper;
class ResizeObserverWrapper;
class ScreenWrapper;
class ScriptExecutionContext;
+class SelectionWrapper;
+class StyleSheetListWrapper;
+class StyleSheetWrapper;
class SubmitEventWrapper;
class SVGElementWrapper;
class SVGGeometryElementWrapper;
class SVGGraphicsElementWrapper;
class SVGPathElementWrapper;
class SVGSVGElementWrapper;
-class SelectionWrapper;
-class StyleSheetWrapper;
-class StyleSheetListWrapper;
class TextWrapper;
class UIEventWrapper;
+class URLConstructor;
+class URLPrototype;
+class URLSearchParamsConstructor;
+class URLSearchParamsIteratorPrototype;
+class URLSearchParamsIteratorWrapper;
+class URLSearchParamsPrototype;
+class URLSearchParamsWrapper;
+class URLWrapper;
class WebSocketWrapper;
class WindowObject;
class Wrappable;
class Wrapper;
class XMLHttpRequestConstructor;
+class XMLHttpRequestEventTargetWrapper;
class XMLHttpRequestPrototype;
class XMLHttpRequestWrapper;
-class XMLHttpRequestEventTargetWrapper;
-class RangeConstructor;
-class RangePrototype;
-class RangeWrapper;
-class URLConstructor;
-class URLPrototype;
-class URLWrapper;
-class URLSearchParamsConstructor;
-class URLSearchParamsPrototype;
-class URLSearchParamsWrapper;
-class URLSearchParamsIteratorPrototype;
-class URLSearchParamsIteratorWrapper;
}