Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6132)

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/pdf_processor.js

Issue 604423002: Use an enum for ChromeVox queue mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/pdf_processor.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/pdf_processor.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/pdf_processor.js
index 1cfa2cc9472654f1bead7c1181d83d253500866d..b6ca6d1fb5a11c53d124d7e3671eb9cd111d74ce 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/pdf_processor.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/pdf_processor.js
@@ -8,6 +8,7 @@
*/
goog.provide('cvox.PdfProcessor');
+goog.require('cvox.QueueMode');
/**
* Process PDFs created with Chrome's built-in PDF plug-in, which has an
@@ -31,7 +32,8 @@ cvox.PdfProcessor.processEmbeddedPdfs = function() {
}
if (!info.copyable) {
cvox.ChromeVox.tts.speak(
- 'Unable to access copy-protected PDF. Skipping.');
+ cvox.ChromeVox.msgs.getMsg('copy_protected_pdf'),
+ cvox.QueueMode.QUEUE);
continue;
}

Powered by Google App Engine
This is Rietveld 408576698