Add deprecation note for ISimpleDOM* interfaces
Bug: 378908266
Change-Id: Ib50a84176da275166da0b9bf31e57da75fa89784
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6019643
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Peter Boström <pbos@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1382513}
diff --git a/third_party/isimpledom/README.chromium b/third_party/isimpledom/README.chromium
index 82f1024..a684658 100644
--- a/third_party/isimpledom/README.chromium
+++ b/third_party/isimpledom/README.chromium
@@ -9,6 +9,11 @@
Security Critical: yes
Shipped: yes
+
+DO NOT USE. This API has been deprecated and will be removed, along with
+support, as soon as no longer needed for the JAWS screen reader.
+See https://crbug.com/378908266.
+
Description:
This directory contains the legacy ISimpleDOM API, which was previously needed
diff --git a/ui/accessibility/platform/browser_accessibility_com_win.cc b/ui/accessibility/platform/browser_accessibility_com_win.cc
index c39521d1..79209b5 100644
--- a/ui/accessibility/platform/browser_accessibility_com_win.cc
+++ b/ui/accessibility/platform/browser_accessibility_com_win.cc
@@ -1118,7 +1118,7 @@
// ISimpleDOMNode::get_attributes()
// Returns HTML attributes -- not text attributes!
-// TODO(accessibility) Remove a few years after JAWS screen readers stops using.
+// TODO(https://crbug.com/378908266) Remove 3 years after JAWS stops using.
IFACEMETHODIMP BrowserAccessibilityComWin::get_attributes(USHORT max_attribs,
BSTR* attrib_names,
SHORT* name_space_id,