[orca] Chromium: Remove the hack around for no input events



commit c9bd85cb6ee81b5ee2136afe134cfedea24474ac
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Nov 21 09:09:18 2018 -0500

    Chromium: Remove the hack around for no input events

 src/orca/scripts/toolkits/Chromium/script.py | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Chromium/script.py b/src/orca/scripts/toolkits/Chromium/script.py
index 41985b974..092cea07b 100644
--- a/src/orca/scripts/toolkits/Chromium/script.py
+++ b/src/orca/scripts/toolkits/Chromium/script.py
@@ -106,15 +106,6 @@ class Script(web.Script):
             debug.println(debug.LEVEL_INFO, msg, True)
             newFocus.clearCache()
 
-        # HACK: Remove this once Chromium has support for input events.
-        if oldFocus and newFocus \
-           and oldFocus.getRole() != pyatspi.ROLE_FRAME \
-           and oldFocus.getApplication() == newFocus.getApplication() == self.app \
-           and not self.utilities.lastInputEventCameFromThisApp():
-            msg = "CHROMIUM: NO INPUT EVENT PRESENTATION INTERRUPT HACK"
-            debug.println(debug.LEVEL_INFO, msg, True)
-            self.presentationInterrupt()
-
         if super().locusOfFocusChanged(event, oldFocus, newFocus):
             return
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]