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

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

Issue 2650733002: Revert of Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Created 3 years, 11 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/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 66d44a5da47a01ba5374254c6e0d1bd3cbd756e4..90ef1859f07ebe9463d7adb81b048f95e7347b3d 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js
@@ -12,5 +12,13 @@
/** @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;
+
/** @type {string|undefined} */
chrome.automation.AutomationNode.prototype.chromeChannel;

Powered by Google App Engine
This is Rietveld 408576698