Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js |
index cbc4fa7c314c6cdc7de28cbd67b29b7a09db9f60..db0f689bcc438bf4a58d1475e3762394aae99602 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js |
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/event_watcher.js |
@@ -888,8 +888,6 @@ cvox.ChromeVoxEventWatcher.clipboardEventWatcher = function(evt) { |
return true; |
} |
- cvox.ChromeVox.tts.speak(Msgs.getMsg(evt.type).toLowerCase(), |
- cvox.QueueMode.QUEUE); |
var text = ''; |
switch (evt.type) { |
case 'paste': |
@@ -900,7 +898,8 @@ cvox.ChromeVoxEventWatcher.clipboardEventWatcher = function(evt) { |
text = window.getSelection().toString(); |
break; |
} |
- cvox.ChromeVox.tts.speak(text, cvox.QueueMode.QUEUE); |
+ cvox.ChromeVox.tts.speak( |
+ Msgs.getMsg(evt.type, [text]), cvox.QueueMode.QUEUE); |
cvox.ChromeVox.navigationManager.clearPageSel(); |
return true; |
}; |