Initial external webview webapps on Linux.

This commit is contained in:
John Preston
2026-05-08 23:06:12 +04:00
parent 0270f7e3a1
commit a4d0aa5f54
3 changed files with 881 additions and 41 deletions
@@ -21,6 +21,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/widgets/labels.h"
#include "ui/vertical_list.h"
#include "ui/gl/gl_detection.h"
#include "ui/chat/attach/attach_bot_webview.h"
#include "ui/chat/chat_style_radius.h"
#include "ui/controls/compose_ai_button_factory.h"
#include "base/options.h"
@@ -251,6 +252,7 @@ void SetupExperimental(
addToggle(Info::Profile::kOptionShowPeerIdBelowAbout);
addToggle(Info::Profile::kOptionShowChannelJoinedBelowAbout);
addToggle(Ui::kOptionUseSmallMsgBubbleRadius);
addToggle(Ui::BotWebView::kOptionLinuxExternalBotWebApps);
addToggle(Media::Player::kOptionDisableAutoplayNext);
addToggle(Webview::kOptionWebviewDebugEnabled);
addToggle(Webview::kOptionWebviewLegacyEdge);