aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-ui_accessibility_ax__tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-ui_accessibility_ax__tree.h')
-rw-r--r--devel/electron38/files/patch-ui_accessibility_ax__tree.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-ui_accessibility_ax__tree.h b/devel/electron38/files/patch-ui_accessibility_ax__tree.h
new file mode 100644
index 000000000000..f7aab53e0e12
--- /dev/null
+++ b/devel/electron38/files/patch-ui_accessibility_ax__tree.h
@@ -0,0 +1,29 @@
+--- ui/accessibility/ax_tree.h.orig 2025-08-26 20:49:50 UTC
++++ ui/accessibility/ax_tree.h
+@@ -64,7 +64,7 @@ enum class AXTreeUnserializeError {
+ };
+ // LINT.ThenChange(/tools/metrics/histograms/metadata/accessibility/enums.xml:AccessibilityTreeUnserializeError)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // To support AriaNotify on older versions of ATK, we need to use the ATK
+ // signal "Text::text-insert". This signal requires a node that is a
+ // text type, and it needs to have aria-live properties set in order for
+@@ -289,7 +289,7 @@ class AX_EXPORT AXTree {
+
+ void NotifyChildTreeConnectionChanged(AXNode* node, AXTree* child_tree);
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ void ClearExtraAnnouncementNodes();
+ void CreateExtraAnnouncementNodes();
+ ExtraAnnouncementNodes* extra_announcement_nodes() const {
+@@ -548,7 +548,7 @@ class AX_EXPORT AXTree {
+
+ std::unique_ptr<AXEvent> event_data_;
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<ExtraAnnouncementNodes> extra_announcement_nodes_ = nullptr;
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+ };