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; |