Ladybird+LibWeb: Move User-Agent definitions to their own file

This is to avoid including any LibProtocol header in Objective-C source
files, which will cause a conflict between the Protocol namespace and a
@Protocol interface.

See Ladybird/AppKit/Application/ApplicationBridge.cpp for why this
conflict unfortunately cannot be worked around.
This commit is contained in:
Timothy Flynn
2024-05-26 11:12:49 -04:00
committed by Andreas Kling
parent a38144fb2a
commit 086ddd481d
8 changed files with 69 additions and 54 deletions

View File

@@ -19,7 +19,7 @@
#include <Ladybird/Qt/TabBar.h>
#include <Ladybird/Utilities.h>
#include <LibWeb/CSS/PreferredColorScheme.h>
#include <LibWeb/Loader/ResourceLoader.h>
#include <LibWeb/Loader/UserAgent.h>
#include <LibWebView/CookieJar.h>
#include <LibWebView/UserAgent.h>
#include <QAction>