Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
| index d462777555687e16f85209c49200503fda325c5f..9e6e6abd7207bc7151c30e9bce180cb4dd4392cb 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js |
| @@ -252,6 +252,17 @@ DesktopAutomationHandler.prototype = { |
| }, |
| /** |
| + * Handle updating the active indicator when the document scrolls. |
| + * @param {Object} evt |
|
Peter Lundblad
2015/11/23 13:39:08
nit: I think this @param is redundant given overri
dmazzoni
2015/11/23 17:22:49
Done.
|
| + * @override |
| + */ |
| + onScrollPositionChanged: function(evt) { |
| + var currentRange = global.backgroundObj.currentRange; |
| + if (currentRange) |
| + new Output().withLocation(currentRange, null, evt.type).go(); |
| + }, |
| + |
| + /** |
| * Create an editable text handler for the given node if needed. |
| * @param {Object} node |
| */ |