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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js

Issue 2563013003: Support audio ducking and suspension in ChromeVox (Closed)
Patch Set: Fix compile. Created 4 years 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/common/chrome_extension_externs.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js b/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js
index 799ca2e83681031ee54dcf303b92472d05bca9a3..cd4352eaf71a7706a27c1d74b66b05b0796ceb73 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js
@@ -11,3 +11,11 @@
/** @type {function() : !Object} */
chrome.app.getDetails;
+
+// Media related automation actions and events.
+chrome.automation.AutomationNode.prototype.resumeMedia = function() {};
+chrome.automation.AutomationNode.prototype.startDuckingMedia = function() {};
+chrome.automation.AutomationNode.prototype.stopDuckingMedia = function() {};
+chrome.automation.AutomationNode.prototype.suspendMedia = function() {};
+chrome.automation.EventType.mediaStartedPlaying;
+chrome.automation.EventType.mediaStoppedPlaying;

Powered by Google App Engine
This is Rietveld 408576698