[orca] Chromium: Remove hack for not being able to ascend the accessibility tree
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Chromium: Remove hack for not being able to ascend the accessibility tree
- Date: Fri, 18 Jan 2019 19:03:40 +0000 (UTC)
commit abdccd82186c35c58403aacd672a2980682ec2ad
Author: Joanmarie Diggs <jd blockhead hsd1 nh comcast net>
Date: Fri Jan 18 14:02:41 2019 -0500
Chromium: Remove hack for not being able to ascend the accessibility tree
src/orca/scripts/toolkits/Chromium/script_utilities.py | 16 ----------------
1 file changed, 16 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Chromium/script_utilities.py
b/src/orca/scripts/toolkits/Chromium/script_utilities.py
index 98251e00b..9b18c0140 100644
--- a/src/orca/scripts/toolkits/Chromium/script_utilities.py
+++ b/src/orca/scripts/toolkits/Chromium/script_utilities.py
@@ -236,19 +236,3 @@ class Utilities(web.Utilities):
msg = "CHROMIUM: HACK: Doing focus grab when setting caret on %s" % obj
debug.println(debug.LEVEL_INFO, msg, True)
return True
-
- def frameAndDialog(self, obj):
- # HACK: Remove this once we can ascend the ancestry.
- frame, dialog = super().frameAndDialog(obj)
- if frame or dialog:
- return frame, dialog
-
- frame = self.topLevelObject(obj)
- if not frame and not self.inDocumentContent(obj) \
- and self.canBeActiveWindow(orca_state.activeWindow) \
- and orca_state.activeWindow.getApplication() == self._script.app:
- frame = orca_state.activeWindow
-
- msg = "CHROMIUM: CAN'T ASCEND TREE HACK: Returning %s as frame" % frame
- debug.println(debug.LEVEL_INFO, msg, True)
- return frame, dialog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]